Linux-based electronic game operating system

The Linux-based electronic game operating system addresses inefficiencies in Windows-based systems by optimizing resource utilization and user interaction, offering enhanced gaming performance and energy efficiency.

JP2026006672AInactive Publication Date: 2026-01-16张傲
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024105811
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-06-29
Publication Date
2026-01-16
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing electronic game operating systems based on Windows consume excessive hardware and software resources, leading to inefficient computing power utilization and suboptimal gaming experiences.

Method used

An electronic game operating system based on Linux, comprising a display layer, business logic layer, data interface layer, and database, with features like multi-task scheduling, hardware management, and energy-saving modules, optimized for gaming performance and user interaction.

Benefits of technology

Enhances gaming performance, optimizes resource utilization, provides energy-saving features, and improves user experience by allowing seamless game switching and efficient hardware management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026006672000001_ABST
    Figure 2026006672000001_ABST
Patent Text Reader

Abstract

To provide an electronic game operating system (OS) based on Linux.SOLUTION: In the electronic game operating system, the display layer displays data and receives data input by a user, and the business logic layer performs business logic processing on the data from the data interface layer; An electronic game service is provided for the presentation layer through the API, the electronic game service includes a game management service, a device management service, a user management service and an application management service, a multi-task scheduling module, a hardware driving and updating module and a software-hardware combination application module are provided, the data interface layer accesses a database and provides a data service for the business logic layer and the presentation layer, and the database caches data provided by the data interface and persistently stores the data in the cache.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to the field of Internet technology, and in particular to electronic gaming operating systems based on Linux®. [Background technology]

[0002] As people's living standards rise, their demand for entertainment also increases. More and more people are playing electronic games in their spare time, making electronic games a popular form of entertainment for people to relax during their free time. With the rapid development of Internet technology, a variety of electronic games are spreading across the Internet. On personal computer platforms with X86 architecture, electronic games run on Windows as their base operating system. However, Windows' long history as a comprehensive system has placed excessive pressure on computer hardware and software execution. In the field of electronic games, the resource-occupying services and tasks, such as system processes and services, that must be invoked to run a game are actually much lower than the Windows system resource occupancy. The computing power consumed by Windows system resource occupancy can reach 30%.

[0003] It should be noted that the introduction of the technical background above is provided to clearly and completely explain the technical solution of the present application and to facilitate the understanding of those skilled in the art, and it is not assumed that the technical solution is known to those skilled in the art just because these aspects are described in the background section of the present application. Summary of the Invention [Problem to be solved by the invention]

[0004] In view of this, there is a need to provide an electronic game operating system based on Linux (registered trademark) to address issues such as excessive software execution pressure. [Means for solving the problem]

[0005] The present invention provides an electronic game operating system based on Linux®, in which a display layer, a business logic layer, a data interface layer and a database are configured from top to bottom based on the Linux® operating system; The display layer displays data and receives data input by a user, and the interactive operation interface of the display layer is created based on a Linux desktop system; The business logic layer performs business logic processing on the data provided by the data interface layer, and provides electronic game services to the display layer through an API interface, the electronic game services including at least a game management service, a device management service, a user management service, and an application management service, and the business logic layer further includes a multi-task scheduling module, a hardware driving and updating module, and a software-hardware combined application module; the data interface layer is used to access the database and provide data services to the business logic layer and the display layer; The database provides a Linux-based electronic game operating system that is used to cache data provided by the data interface layer and to persistently store data in the cache.

[0006] In one embodiment, the multi-task scheduling module is used to temporarily store the current game process based on user historical game data so that the user can switch between different games; the hardware driving and updating module is used to manage and update hardware firmware and drivers, and track the real-time status of the electronic game terminal device with the cloud server to ensure that the terminal device uses the latest verified versions of firmware and drivers; and the software-hardware combination application module realizes opening a multi-function menu in the electronic game interface by combining the API interface with an entity function key, which may be a preset single key or combination key.

[0007] In one embodiment, the interactive operation interface of the display layer provides users with controller operation and touch operation, and is adapted to the size of the electronic game terminal device. The display layer is developed based on the Electron framework, and completes user-data interaction in a web-based manner.

[0008] In one embodiment, the game management service includes PC game management, PC game metadata management, retro game management, retro game metadata management, controller settings, and simulator settings; the device management service includes WiFi management, Bluetooth® management, file management, time zone setting, device information check, and device power consumption adjustment; the user management service includes screenshot configuration, screenshot sharing, and game data synchronization; and the application management service includes application installation, application update, and application deletion.

[0009] In one embodiment, the data interface layer includes a data cache, custom functions, transactions, a read-write database, and a read-write file, and the database includes MySQL, Json, MongoDB, and a CDN.

[0010] In one embodiment, the database stores data provided by the data interface layer in a Redis cache, realizes parallel preemption and processing of data in the Redis cache, and the processed data is persistently stored in the database by a message queue.

[0011] In one embodiment, creating the interactive operation interface Linux (registered trademark) of the display layer based on a desktop system includes: Obtaining screen information of an electronic game terminal device, including at least a screen size and / or a screen resolution; structuring data provided by the business logic layer based on the screen information to present a game list of electronic games; Receiving operation request information of a shortcut ribbon and displaying a preset adjustment module of the shortcut ribbon, wherein the preset function module is used to adjust the power consumption state of the terminal device, limit the temperature of the terminal device, and adjust the screen brightness and volume of the terminal device.

[0012] In one embodiment, the game list includes at least the name of the electronic game, an electronic game cover, and a shortcut ribbon.

[0013] In one embodiment, the multitasking scheduling module: a process creation unit for creating a user data process, the data process including a plurality of task state queues, the task state queues including at least a ready queue, a waiting queue, a mutually exclusive queue, and a done queue; a task retrieval unit for determining a priority of an execution task according to the data process provided by the creation execution unit, and performing preemptive execution according to the priority of the task; a timing unit for setting a time for the task retrieval unit; an interrupt processing unit for calling a pre-set Linux interrupt processing entry function to perform interrupt processing when a user interrupts the game process; and a data storage unit for storing game data processed by the interrupt processing unit.

[0014] In one embodiment, the device further includes a WiFi network module for automatically scanning for available networks, and a game content management module for automatically deploying, identifying, and optimizing the user's local game content to ensure a comprehensive gaming experience. [Effects of the Invention]

[0015] The technical solution provided by the present invention has at least the following beneficial effects:

[0016] 1. The interactive operation interface on the display layer provides users with controller and touch operation, and fully conforms to the current user's long-term usage habits. It helps game players adjust game, system and hardware settings more quickly and easily, and makes it easier to manage game content, operate the device quickly and seamlessly play games. 2. The multi-task scheduling module temporarily stores the current game process based on the user's historical game data, allowing users to switch between different games, enhancing the device and system usage experience. 3. Improve the performance and efficiency of the execution, optimize the priority of the game process, fully utilize the hardware performance, ensure a better gaming experience, 4. The business logic layer provides more energy-saving and power-saving features through the collaboration of multiple modules, resulting in longer battery life. 5. Optimize the gaming experience and provide users with a more efficient and immersive service. [Brief explanation of the drawings]

[0017] Various other benefits and advantages will become apparent to those skilled in the art upon reading the following detailed description of the preferred embodiments. The drawings are used only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. [Figure 1] 1 is a structural schematic diagram of an electronic game operating system based on Linux in an embodiment of the present invention; [Figure 2] 1 is a schematic diagram of a multi-task scheduling module structure of an electronic game operating system based on Linux in an embodiment of the present invention; DETAILED DESCRIPTION OF THE INVENTION

[0018] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be described in more detail below in conjunction with the drawings and examples. It should be understood that the specific examples described in this specification are only used to explain the present invention, and are not used to limit the present invention.

[0019] Those skilled in the art will understand that the singular forms "a," "one," "the," and "this," as used herein, can also include the plural, unless otherwise defined. It should further be understood that the term "comprising," as used in the present specification, refers to the presence of said features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or combinations thereof. [Example]

[0020] For ease of understanding, the specific contents of the embodiment of the present invention are described below. Referring to Figure 1, the first embodiment of the electronic game operating system based on Linux in the embodiment of the present invention includes:

[0021] This electronic game operating system is an operating system for electronic game users based on the Linux® development. It features stable performance, energy-saving and power-saving features, and ease of use. It provides superior performance on a low-power computing platform, meeting the needs of users to play games more smoothly. It improves execution performance and efficiency, optimizes game process priorities, fully utilizes hardware capabilities, and ensures a better gaming experience. It optimizes the gaming experience, providing users with a more efficient and immersive experience. Linux® is a fully open-source operating system with good stability and reliability, and low development and usage costs. Furthermore, Linux® supports multiple processor architectures, making software highly portable. It also has a complete modularization and compilation configuration mechanism, allowing for high customization.

[0022] This electronic game operating system is based on the Linux (registered trademark) operating system, and has a display layer, a business logic layer, a data interface layer, and a database configured from top to bottom. The electronic game operating system further includes a WiFi network module for automatically scanning available networks, and a game content management module for automatically installing, identifying, and optimizing the user's local game content to ensure a comprehensive game experience. The configuration environment of this operating system may be Linux (registered trademark) 5.15.11, and the present invention is not particularly limited.

[0023] The display layer displays data and receives data input by a user, and the interactive operation interface of the display layer is created based on the Linux desktop system; In this embodiment, the interactive operation interface of the display layer provides the user with controller and touch operations and is compatible with the size of the electronic game terminal device. The display layer is developed based on the Electron framework and completes user-data interaction through a web-based approach. The interactive operation interface of the display layer provides the user with controller and touch operations and fully conforms to the current user's long-term usage habits, helping game players more quickly and easily adjust settings for games, systems, and hardware, and more easily managing game content, quickly operating the device, and seamlessly invoking game play. The display layer is located at the outermost layer (top layer) closest to the user. It displays data, receives data input by the user, and provides the user with an interactive operation interface. Developed using the Electron framework, Electron provides a rich local (operating system) API, making configuration upgrades easy and efficient, and HTML / JS / CSS creation easy and efficient.

[0024] The display layer includes Electron, Html5, CSS3, Vue, Element Li, Node.js, Axios, Jquery, Webpack, Minimist, Eslint, l18n, Ajv, Swiper, Better-Scroll, and Minimist.

[0025] The graphics interface of the Linux desktop system brings great convenience to both user and computer management. Linux is generally relatively stable, with low failure rates and system maintenance times, and to some extent avoids interference from viruses, spyware, advertising software, and Trojan horse programs. Linux fully supports the DOS file format, but not the reverse. Microsoft files and everything else can be copied to a Linux system. Linux supports nearly 20 file systems, including the NFS file system, which allows files from different machines to be used on a single machine. Pure Linux desktop systems lack a friendly user interface, and operating programs for small display devices (under 10 inches) are still immature, making controller operation difficult. In line with electronic game player data, this operating system has been developed for low-resolution, small displays, providing users with controller and touch controls. It fully conforms to the long-established usage habits of current users, making game content management, device operation, and seamless gameplay easier, providing an operating experience not found on traditional Linux desktop systems.

[0026] Creating a display layer interactive operation interface Linux based on the desktop system: Obtaining screen information of an electronic game terminal device, including at least a screen size and / or a screen resolution; According to the screen information, composing data provided by the business logic layer to present a game list of the electronic game, including at least the name of the electronic game, an electronic game cover, and a shortcut ribbon; Receiving operation request information of the shortcut ribbon and displaying preset adjustment modules of the shortcut ribbon, the preset function modules being used to adjust the power consumption state of the terminal device, limit the temperature of the terminal device, and adjust the screen brightness and volume of the terminal device.

[0027] In a specific operation process, the terminal device's homepage displays a game list, including information such as the last electronic game launched by the device, the name of the electronic game, the electronic game cover, and a shortcut ribbon. A shortcut ribbon is located in the upper right corner, which can be expanded by clicking for further interaction. After the shortcut ribbon is expanded, the terminal device's power consumption status can be quickly adjusted, the terminal device's temperature can be limited, and the terminal device's screen brightness and volume can be adjusted. Additionally, shortcut buttons can be set on the bottom of the terminal device, which can be clicked to quickly operate several terminal device functions; the specific manner is not limited by the present invention.

[0028] The business logic layer is used to perform business logic processing on the data provided by the data interface layer, and to provide electronic game services to the display layer through an API interface, the electronic game services including at least a game management service, a device management service, a user management service, and an application management service, and the business logic layer further includes a multi-task scheduling module, a hardware driving and updating module, and a software-hardware combination application module; In this embodiment, the game management service includes PC game management, PC game metadata management, retro game management, retro game metadata management, controller settings, and simulator settings, the device management service includes WiFi management, Bluetooth management, file management, time zone setting, device information check, and device power consumption adjustment, the user management service includes screenshot configuration, screenshot sharing, and game data synchronization, and the application management service includes application installation, application update, and application deletion. The business logic layer provides better energy conservation and power saving and longer battery life through the cooperation of multiple modules.

[0029] The business logic layer primarily operates on specific problems and can be understood as an operation on the data interface layer. Regarding data business logic processing, the business logic layer provides various services, including game management services, device management services, user management services, and application management services, to the front end through API interfaces. This allows the front end to better satisfy requirements for page appearance, speed, smoothness, compatibility, and user experience. If the data interface layer is a building block, the business logic layer is the construction of these blocks. The business logic layer undoubtedly represents a core value in system architecture. Its focus is primarily on system design related to business needs, such as creating business rules and implementing business flows. This is related to the domain logic that the system responds to. Therefore, the business logic layer is often referred to as the domain layer. The business logic layer's location in the system architecture is important. It lies between the data access layer and the display layer, and plays a role in receiving and transmitting data in data exchange. Because layers have a weakly coupled structure, dependencies between layers are downward. Because lower layers are unaware of upper layers, changes to the design of upper layers have no impact on the underlying layers. If you follow the interface-oriented design philosophy during layered design, these downward dependencies should also be weak dependencies. Therefore, an ideal layered architecture should be a "pull-out" architecture that can be extracted and replaced without changing the interface definition. Therefore, the design of the business logic layer is particularly important to support an extensible architecture, as it plays two different roles: it is the invoker for the data interface layer and the invoked for the display layer.

[0030] The business logic layer also includes logging and permission control. Linux® systems strictly control file permissions, ensuring that a user cannot perform a specific operation on a file without the corresponding permission. File permission types under Linux® include read, write, and execute. The corresponding characters are r, w, and x. Permission granularity under Linux® is divided into three types: owner, group, and other groups. Each file can have different rwx (read, write, execute) permissions set at the three granularities. Typically, a file can belong to only one user and group. If other users want to have permissions for this file, they can join a group with permissions. A user can belong to multiple groups at the same time. In Linux®, file permissions are typically set and changed using the chmod command. In Linux® systems, file attributes are represented by 10 characters. The first character represents the file type, and the other nine characters are divided into three groups. Each group is made up of three groups, each representing the access permissions of the file owner, group, and others. Each group represents read, write, and execute permissions, in that order, and if no permissions are available, they are displayed as **-**.

[0031] The data interface layer is used to access the database and provide data services to the business logic layer and the display layer, and the database is used to cache the data provided by the data interface layer and to persistently store the data in the cache.

[0032] In this embodiment, the data interface layer includes a data cache, a custom function, a transaction, a read-write database, and a read-write file, the database includes MySQL (registered trademark), JSON, MongoDB, and CDN, the database stores the data provided by the data interface layer in a Redis cache, realizes parallel preemption and processing of data in the Redis cache, and the processed data is persistently stored in the database by a message queue.

[0033] The data interface layer's main function is database access, and it can access database systems, binary files, text documents, or XML documents. Simply put, it implements the Select, Insert, Update, and Delete operations on data tables. Adding ORM elements also involves mapping targets to data tables and persisting target entities. It primarily operates on the original data (the format in which the data is stored, such as a database or text file), rather than the original data itself. This means it operates on data, not on a database. Specifically, it provides data services to the business logic layer or display layer. [Example]

[0034] Referring to FIG. 2, a second embodiment of the electronic game operating system based on Linux in the present embodiment includes:

[0035] The multi-tasking scheduling module is used to temporarily store the current game process based on user historical game data so that the user can switch between different games. The hardware driving and updating module is used to manage and update the hardware firmware and driver, and track the real-time status of the electronic game terminal device to the cloud server to ensure that the terminal device uses the latest verified versions of firmware and drivers. The software-hardware combination application module realizes opening a multi-function menu in the electronic game interface by combining the API interface and the entity function key, which may be a preset single key or combination key.

[0036] To address the conflict between the native single-threaded performance of Linux® and the need for multi-threaded processing in game devices, the present invention developed a unique smart game multi-tasking scheduling module based on the Linux® system. The multi-tasking scheduling module temporarily stores the user's game process in memory based on the user's historical game data, allowing the user to quickly switch between one to three different games to improve the device and system usage experience. Therefore, the operating system of this embodiment has the performance advantage of multi-tasking, being able to execute several tasks simultaneously when running a program, and each task is independent of the others, does not interfere with each other, and does not affect each other during execution.

[0037] In this embodiment, the multi-task scheduling module temporarily stores the current game process based on the user's historical game data to allow the user to switch between different games, thereby improving the device and system usage experience. The multi-task scheduling module includes the following units:

[0038] The process creation unit is used to create a user data process, and the data process includes a plurality of task state queues, and the task state queues include at least a ready queue, a waiting queue, a mutual exclusion queue, and a completed queue; In this embodiment, when the multitasking scheduling module is started, the process creation unit creates a user mode process as a basic user data process, and creates (N-1) threads in this process based on the number N of processor cores. The waiting queue waits for an event to occur or a state transition, and some tasks wait voluntarily. The mutual exclusion queue removes a task from the blocked queue and places it in the ready queue when the mutually exclusive portion is released when a task is blocked by a mutually exclusive operation. The termination queue places a task in the termination queue when the task finishes executing, triggering multitasking scheduling. Each time multitasking is performed, the space occupied by the task in the termination queue is checked to see if the resources occupied by the task in the termination queue are being used by other running tasks, thereby timely cleanup of the space occupied by the task.

[0039] The task search unit is used to determine the priority of the task to be executed according to the data process provided by the creation execution unit, and perform preemptive execution according to the priority of the task; In this embodiment, the ready queues in the production execution unit are combined, and each priority has a corresponding ready queue. The ready queue describes task descriptors in the form of a bidirectional circular link table, and uses an array of length 64 to store queue information of the ready queue. The smaller the priority value, the higher the priority of the task. Whenever scheduling is required, the ready queue with the highest priority task is found based on the optimal scheduling algorithm.

[0040] the timing unit is used to set a time for the task retrieval unit; In this embodiment, a timing task refers to a task that needs to be executed at a specified time or periodically. The Linux® system includes the at service for executing tasks at specified times and the cron service for executing tasks periodically. The Linux® crontab command is commonly used in Unix and Unix-like operating systems to set instructions to be executed periodically. This command reads instructions from a standard input device and stores them in a "crontab" file for later reading and execution. Instructions stored in crontab are typically activated by a daemon process, crond, which often runs in the background every minute and checks whether certain jobs need to be executed. Such jobs are commonly called cron jobs. After installing the operating system, this task scheduling command is activated by default. The crond command periodically checks every minute for jobs to be executed and automatically executes them if any are found.

[0041] The interrupt processing unit is used to process an interrupt by calling a pre-defined Linux interrupt processing entry function when a user interrupts the game process. In this embodiment, when an interrupt occurs, the Linux system jumps to the asm_do_IRQ() function (the general entry function for all interrupt programs) and retrieves the irq_desc structure (the irq_desc structure is the description structure of an interrupt in the kernel, and the kernel has one irq_desc structure array, irq_desc_ptrs[NR_IRQS]) corresponding to the interrupt number irq interrupt number, and then calls the handle_irq function in irq_desc, i.e., the interrupt entry function. The interrupt driver is written, i.e., the irq_desc structure is filled in and registered.

[0042] The data storage unit is used to store the game data processed by the interrupt processing unit.

[0043] In this embodiment, the built-in WiFi network module automatically scans for available networks and allows users to connect by entering a password, or by pressing the Y key on the controller to skip this step. Once protocol configuration is complete, the operating system will eventually downgrade, and the operating system will simultaneously perform initial load optimization. When using a mobile device, users can enter dual-screen mode by scrolling down the home page. The cloud service can recommend potentially interesting high-scoring games in the user's game library or help players find games they haven't played yet. The icon on the status bar in the upper right corner of the home page opens a floating window with options for data synchronization, feature introductions, account registration, and login.

[0044] Switching to the PC Library allows you to view all PC game content installed on the device, displaying automatically matched covers and names, sorted by the order you selected, or selected by the user. You can select different game content using the controller or touch. Entering the game content details page displays more game information and art data, and clicking Start Play will automatically launch the game. Pressing the Windows key in the game list enters the search function, which quickly categorizes all game content by initial letter, type, and publisher based on the locally installed game content. Players can quickly find the game they want to play from tens of thousands of games, with up to three categories, greatly improving efficiency. Even after searching, a quick navigation function is designed for selecting items, making operation easy. Clicking refreshes the current list.

[0045] Pressing RS (the right swing lever on the controller) in the game library list expands the sorting function. Selecting a sorted option refreshes the game list. The Retro Library is uniquely designed based on the functional logic of the PC Library and is designed for older game content. Games for non-PC platforms are presented here. To improve the user experience, the Retro Library identifies the game's platform through a separate label design. If there is historical video in the matching data, you can enter preview mode by simply hovering the cursor over the game cover. Press Y to run the game directly, or press A or touch-click to go to the details page. The search function has additional filter navigation logic designed to address the complexity of retro game content. Clicking the toggle allows you to add filter items from the game system, combining names and shapes for a more user-friendly experience.

[0046] To simplify the acquisition of commonly used Linux software and make it easier to manage local software, an independent application center has been designed. Through entries and lists, you can access the My Applications, Recommended Applications, and All Applications lists. For a selected application, press Y to run it directly. If the game is not installed, press Y to install or update it. Press A or touch-click to enter the software introduction page. On the software introduction page, you can download, update, and run applications, and you can also uninstall installed applications.

[0047] Entering My Applications displays locally installed applications, allowing you to quickly switch between categories, check application update status and basic information, and run and check operations. Game Assistant provides a player-friendly interface and basic tools. Shortcuts allow you to quickly check common issues with a click or controller, manage local files, and access the online community for information and help. Deep system integration allows the ribbon to quickly select function options for different controllers, and even fine-tune settings to better suit your device's usage habits. Simulator configuration provides a convenient operating experience for retro game players. Menu-based visualization allows you to quickly complete your own private game launch configuration and configure global or independent game system settings. The menu UI can be hidden with buttons for a more immersive preview experience.

[0048] The Game Gallery provides users with an end-to-end game screenshot migration and sharing experience. One-click captures are automatically uploaded to the cloud, and images can be viewed by scanning a code or opening the web manager. Click to enter the mobile game update function, which automatically connects to the network upon startup to obtain updates, or click to detect and obtain updates. One-click installation of compatible drivers and firmware is supported by clicking or selecting them with the controller. During gameplay, pressing a pre-set shortcut key opens the multitasking quick setup window, allowing quick adjustments to the device's hardware and performance. When playing retro games, the system intelligently invokes the quick setup menu for the corresponding software, allowing users to click to operate the corresponding function. Clicking to add a control window allows users to select and add from the system's pre-set control windows, facilitating further functionality expansion.

[0049] In an embodiment of the present invention, the same game can run 30% faster and more efficiently than a Windows 64-bit system under the same TDP. In addition to relying on the efficient and simple Linux® underlying system, the operating system optimizes the priorities of applications and game processes, fully utilizing hardware capabilities and ensuring a better gaming experience. The operating interface of this operating system is designed for small devices, conforming to the usage habits of electronic game players. Through modern and friendly interaction logic, it helps gamers adjust game, system, and hardware settings more quickly and conveniently, significantly improving ease of use compared to traditional Linux® operating systems. In the simple Linux® underlying system, the operating system's business logic layer, through the cooperation of multiple modules, provides better energy savings and longer battery life compared to a Windows 64-bit system.

[0050] The above describes the electronic game operating system based on Linux (registered trademark) in the embodiment of the present invention. The following describes the electronic game operating method based on Linux (registered trademark) in the embodiment of the present invention. The electronic game operating method based on Linux (registered trademark) in the embodiment of the present invention is as follows: A user operates an electronic game through a terminal device, and an interactive operation interface displays data and receives data input by the user; performing business logic processing on the data input through the interface and providing electronic game services through the API interface; The method includes accessing a database and caching data in Redis, and realizing parallel preemption and processing of data in the Redis cache, where the processed data is persistently stored in the database by a message queue.

[0051] In an embodiment of the present invention, a user operates an electronic game through a terminal device, displays data and receives data input by the user through an interactive operation interface, performs business logic processing on the data input through the interface, provides electronic game services through an API interface, accesses a database, caches data in Redis, realizes parallel preemption and processing of data in the Redis cache, and persistently stores the processed data in the database through a message queue, thereby improving performance and efficiency, optimizing the priority of game processes, fully utilizing hardware performance, and ensuring a better gaming experience. Optimizing the gaming experience and providing users with more efficient and immersive services.

[0052] The electronic game operating device based on Linux (registered trademark) in the embodiment of the present invention will be described in detail below from the viewpoint of hardware processing.

[0053] The Linux®-based electronic game operating device may vary greatly in configuration and performance and may include one or more central processing units (CPUs) (e.g., one or more processors), memory, and one or more storage media (e.g., one or more mass storage devices) for storing application programs or data. The memory and storage media may be temporary or permanent. The program stored on the storage media may include one or more modules (not shown), each of which may include a series of instruction operations on the Linux®-based electronic game operating device. Furthermore, the processor may be configured to communicate with the storage media and execute the series of instruction operations on the storage media on the Linux®-based electronic game operating device.

[0054] A Linux®-based electronic game operating device may further include one or more power sources, one or more wired or wireless network interfaces, one or more input / output interfaces, and / or one or more operating systems, such as Windows Server, Mac OSX®, Unix, Linux®, FreeBSD, etc. As will be understood by those skilled in the art, the Linux®-based electronic game operating device structure shown in FIG. 6 does not constitute a limitation on Linux®-based electronic game operating devices, and may include more or fewer components than shown, or combinations of components, or different component arrangements.

[0055] The present invention further provides an electronic game operating device based on Linux (registered trademark), the computer device including a memory and a processor, wherein computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the processor performs each step of the electronic game operating method based on Linux (registered trademark) in each of the above embodiments.

[0056] The present invention further provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, having instructions stored therein that, when executed on a computer, cause the computer to perform each step of the Linux (registered trademark)-based electronic game operation method.

[0057] As can be clearly understood by those skilled in the art, for ease and brevity of description, the specific operation processes of the above-mentioned systems, devices and units will not be described here, and reference can be made to the corresponding processes in the above-mentioned method embodiments.

[0058] The integrated unit can be realized as a software functional unit and stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be embodied essentially, or a part that contributes to the prior art, or all or a part of the technical solution, as a software product, and this computer software product is stored in a storage medium containing several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or a part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB disk, a mobility hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0059] As mentioned above, the above embodiments are only used to explain the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the above technical solutions, those skilled in the art can understand that the claims set forth in the above technical solutions can be modified or some technical features can be replaced with equivalents, and these modifications or substitutions do not deviate from the essence of the respective technical solutions and the spirit and scope of the respective technical solutions of the present invention.

Claims

1. An electronic game operating system based on Linux, in which a display layer, a business logic layer, a data interface layer and a database are configured from top to bottom based on the Linux operating system; The display layer displays data and receives data input by a user, and the interactive operation interface of the display layer is created based on the Linux desktop system; The business logic layer performs business logic processing on the data provided by the data interface layer, and provides electronic game services to the display layer through an API interface, the electronic game services including at least a game management service, a device management service, a user management service, and an application management service, and the business logic layer further includes a multi-task scheduling module, a hardware driving and updating module, and a software-hardware combination application module; the data interface layer is used to access the database and provide data services to the business logic layer and the display layer; The database is used to cache data provided by the data interface layer and to persistently store the data in the cache.

2. 2. The Linux-based electronic game operating system of claim 1, wherein the multi-tasking scheduling module is used to temporarily store the current game process based on user historical game data so that the user can switch between different games; the hardware driving and updating module is used to manage and update hardware firmware and drivers, and track the real-time status of the electronic game terminal device with the cloud server to ensure that the terminal device uses the latest verified versions of firmware and drivers; and the software-hardware combination application module realizes opening a multi-function menu in the electronic game interface by combining the API interface with an entity function key, and the entity function key may be a preset single key or a combination key.

3. 2. The Linux-based electronic game operating system according to claim 1, wherein the interactive operation interface of the display layer provides the user with controller operation and touch operation, and is adapted to the size of the electronic game terminal device, the display layer is developed based on the Electron framework, and completes the user-data interaction through the WEB method.

4. 2. The Linux-based electronic game operating system of claim 1, wherein the game management service includes PC game management, PC game metadata management, retro game management, retro game metadata management, controller settings, and simulator settings; the device management service includes Wi-Fi management, Bluetooth management, file management, time zone setting, device information check, and device power consumption adjustment; the user management service includes screenshot configuration, screenshot sharing, and game data synchronization; and the application management service includes application installation, application update, and application deletion.

5. 2. The Linux-based electronic game operating system of claim 1, wherein the data interface layer includes a data cache, custom functions, transactions, a read-write database, and a read-write file, and the database includes MySQL, Json, MongoDB, and a CDN.

6. 2. The Linux-based electronic game operating system of claim 1, wherein the database stores data provided by the data interface layer in a Redis cache, realizes parallel preemption and processing of data in the Redis cache, and the processed data is persistently stored in the database by a message queue.

7. Creating an interactive operation interface Linux of the display layer based on a desktop system includes: Obtaining screen information of an electronic game terminal device, including at least a screen size and / or a screen resolution; structuring data provided by the business logic layer based on the screen information to present a game list of electronic games; 2. The Linux-based electronic game operating system of claim 1, further comprising: receiving operation request information of a shortcut ribbon; and displaying preset adjustment modules of the shortcut ribbon, wherein the preset function modules are used to adjust the power consumption state of the terminal device, limit the temperature of the terminal device, and adjust the screen brightness and volume of the terminal device.

8. 8. The Linux-based electronic game operating system of claim 7, wherein the game list includes at least the name of the electronic game, an electronic game cover, and a shortcut ribbon.

9. The multitasking scheduling module: a process creation unit for creating a user data process, the data process including a plurality of task state queues, the task state queues including at least a ready queue, a waiting queue, a mutually exclusive queue, and a done queue; a task retrieval unit for determining a priority of an execution task according to the data process provided by the creation execution unit, and performing preemptive execution according to the priority of the task; a timing unit for setting a time for the task retrieval unit; an interrupt processing unit for calling a pre-set Linux interrupt processing entry function to perform interrupt processing when a user interrupts the game process; 2. The Linux-based electronic game operating system of claim 1, further comprising: a data storage unit for storing game data processed by said interrupt processing unit.

10. 10. The Linux-based electronic game operating system of claim 1, further comprising: a Wi-Fi network module for automatically scanning for available networks; and a game content management module for automatically deploying, identifying, and optimizing a user's local game content to ensure a comprehensive gaming experience.