Game service management method and electronic device
By displaying the game service panel on the display screen of the electronic device, the main functional area is located at the edge position, which is convenient for operation and supports direct operation of one-click switches and secondary pages, the problem of inconvenient game service settings in the existing technology is solved, and the problem of improved Game experience and operation efficiency.
Patent Information
- Application Number
- CN202211513034.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2042-11-28
AI Technical Summary
In the prior art, the game service page provided by the electronic device during the game process is poorly laid out, making it difficult for users to set up game service functions conveniently and quickly, which affects the user's gaming experience.
By displaying the game service panel on the display screen of an electronic device, the panel is divided into main functional area and auxiliary functional area. The main functional area is located near the edge of the display screen, which is convenient for user operation and supports one-click switch game service. Complex functions are in two Direct operation within the level page to avoid jumping to other applications.
It improves users' operation efficiency and experience during the game process, reduces operating costs, and simplifies the setting process of game services.
Smart Images

Figure CN118079382B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a game service management method and electronic device. Background Art
[0002] With the rapid development of electronic technology, electronic devices can realize more and more functions. For example, users can use electronic devices to communicate, work, pay, play games and other operations anytime and anywhere, which provides great convenience for users' lives and work.
[0003] Currently, when users use electronic devices to play games, in order to better serve users, the electronic devices can provide users with some game services, such as do not disturb, screenshot, network acceleration, etc. However, the page layout effect of operating game services set in the related art is not good, and users cannot set game service functions conveniently and quickly, which affects the user's gaming experience. Summary of the invention
[0004] The present application provides a game service management method and electronic device, which can improve the user's operating efficiency and gaming experience during the game.
[0005] In a first aspect, the present application provides a method for managing a game service, which is performed by an electronic device, comprising: during the process of the electronic device running a game application, if an operation requesting to display a first panel is detected, the first panel is displayed, the first panel includes a first area and a second area, the first area and the second area both present multiple game service controls, the usage frequency of the game service controls in the first area is higher than the usage frequency of the game service controls in the second area, and the first area on the first panel is located at a position away from the center of the display screen of the electronic device relative to the second area; if a touch operation on the first control is detected, the game service corresponding to the first control is started, and the first control is any one of the multiple game service controls.
[0006] In the process of running a game application on an electronic device, an operable control may be displayed on the side of the display screen, and the user may click or slide the operable control to call out a game service panel, i.e., a first panel. The first panel may include a first area and a second area, and the frequency of use of the game service control in the first area is higher than the frequency of use of the game service control in the second area, i.e., the first area may be a main function area, and the second area may be an auxiliary function area. When the user clicks on any one of the controls in the first panel, the electronic device may respond to the click operation (i.e., a touch operation) to start the corresponding game service.
[0007] In this implementation, considering the user's operating habits of using an electronic device to play games, the first area is located at a position away from the center of the display screen of the electronic device relative to the second area, that is, close to the handheld display screen, so that the user can easily and quickly operate the controls in the main function area. Among them, because the game application is usually run in the horizontal screen state of the electronic device, the above-mentioned operable controls can be located on the left side of the display screen of the electronic device, or on the right side of the display screen of the electronic device.
[0008] In the case where the operable control is located on the left side of the display screen of the electronic device, the first panel called out by the electronic device may also be located on the left side of the display screen, and the first area is located near the left edge of the display screen relative to the second area. In the case where the operable control is located on the right side of the display screen of the electronic device, the first panel called out by the electronic device may also be located on the right side of the display screen, and the first area is located near the right edge of the display screen relative to the second area.
[0009] It can be understood that the left side of the above-mentioned display screen can be the side held by the left hand when the user holds the electronic device with both hands and faces the display screen of the electronic device; the right side of the display screen can be the side held by the right hand when the user holds the electronic device with both hands and faces the display screen of the electronic device.
[0010] Optionally, the first panel may also include a third area (i.e., device status display area), which presents the current usage status information of the electronic device and the mode information used to run the game application. Exemplarily, the third area may present information such as network delay time, CPU usage, RAM occupancy, number of frames per second, and current device mode (such as game mode). The above-mentioned third area can be displayed in the form of a drawer, which can be expanded or folded; when the third area is expanded, the user can switch the device mode on the expanded page, for example, from game mode to balanced mode.
[0011] In the above implementation, the electronic device can set the main function area (i.e., the first area) in the game service panel in an easy-to-operate area to facilitate users to operate the controls in the main function area, thereby improving the user's operating efficiency and gaming experience during the game.
[0012] In combination with the first aspect, in some implementations of the first aspect, the switch configuration of the game service corresponding to the first control is a one-key switch configuration.
[0013] In this implementation, if the opening and closing process of the game service only involves a switch operation, that is, the corresponding selection operation is only 0 and 1, then the switch configuration of the game service can be set to a one-key switch configuration, and the user can quickly open the game service through the first control corresponding to the game service. Optionally, the above-mentioned first control can be a control in the first area, that is, a control in the main function area, so that for the main function area with high frequency of use, the user can quickly and conveniently operate it, reducing the operation cost.
[0014] In combination with the first aspect, in some implementations of the first aspect, the switch configuration of the game service corresponding to the first control is a non-one-button switch configuration, and if a touch operation on the first control is detected, the game service corresponding to the first control is started, including: if a touch operation on the first control is detected, a setting page of the game service corresponding to the first control is displayed on the first panel; if an operation requesting to start the game service is input on the setting page, the game service corresponding to the first control is started.
[0015] In this implementation, if the activation of the game service requires a secondary operation, that is, its switch configuration is not a one-button switch configuration, then after the user clicks the first control, the setting page corresponding to the game service (that is, the secondary page) can be displayed, and the operation requesting to activate the game service can be entered on this page to activate the game service.
[0016] Among them, for some game services that require access to the functions of a third-party accelerator, users can still operate through the secondary page to avoid jumping outside the game application. In this case, if the user wants to turn on the corresponding game service, the electronic device needs to authenticate the user to avoid security risks caused by illegal user operations. Therefore, if the operation of requesting to turn on the game service entered on the settings page is detected, the game service corresponding to the first control is turned on, including: if the operation of requesting to turn on the game service entered on the settings page is detected, the logged-in user of the game application is authenticated; if the authentication is passed, the game service corresponding to the first control is turned on.
[0017] Optionally, the electronic device can authenticate the legitimacy of the user logged in to the current game application, for example, by authenticating through a cloud server and a server corresponding to a third-party accelerator. If the user authentication fails, the corresponding game service cannot be activated, and the user can be given a corresponding prompt message. If the user authentication passes, the corresponding game service can be activated.
[0018] In the above implementation, for most game services on the first panel, one-click switching is supported to avoid jumping to the secondary page. For game services with complex functions, direct operation on the secondary page is supported to avoid jumping out of the game application, thereby minimizing the user's operating cost and improving operating efficiency and gaming experience.
[0019] In combination with the first aspect, in some implementations of the first aspect, the first control is a network acceleration control, the game service corresponding to the first control is a network acceleration service, and the above-mentioned enabling of the game service corresponding to the first control includes: enabling the network acceleration service through a VPN connection.
[0020] Take the network acceleration service as an example. It is a way of accelerating through VPN, which belongs to physical acceleration and requires access to a third-party accelerator. Because it also involves renewal operations, network delay information display, etc., the activation of the network acceleration service requires secondary operations. After clicking the network acceleration control, the electronic device will display a secondary page.
[0021] Among them, in this implementation, before starting the network acceleration service through the VPN connection, the electronic device also needs to determine whether the VPN authorization has been performed. If it has been authorized, the network acceleration service can be directly started through the VPN connection. If the electronic device has not performed VPN authorization, the electronic device can display authorization prompt information, such as a system authorization prompt box; if a confirmation operation for the input of the authorization prompt information is detected, VPN authorization is performed, and then the network acceleration service is started through the VPN connection.
[0022] In combination with the first aspect, in some implementations of the first aspect, a game manager application is installed in the electronic device, and the above-mentioned display of the first panel includes: displaying the first panel through the game manager application; starting the game service corresponding to the first control includes: starting the game service corresponding to the first control through the game manager application.
[0023] To facilitate the management of the above-mentioned game services, a game manager application may be installed in the electronic device, and the game manager application uniformly manages various game applications and game services, such as adding and deleting game applications, and opening and closing game services. Optionally, the game manager application may be a functional service integrated into the setting application of the electronic device, or may be displayed on the system desktop of the electronic device as a separate application. Then, the game manager application may realize the above-mentioned functions of displaying the first panel and opening the game service corresponding to the first control.
[0024] Furthermore, in order to facilitate the opening of various game services and reduce the interaction process with other applications, the game manager can be integrated with a software development kit SDK, which is used to realize the opening of the game service corresponding to the first control. Taking the network acceleration service as an example, the functional module or functional application used to realize network acceleration is integrated into the SDK, and the SDK is integrated into the game manager application, so that the game manager application can open the network acceleration service without jumping to other applications.
[0025] Optionally, when the electronic device starts running the game application, the game manager application can be run, so that the game manager application can serve the game application in real time. It should be noted that the game manager application can automatically identify the game application installed in the electronic device and add the game application to the management list, and can also provide an entry for manually adding the game application, through which the user can manually add the game application to the management list; for the game application in the management list, the game manager application can be triggered to run when it starts running.
[0026] Optionally, when a user opens a game application in an electronic device, if the game application has been added to the management list of the game manager application, the electronic device can automatically run the game manager and display a prompt notification (such as a prompt notification box) on the interface of the game application that the service function corresponding to the game manager application has been turned on. After the prompt notification box is displayed, the prompt notification box can be canceled after a preset time (such as 3 seconds), and an operable control, that is, the operable control described in the first aspect above, is displayed. When the user clicks or slides the operable control, the first panel can be called out.
[0027] In the above implementation, the electronic device provides a first panel through the game manager application, and the main function area can be set on the near-hand end to facilitate the user to operate the controls in the main function area; at the same time, for most game services in the main function area, one-key switching is supported to avoid jumping to the secondary page. For game services with complex functions, direct operation on the secondary page is supported to avoid jumping out of the game application, thereby minimizing the user's operating cost and improving operating efficiency and gaming experience.
[0028] In a second aspect, the present application provides a device, which is included in an electronic device, and the device has the function of implementing the electronic device behavior in the above-mentioned first aspect and the possible implementation of the above-mentioned first aspect. The function can be implemented by hardware, or it can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions. For example, a receiving module or unit, a processing module or unit, etc.
[0029] In a third aspect, the present application provides an electronic device, comprising: a processor, a memory, and an interface; the processor, the memory, and the interface cooperate with each other so that the electronic device executes any one of the methods in the technical solution of the first aspect.
[0030] In a fourth aspect, the present application provides a chip, including a processor. The processor is used to read and execute a computer program stored in a memory to perform the method in the first aspect and any possible implementation thereof.
[0031] Optionally, the chip also includes a memory, and the memory is connected to the processor via a circuit or wire.
[0032] Further optionally, the chip also includes a communication interface.
[0033] In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes any one of the methods in the technical solution of the first aspect.
[0034] In a sixth aspect, the present application provides a computer program product, the computer program product comprising: a computer program code, when the computer program code runs on an electronic device, the electronic device executes any one of the methods in the technical solution of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a schematic diagram of a page showing a game service panel provided by the related art;
[0036] Figure 2 This is a schematic diagram of a page for opening a game service provided by the related technology;
[0037] Figure 3 This is another example of a page schematic diagram for opening a game service provided by the related art;
[0038] Figure 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0039] Figure 5 is a software structure block diagram of an electronic device provided in an embodiment of the present application;
[0040] Figure 6 This is a schematic diagram of a process of adding a game application in a game manager provided by an embodiment of the present application;
[0041] Figure 7 is another example of a process diagram of adding a game application in a game manager provided by an embodiment of the present application;
[0042] Figure 8This is a schematic diagram of an example of displaying a prompt notification for starting a game manager on the interface of a game application provided by an embodiment of the present application;
[0043] Fig. 9 This is a schematic diagram of a page for opening a game service in a game manager provided in an embodiment of the present application;
[0044] Fig.10 This is a schematic diagram of a page showing a game service panel provided in an embodiment of the present application;
[0045] Fig.11 This is a schematic diagram of a device mode switching page provided in an embodiment of the present application;
[0046] Fig.12 is another example of a page schematic diagram showing a game service panel provided in an embodiment of the present application;
[0047] Fig.13 This is a schematic diagram of a process of starting a game service provided by an embodiment of the present application;
[0048] Fig.14 is another schematic diagram of the process of starting a game service provided by an embodiment of the present application;
[0049] Fig.15 This is another schematic diagram of a process of starting a game service provided by an embodiment of the present application;
[0050] Fig.16 This is another schematic diagram of a process of starting a game service provided by an embodiment of the present application;
[0051] Fig.17 This is a schematic diagram of a page for starting a game service provided in an embodiment of the present application;
[0052] Fig.18 is a flowchart of a method for managing a game service provided in an embodiment of the present application;
[0053] Fig.19 This is a flowchart of an example of starting a network acceleration service provided in an embodiment of the present application;
[0054] Fig. 20 This is a schematic diagram of an example of displaying authentication failure prompt information provided by an embodiment of the present application;
[0055] Fig.21 This is another example of a flow chart of starting a network acceleration service provided by an embodiment of the present application;
[0056] Fig. 22 This is a schematic diagram of a page showing a system authorization box provided in an embodiment of the present application;
[0057] Fig.23This is a flowchart of a user authentication process provided by an embodiment of the present application;
[0058] Fig.24 This is a flowchart of a network acceleration renewal process provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0060] In the following, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features.
[0061] At present, there are more and more types of electronic devices, such as mobile phones, tablet computers, netbooks, etc., and electronic devices can realize more and more functions, such as communication, office, payment, shopping, games, travel, etc., which brings great convenience to users' work and life.
[0062] In order to better serve users, when users use electronic devices to play games, in addition to performing regular game operations, electronic devices can also provide users with some game services, such as do not disturb, screenshot, network acceleration and other services, so that users can have a better game experience.
[0063] In related technologies, such as Figure 1 As shown, taking the electronic device as a mobile phone as an example, on the running interface of the game application, a game service panel 10 can be popped up or called out, and the game service panel 10 can be divided into a main function area 11 and an auxiliary function area 12. The main function area 11 presents controls for a variety of different game services, such as controls for services such as do not disturb, screenshots, screen recording, and network acceleration, and the auxiliary function area 12 presents icons for some recently used applications. If the user wants to start a certain game service, the user can directly click on the control corresponding to the game service. However, because game applications are usually run in the horizontal screen state of the mobile phone, when the user holds the mobile phone with both hands, they mostly use their thumbs to operate; if the layout of the game service panel 10 is as follows Figure 1As shown, the main function area 11 is located at the far end, and the user may not be able to operate it easily and cannot experience the user experience of being within reach.
[0064] In addition, in the related art, for some game services, Figure 1 The control shown cannot directly enable the service function, and needs to enter the secondary page to operate. Figure 1 After clicking the bullet screen notification control 13 on the game service panel 10 shown in the figure, the mobile phone will jump to Figure 2 In the interface shown, on the secondary page, the user can click the corresponding switch control 14 to turn on the bullet screen notification service function.
[0065] For other game services, click Figure 1 After the control shown, you may even need to jump outside the game application to complete the setup process. Figure 1 After clicking the network acceleration control 15 on the game service panel 10 shown in the figure, the mobile phone will jump to Figure 3 On the page shown, the user can click the corresponding switch control 16 on the secondary page. After confirming to turn on the network acceleration service function, the user needs to jump to the setting page corresponding to the network acceleration in the mobile phone, that is, jump outside the game application. Or, if you want to Figure 3 To enable the VIP charging acceleration function on the interface, you also need to jump to the payment application outside the game application.
[0066] From the above process, it can be seen that the page layout effect of operating game services set by the related technology is not good. Most game service settings need to jump to the secondary page, and some game service settings even need to jump outside the game. After entering the game, users are usually focused on game operations and it is difficult to have enough energy to carry out the tedious setting process. Therefore, the settings of the above related technologies cannot be convenient and quick for users to set up game service functions, and the operating efficiency is low, which affects the user's gaming experience.
[0067] In view of this, a management method for game services provided in an embodiment of the present application can set the main function area in the game service panel to the near-hand end to facilitate the user to operate the controls in the main function area; at the same time, for most game services in the main function area, one-key switch is supported to avoid jumping to the secondary page. For game services with complex functions, direct operation on the secondary page is supported to avoid jumping out of the game application, thereby minimizing the user's operating cost and improving operating efficiency and game experience. It should be noted that the management method for game services provided in an embodiment of the present application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA) and other electronic devices that can install game applications and provide game-related functions. The embodiment of the present application does not impose any restrictions on the specific type of electronic devices.
[0068] For example, Figure 4 1 is a schematic diagram of the structure of an example of an electronic device 100 provided in an embodiment of the present application. Taking the electronic device 100 as a mobile phone as an example, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0069] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0070] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0071] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0072] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0073] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0074] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0075] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0076] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0077] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).
[0078] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0079] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0080] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0081] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0082] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0083] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0084] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0085] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0086] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0087] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0088] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0089] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
[0090] Figure 51 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.
[0091] like Figure 5 As shown, the application package may include a game application (which may be referred to as a game application for short) and a game manager application (which may be referred to as a game manager application or a game manager for short). The game application may be a system game application or a third-party game application; the game manager may be used to manage each game application and provide game services for each game application.
[0092] In addition, the application package may also include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications (not shown in the figure).
[0093] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0094] like Figure 5 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0095] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to the application. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures. The phone manager is used to provide communication functions for the electronic device 100. For example, the management of call status (including connected, hung up, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc. The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify the completion of downloads, message reminders, etc. The notification manager can also be a notification that appears in the top status bar of the system in the form of an icon or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0096] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0097] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0098] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0099] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0100] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of multiple common audio and video formats, as well as static image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.
[0101] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0102] For ease of understanding, the following embodiments of the present application will be described in detail with Figure 4 and Figure 5 Taking the electronic device with the structure shown as an example, the management method of the game service provided by the embodiment of the present application is specifically explained in combination with the accompanying drawings and application scenarios.
[0103] First, let's introduce the application scenario of the embodiment of the present application. The electronic device in the embodiment of the present application may be installed with one or more game applications, and may also be installed with a game manager. The game manager here may be a functional service integrated into the setting application of the electronic device, or it may be displayed on the system desktop of the electronic device as a separate application (APP). The embodiment of the present application may support both modes at the same time.
[0104] Among them, the game manager can automatically identify the game applications installed in the electronic device and add the game applications to the management list. In one feasible way, the game manager can synchronize the game list to the cloud and cache it to the local database. In another feasible way, the game manager can scan the game applications installed in the electronic device and synchronize them to the management list. In another feasible way, the game manager can monitor the installation broadcast and uninstallation broadcast of the electronic device. When the installation broadcast is monitored, it is determined whether the installed application is a game application. If it is a game application, it can be synchronized to the management list; when the uninstallation broadcast is monitored, the game application in the management list can also be deleted. It can be understood that the game manager can determine whether it is a game application based on information such as the name of the application and detailed description.
[0105] The game manager can also provide an entry for manually adding game applications, through which users can manually add game applications to the management list; the entry here can be entered through the function service entrance of the game manager in the setting application, or through the running page of the game manager APP, and the embodiments of the present application do not limit this. Figure 6This is a schematic diagram of a process of adding a game application through the functional service of the game manager in the setting application provided by an embodiment of the present application. The user can enter the setting page through the setting application, click the control corresponding to the game manager, and enter the functional service page of the game manager; on this page, a management list is displayed, and the management list includes information of the added game applications, such as the name of the game application, etc. The page also includes an add control 61. When the user clicks the add control 61, the game applications installed in the electronic device but not added to the management list can be displayed, and the user can then select the game application to be added to the management list to complete the adding process.
[0106] Figure 7 This is a schematic diagram of a process of adding a game application through a game manager APP provided by an embodiment of the present application. The user can click the game manager icon on the system desktop to enter the run page, which displays the information of the added game application. Optionally, the user can switch to display the information of different game applications by sliding left and right. The upper line of the interface also includes an add control 71. When the user clicks the add control 71, the game applications that have been installed in the electronic device but not added to the management list can be displayed. Then the user can select the game application that he wants to add to the management list to complete the adding process.
[0107] It is understandable that the above Figure 6 The added game applications shown can be Figure 6 It can also be added by adding Figure 7 added by the addition method; similarly, Figure 7 The added game applications shown can be Figure 7 It can also be added by adding Figure 6 The addition method adds Figure 6 and Figure 7 The adding results of the two methods are synchronous.
[0108] When a user opens a game application in an electronic device, if the game application has been added to the management list of the game manager, the electronic device can automatically run the game manager and display a prompt notification on the interface of the game application that the service function corresponding to the game manager has been turned on. Figure 8 As shown, the electronic device can display a prompt notification box above the interface of the game application, displaying the message "The following performance optimizations are turned on: Game mode, Do Not Disturb" to remind the user that the game manager is currently running and that the game service can be set up when needed.
[0109] In one achievable manner, for Figure 8The prompt information shown, "Game Mode, Do Not Disturb" and other enabled game services can be the services that the game manager has set when the game application was last exited. Among them, the game manager has the function of reading and memorizing the services that the game application has set. When the user sets the game service of the game application last time and exits, the game manager can save the set game service; when the user opens the game application again, the game manager can automatically turn on the corresponding game service to intelligently match the user's usage habits, avoid repeated operations, and reduce the user's operating costs.
[0110] In another possible implementation, for Figure 8 The prompt information shown in the figure shows that the game services that have been turned on, such as "Game Mode, Do Not Disturb", can also be set by the user through the function service of the game manager in the setting application (such as the above Figure 6 Settings shown in the figure) or Game Manager APP (such as the above Figure 7 For example, take the method of opening the game service through the game manager APP as an example, Fig. 9 As shown in the figure, for the management page of the currently displayed game application, the user can view more game service information by sliding up and down, and then the user can click the switch control of a game service to turn on the game service, for example, turning on the game mode and do not disturb two game services. The game manager can save the game service selected by the user so that the corresponding game service can be turned on the next time the game application is run.
[0111] In the above Figure 8 Based on the above, after the electronic device displays the prompt notification box, it can cancel the display of the prompt notification box after a preset time (for example, 3 seconds) and display an operable control. Fig.10 As shown in FIG. 1 (a), an operable control 91 is displayed on the left side of the display screen of the electronic device. Optionally, the operable control 91 may be a floating ball. The user may click or slide the operable control 91 to the right to call out a game service panel 92, for example Fig.10 In the embodiment of the present application, the game service panel 92 can be divided into a main function area 921, an auxiliary function area 922 and a device status display area 923. It can be understood that the content displayed by the game service panel 92 and the functions that can be realized can be provided by the above-mentioned game manager.
[0112] It can be understood that the above-mentioned main function area 921 and auxiliary function area 922 can be divided according to the frequency of use of the game services in the function area, and the game service controls with higher frequency of use are set in the main function area 921, and the game service controls with lower frequency of use are set in the auxiliary function area 922. Therefore, in order to facilitate the user to operate the controls in the main function area 921, the embodiment of the present application fully considers the interactive operation between the user and the electronic device during the game, divides the user's fingers into easy-to-operate areas and difficult-to-operate areas, and specifically arranges the main function area 921 and auxiliary function area 922 in the game service panel 92, so that the main function area 921 is located in the easy-to-operate area, and the auxiliary function area 922 is located in the difficult-to-operate area. That is, Fig.10 As shown in Figure (b), when the game service panel 92 is located on the left side of the display screen, the main function area 921 is located near the left edge of the display screen relative to the auxiliary function area 922, and the auxiliary function area 922 is located away from the left edge of the display screen relative to the main function area 921, or the main function area 921 is located away from the center of the display screen relative to the auxiliary function area 922; therefore, when the user operates the electronic device, the controls in the main function area 921 can be easily operated, providing the user with an easily accessible operating experience.
[0113] Among them, the main function area 921 presents controls for various game services, such as network acceleration, do not disturb, anti-mistouch, display enhancement, game filters, strategy station and other game service controls. It should be noted that the game services displayed on the main function area 921 are different from the above-mentioned Figure 7 The game services displayed in the Game Manager APP correspond to the game services displayed in the Game Manager APP. Figure 7 The game services displayed in the Game Manager APP are network acceleration, do not disturb, anti-mistouch, and display enhancement. The game services displayed on the main function area 921 are also network acceleration, do not disturb, anti-mistouch, and display enhancement.
[0114] In addition, the game services displayed on the main function area 921 may also be related to the category of the game application and the performance of the electronic device. Exemplarily, the game manager can obtain the category of the currently running game application at runtime, for example, the game category is shooting, and then display the game service corresponding to the category on the main function area 921 according to the category of the game application; for example, shooting game applications may correspond to a magnification service, while other categories of game applications do not have the magnification service. Another exemplary example is that the game manager can obtain the performance parameters of the electronic device at runtime, and display the corresponding game services on the main function area 921 according to different performance parameters; for example, some electronic devices support high frame rates (such as 120HZ frame rates) and high dynamic range imaging (HDR), and these configurations can improve the stability and brightness of the game screen, then the game service panel 92 of these electronic devices may display a discrete graphics enhancement service, while for electronic devices that do not have this configuration, the discrete graphics enhancement service is not displayed. It can be understood that when an electronic device does not display a certain game service, the game manager can arrange the services arranged after the game service to fill in the position, for example, in Fig.10 The main functional area 921 shown in Figure (b) is arranged in a "Z" shape.
[0115] The auxiliary function area 922 may present icons of recently used applications or icons of applications associated with the running game application, and may also present brightness adjustment controls for the display screen, etc. In actual applications, more or fewer auxiliary controls may be presented on the auxiliary function area 922, and this embodiment of the application does not limit this.
[0116] The device status display area 923 displays information such as network latency (PIN), CPU usage, RAM usage, frames per second (FPS), and the current device mode (such as game mode). The device status display area 923 can be displayed in a drawer format that can be expanded or collapsed. Fig.10 The device status display area 923 shown in FIG. (b) is in a collapsed state. If the user clicks on the device mode symbol, it can be converted to Fig.11 Shown in expanded state. Fig.11 The device mode switching page is displayed, that is, the device mode can be switched on this page, for example, from game mode to balance mode. If the user clicks the "Collapse" control at the bottom of the page, it can be switched to Fig.10 It should be noted that when the device mode is switched, the game services already enabled in the main function area 921 do not change.
[0117] Continue to see above Fig.10 If the user does not need to display the game service panel 92, the user can click on any position outside the game service panel 92 on the display screen, and the game service panel 92 can be retracted to the side. Fig.10 The page shown in Figure (b) returns to Fig.10 The page shown in Figure (a) in the figure.
[0118] See above for more details. Fig.10 , which is to display an operable control 91 on the left side of the display screen of the electronic device, and of course, the operable control 91 can also be displayed on the right side of the display screen of the electronic device; or, the operable control 91 can be dragged from the left side of the display screen to the right side of the display screen by the user, that is, the operable control 91 can be dragged arbitrarily. For example Fig.12 As shown in Figure (a) in FIG. 1 , an operational control 91 is displayed on the right side of the display screen of the electronic device. The user can click or slide the operational control 91 to the left to call out the game service panel 92, for example Fig.12 As shown in Figure (b) in the figure. Fig.10 Figure (b) and Fig.12 By comparing it with Figure (b) in Figure 2, we can find that it is a mirror image rendering effect, that is, Fig.10 The main function area 921 is located on the left side of the auxiliary function area 922. Fig.12 The main function area 921 is located on the right side of the auxiliary function area 922. That is, whether the game service panel 92 is called out from the left side of the display screen or the right side of the display screen, the main function area 921 is located near the edge of the display screen relative to the auxiliary function area 922, or the main function area 921 is located away from the center of the display screen relative to the auxiliary function area 922, so that the user can operate the main function area 921.
[0119] Optionally, the game service panel 92 can also be dragged arbitrarily, for example, from the left side of the display screen to the right side of the display screen. In this implementation, during the process of dragging the game service panel 92, the relative positions of the main function area 921 and the auxiliary function area 922 can change. For example, during the process of dragging the game service panel 92 from the left side of the display screen to the right side of the display screen, the main function area 921 can be changed from the left side to the right side relative to the auxiliary function area 922, that is, from Fig.10 The display effect of Figure (b) is transformed into Fig.12 Thus, by dynamically adjusting the relative position of the main function area 921, the user's operating habits can be dynamically adapted to further improve the user's gaming experience.
[0120] In the above Fig.10 or Fig.12 Based on the above, the user can open the corresponding game service on the main function area 921 according to his own needs. In the embodiment of the present application, in order to reduce the user's operating cost and improve the operating efficiency, in an achievable manner, for the game service displayed on the main function area 921, if the opening and closing process of the game service only involves the switch operation, that is, the corresponding selection operation is only 0 and 1, then the switch configuration of the game service can be set to a one-key switch configuration. Then, the user can quickly open the corresponding game service through the game service control on the main function area 921.
[0121] For example, Fig.13 As shown in Figure (a) in the figure, the main function area 921 presents controls for game services such as network acceleration, do not disturb, anti-false touch, display enhancement, game filter, and strategy station. For game services such as do not disturb, anti-false touch, and display enhancement, the opening and closing process only involves switch operations, so the user can click the game service control to turn on the corresponding game service. For example, after the user clicks the do not disturb control 131, the display effect of the do not disturb control 131 can be changed. Fig.13 The change shown in Figure (a) is Fig.13 As shown in Figure (b), for example, the control font changes to highlighted or bold, etc., and the embodiment of the present application does not impose any specific limitation on the display effect.
[0122] In another achievable manner, for the game service displayed on the main function area 921, if activation of the game service requires secondary operation, the user may jump to the secondary page for operation.
[0123] For example, Fig.14 As shown in Figure (a) in the figure, the main function area 921 presents controls for game services such as network acceleration, do not disturb, anti-mistouch, display enhancement, game filters, and strategy stations. For game services such as game filters and strategy stations, the opening process requires secondary operations. After the user clicks the corresponding game service control, he can jump to the secondary page. For example, after the user clicks the game filter control 141, he can jump to Fig.14 The page shown in Figure (b) in the figure shows different game filter options, such as standard, shooting, and colorful game filter options. Then the user can select any game filter. For example, if the standard game filter option is selected, the game filter service is enabled. In this implementation, for slightly complex game services, it supports direct operation on the secondary page, reducing the user's operation cost.
[0124] In another feasible method, for the game service displayed on the main function area 921, if the activation of the game service requires access to the function of a third-party accelerator, the user can still operate it through the secondary page to avoid jumping outside the game application and affecting the user's game operation.
[0125] For example, Fig.15 As shown in Figure (a), the main function area 921 presents controls for game services such as network acceleration, do not disturb, anti-mistouch, display enhancement, game filters, and strategy stations. For game services such as network acceleration, it is a way to accelerate through VPN, which belongs to physical acceleration. Therefore, its activation process requires secondary operations and requires access to third-party applications (accelerators, etc.), and when acceleration renewal is required, it is also necessary to access the payment terminal. After the user clicks the corresponding game service control, he can jump to the secondary page. For example, after the user clicks the network acceleration control 151, he can jump to Fig.15 The page shown in Figure (b) in FIG. 1 shows the current network delay time, the delay time after acceleration, and a curve graph of the delay time. If the user wants to turn on the network acceleration service, he can click the network acceleration switch control 152 on the page to turn on the network acceleration service. It should be noted that when the network acceleration service is not turned on, Fig.15 The delay time after acceleration shown in Figure (b) is empty, and the delay time curve only contains the current network delay time curve; when the network acceleration service is turned on, Fig.15 The (b) graph in the figure will show the delay time after acceleration. The delay time curve can include the current network delay time curve and the delay time curve after acceleration. For details, please refer to the following Fig.16 .
[0126] In addition, Fig.15 The page shown in Figure (b) also presents the validity period information of the network acceleration service and the renewal control 153. When the validity period of the network acceleration service has exceeded the validity period, or when the validity period of the network acceleration service is approaching the validity period, the user can renew the network acceleration service through the renewal function to continue using the network acceleration service. For example, after the user clicks the renewal control 153, he can jump to Fig.16 The page shown in (a) of FIG. 1 shows subscription packages of different durations and corresponding fees. The user can select one of the subscription packages and click the buy now control 161 on the page. Then jump to Fig.16 The page shown in Figure (b) in FIG. 1 shows different payment methods. The user selects one of the payment methods and clicks the confirmation payment control 162 to complete the payment process. At this time, the page can jump to Fig.16As shown in Figure (c) in the figure, it can be seen that the validity period of the network acceleration service on the page has changed. It has added the expiration date of the purchased subscription package, and also updated the purchase status, such as the "purchase completed" status information in the figure. And, Fig.16 The (c) figure shows the delay time after acceleration, and the delay time curve graph may include the current network delay time curve (as shown by the dotted line in the figure) and the delay time curve after acceleration (as shown by the solid line in the figure).
[0127] It should be noted that the above Fig.16 The page shown in (b) of FIG. 1 is only a payment page, for example, it can be an embedded page in an application, which does not jump outside the game application, and the electronic device is still running the game application. Optionally, in this implementation, in order to further improve the user experience, the electronic device can also Fig.16 The page shown in FIG. (b) is optimized, for example, the page is displayed in a half-screen panel, so that the game service panel 92 and the payment page are displayed on the display screen at the same time. Fig.16 After clicking the buy now control 161 in the figure (a), you can jump to Fig.17 The pages shown, namely the game service panel 92 and the payment page are displayed side by side on the display screen, so that the user can perform payment operations more conveniently.
[0128] Therefore, in an embodiment of the present application, the main function area in the game service panel can be set on the near-hand end to facilitate the user to operate the controls in the main function area; at the same time, for most game services in the main function area, one-click switching is supported to avoid jumping to the secondary page. For game services with complex functions, direct operation on the secondary page is supported to avoid jumping out of the game application, thereby minimizing the user's operating cost and improving operating efficiency and gaming experience.
[0129] Based on the above application scenarios, the implementation process of the game service management method provided by the embodiment of the present application will be described in detail below. Fig.18 : is a flowchart of a method for managing a game service provided in an embodiment of the present application. The method is executed by an electronic device and may specifically include:
[0130] S101, during the running of a game application, if a first operation is detected, a game service panel is displayed.
[0131] The first operation may be a click or slide operation on the operable control 91, or may be an input operation of a voice command, such as a user inputting a command of "displaying the game service panel" by voice; the game service panel includes at least a main function area and an auxiliary function area. When the electronic device is running a game application, if the first operation is detected, the game service panel may be displayed, such as the above Fig.10 It should be noted that the currently running game application is an application that has been added to the management list of the game manager.
[0132] On the displayed game service panel, the main function area is located closer to the edge of the display screen relative to the auxiliary function area, and the auxiliary function area is located farther from the edge of the display screen relative to the main function area; thus, when operating the electronic device, the user can more easily operate the controls in the main function area, providing the user with an easily accessible operating experience.
[0133] S102: If a touch operation on a game service control on the game service panel is detected, start the corresponding game service.
[0134] In this step, when the electronic device detects a touch operation on the game service control, it can execute the corresponding game service activation process according to the switch configuration of the corresponding game service.
[0135] In one implementation, if the switch configuration of the game service is a one-touch switch configuration, the electronic device can start the corresponding game service, such as the do not disturb game service, when detecting a touch operation on the game service control.
[0136] In another implementation, if the switch configuration of the game service is not a one-button switch configuration, that is, a second operation is required to implement it, then when the electronic device detects a touch operation on the game service control, it can display a secondary page for the user to perform the opening operation again.
[0137] In this implementation, if the corresponding game service can be directly opened through the secondary page, the electronic device can open the corresponding game service, such as game filter and other game services, when it detects the user's touch operation again. If the corresponding game service cannot be directly opened through the secondary page and a third-party application needs to be accessed, the electronic device can interact with the third-party application to open the corresponding game service, such as network acceleration and other game services.
[0138] In the above-mentioned game service management method, the electronic device can set the main function area in the game service panel on the near-hand end to facilitate the user to operate the controls in the main function area; at the same time, for most game services in the main function area, one-key switching is supported to avoid jumping to the secondary page. For game services with complex functions, direct operation on the secondary page is supported to avoid jumping out of the game application, thereby minimizing the user's operating cost and improving operating efficiency and gaming experience.
[0139] The following will take the example of enabling the network acceleration service to describe the processing process of the electronic device. Fig.19 This is a schematic diagram of a process for starting a network acceleration service provided by an embodiment of the present application, that is, S102 may specifically include:
[0140] S201: If an operation of starting the network acceleration service is detected, the SDK is initialized.
[0141] Among them, SDK is a software development kit, which is a collection of development tools used to create application software for specific software packages, software frameworks, hardware platforms, operating systems, etc. It can provide application program interface API files for a certain programming language. In the embodiment of the present application, the functional modules or functional applications used to implement network acceleration can be integrated into SDK, and the SDK can be integrated into the game manager application, so that the game manager application can start the network acceleration service without jumping to other applications.
[0142] If the electronic device detects the operation of starting the network acceleration service, such as the above Fig.15 By clicking the network acceleration control 151 in Figure (a), the SDK can be initialized.
[0143] Optionally, the electronic device may call the GameMaster.initWithVPN() interface to initialize the SDK.
[0144] S202, authenticate the user and start the VPN service.
[0145] If you want to enable the network acceleration service, you need to authenticate the legitimacy of the currently logged-in user. If the authentication result is normal, the network acceleration service can be enabled; if the authentication result is abnormal, the network acceleration service is not allowed to be enabled. For example, when the result of the electronic device authenticating the user is abnormal, the following information can be displayed: Fig. 20 The prompt information shown is, for example, "User authentication failed, network acceleration service cannot be enabled" and other information.
[0146] Optionally, the electronic device can call the GameMaster.queryXunyouUserState() interface to perform user authentication, and pass relevant parameters for user authentication, such as user identification, token and other parameters through the interface to perform user identity authentication. Optionally, the user identification here can be openId, which is a user-centric digital identity recognition framework that can be used for user identity authentication. Optionally, in some embodiments, only users who have registered at the target address (such as the brand website of the electronic device) can pass this identity authentication. It can be understood that when calling the above interface for user authentication, the authentication result can be obtained through a callback method.
[0147] After the user authentication is passed, the electronic device can start the VPN service. There may be two situations here. One is that the electronic device has been authorized for VPN service, then the VPN service can be started directly. The other is that the electronic device has not been authorized for VPN service, then it is necessary to apply for authorization for VPN service before starting the VPN service. Based on these two situations, Fig.21 As shown, the above S202 may include the following steps:
[0148] S2021, authenticate the user, if the authentication is successful, execute S2022.
[0149] S2022, determine whether the VPN has been authorized, if not, execute S2023, if so, execute S2026.
[0150] If the user is using the network acceleration service for the first time, the VPN service may not have been authorized to the electronic device. If the user has used the network acceleration service before, the VPN service may have been authorized to the electronic device. Optionally, the electronic device can call the Android system function VpnService.prepare() to determine whether the VPN service has been authorized. If the system function returns null, it means that the VPN service has been authorized and can be started. If the system function returns a non-null result, it means that the VPN service has not been authorized, and the return value intent can be obtained.
[0151] S2023, display system authorization prompt information.
[0152] The system authorization prompt information can be displayed in the form of a system authorization prompt box. For example, it can be displayed as follows: Fig. 22The system authorization prompt box shown in the figure also includes controls for the user to select, such as a confirmation control and a cancel control. Optionally, the electronic device can call Activity.startActivityForResult (intent, code) function to pop up the system authorization prompt box, and the value of the intent is the return value in the above S2022.
[0153] S2024, obtaining the user's selection result for the system authorization prompt information.
[0154] Optionally, if the user Fig. 22 If a selection is made on the system authorization prompt box shown, the electronic device can call back the Activity through the onActivityResult() function to obtain the user's selection result for the system authorization prompt information.
[0155] S2025, determine whether the selection result is agreed, if so, execute S2026, if not, end the process.
[0156] S2026, start the VPN service and create a VPN connection.
[0157] If the user chooses to agree to the authorization, the VPN service can be authorized to the electronic device and the VPN service can be started; if the user chooses to refuse the authorization, the VPN service cannot be started, and the network acceleration service cannot be started accordingly, and the process can be ended. Optionally, the electronic device can call the GameMaster.openVPN() interface of the above SDK to start the VPN service.
[0158] In the above process of starting the network acceleration service, the electronic device integrates the functional modules or functional applications used to implement network acceleration into an SDK, and integrates the SDK into the game manager application, so that the process of starting the network acceleration service no longer needs to jump to other applications, thereby improving the user's gaming experience.
[0159] In some embodiments, the processing flow of the electronic device can be executed by a game manager application. Taking the process of "authenticating the user" in S202 as an example, the game manager can implement the authentication process by interacting with the cloud server and the third-party application. Fig.23 As shown, the process may include the following steps:
[0160] S301, the game manager applies to the first cloud server for authentication information.
[0161] S302: The first cloud server returns authentication information to the game manager.
[0162] Among them, the first cloud server can be a server that provides services to the game manager. The game manager can send a request to the first cloud server to obtain authentication information. The request can carry a user identifier. The first cloud server can query the authentication information of the corresponding user through the request and return it to the game manager.
[0163] Optionally, the game manager can call the authinfo interface of the first cloud server to obtain authentication information; the authentication information returned by the first cloud server includes but is not limited to user identification (openId), token, uniform resource locator (uniform resource locator, url), expiration date (expireTime) and other information.
[0164] S303: The game manager sends an authentication request to the third-party application.
[0165] S304: The third-party application sends an authentication request to the second cloud server.
[0166] The third-party application may be an application that provides network acceleration services. The third-party application also corresponds to a cloud server, which may be recorded as a second cloud server. Optionally, the third-party application may be a corresponding SDK, such as SDK. It is understandable that if an electronic device wants to use the network acceleration service, it needs to authenticate the application that provides the network acceleration service. Then, the game manager can initiate an authentication request to the third-party application. Optionally, the game manager can call The SDK's GameMaster.queryXunyouUserState() interface initiates authentication, and the authentication request can carry the above-mentioned openId, token, url and other information; after the third-party application receives the request, it can send the authentication request to the second cloud server through the authentication interface of the second cloud server.
[0167] S305: The second cloud server sends an authentication request to the first cloud server.
[0168] Since the above authentication request carries URL information, the second server can find the corresponding first cloud server through the URL and perform authentication through the authorize interface of the first cloud server.
[0169] S306: The first cloud server returns the authentication result to the second cloud server.
[0170] S307: The second cloud server returns the authentication result to the third-party application.
[0171] S308: The third-party application returns the authentication result to the game manager.
[0172] Among them, after the first cloud server determines the authentication result, it can return the authentication result to the game manager through the second cloud server and the third-party application, thus completing the user authentication process, providing a basis for the subsequent activation of the network acceleration service and ensuring data security.
[0173] In some embodiments, the above Fig.16 It can be seen that the user can also renew the network acceleration service through the game service panel 92. The renewal process involves the display, selection and effectiveness of the subscription package. The following embodiment will describe the renewal process in detail. Fig.24 As shown, the process may include the following steps:
[0174] S401: If a renewal operation is detected, the game manager sends a request to the first cloud server to obtain a subscription package list.
[0175] S402: The first cloud server returns a subscription package list to the game manager.
[0176] Among them, through the above Fig.16 It can be seen that when the user renews the subscription, it is necessary to display subscription packages of different terms and the corresponding fees, so the game manager needs to obtain the information of each subscription package for display.
[0177] Optionally, the subscription package list obtained by the game manager from the first cloud server may only include the subscription package ID, for example, the subscription package ID may be obtained through the product_list interface.
[0178] S403: The game manager sends a request for obtaining subscription package information to the payment application according to the subscription package list.
[0179] S404: The payment application returns the subscription package information to the game manager.
[0180] Among them, the subscription package information here may include but is not limited to the term of the subscription package and the corresponding fee. After the game manager obtains the subscription package ID from the first cloud server, it can obtain other information of the subscription package from the payment application based on these subscription package IDs and display the obtained subscription package information.
[0181] Optionally, the game manager may call the IapClient.getProductInfo() interface of the payment application to obtain the subscription package information, where the payment application may be an application installed in the electronic device.
[0182] S405: The game manager detects the user's selection operation on the subscription package.
[0183] The selection operation here can be Fig.16The user selects one of the subscription packages and clicks the buy now control 161 on the page.
[0184] S406: The game manager sends a request to create an order to the first cloud server according to the selected subscription package ID.
[0185] S407, the first cloud server returns the order number to the game manager.
[0186] That is, when the game manager detects the user's operation of purchasing a subscription package, it will request the first cloud server to create an order to trigger the subsequent payment process. Optionally, the game manager can create an order through the order_create interface of the first cloud server, and the request to create an order carries the subscription package ID.
[0187] Optionally, the order number (orderNo) generated by the first cloud server in the embodiment of the present application may be a randomly generated digital serial number, and there is no restriction on the length of the digital serial number.
[0188] S408: The game manager calls the payment application to create an escrow order.
[0189] S409: The payment application returns the payment intention to the game manager.
[0190] S410, the game manager calls the payment cashier from the payment application.
[0191] S411, the payment application returns the payment result to the game manager.
[0192] Among them, in the process of S408-S411, after the game manager obtains the order number, he can initiate a payment request to the payment application to pay the fee of the current order.
[0193] Optionally, the game manager can call the payment application's IapClient.createProductOrderIntent(orderNo) interface to create a managed order, and the payment application can return a payment intent. The game manager then calls the payment application's Intent.startActivityForResult(intent) interface based on the intent to launch the payment cashier, and parses the payment result through IapClient.parsePurchaseResultInfoFromIntent(intent), including, for example, payment success and payment failure results.
[0194] S412, the payment cloud server sends the payment result to the first cloud server.
[0195] S413: The first cloud server sends an order request to the second cloud server.
[0196] S414: The second cloud server returns the order status to the first cloud server.
[0197] Among them, after the above order payment is successful, the payment cloud server corresponding to the payment application can also send the payment result to the first cloud server, so that the first cloud server can send an order request to the second cloud server corresponding to the third-party application, that is, request an order from the server providing network acceleration service.
[0198] Optionally, the above S412-S414 can be triggered and executed simultaneously with S408-S411, that is, after the payment cloud server detects that there is a payment result, it can send the payment result to the first cloud server.
[0199] S415, the first cloud server queries the payment cloud server for the order consumption status.
[0200] After the above order is successfully placed, the order consumption needs to be successful to successfully complete the renewal process. Therefore, the first cloud server needs to query the payment cloud server for the order consumption status. Optionally, the first cloud server can poll the payment cloud server for the order consumption status until the consumption is successful.
[0201] S416, the game manager polls the first cloud server for the order payment status.
[0202] S417: When the order payment status is obtained to be successful, the game manager initiates a consumption request to the payment application to complete the consumption.
[0203] At the same time, the game manager can also poll the first cloud server for the order payment status (or the order consumption status). If the first cloud server queries the payment cloud server and finds that the order consumption is successful, the game manager can also query the first cloud server and find that the order consumption is successful, that is, the order payment status is successful. Optionally, the game manager can poll the order payment status through the order_status interface of the first cloud server.
[0204] When the game manager obtains the order payment status as successful, it can send a consumption request to the payment application to complete the consumption process. Optionally, the game manager can call the consumption interface IapClient.consumeProduct() of the payment application to complete the consumption. Thus, the renewal process is completed, and the game service panel 92 can display Fig.16 The content shown in Figure (c) in .
[0205] Through the above embodiments, the electronic device can implement the network acceleration service function through the interaction between the game manager and the third-party application, so that the process of starting the network acceleration service no longer needs to jump to other applications, thereby reducing the user's operating cost and improving the user's gaming experience.
[0206] The example of the management method of the game service provided by the embodiment of the present application is described in detail above. It is understandable that, in order to realize the above-mentioned functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. Those skilled in the art should be easily aware that, in conjunction with the units and algorithm steps of each example described in the embodiment disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiment, but this implementation should not be considered to exceed the scope of the present application.
[0207] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each function can be divided into various functional modules, such as a detection unit, a processing unit, a display unit, etc., or two or more functions can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0208] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0209] The electronic device provided in this embodiment is used to execute the above-mentioned game service management method, and thus can achieve the same effect as the above-mentioned implementation method.
[0210] In the case of an integrated unit, the electronic device may further include a processing module, a storage module and a communication module. The processing module may be used to control and manage the actions of the electronic device. The storage module may be used to support the electronic device to execute stored program codes and data, etc. The communication module may be used to support the electronic device to communicate with other devices.
[0211] Among them, the processing module can be a processor or a controller. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.
[0212] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment may be a Figure 4 Device of the structure shown.
[0213] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes the game service management method of any of the above embodiments.
[0214] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the game service management method in the above-mentioned embodiment.
[0215] In addition, an embodiment of the present application also provides a device, which may specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory so that the chip executes the management method of the game service in the above-mentioned method embodiments.
[0216] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.
[0217] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0218] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0219] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0220] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0221] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0222] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for managing game services, characterized in that: The method is performed by an electronic device and includes: During the process of the electronic device running the game application, if an operation requesting to display a first panel is detected, the first panel is displayed, the first panel includes a first area and a second area, the first area and the second area both present a plurality of game service controls, the first area is a main function area, the second area is an auxiliary function area, a usage frequency of the game service controls in the first area is higher than a usage frequency of the game service controls in the second area, and on the first panel, the first area is located at a position away from a center of a display screen of the electronic device relative to the second area; If a touch operation on a first control is detected, a game service corresponding to the first control is started, where the first control is any one of the multiple game service controls; In a case where the switch configuration of the game service corresponding to the first control is a one-button switch configuration, if a touch operation on the first control is detected, starting the game service corresponding to the first control includes: In response to the touch operation, directly starting the game service corresponding to the first control; In a case where the switch configuration of the game service corresponding to the first control is a non-one-key switch configuration, if a touch operation on the first control is detected, starting the game service corresponding to the first control includes: In response to the touch operation, displaying a setting page of the game service corresponding to the first control on the first panel; If an operation requesting to start a game service input on the setting page is detected, the game service corresponding to the first control is started.
2. The method according to claim 1, characterized in that: If an operation of requesting to start a game service input on the setting page is detected, starting the game service corresponding to the first control includes: If the operation of requesting to start the game service input on the setting page is detected, authenticating the logged-in user of the game application; When the authentication is successful, the game service corresponding to the first control is started.
3. The method according to claim 2, characterized in that The first control is a network acceleration control, the game service corresponding to the first control is a network acceleration service, and the enabling of the game service corresponding to the first control includes: The network acceleration service is enabled through a VPN connection.
4. The method according to claim 3, characterized in that Before starting the network acceleration service through the VPN connection, the method further includes: If the electronic device has not been authorized for VPN, display authorization prompt information; If a confirmation operation for the authorization prompt information input is detected, VPN authorization is performed.
5. The method according to any one of claims 1 to 4, characterized in that The electronic device is installed with a game manager application, and the displaying of the first panel includes: Displaying the first panel through the game manager application; The opening of the game service corresponding to the first control includes: The game service corresponding to the first control is started through the game manager application.
6. The method according to claim 5, characterized in that The game manager is integrated with a software development kit SDK, and the SDK is used to enable the game service corresponding to the first control.
7. The method according to claim 6, characterized in that The method further comprises: When the electronic device starts to run the game application, the game manager application is run.
8. The method according to any one of claims 1 to 4, characterized in that The first panel also includes a third area, and the third area presents current usage status information of the electronic device and mode information adopted for running the game application.
9. An electronic device, characterized in that: include: one or more processors; one or more memories; The memory stores one or more programs, and when the one or more programs are executed by the processor, the electronic device executes the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Network acceleration method and device for application program, equipment and readable medium
CN110300045A
Side toolbar display method, device, terminal and storage medium
CN110531920A
Control method of electronic equipment and related device
CN115167719A