CN110677456A - Resource allocation method and equipment - Google Patents

Resource allocation method and equipment Download PDF

Info

Publication number
CN110677456A
CN110677456A CN201910791735.3A CN201910791735A CN110677456A CN 110677456 A CN110677456 A CN 110677456A CN 201910791735 A CN201910791735 A CN 201910791735A CN 110677456 A CN110677456 A CN 110677456A
Authority
CN
China
Prior art keywords
application
split screen
priority
network
terminal device
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910791735.3A
Other languages
Chinese (zh)
Inventor
薛清风
杨嘉辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910791735.3A priority Critical patent/CN110677456A/en
Publication of CN110677456A publication Critical patent/CN110677456A/en
Pending legal-status Critical Current

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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a resource configuration method and equipment, which are used for configuring network resources for applications running in different split screens according to the priority of each split screen, so that the user experience is improved. The method comprises the following steps: the terminal equipment starts a first application in the first split screen and starts a second application in the second split screen; the terminal equipment configures first network resources for the first application according to the first screen-sharing priority, wherein the first screen-sharing priority is the priority corresponding to the first screen-sharing; and the terminal equipment configures second network resources for the second application according to the second split screen priority, wherein the second split screen priority is the priority corresponding to the second split screen.

Description

Resource allocation method and equipment
Technical Field
The present application relates to the field of terminal devices, and in particular, to a method and device for resource allocation.
Background
The screen of the terminal equipment is larger and larger, a plurality of different applications can be simultaneously operated on the terminal equipment, and simultaneously, the interfaces of the plurality of different applications can be displayed on the display screen of the terminal equipment. For example, a movie is viewed on a split screen and a game is played on a split screen.
However, when the terminal device simultaneously runs a plurality of applications, if the plurality of applications need to connect to the network, bandwidth allocation may be uneven. For example, if a game and a movie are run simultaneously, the movie cache occupies a large bandwidth and affects data transmission delay of the game, and generally, the game has a high requirement on delay, which affects running of the game and reduces user experience. Therefore, in a multi-application scenario, if one or more applications occupy too many network resources, the network communication quality of the rest of the applications will be affected, and the user experience will be reduced.
Disclosure of Invention
The application provides a resource configuration method and equipment, which are used for configuring network resources for applications running in different split screens according to the priority of each split screen, so that the user experience is improved.
In view of the above, a first aspect of the present application provides a method for resource allocation, including:
the terminal equipment starts a first application in the first split screen and starts a second application in the second split screen; the terminal equipment configures first network resources for the first application according to the first screen-sharing priority, wherein the first screen-sharing priority is the priority corresponding to the first screen-sharing; and the terminal equipment configures second network resources for the second application according to the second split screen priority, wherein the second split screen priority is the priority corresponding to the second split screen.
In the embodiment of the application, the terminal equipment is arranged to start a first application in a first split screen and start a second application in a second split screen. And the terminal equipment configures network resources for the first application and the second application according to the first split screen priority of the first split screen and the second split screen priority of the second split screen. Therefore, when the application is started through different split screens, the terminal device may configure the network resource for the application according to the priority of the split screens, for example, the user may start the application with low delay requirement in the first split screen, and the terminal device may preferentially configure the network resource for the application. Therefore, the network resources can be determined according to the priority of the split screen, the phenomenon that one or more applications occupy excessive network resources to affect the network communication quality of other applications is avoided, and the user experience is improved.
In a possible implementation, the first network resource is a resource in a first communication network, and the first communication network is used for the first application to perform communication connection; the second network resource is a resource in a second communication network, the second communication network is used for communication connection of a second application, the second communication network is different from the first communication network, and if the first split screen priority is higher than the second split screen priority, the priority of the second communication network is lower than the priority of the first communication network.
In the embodiment of the application, the first network resource and the second network resource may be resources in different communication networks to which the terminal device accesses, so that the first application and the second application may use the resources in the different communication networks, contention and preemption of the resources of the first application and the second application are avoided, the first application and the second application can realize low-delay data transmission, and user experience is improved.
In one possible implementation, the first communication network is a WiFi network and the second communication network is a mobile data network. In the embodiment of the present application, the first split screen priority may be higher than the second split screen priority, so the first communication network may be a WiFi network with lower delay and more stability, and the second communication network may be a mobile data network.
In one possible implementation, the terminal device accesses a third communication network;
the first network resource comprises a first network priority for the first application to perform data transmission in the third communication network, and the second network resource comprises a second network priority for the second application to perform data transmission in the third communication network; wherein the first network priority is higher than the second network priority if the first split screen priority is higher than the second split screen priority.
In this embodiment, the terminal device may configure a first split screen priority for the first application and a second split screen priority for the second application according to the split screen priorities, so that the first application may access the third communication network according to the first split screen priority, and the second application may access the third communication network according to the second split screen priority. When the first split screen priority is higher than the second split screen priority, the first split screen priority is also higher than the second split screen priority, and a user can run an application with a high priority in the first split screen, so that user experience is improved.
In one possible embodiment, the method further comprises: and when the first application is switched from the first split screen to the second split screen, the terminal equipment configures second network resources for the first application according to the second split screen priority. In the embodiment of the application, the network resources of the application can be rapidly switched in a split screen mode of switching the application, and the user experience is improved.
In one possible embodiment, the method further comprises:
when the first application is switched to the background operation from the first split screen, the terminal device keeps the first application using the first network resource for communication connection, and the second application using the second network resource for communication connection.
In the embodiment of the application, when the application is switched to the background operation, the current network resource can be continuously maintained to continuously perform data transmission.
In one possible implementation, the terminal device starts a first application in a first split screen and starts a second application in a second split screen, and the method includes:
the method comprises the steps that terminal equipment obtains a first starting instruction of a first application; the terminal equipment determines a first split screen corresponding to the first application according to the first starting instruction, and starts the first application through the first split screen; the terminal equipment acquires a second starting instruction of a second application; and the terminal equipment determines a second split screen corresponding to the second application according to the first starting instruction, and starts the second application through the second split screen.
A second aspect of embodiments of the present application provides a terminal device, where the terminal device has a function of implementing the method for resource allocation in the first aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
A third aspect of the embodiments of the present application provides a terminal device, which may include:
the system comprises a processor, a memory, a bus and an input/output interface, wherein the processor, the memory and the input/output interface are connected through the bus; the memory for storing program code; the processor executes the steps of any of the embodiments of the first aspect or the first aspect of the present application when calling the program code in the memory.
A fourth aspect of the embodiments of the present application provides a chip system, which includes a processor, configured to enable a terminal device to implement the functions referred to in the foregoing aspects, for example, to process data and/or information referred to in the foregoing methods. In one possible design, the system-on-chip further includes a memory for storing program instructions and data necessary for the network device. The chip system may be formed by a chip, or may include a chip and other discrete devices.
The processor mentioned in any of the above may be a general purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling execution of a program of the method for resource allocation in any of the above first aspect or the first aspect.
A fifth aspect of the embodiments of the present application provides a storage medium, and it should be noted that a part of the technical solution of the present invention or a whole or part of the technical solution may be embodied in the form of a software product, where the computer software product is stored in a storage medium, and is used for storing computer software instructions for the above-mentioned apparatus, and the computer software instructions include a program designed for executing the above-mentioned first aspect or any one of the first aspects for the terminal apparatus.
The storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
A sixth aspect of embodiments of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method as described in the first aspect of the present application or any of the alternative embodiments of the first aspect.
A seventh aspect of the embodiments of the present application provides an apparatus, which may be applied to an electronic device, and the apparatus is coupled to a memory, and configured to read and execute instructions stored in the memory, so that the apparatus implements the steps performed by a processor in any implementation manner of the first aspect of the present application. In one possible design, the device is a chip or a system on a chip.
In the embodiment of the application, the terminal equipment is arranged to start a first application in a first split screen and start a second application in a second split screen. And the terminal equipment configures network resources for the first application and the second application according to the first split screen priority of the first split screen and the second split screen priority of the second split screen. Therefore, when the application is started through different split screens, the terminal device may configure the network resource for the application according to the priority of the split screens, for example, the user may start the application with low delay requirement in the first split screen, and the terminal device may preferentially configure the network resource for the application. Therefore, the network resources can be determined according to the priority of the split screen, the phenomenon that one or more applications occupy excessive network resources to affect the network communication quality of other applications is avoided, and the user experience is improved.
Drawings
Fig. 1 is a schematic view of an application scenario of a resource allocation method provided in the present application;
fig. 2 is a schematic structural diagram of a terminal device provided in the present application;
FIG. 3 is a schematic flow chart of a method for resource allocation provided in the present application;
FIG. 4A is a schematic diagram of a real-world interface of the resource allocation method provided herein;
FIG. 4B is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 4C is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 4D is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 5A is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 5B is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 5C is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 6A is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 6B is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 7 is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 8 is a schematic diagram of another real-world interface of the resource allocation method provided herein;
FIG. 9 is a schematic flow chart of another method for resource allocation provided herein;
fig. 10 is a schematic structural diagram of another terminal device provided in the present application;
fig. 11 is a schematic structural diagram of another terminal device provided in the present application.
Detailed Description
The application provides a resource configuration method and equipment, which are used for configuring network resources for applications running in different split screens according to the priority of each split screen, so that the user experience is improved.
The resource allocation method provided by the present application may be applied to various terminal devices having a display screen or connected with a display screen, for example, a terminal device (terminal device), a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self driving (self driving), a wireless terminal device in remote medical (remote medical), a wireless terminal device in smart grid (smart grid), a wireless terminal device in transportation safety, a wireless terminal device in smart city (smart city), a wireless terminal device in smart home (smart home), and the like.
For example, an application scenario of the resource configuration method provided by the present application may be as shown in fig. 1, where a terminal device (e.g., terminal device 1, terminal device 2, terminal device 3, terminal device 4, etc. in fig. 1) may establish a communication connection through a communication network, and further communicate with another terminal device, a server, etc. Also, one terminal device can communicate simultaneously through a plurality of communication networks.
The communication network may be, including but not limited to: a fifth Generation mobile communication technology (5th-Generation, 5G) system, a Long Term Evolution (LTE) system, a global system for mobile communication (GSM) or Code Division Multiple Access (CDMA) network, a Wideband Code Division Multiple Access (WCDMA) network, and the like, and may further include other communication networks or communication systems such as a wireless fidelity (WiFi) and a wide area network. Future communication networks may also be included, e.g., 6G networks, 7G networks, etc.
The terminal device provided by the application can be, for example, a mobile phone, a tablet computer, a notebook computer, a television, an intelligent wearable device or other electronic devices with a display screen, and the like. In the above embodiments, the specific form of the terminal device is not limited at all. Wherein, the system that the terminal equipment can be carried on can comprise
Figure BDA0002179732900000041
Or other operating systems, etc., which are not limited in this application.
Exemplary to carry on
Figure BDA0002179732900000042
The terminal device 100 of the operating system is taken as an example, and as shown in fig. 2, the terminal device 100 can be logically divided into a hardware layer 21, an operating system 161, and an application layer 31. The hardware layer 21 includes an application processor 101, a microcontroller unit 103, a modem 107, a Wi-Fi module 111, a sensor 114, a positioning module 150, a memoryMemory, and the like. The application layer 31 includes one or more applications, such as an application 163, and the application 163 may be any type of application, such as a social-type application, an e-commerce-type application, a browser, and so on. The operating system 161 is a computer program that manages and controls hardware and software resources as software middleware between the hardware layer 21 and the application layer 31.
In one embodiment, the operating system 161 includes a kernel 23, Hardware Abstraction Layer (HAL) 25, libraries and runtimes (libraries and runtimes) 27, and framework (framework) 29. The kernel 23 is used to provide, among other things, the underlying system components and services, such as: power management, memory management, thread management, hardware drivers, etc.; the hardware driving program comprises a Wi-Fi driving program, a sensor driving program, a positioning module driving program and the like. The hardware abstraction layer 25 is an encapsulation of the kernel driver, providing an interface to the framework 29, shielding the implementation details of the lower layers. The hardware abstraction layer 25 runs in user space and the kernel driver runs in kernel space.
Libraries and runtimes 27, also called runtime libraries, provide the required library files and execution environment for the executable program at runtime. The library and Runtime 27 includes an Android Runtime (ART) 271, a library 273, and the like. ART271 is a virtual machine or virtual machine instance capable of converting the bytecode of an application into machine code. Library 273 is a library that provides support for executable programs at runtime, including browser engines (e.g., webkit), script execution engines (e.g., JavaScript engines), graphics processing engines, and so forth.
The framework 29 is used to provide various underlying common components and services for applications in the application layer 31, such as window management, location management, and the like. The framework 29 may include a telephony manager 291, a resource manager 293, a location manager 295, and the like.
The functions of the various components of the operating system 161 described above may be implemented by the application processor 101 executing programs stored in memory.
Those skilled in the art will appreciate that terminal device 100 may include fewer or more components than those shown in fig. 2, and that the terminal device shown in fig. 2 includes only those components more relevant to the various implementations disclosed in the embodiments of the present application.
Terminal devices typically support the installation of a variety of Applications (APPs), such as a word processing Application, a telephone Application, an email Application, an instant messaging Application, a photo management Application, a web browsing Application, a digital music player Application, and/or a digital video player Application.
The following describes a resource allocation method provided by the present application based on the terminal device and the communication network described above. The terminal equipment is provided with at least one display screen, and the at least one display screen can correspond to at least two split screens, including a first split screen and a second split screen. For example, the terminal device has a display screen, and the display screen may be directly used as a complete screen to display the interface of the terminal device, or may be divided into a first split screen and a second split screen, where the first split screen and the second split screen may display different interfaces. In the resource allocation method provided by the application, the terminal equipment starts a first application in a first split screen and starts a second application in a second split screen; the terminal equipment configures first network resources for the first application according to the first split screen priority, and configures second network resources for the second application according to the second split screen priority, wherein the first split screen priority is the priority corresponding to the first split screen, and the second split screen priority is the priority corresponding to the second split screen. The network resources configured for the first application and the second application may be used for performing communication connection, so as to perform data transmission. Therefore, the terminal device can configure network resources for the application running in the split screen according to the priority of the split screen. For example, if a first split screen priority of the first split screen is higher than a second split screen priority of the second split screen, more or higher-priority network resources may be configured for the first application corresponding to the first split screen, that is, the network resources configured by the terminal device for the first application are more than or higher-priority network resources configured by the terminal device for the second application. Generally, if the priority of the first split screen is higher than that of the second split screen, the first application with high delay requirement can be operated in the first split screen, so that the data transmission efficiency of the first application is improved, the delay of the first application is reduced, and the user experience is improved.
Specifically, there may be various ways of configuring network resources for the applications running in the first split screen and the second split screen according to the terminal device in the present application, and the ways may include: when the terminal equipment has a plurality of connection modes of communication networks, different communication network connections can be provided for applications running in different split screens, so that the applications running in different split screens can communicate through different communication networks; or, when the terminal device currently has only one kind of connection of the communication network, the network priority for accessing the communication network may be configured for the applications running in different split screens according to the priority corresponding to the split screens. The following describes a number of different ways, respectively.
Configuring different communication networks
Referring to fig. 3, a flow chart of a resource allocation method provided in the present application is shown as follows.
301. The terminal equipment obtains a first starting instruction of the first application and starts the first application in the first split screen.
The terminal device has at least one display screen, wherein the at least one display screen may include at least two split screens, and the at least two split screens include a first split screen and a second split screen. When the terminal equipment acquires a first starting instruction of the first application, determining a corresponding first split screen according to the first starting instruction, and starting the first application in the first split screen.
In particular, the first split screen may be in a display screen of the terminal device. For example, as shown in fig. 4A, when the terminal device includes one display screen, the first split screen may be an upper half portion of the display screen, and the second split screen may be a lower half portion of the display screen; alternatively, as shown in fig. 4B, the first split screen may be a lower half of the display screen, and the second split screen may be an upper half of the display screen; alternatively, as shown in fig. 4C, the first split screen may be a left half of the display screen, and the second split screen may be a right half of the display screen; or, as shown in fig. 4D, the first split screen may be a right half of the display screen, and the second split screen is a left half of the display screen, or, when the terminal device includes two screens, such as a folding screen mobile phone, one of the screens may be used as the first split screen, and the other screen may be used as the second split screen. In addition, the display screen of the terminal device may further include three, four, and the like, and the display screen of the terminal device may further be divided into a third split screen, a fourth split screen, and the like.
Specifically, a user can click or long-press an application icon of a first application displayed on a display screen of the terminal device, the terminal device obtains a first starting instruction according to the operation of the user, and determines a first split screen corresponding to the first starting instruction, so that the first application is started in the first split screen. Illustratively, as shown in fig. 5A, the terminal device displays an application icon, the user can click or long-press the application icon, and then the terminal device displays a plurality of options, as shown in fig. 5B, including "first split screen launch", "second split screen launch", and other options. When the application needs to be started in the first split screen, the 'first split screen starting' can be clicked, and the terminal device obtains the starting instruction, namely the first starting instruction. The first start instruction may carry an identifier of the first split screen, or information related to the first split screen, so that the terminal starts the first application in the first split screen according to the first start instruction, as shown in fig. 5C.
In addition, the first split screen and the second split screen may also be displayed on the terminal device, and then the first application is selected and started in the first split screen, and the first application may also be started in other manners, which is not described in detail herein.
302. And the terminal equipment acquires a second starting instruction of the second application and starts the second application in the second split screen.
In the specific process of step 302, referring to step 301, the first split screen is replaced by the second split screen, and the first application is replaced by the second application.
For example, as shown in fig. 6A, a first application is launched in a first split screen, an application icon of a second application is displayed in a second split screen, and a user may click or long-press the application icon of the second application, so that the terminal device generates a second launch instruction of the second application. The terminal device determines a corresponding second split screen according to the second start instruction, and starts a second application in the second split screen, as shown in fig. 6B.
It should be noted that, in the present application, the execution order of step 301 and step 302 is not limited, step 301 may be executed first, step 302 may be executed first, step 301 and step 302 may also be executed simultaneously, and the specific implementation may be adjusted according to an actual application scenario, and is not limited herein.
303. And the terminal equipment configures a first communication network for the first application according to the first split screen priority.
After the first application is started in the first split screen, the terminal device configures a first communication network for the first application according to the first split screen priority of the first split screen. It is to be understood that the first network resource is a resource in the first communication network.
304. And the terminal equipment configures a second communication network for the second application according to the second split screen priority.
And after the terminal equipment starts the second application in the second split screen, configuring a second communication network for the second application according to the second split screen priority of the second split screen.
The first split screen priority and the second split screen priority can be preset, can also be actively set or changed by a user, and can be specifically adjusted according to an actual application scene. For example, in factory settings, a first split screen priority of a first split screen is higher than a second split screen priority of a second split screen, and if a user needs to adjust the first split screen priority of the first split screen, the user can adjust the first split screen priority of the first split screen to be lower than the second split screen priority of the second split screen through settings in the terminal.
In one possible embodiment, the bandwidth or transmission rate of the first communication network is higher than the second communication network when the first split screen priority is higher than the second split screen priority. For example, if the bandwidth or transmission rate of the WiFi network is higher than that of the mobile data network, the first communication network is the WiFi network, and the second communication network is the mobile data network. The mobile data network, i.e. the communication network that the terminal device accesses, may be a connection provided by a communication system such as 5G, LTE, for example, and the terminal device may access the communication system such as 5G, LTE and perform data transmission through the communication system such as 5G, LTE. Of course, if the transmission rate of the mobile data network is higher than that of the WiFi network, or the bandwidth of the mobile data network is higher than that of the WiFi network, the first communication network is the mobile data network, and the second communication network is the WiFi network.
For example, as shown in fig. 7, when the terminal device runs the first application in the first split screen, that is, the interface of the application in the first split screen is displayed in the first split screen, the network connection mode is preferably a WiFi connection, that is, the WiFi network may be preferentially used for communication, and when the terminal device displays the interface of the second application in the second split screen, the network connection mode is preferably a mobile data connection, that is, the mobile data network may be used for communication. The preferred network connection mode of the first split screen and the second split screen can be determined according to the network quality detected by the terminal, can be set or changed by a user, or can combine the two modes. For example, if the terminal device detects that the WiFi signal is weak, the data transmission is slow, the signal of the mobile data network is good, the data transmission is fast, and the first split screen priority is higher than the second split screen priority, the terminal device may configure the mobile data network for the first application in the first split screen and configure the WiFi network for the second application in the second split screen. For another example, the user may set or change the preferred network connection mode of each split screen, set the first split screen as WiFi as the preferred connection network, and set the second split screen as mobile data as the preferred connection network.
305. And when the first application is switched from the first split screen to the second split screen, the first application is switched from the first communication network to the second communication network.
If the first application is currently operated in the first split screen and then switched from the first split screen to the second split screen for operation, the network connection of the first application is switched from the first communication network to the second communication network.
For example, as shown in fig. 8, when the first application is switched from the first split screen to the second split screen and the second application is switched from the second split screen to the first split screen, the communication connection of the first application is switched from the WiFi connection to the mobile data connection and the communication connection of the second application is switched from the mobile data connection to the WiFi connection. The user can drag the display interface of the first split screen to the second split screen through dragging operation, or the application displayed in the first split screen and the second split screen can be closed, and then the application icon is clicked again or pressed for a long time, so that the first application is switched to the second split screen for display.
It should be noted that step 305 in the embodiment of the present application is an optional step.
In the embodiment of the application, when the application is started in different split screens, network resources can be configured for the application according to the priority of the split screens, connection can be established between different split screens through different communication networks, so that the application running in different split screens can perform data transmission through different communication networks, competition or occupation of network resources is not needed between the applications, data transmission can be performed on each application through an independent communication network, the network communication quality of the application is improved, and user experience is improved. And when the application switches split screens, the terminal device can configure available network resources for the application according to the switched priority of the split screens, so that a user can quickly adjust the network resources used by the application for data transmission, and the user experience is further improved.
Configuring different network priorities in the same communication network
Referring to fig. 9, a flow chart of a resource allocation method provided in the present application is shown as follows.
901. The terminal equipment obtains a first starting instruction of the first application and starts the first application in the first split screen.
902. And the terminal equipment acquires a second starting instruction of the second application and starts the second application in the second split screen.
Steps 901 and 902 in the embodiment of the present application may refer to steps 301 and 302, which are not described herein again.
903. The terminal equipment configures a first network priority for the first application to access the third communication network according to the first split screen priority of the first split screen.
When the terminal device has only one network connection, that is, the terminal device can access the third communication network, the terminal device may configure a first network resource in the third communication network for the first application according to the first split screen priority of the first split screen, where the first network resource includes a first network priority of the first application for data transmission in the third communication network.
904. And the terminal equipment configures a second network priority for the second application to access the third communication network according to the second split screen priority of the second split screen.
When the terminal device has only one network connection, that is, the terminal device can access the third communication network, the terminal device may configure the second network resource for the second application according to the second split screen priority of the second split screen. The second network resource may include a second network priority for the second application to transmit data in the third communication network.
The first split screen priority of the first split screen may be higher than the second split screen priority of the second split screen, and further, when the network resource is configured, the first network priority is higher than the second network priority, so that the first application may preferentially access the third communication network. Of course, if the first split screen priority of the first split screen is lower than the second split screen priority of the second split screen, when the terminal device configures the network resource, the first network priority is lower than the second network priority, so that the second application can preferentially access the third communication network.
For example, when the terminal device runs the first application and the second application, if the first application and the second application have data to be transmitted at the same time and wait for transmission in the third communication network, then, if the first network priority configured for the first application by the terminal device is higher than the second network priority configured for the second application, the terminal device may preferentially process the data to be transmitted of the first application, so that the first application preferentially accesses the third communication network, thereby reducing the data transmission delay of the first application and improving the user experience.
It can be understood that the application of the first split screen has a high-priority access network, and the application of the second split screen has a low-priority access network, so that network resources can be configured according to the priority of the split screens, the application with high delay requirement can efficiently and quickly perform data transmission, and user experience is improved.
The third communication network may be the aforementioned WiFi network, mobile data network, etc.
For example, taking a terminal device as a mobile phone as an example, when a user uses the mobile phone, a network configuration scheme is preset on the mobile phone, the priority of the first split screen is higher than that of the second split screen, when the user needs to run an application with a high delay requirement, such as a game, a live broadcast, a chat application or a VR application, the application can be started in the first split screen, and for some applications with a low delay requirement, such as reading software, taking a picture, etc., the application can be run in the second split screen. Furthermore, higher network access priority can be configured for the application with high delay requirement according to the priority of split screens, so that the application with high delay requirement can use the higher network priority to quickly transmit data, and the user experience is improved.
905. And if the first application is switched from the first split screen to the second split screen, the terminal equipment configures a second network priority for the first application according to the second split screen priority of the second split screen.
If the first application is switched from the first split screen to the second split screen, the terminal device may configure network resources for the first application according to the second split screen priority of the second split screen. It is to be appreciated that when the first application switches from the first split screen to the second split screen, the first application can switch from the first network resource to the second network resource. I.e., the network resources configured by the first application, is switched from the first network priority to the second network priority.
It should be noted that step 905 in the embodiment of the present application is an optional step.
In the embodiment of the application, when the terminal device is only accessed to one communication network, the network resources can be configured for the applications running in each split screen according to the priority of each split screen, so that the applications requiring low time delay can run in the split screens with high priority, and the terminal device can configure higher network priority for preferentially accessing the third communication network, thereby ensuring the data transmission of the applications and improving the user experience. In addition, when the application switches the split screen, the network resources used by the application can be readjusted according to the switched split screen, so that the network resources can be quickly and conveniently adjusted, and the user experience is further improved.
Exemplarily, a mobile phone is taken as an example to describe the resource configuration method provided by the present application more concretely.
Firstly, a user can long press an application icon of a first application, then select which split Screen to start on, if the first application is selected to start on the first split Screen, when the terminal device starts the first application on the first split Screen, the first application can be started in a Dockerdstack, and then when a second application is started, the first application is started in a Full Screen.
When the Docked stack is laid out at the position of the first split Screen, for example, above or on the left side of the display Screen, it may be understood that the application running in the Docked stack runs in the first split Screen, the Full Screen corresponds to the second split Screen, and the application running in the FullScreen runs in the second split Screen. At this time, the first application may use the WiFi network for data transmission, and the second application may use the mobile data network for data transmission.
When the Docked stack is laid out at the position of the second split screen, for example, below or on the right side of the display screen, it can be understood that the application running in the Docked stack runs in the second split screen. The Full Screen corresponds to the first split Screen and the second application running in the Full Screen runs in the first split Screen. At this time, the second application may use the WiFi network for data transmission, and the first application may use the mobile data network for data transmission.
When the first application is switched from the first split screen to the second split screen, the layout position of the Docked stack is switched inside the terminal, and the layout position of the Docked stack is switched to the position of the second split screen. At this time, the first application is switched from the WiFi network to the mobile data network for data transmission.
And if the first application uses the WiFi network for data transmission, the second application uses the mobile data network for data transmission, when the split-screen mode exits, the first application continuously keeps the WiFi network for data transmission, and the second application continuously keeps the mobile data network for data transmission.
Therefore, a user can use different network resources to transmit data by running different applications in different split screens, so that resource competition among the applications running in the split screens is reduced, the data transmission efficiency of the applications is improved, and the data transmission delay is reduced.
For another example, when only WiFi network connection exists on the terminal device, the terminal device configures a first network priority for a first application running in a first split screen, and configures a second network priority for a second application running in a second split screen, where the first network priority is higher than the second network priority, and then the first application may preferentially access the WiFi network and preferentially perform data transmission through the WiFi network.
When the first application is switched from the first split screen to the second split screen, the terminal equipment reconfigures the second network priority for the first application, so that the first application accesses the WiFi network according to the second network priority and performs data transmission.
Therefore, when the terminal equipment only has one network connection, the network priority can be configured for the application running in each split screen according to the split screen priority of each split screen, so that the application can access the network according to the network priority, and the application with the high network priority preferentially accesses the network and performs data transmission. The application with high time delay requirement can run in the split screen with high split screen priority, so that the network is preferentially accessed, the data transmission efficiency of the application is improved, the data transmission time delay is reduced, and the user experience is improved.
The method for resource allocation provided by the present application is described in detail above, and the apparatus provided by the present application is described in detail below with reference to the above method.
Referring to fig. 10, another structure diagram of a terminal device provided in the present application is shown.
The terminal device includes: a start-up unit 1001 and a configuration unit 1002;
a starting unit 1001 for starting a first application at a first split screen and a second application at a second split screen;
a configuration unit 1002, configured to configure a first network resource for a first application according to a first screen-splitting priority, where the first screen-splitting priority is a priority corresponding to a first screen-splitting;
the configuring unit 1002 is further configured to configure a second network resource for the second application according to a second split screen priority, where the second split screen priority is a priority corresponding to the second split screen.
In some of the possible embodiments, the first and second,
the first network resource is a resource in a first communication network, and the first communication network is used for the communication connection of the first application;
the second network resource is a resource in a second communication network, the second communication network is used for communication connection of a second application, the second communication network is different from the first communication network, and if the first split screen priority is higher than the second split screen priority, the priority of the second communication network is lower than the priority of the first communication network.
In some possible embodiments, the first communication network is a WiFi network and the second communication network is a mobile data network.
In some possible embodiments, the terminal device accesses a third communication network;
the first network resource comprises a first network priority of the first application for data transmission in the third communication network, and the second network resource comprises a second network priority of the second application for data transmission in the third communication network; and if the first split screen priority is higher than the second split screen priority, the first network priority is higher than the second network priority.
In some of the possible embodiments, the first and second,
the configuring unit 1002 is further configured to configure a second network resource for the first application according to the second split screen priority when the first application is switched from the first split screen to the second split screen.
In some possible embodiments, the terminal device further includes:
a holding unit 1003, configured to, when the first application is switched from the first split screen to the background operation, hold that the first application uses the first network resource for communication connection, and the second application uses the second network resource for communication connection.
In some possible embodiments, the starting unit 1001 is specifically configured to:
acquiring a first starting instruction of a first application;
determining a first split screen corresponding to the first application according to the first starting instruction, and starting the first application through the first split screen;
acquiring a second starting instruction of a second application;
and determining a second split screen corresponding to the second application according to the first starting instruction, and starting the second application through the second split screen.
As shown in fig. 11, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part in the embodiment of the present invention. The terminal device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the terminal device as the mobile phone as an example:
fig. 11 is a block diagram showing a partial structure of a cellular phone related to a terminal provided by an embodiment of the present invention. Referring to fig. 11, the cellular phone includes: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 1190. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 11:
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages to processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 1140 may include a Display panel 1141, and optionally, the Display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, 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 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another cellular phone via the RF circuit 1110, or output to the memory 1120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The phone also includes a power supply 1190 (e.g., a battery) for powering the various components, and preferably, the power supply may be logically connected to the processor 1180 via a power management system, so that the power management system may manage charging, discharging, and power consumption management functions.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 1180 included in the terminal is further configured to execute the steps executed by the terminal device in fig. 3 to 9.
The present application provides a chip system comprising a processor for enabling a terminal device to implement the functionality referred to in the above aspects, e.g. to send or process data and/or information referred to in the above methods. In one possible design, the system-on-chip further includes a memory for storing necessary program instructions and data. The chip system may be formed by a chip, or may include a chip and other discrete devices.
In another possible design, when the chip system is a chip in a terminal device, the chip includes: a processing unit, which may be for example a processor, and a communication unit, which may be for example an input/output interface, a pin or a circuit, etc. The processing unit may execute computer-executable instructions stored by the storage unit to cause a chip within the terminal device or the like to perform the steps of the method performed by the terminal device in any of the embodiments of fig. 3-9 described above. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, and the like, and the storage unit may also be a storage unit located outside the chip in the terminal device and the like, such as a read-only memory (ROM) or another type of static storage device that can store static information and instructions, a Random Access Memory (RAM), and the like.
The embodiments of the present application further provide a processor, coupled to the memory, for performing the method and functions related to the terminal device in any of the embodiments.
The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a computer, implements the method flow related to the terminal device in any of the above method embodiments. Correspondingly, the computer can be the terminal device.
It should be understood that the processor mentioned in the terminal device, the chip system, etc. in the above embodiments of the present application, or the processor provided in the above embodiments of the present application, may be a Central Processing Unit (CPU), and may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be understood that the number of processors in the terminal device, the chip system, and the like in the above embodiments in the present application may be one or multiple, and may be adjusted according to practical application scenarios, and this is merely an exemplary illustration and is not limited. The number of the memories in the embodiment of the present application may be one or multiple, and may be adjusted according to an actual application scenario, and this is merely an exemplary illustration and is not limited.
It should also be understood that the memory or the readable storage medium and the like mentioned in the terminal device, the chip system and the like in the above embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM).
It should be further noted that, when the terminal device includes a processor (or a processing unit) and a memory, the processor in this application may be integrated with the memory, or the processor and the memory are connected through an interface, and may be adjusted according to an actual application scenario, and is not limited.
The present application further provides a computer program or a computer program product including the computer program, where when the computer program is executed on a computer, the computer is caused to implement the method flow with the terminal device in any of the above method embodiments. Correspondingly, the computer can be the terminal device.
In the various embodiments of fig. 3-9 described above, may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website site, computer, terminal device, or data center to another website site, computer, terminal device, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device including one or more available media integrated terminal devices, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal device, or other network devices) to execute all or part of the steps of the method in the embodiments of fig. 3 to 9 of the present application. And the storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances and are merely descriptive of the various embodiments of the application and how objects of the same nature can be distinguished. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of elements is not necessarily limited to those elements, but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The names of the messages/frames/information, modules or units, etc. provided in the embodiments of the present application are only examples, and other names may be used as long as the roles of the messages/frames/information, modules or units, etc. are the same.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the embodiments of the present application, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that in the description of the present application, unless otherwise indicated, "/" indicates a relationship where the objects associated before and after are an "or", e.g., a/B may indicate a or B; in the present application, "and/or" is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural.
The word "if" or "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (16)

1. A method of resource allocation, comprising:
the terminal equipment starts a first application in the first split screen and starts a second application in the second split screen;
the terminal equipment configures first network resources for the first application according to a first screen-sharing priority, wherein the first screen-sharing priority is a priority corresponding to the first screen-sharing;
and the terminal equipment configures second network resources for the second application according to a second split screen priority, wherein the second split screen priority is a priority corresponding to the second split screen.
2. The method of claim 1,
the first network resource is a resource in a first communication network, and the first communication network is used for the first application to carry out communication connection;
the second network resource is a resource in a second communication network, the second communication network is used for the second application to perform communication connection, the second communication network is different from the first communication network, and if the first split screen priority is higher than the second split screen priority, the priority of the second communication network is lower than the priority of the first communication network.
3. The method of claim 2, wherein the first communication network is a WiFi network and the second communication network is a mobile data network.
4. The method of claim 1, wherein the terminal device accesses a third communication network;
the first network resource comprises a first network priority for the first application to perform data transmission in the third communication network, and the second network resource comprises a second network priority for the second application to perform data transmission in the third communication network; wherein the first network priority is higher than the second network priority if the first split screen priority is higher than the second split screen priority.
5. The method according to any one of claims 1-4, further comprising:
and when the first application is switched from the first split screen to the second split screen, the terminal equipment configures the second network resource for the first application according to the second split screen priority.
6. The method according to any one of claims 1-4, further comprising:
when the first application is switched to background operation from the first split screen, the terminal device keeps the first application using the first network resource for communication connection, and the second application using the second network resource for communication connection.
7. The method according to any one of claims 1-6, wherein the terminal device launching a first application in a first split screen and launching a second application in a second split screen comprises:
the terminal equipment acquires a first starting instruction of a first application;
the terminal equipment determines a first split screen corresponding to the first application according to the first starting instruction, and starts the first application through the first split screen;
the terminal equipment acquires a second starting instruction of a second application;
and the terminal equipment determines a second split screen corresponding to the second application according to the first starting instruction, and starts the second application through the second split screen.
8. A terminal device, comprising: a starting unit and a configuration unit;
the starting unit is used for starting a first application in the first split screen and starting a second application in the second split screen;
the configuration unit is configured to configure a first network resource for the first application according to a first screen-splitting priority, where the first screen-splitting priority is a priority corresponding to the first screen-splitting;
the configuration unit is further configured to configure a second network resource for the second application according to a second split screen priority, where the second split screen priority is a priority corresponding to the second split screen.
9. The terminal device of claim 8,
the first network resource is a resource in a first communication network, and the first communication network is used for the first application to carry out communication connection;
the second network resource is a resource in a second communication network, the second communication network is used for the second application to perform communication connection, the second communication network is different from the first communication network, and if the first split screen priority is higher than the second split screen priority, the priority of the second communication network is lower than the priority of the first communication network.
10. The terminal device of claim 9, wherein the first communication network is a WiFi network and the second communication network is a mobile data network.
11. The terminal device of claim 8, wherein the terminal device accesses a third communication network;
the first network resource comprises a first network priority for the first application to perform data transmission in the third communication network, and the second network resource comprises a second network priority for the second application to perform data transmission in the third communication network; wherein the first network priority is higher than the second network priority if the first split screen priority is higher than the second split screen priority.
12. The terminal device according to any of claims 8-11,
the configuration unit is further configured to configure the second network resource for the first application according to the second split screen priority when the first application is switched from the first split screen to the second split screen.
13. The terminal device according to any of claims 8-12, wherein the terminal device further comprises:
and the keeping unit is used for keeping the first application to use the first network resource for communication connection and the second application to use the second network resource for communication connection when the first application is switched from the first split screen to the background operation.
14. The terminal device according to any one of claims 8 to 13, wherein the enabling unit is specifically configured to:
acquiring a first starting instruction of a first application;
determining a first split screen corresponding to the first application according to the first starting instruction, and starting the first application through the first split screen;
acquiring a second starting instruction of a second application;
and determining a second split screen corresponding to the second application according to the first starting instruction, and starting the second application through the second split screen.
15. A terminal device, characterized in that,
a processor and a memory;
the memory has program code stored therein;
the processor, when invoking the program code in the memory, performs the steps of the method of any of claims 1-7.
16. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-7.
CN201910791735.3A 2019-08-26 2019-08-26 Resource allocation method and equipment Pending CN110677456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910791735.3A CN110677456A (en) 2019-08-26 2019-08-26 Resource allocation method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910791735.3A CN110677456A (en) 2019-08-26 2019-08-26 Resource allocation method and equipment

Publications (1)

Publication Number Publication Date
CN110677456A true CN110677456A (en) 2020-01-10

Family

ID=69075710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910791735.3A Pending CN110677456A (en) 2019-08-26 2019-08-26 Resource allocation method and equipment

Country Status (1)

Country Link
CN (1) CN110677456A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022104754A1 (en) * 2020-11-20 2022-05-27 达闼机器人股份有限公司 Network resource management method, management apparatus, electronic device, and storage medium
CN116709557A (en) * 2022-11-18 2023-09-05 荣耀终端有限公司 Service processing method, device and storage medium
CN116700814A (en) * 2022-10-20 2023-09-05 荣耀终端有限公司 Method for starting applet and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232383A (en) * 2008-02-21 2008-07-30 中兴通讯股份有限公司 System and method for sharing display unit
CN101557495A (en) * 2009-05-18 2009-10-14 上海华平信息技术股份有限公司 Bandwidth control method of video conferencing system
CN103793136A (en) * 2014-01-21 2014-05-14 深圳市中兴移动通信有限公司 Method for operating mobile terminal and mobile terminal
CN106559571A (en) * 2016-11-18 2017-04-05 努比亚技术有限公司 parameter configuration device, mobile terminal and method
CN106557291A (en) * 2016-10-28 2017-04-05 努比亚技术有限公司 Split screen processing method and processing device
US20170111595A1 (en) * 2015-10-15 2017-04-20 Microsoft Technology Licensing, Llc Methods and apparatuses for controlling video content displayed to a viewer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232383A (en) * 2008-02-21 2008-07-30 中兴通讯股份有限公司 System and method for sharing display unit
CN101557495A (en) * 2009-05-18 2009-10-14 上海华平信息技术股份有限公司 Bandwidth control method of video conferencing system
CN103793136A (en) * 2014-01-21 2014-05-14 深圳市中兴移动通信有限公司 Method for operating mobile terminal and mobile terminal
US20170111595A1 (en) * 2015-10-15 2017-04-20 Microsoft Technology Licensing, Llc Methods and apparatuses for controlling video content displayed to a viewer
CN106557291A (en) * 2016-10-28 2017-04-05 努比亚技术有限公司 Split screen processing method and processing device
CN106559571A (en) * 2016-11-18 2017-04-05 努比亚技术有限公司 parameter configuration device, mobile terminal and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022104754A1 (en) * 2020-11-20 2022-05-27 达闼机器人股份有限公司 Network resource management method, management apparatus, electronic device, and storage medium
CN116700814A (en) * 2022-10-20 2023-09-05 荣耀终端有限公司 Method for starting applet and terminal equipment
CN116709557A (en) * 2022-11-18 2023-09-05 荣耀终端有限公司 Service processing method, device and storage medium
CN116709557B (en) * 2022-11-18 2024-03-15 荣耀终端有限公司 Service processing method, device and storage medium

Similar Documents

Publication Publication Date Title
US11237724B2 (en) Mobile terminal and method for split screen control thereof, and computer readable storage medium
CN111459355B (en) Content sharing method and electronic equipment
US10474507B2 (en) Terminal application process management method and apparatus
EP3404541B1 (en) Application control method and related device
US20160315999A1 (en) Device and method for associating applications
CN105975190B (en) Graphical interface processing method, device and system
CN108595237A (en) A kind of method and terminal of display content
US10754684B2 (en) Method for controlling process and related device
CN106775828B (en) Application program installation method and device and computer equipment
US12089284B2 (en) Method for network control and related products
US9497565B1 (en) Interface display method, device, terminal, server and system
CN106406924B (en) Control method and device for starting and quitting picture of application program and mobile terminal
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN110677456A (en) Resource allocation method and equipment
CN110944408A (en) Data transmission method and electronic equipment
CN106156664A (en) User interface anti-peeping method, system, application program and the terminal of application program
US11150913B2 (en) Method, device, and terminal for accelerating startup of application
WO2014166307A1 (en) Method for determining performance of process of application and computer system
US11327639B2 (en) Split view exiting method, split view exiting device, and electronic device
CN111435318A (en) Dex optimization method of application program and terminal
CN109743469B (en) VOLTE-based communication method and mobile terminal
CN108833659B (en) Application installation method and terminal
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
US10057740B2 (en) Methods and devices for processing mobile terminal resource
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200110

WD01 Invention patent application deemed withdrawn after publication