A modular system for peak-hour capacity
The modular system addresses peak load capacity issues by optimizing resource allocation, communication, and security, ensuring reliable and efficient operation under high-concurrency conditions.
Patent Information
- Application Number
- CN202411204535.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-08-30
AI Technical Summary
Existing modular systems face challenges in handling peak load capacity, including inefficiencies in communication and resource allocation, instability due to module failures, and security vulnerabilities, which affect performance, scalability, and reliability.
A modular system with a main framework comprising a service management center, gateway service unit, data proxy service unit, user service unit, lobby server, login server, core battle computing service unit, self-provided server, and supporting server, along with automated script update and big data acquisition systems, to manage and optimize resource allocation, communication, and security.
Enhances system reliability, stability, and performance by ensuring efficient resource utilization, timely fault handling, and secure data transmission, enabling the system to handle high-concurrency scenarios effectively.
Smart Images

Figure CN118714135B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of data processing, and in particular relates to a modular system for peak-time carrying capacity. Background Art
[0002] In daily technology development, handling cross-thread shared resources is a complex and error-prone task for many developers. Improper handling may lead to serious problems such as deadlock and out of memory (OOM), affecting the performance and stability of the program. To solve these problems, this solution provides a comprehensive set of handling strategies.
[0003] In order to meet the unified carrying requirements of different business models, this application document aims to design a flexible and scalable system framework that can seamlessly access multiple business scenarios such as games, stores, ticket purchases, chats, etc. Through this framework, enterprises can manage and operate diversified businesses more efficiently, reduce development and maintenance costs, and improve the overall performance and stability of the system.
[0004] Modular systems are an effective solution to cope with peak load pressure. The design concept is to divide the system into multiple independent modules so that the system can respond to changing load demands more flexibly. However, the current existing technologies have some significant shortcomings in meeting peak load capacity, which not only limits the performance and scalability of the system, but also may cause problems in system stability and security.
[0005] Existing technologies often have difficulties in communication and coordination between modules. Since each module in a modular system is usually designed and developed independently, the interfaces and communication protocols between them may not be uniform enough, resulting in incompatibility or inefficiency when rapid adjustments are needed during peak hours. This incoordination may increase the delay of data transmission between modules, which in turn affects the overall performance of the system.
[0006] Existing technologies have limitations in resource sharing and utilization between modules. During peak hours, some modules may face overload while other modules may be idle. However, due to the limitations of existing technologies in resource scheduling and allocation, the system often cannot effectively allocate resources from idle modules to heavily loaded modules, resulting in low resource utilization and reduced overall system performance.
[0007] Existing technologies are deficient in module fault handling and recovery. Due to the complexity of modular systems, the failure of a single module may have a chain reaction on the entire system, thereby affecting the stability and reliability of the system. However, existing technologies often lack effective fault detection and recovery mechanisms, resulting in the system being unable to detect and handle module failures in a timely manner, which may lead to serious consequences such as system service interruption or data loss.
[0008] Existing technologies also have security risks. Each module in a modular system usually has different security requirements and risk characteristics. However, since existing technologies often lack unified security policies and mechanisms, the system may not be able to effectively manage and control the security access rights of each module, making it vulnerable to data leakage threats.
[0009] The current existing technologies have many shortcomings in meeting the peak load requirements, including difficulties in communication and coordination between modules, inefficient resource utilization, untimely fault handling, and safety risks. To address these issues, further research and development of new modular system technologies are needed to improve the performance, reliability, and safety of the system, so as to better meet the growing peak load requirements. Summary of the invention
[0010] The present invention proposes a modular system for peak-period load capacity. To address the bottleneck problem of peak-period load capacity, this solution aims to improve service capacity, optimize processes, and enhance emergency response capabilities through a comprehensive system strategy to ensure that user needs can be met efficiently and stably during peak hours.
[0011] The technical solution of the present invention is implemented as follows: a modular system for peak-time load capacity, including a main frame arranged in an engine library, wherein the framework core service in the main frame is arranged with a service management center, a gateway service unit, a data proxy service unit, a user service unit, a lobby server, a login server, a log service unit, a core battle calculation service unit, a self-provided server and a supporting server;
[0012] The service management center is responsible for comprehensively monitoring and verifying the reliability of access platform services. Through strict version control, it uniformly manages and maintains the platform library and protocol version numbers. When the version protocol number is verified to be inconsistent, the service handshake access is rejected and the service connection is immediately forcibly disconnected;
[0013] The gateway service unit performs information exchange in the main architecture, and communication messages are exchanged through the gateway service unit. The gateway service unit is a multi-service system unit, which supports unlimited opening by accessing the extensibility interface, and sets the number of services according to the order of magnitude of communication messages;
[0014] The data proxy service unit is a cache layer, which separates database IO access and business processing flow through the data proxy service unit to ensure business operation and data security, and eliminates business blockage through asynchronous DB operations to ensure the fluency and response speed of the main framework;
[0015] The user service unit creates a fixed number of threads in advance and numbers each thread. During the processing of business instructions, the instructions will be delivered to the corresponding thread for processing according to the set algorithm;
[0016] The lobby server is responsible for receiving and forwarding all instructions sent by the app, and interacting with the instruction information sent by the app in the main framework through the gateway service unit, and receiving the basic business processing and data management tasks of the app through the lobby server;
[0017] The login server is used to process concurrent login requests from the app side and manage user registration information at the same time, ensuring stable response to user login data in high-concurrency scenarios through optimized algorithms and resource management;
[0018] When the log service unit receives a business message, the log service is processed by actively obtaining a certain number of messages through the thread, and each thread is set with independent resources through the thread management and resource allocation mechanism, so as to realize high concurrency, low latency and high reliability data processing in each thread;
[0019] The core battle computing service unit is used to process the interactive battle logic between users. The core battle computing service unit matches user needs by designing independent threads in each battle room and horizontally expanding the number of rooms and the number of services;
[0020] The self-provided server uses multi-node service deployment and load balancing for fast processing and node optimized storage, accesses services through a single communication instruction, decouples and splits key built-in services, removes redundant data storage and calculations, and strengthens concurrent processing capabilities;
[0021] The supporting server is used to provide support services for edge supporting businesses.
[0022] In this application document, a main architecture is set up in the engine library, and its main architecture is composed of multiple basic framework support modules, including BaseClient, BaseServer, SafeLock, MsgPacket and BaseThread. These modules are not only highly versatile, but also suitable for any C++ server framework, providing developers with strong basic support. In addition, the engine library also integrates core functions such as data ciphertext processing, packet disassembly, and data security verification to ensure the integrity and security of data transmission. At the same time, in order to cope with high concurrency scenarios, thread pools, memory pools and smart locks in safe mode are specially designed. These components provide a stable and efficient basic condition for the system, ensuring stable operation under high load.
[0023] The core services of the framework include CenterServer, GameGateServer, DataBaseServer, UserServer, HallServer, LoginServer, LogServer, GameServer, AvatarServer and other types of services, including edge supporting business support services;
[0024] CenterServer is the service management center responsible for comprehensive monitoring and verification of the reliability of access platform services to ensure service stability and security. It implements strict version control, and uniformly manages and maintains platform libraries and protocol version numbers. Once an inconsistency in the version number is found, the service management center will resolutely reject the handshake access to the service and immediately force the service connection to be disconnected to prevent potential risks and failures. Through this measure, we ensure the continuity and consistency of the service and provide users with a more reliable and efficient service experience.
[0025] As a gateway service unit, GameGateServer plays a key role as the communication hub within the platform. All communication messages are efficiently exchanged through this service, which is an indispensable and important part of high-concurrency systems. As a multi-service system, GameGateServer supports unlimited opening, thus constantly pushing the limits of the system's concurrent processing capabilities. Through its powerful performance and flexible scalability, it ensures the stable and smooth operation of the system in various scenarios, bringing users an excellent interactive experience.
[0026] As a data proxy service unit, DataBaseServer acts as a cache layer. It completely separates database IO access and business processing to ensure efficient business operation and data security. By implementing asynchronous DB operations, DataBaseServer completely eliminates the possibility of any business blockage, thereby ensuring the smoothness and response speed of the system. In addition, it can effectively avoid database IO bottlenecks and ensure the stability and durability of the database. This optimization not only improves the performance of the overall system, but also provides users with a more reliable and efficient data service experience.
[0027] As a user service unit, UserServer is one of the indispensable core components of each system and an important indicator for measuring the concurrent capability of the system. In order to improve the concurrent processing capability, this service pre-creates a fixed number of threads and numbers each thread. During the processing of business instructions, according to a specific algorithm, the instructions will be accurately delivered to the corresponding thread for processing. This design cleverly avoids the problems of cross-thread resource access and resource preemption, thereby significantly improving the concurrent processing capability of the system. Through this optimization measure, we provide users with a faster and more stable service experience.
[0028] As a hall server, HallServer plays the role of a bridge between the app and the backend, and is responsible for receiving and forwarding all instructions from the app. In addition, it also undertakes some basic business processing and data management tasks of the app, and is one of the indispensable core systems in the overall architecture. Through the efficient operation of HallServer, smooth interaction between the app and the backend is achieved, bringing users a smooth and stable user experience.
[0029] As a login server, LoginServer allows the user account login service to process concurrent login requests from the app side through a core component. Its performance directly reflects the concurrent processing capabilities of the framework. In addition to processing login requests, the service also undertakes the function of user registration, providing users with a one-stop account management experience. By optimizing algorithms and resource management, it can ensure that in high-concurrency scenarios, the user account login service can still respond to each request quickly and stably, providing users with a smooth and secure login and registration experience.
[0030] As a unit log service, LogServer needs to process more than 10 million logs per second in a million concurrent scenarios, which places extremely high demands on concurrent processing capabilities. Advanced design and optimization algorithms are used to ensure that the log service collects, stores and analyzes data quickly and accurately, providing strong support for system operations.
[0031] As the core battle computing service, GameServer focuses on processing the battle logic between users. Since it involves complex algorithms and real-time calculations for a large number of users, it has a direct impact on fluency and user experience. In order to achieve high concurrent processing capabilities, the design mode of independent threads for each room is adopted, and the number of rooms and services is expanded horizontally to cope with the growing user demand. This optimization strategy ensures that users can enjoy a stable and smooth experience during the battle.
[0032] The data operation service concurrent system used in this application document: The data operation service concurrent system is a highly optimized and powerful system designed to support tens of millions or even higher levels of concurrent requirements. Its core implementation principle is based on the number of CPU cores, by pre-creating an appropriate number of threads and numbering these threads to achieve efficient processing of business messages. Specifically, when the system receives a business message, it will assign the message to a specific thread for processing according to a set of carefully designed algorithms. Each thread has independent resources, which are exclusive, and there is no cross-thread resource grabbing. This design not only avoids the complex read-write lock mechanism, but also reduces the lock overhead of the service to a minimum, thereby greatly improving the concurrent processing capability and response speed of the system. It is worth mentioning that no matter how many times the business instruction is asynchronously executed in the system, it will eventually return to this service and be accurately delivered to a specific thread to continue processing the subsequent process. This design ensures the integrity and security of the data, and the data in each thread is exclusive and will not be interfered with or destroyed by other threads. At the same time, it also guarantees the continuity and effectiveness of the business, and no matter how complex the business logic is, it can be accurately executed. The entire data operation service concurrent system achieves high concurrency, low latency, and high reliability data processing services through efficient thread management and resource allocation mechanisms. Whether it is for big data processing, real-time analysis or high-concurrency business scenarios, it can provide stable and efficient support. In addition, the system also has excellent scalability and maintainability, and can be flexibly adjusted and optimized according to business needs.
[0033] The main framework also has an automated script update system: the automated script update system is an efficient, flexible and secure mechanism. It is based on a specific framework and uses C++ and Lua as the main development languages to implement the automated script update process. This system not only greatly improves the efficiency of script updates, but also ensures the security of the system and data through a series of verification and authorization mechanisms. During the operation of the automated script update system, the script will first be modified, accepted and tested. This series of steps ensures the quality and stability of the new script, thereby avoiding potential problems that may be introduced due to updates. After the script has been rigorously tested and verified, the system can update the new script to the production environment in real time to ensure the continuity and stability of the service. It is worth mentioning that the system also has the ability to distinguish between production and grayscale environments. In the grayscale environment, the new script can be further verified and tested to ensure that its performance in the actual production environment meets expectations. Only after sufficient verification in the grayscale environment will the high-authority management personnel confirm and release it to the production environment. This grayscale release method not only reduces the impact of new scripts on the production environment, but also improves the fault tolerance of the system. In addition, the automated script update system has added a series of security measures to ensure the security of the system and data. For example, the system will strictly control the permissions of all operations to ensure that only authorized personnel can perform operations such as modification, acceptance, testing and release. At the same time, the system will also record detailed logs of all update records so that problems can be quickly located and solved when they occur. The automated script update system not only improves the efficiency of script updates, but also ensures the security of the system and data by implementing an efficient, flexible and secure automated script update mechanism. This is undoubtedly an important technical support and guarantee for those companies and teams that need to update scripts frequently.
[0034] As a preferred implementation, the data in the main architecture is acquired through a big data acquisition system. The big data acquisition system collects data including but not limited to text, pictures, videos and audio data, and automatically captures the required information from standard data sources through preset acquisition rules, and ensures the integrity and accuracy of the data through verification after capture.
[0035] As a preferred embodiment, the big data collection system also has the function of automatically collecting public information, which includes but is not limited to key information related to service source, event time and event version, and uses a unified collection method and analysis process to disassemble, clean and format the collected data through a data parser, convert the data into a structured form that can be analyzed and processed, and simultaneously distribute the processed data to different databases or storage systems according to preset rules.
[0036] As a preferred implementation, the main architecture also has a built-in automated script update system. During the operation of the automated script update system, the script will first be modified, accepted and tested. Once the script has been tested and verified to be correct, the new script will be updated to the production environment in real time.
[0037] As a preferred implementation, a security management unit is built into the automated script update system. The security management unit limits the users who enter through authorization, and authorized users can perform modification, acceptance, testing and release operations. At the same time, all update records are logged, and operations can be located through log records when problems occur.
[0038] As a preferred implementation, the gateway service unit supports the app end to independently initiate communication requests through the p2p communication system. The p2p communication system supports data communication modes of any format through built-in data encryption, data packetization, data compression, data obfuscation, data assignment target sorter and user connection management center processing, and can cope with complex data exchange requirements by processing pictures, voices, emoticons, files and video data.
[0039] After adopting the above technical solution, the beneficial effects of the present invention are: the present application document is a set of efficient, intelligent and powerful system mechanisms, which are specially used for docking and processing big data. The system has the ability to collect multiple data types, and can automatically capture and integrate public information, thereby providing comprehensive and accurate data support for enterprises or organizations. In terms of data collection, the big data collection system can flexibly respond to various data types, including but not limited to text, pictures, videos, audio, etc. The system automatically captures the required information from various data sources through preset collection rules to ensure the integrity and accuracy of the data. In addition to data collection, the system also has the function of automatically collecting public information. This information includes but is not limited to key information such as service source, event time, event version, etc. By automatically collecting this public information, the system can provide users with more comprehensive and in-depth data analysis support. In terms of data processing, the big data collection system adopts a unified collection method and analysis process. Through the data parser, the system can disassemble, clean, format convert and other operations on the collected data, thereby converting the data into a structured form that is easy to analyze and process. In addition, the system also has the function of forwarding services, which can distribute the processed data to different databases or storage systems according to preset rules, so as to realize the rapid storage and efficient management of data;
[0040] Compared with the existing technology, this modular system has the following differences in its ability to carry peak hours: the main structure is set in the engine library, which realizes modular design and makes the system more flexible and scalable. The service management center strictly controls the version and uniformly manages the maintenance platform library and protocol version number, ensuring the reliability and stability of the service.
[0041] The data proxy service unit separates database IO access and business processing flow, ensuring business operation and data security, and eliminates business blockages through asynchronous DB operations, ensuring the smoothness and response speed of the main framework. The user service unit pre-creates a fixed number of threads and numbers each thread. During the processing of business instructions, according to the set algorithm, the instructions will be delivered to the corresponding thread for processing, which improves the concurrent processing capability of the system. The design and functions of each unit such as the lobby server, login server, log service unit, and core battle computing service unit enable the system to stably respond to user requests in high-concurrency scenarios, improving the reliability and stability of the system. The self-provided server strengthens the concurrent processing capability of the system and improves the overall performance of the system through multi-node service deployment, load balancing, fast processing, and node optimized storage. Through the design and functions of each unit, this modular system achieves the ability to efficiently carry peak hours and has obvious advantages in system reliability, stability, and performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0043] Figure 1 is a system block diagram of the present invention;
[0044] Figure 2 This is a block diagram of concurrent data connection in the data operation service of the present invention;
[0045] Figure 3 This is a collection flow chart of big data collection of the present invention;
[0046] Figure 4 Request configuration flow chart for the automated script update system of the present invention;
[0047] Figure 5 Modify the script flow chart for the automated script updating system of the present invention;
[0048] Figure 6 This is a data transmission flow chart of the P2P communication system of the present invention;
[0049] Figure 7 This is a flow chart of the login service registration of the present invention; DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] Example:
[0052] like Figures 1 to 7 As shown, a modular system for peak-time load capacity includes a main frame arranged in an engine library, wherein the framework core service in the main frame is arranged with a service management center, a gateway service unit, a data proxy service unit, a user service unit, a lobby server, a login server, a log service unit, a core battle computing service unit, a self-provided server and a supporting server;
[0053] The service management center is responsible for comprehensively monitoring and verifying the reliability of access platform services. Through strict version control, it uniformly manages and maintains the platform library and protocol version numbers. When the version protocol number is verified to be inconsistent, the service handshake access is rejected and the service connection is immediately forcibly disconnected;
[0054] The gateway service unit performs information exchange in the main architecture, and communication messages are exchanged through the gateway service unit. The gateway service unit is a multi-service system unit, which supports unlimited opening by accessing the extensibility interface, and sets the number of services according to the order of magnitude of communication messages;
[0055] The data proxy service unit is a cache layer, which separates database IO access and business processing flow through the data proxy service unit to ensure business operation and data security, and eliminates business blockage through asynchronous DB operations to ensure the fluency and response speed of the main framework;
[0056] The user service unit creates a fixed number of threads in advance and numbers each thread. During the processing of business instructions, the instructions will be delivered to the corresponding thread for processing according to the set algorithm;
[0057] The lobby server is responsible for receiving and forwarding all instructions sent by the app, and interacting with the instruction information sent by the app in the main framework through the gateway service unit, and receiving the basic business processing and data management tasks of the app through the lobby server;
[0058] The login server is used to process concurrent login requests from the app side and manage user registration information at the same time, ensuring stable response to user login data in high-concurrency scenarios through optimized algorithms and resource management;
[0059] When the log service unit receives a business message, the log service is processed by actively obtaining a certain number of messages through the thread, and each thread is set with independent resources through the thread management and resource allocation mechanism, so as to realize high concurrency, low latency and high reliability data processing in each thread;
[0060] The core battle computing service unit is used to process the interactive battle logic between users. The core battle computing service unit matches user needs by designing independent threads in each battle room and horizontally expanding the number of rooms and the number of services;
[0061] The self-provided server uses multi-node service deployment and load balancing for fast processing and node optimized storage, accesses services through a single communication instruction, decouples and splits key built-in services, removes redundant data storage and calculations, and strengthens concurrent processing capabilities;
[0062] The supporting server is used to provide support services for edge supporting businesses.
[0063] This modular system is designed to be able to carry a large number of user requests more efficiently during peak hours. Its working principle is to set up a main framework in the engine library and then set up different service units in the main framework to implement various functions.
[0064] The service management center is responsible for monitoring and verifying the reliability of access platform services. It manages and maintains the platform library and protocol version numbers uniformly through strict version control, and refuses handshake access to services when the version protocol numbers are inconsistent. The gateway service unit is responsible for information interaction, supports unlimited opening through access extensibility interfaces, and sets the number of services according to the order of magnitude of communication messages. The data proxy service unit is responsible for the cache layer, separating database IO access and business processing flow to ensure business operation and data security.
[0065] The user service unit is responsible for pre-creating a fixed number of threads, numbering each thread, and then delivering instructions to the corresponding thread for processing according to the set algorithm. The lobby server is responsible for receiving and forwarding all instructions sent by the app, and exchanging information in the main framework through the gateway service unit. The login server is used to process concurrent login requests from the app and manage user registration information. It ensures stable response to user login data in high-concurrency scenarios by optimizing algorithms and resource management.
[0066] The log service unit is responsible for assigning messages to specific threads for processing according to the preset algorithm, and realizes high concurrency, low latency, and high reliability data processing through thread management and resource allocation mechanisms. The core battle computing service unit handles the interactive battle logic between users, through the design mode of independent threads in each battle room, and matches user needs by horizontally expanding the number of rooms and services. The self-provided server uses multi-node service deployment and load balancing to quickly process and optimize node storage, access services through a single communication instruction, decouple and split key services of built-in services, remove redundant data storage and computing, and enhance concurrent processing capabilities. The supporting server is used to provide support services for edge supporting services.
[0067] In this application document, the interaction between the platform services is described as follows:
[0068] Login request. The client requests login through LoginServer, and LoginServer forwards the user login verification request to UserServer through GameGateServer. UserServer detects whether there is login information for this account in the memory. If not, it proceeds to step d. If yes, it proceeds to step f. UserServer sends a request to DataBaseServer to pull user data. DataBaseServer pulls user information from the database and returns it to UserServer. UserServer verifies user information and returns the verification result to LoginServer. LoginServer receives the result. If the login is successful, it is returned to the client. If the platform account login fails, it is returned to the client. If it is a third-party account login.
[0069] The request for account registration is forwarded to DataBaseServer through GameGateServer. DataBaseServer returns the registration result to LoginServer through GameGateServer. LoginServer forwards the request for login to UserServer again through GameGateServer (second login request). The login result is returned to the client.
[0070] When registering an account, the service registration process. The service initiates a request to CenterServer. CenterServer obtains server information from DataBaseServer. CenterServer returns the verification result. If the verification fails, it returns the failure information. If the verification succeeds, it returns the information of other successfully logged-in servers.
[0071] In this application document, at the framework level: When traditional frameworks process mutual access between services, they need to independently create a large number of connections to form a complex grid-like connection diagram. As the number of services increases, the connection configuration will also increase significantly. In addition, when accessing the database directly, it is difficult to support millions of concurrent requests because it is one of the bottlenecks of high concurrency. Once a database exception occurs, all business will be seriously affected and terminated. The high-concurrency framework adopts the CenterServer centralized management mode, and GameGateServer serves as a bridge for communication between services. No matter how many services are connected, you only need to configure the CenterServer connection to automatically obtain the connection method with the GameGateServer Groups, thereby realizing communication between any servers. At the same time, database access and business processing are completely separated, and asynchronous read and write operations of the database are performed through DataBaseServer. Even if the database is abnormal, it will only affect users who need to read the data later, ensuring that users who have read the data can interact smoothly.
[0072] Concurrency: Traditional systems often rely on multiple business threads and frequent lock mechanisms to achieve resource contention. However, as the frequency of lock and resource competition increases, this becomes an obvious bottleneck for system concurrency, and may even paralyze the entire system. In this case, the system has to take forced fuse measures to protect some businesses, or face the problem of a large number of request blocking, resulting in a more serious backlog of requests and eventually causing the system to crash. High-concurrency systems also use multi-business thread design, but the key is to independently allocate resources to each thread to ensure that each thread can exclusively use resources. In addition, high-concurrency systems use advanced algorithms to accurately deliver business requests to specific threads for processing, thereby ensuring the accuracy of resource access. This design avoids the problem of lock and resource competition, allowing the system to perform well in a high-concurrency environment. Compared with traditional systems, under the same hardware resource conditions, high-concurrency systems can easily handle tens of millions of concurrent volumes.
[0073] Framework level: When traditional frameworks handle mutual access between services, they need to independently create a large number of connections, forming a complex grid-like connection diagram. As the number of services increases, the connection configuration will also increase significantly. In addition, when accessing the database directly, it is difficult to support millions of concurrent requests because it is one of the bottlenecks of high concurrency. Once a database exception occurs, all business will be severely affected and terminated.
[0074] The high-concurrency framework adopts the CenterServer centralized management mode, and GameGateServer serves as a bridge for communication between services. No matter how many services are connected, you only need to configure the CenterServer connection to automatically obtain the connection method with GameGateServerGroups, thereby realizing communication between any servers. At the same time, database access and business processing are completely separated, and asynchronous read and write operations of the database are performed through DataBaseServer. Even if the database is abnormal, it will only affect users who need to read the data later, ensuring that users who have read the data can interact smoothly.
[0075] The data in the main architecture is acquired through a big data acquisition system. The big data acquisition system collects data including but not limited to text, pictures, videos and audio data, and automatically captures the required information from standard data sources through preset acquisition rules, and ensures the integrity and accuracy of the data through verification after capture.
[0076] The data in this main architecture is acquired through a big data acquisition system, which has the following differences compared with the existing technology: the big data acquisition system can collect multiple types of data including text, pictures, videos and audio. This comprehensive data acquisition capability is relatively rare in the existing technology. Usually, the existing data acquisition system is more limited to the collection of a single data type and cannot meet the current business needs for diversified data. The diversified data acquisition capability of this system can provide richer and more comprehensive data support for subsequent data analysis and application.
[0077] The system can automatically capture the required information from standard data sources through preset collection rules, which is also relatively innovative in existing technologies. Existing data collection systems usually require manual configuration and adjustment of collection rules, which is inefficient. The system uses automated collection rules, which not only improves the efficiency of data collection, but also reduces labor costs. At the same time, automated collection rules can also ensure the continuity and stability of data collection, avoiding data loss or errors caused by human errors.
[0078] After data collection, the system will also verify the integrity and accuracy of the data. Existing data collection systems often lack effective control over data quality, resulting in deviations in subsequent data analysis and application. The data verification mechanism of this system can ensure that the collected data is complete and accurate, providing a reliable data foundation for subsequent data analysis and application.
[0079] The reason for setting up such a big data collection system is that the current business demand for data is becoming more and more diverse and complex, and a single data type can no longer meet the demand. At the same time, the efficiency of manually configuring and adjusting the collection rules is also low, and it is difficult to meet the rapidly changing business needs. Therefore, setting up such an automated, comprehensive, and high-quality big data collection system can not only meet the current business demand for diversified data, but also improve the efficiency and accuracy of data collection, and provide a reliable data foundation for subsequent data analysis and application, thereby improving the operating efficiency and business value of the entire system.
[0080] The big data collection system also has the function of automatically collecting public information, which includes but is not limited to key information related to service source, event time and event version, and uses a unified collection method and analysis process to disassemble, clean and format the collected data through a data parser, converting the data into a structured form that can be analyzed and processed, and simultaneously dispatching the processed data to different databases or storage systems according to preset rules.
[0081] The big data collection system also has the function of automatically collecting public information, which is also significantly different from the existing technology. The system can automatically collect public information including key information such as service source, event time and event version association. This comprehensive public information collection capability is relatively rare in the existing technology. Usually, the existing data collection system pays more attention to the business data itself, but ignores the collection and use of this public information. However, this public information is of great value to the subsequent data analysis and application, and can provide richer and more comprehensive context information for analysis.
[0082] The system uses a unified collection method and analysis process to disassemble, clean and convert the collected data into a structured form that can be analyzed and processed. This unified data processing mechanism is also relatively innovative in the existing technology. Existing data collection systems usually require different processing methods for different types of data, which is inefficient. The system adopts a unified processing process, which not only improves the efficiency of data processing, but also ensures the consistency and reliability of the data. At the same time, converting data into a structured form also provides a more friendly data format for subsequent data analysis and application.
[0083] The system distributes the processed data to different databases or storage systems according to preset rules. This data distribution mechanism is also relatively innovative in the existing technology. Existing data acquisition systems often lack effective management of data storage, making it difficult to effectively use data. The data distribution mechanism of this system can store different types of data in appropriate storage systems, improve the accessibility and availability of data, and provide richer data resources for subsequent data analysis and application.
[0084] The reason for setting up such an automatic public information collection function is that public information is of great value to subsequent data analysis and application, and can provide richer and more comprehensive context information for analysis. At the same time, a unified data processing mechanism and data distribution mechanism can also improve the efficiency of data collection and processing, ensure the consistency and reliability of data, and provide a more friendly data format and rich data resources for subsequent data analysis and application. Therefore, setting up such a big data collection system that automatically collects public information, unifies data processing, and distributes intelligent data can not only meet the current business needs for public information and structured data, but also improve the operating efficiency and business value of the entire system.
[0085] like Figure 4 As shown, the main architecture also has an automated script update system built in. During the operation of the automated script update system, the script will be modified, accepted and tested. After the script is tested and verified to be correct, the new script will be updated to the production environment in real time. The main architecture has an automated script update system built in, which has some significant differences compared with the prior art. First, the system can automatically modify, accept and test the script, which is relatively rare in the prior art. Usually, the existing system relies more on manual modification and testing of the script, which is inefficient and prone to human errors. The automated script update function of the system not only improves the efficiency of script updates, but also reduces labor costs, and can also minimize problems caused by human errors.
[0086] MD5 is a widely used cryptographic hash function that can generate a 128-bit (16-byte) hash value. It is often used to ensure data integrity and is commonly seen in file transfer and storage to verify whether the file has been tampered with when updating or transferring. In automated script update systems, MD5 is often used in the following aspects: When downloading or updating files, the MD5 value of the downloaded file can be calculated and compared with the MD5 value provided on the server to ensure that the file has not been damaged or modified during the transmission process. By comparing the MD5 values of the files, it can be determined whether the versions of the files are the same, and then whether they need to be updated. Although MD5 is no longer recommended for high-security occasions such as password storage, it is still widely used in some simple file verification.
[0087] After the script is tested and verified, the system can update the new script to the production environment in real time. This real-time update mechanism is also relatively innovative in the existing technology. Existing systems usually require manual deployment of updated scripts to the production environment, which is not only inefficient but also prone to downtime or service interruption. The real-time update mechanism of this system can ensure that the system is always in the latest operating state, improve the stability and reliability of the system, and also reduce the cost and risk of manual participation.
[0088] The reason for setting up such an automated script update system is that in high-concurrency and high-load business scenarios, the stability and reliability of the system are crucial. Timely updating of scripts is one of the key factors to ensure the stable operation of the system. The traditional manual update method is inefficient and prone to problems, and cannot meet business needs. Therefore, setting up such an automated script update system can not only improve the efficiency of script updates and reduce labor costs, but also ensure that the system is always in the latest operating state, improve the stability and reliability of the system, and better meet the needs of high-concurrency and high-load business scenarios.
[0089] At the same time, the automated script update system can also achieve more refined script management, including version control, rollback and other functions, further improving the maintainability and scalability of the system, and laying a solid technical foundation for future business development. Therefore, the setting of the automated script update system can not only improve the stability and reliability of the current system, but also provide strong support for future system development.
[0090] The automated script update system has a built-in security management unit, which limits the users who can enter through authorization, and allows authorized users to perform modification, acceptance, testing and release operations. At the same time, all update records are logged, and operations can be located through log records when problems occur.
[0091] Compared with the existing automatic update system, its main difference is: it has an authorization mechanism, and only authorized users can perform operations such as modification, acceptance, testing and release, which can effectively control the access rights to the system and improve the security of the system; all update records are logged, and operations can be located through logs when problems occur, which is conducive to the rapid investigation and resolution of problems.
[0092] Such settings are mainly to improve the security and traceability of the system. The authorization mechanism can limit the operation of the system by unauthorized users and reduce the risk of system tampering; log records can provide detailed operation records when problems occur, which helps to quickly locate the cause of the problem and improve the efficiency of problem solving. In general, such settings can enhance the security and reliability of the automated update system and provide strong protection for the enterprise's IT system management.
[0093] The p2p communication system supports the app end to initiate communication requests autonomously. The p2p communication system supports data communication modes in any format through built-in data encryption, data packetization, data compression, data obfuscation, data dispatch target sorter and user connection management center processing. By processing pictures, voice, emoticons, files and video data, it can cope with complex data exchange needs. The main difference is: it supports the app end to initiate communication requests autonomously, realizes two-way communication, and breaks the traditional one-way request mode; it adopts a p2p communication system with built-in data encryption, data packetization, data compression, data obfuscation, data dispatch target sorter and user connection management center and other technologies, which can support data communication in any format and meet complex data exchange needs.
[0094] Such a setting is mainly to improve the flexibility and adaptability of the communication system. Supporting the app to initiate communication requests independently allows users to take the initiative to master the communication process and enhance the user experience; using a p2p communication system and built-in multiple data processing technologies can ensure the security and efficiency of data transmission, while also being able to adapt to various complex data exchange requirements and meet the needs of different application scenarios. In general, such a setting can greatly improve the performance and scalability of the communication system and provide enterprises and users with better communication services.
[0095] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A modular system for peak-hour capacity, characterized in that: Including a main framework set in the engine library, the framework core service in the main framework is set with a service management center, a gateway service unit, a data proxy service unit, a user service unit, a lobby server, a login server, a log service unit, a core battle computing service unit, a self-provided server and a supporting server; The service management center is responsible for comprehensively monitoring and verifying the reliability of access platform services. Through strict version control, it uniformly manages and maintains the platform library and protocol version numbers. When the version protocol number is verified to be inconsistent, the service handshake access is rejected and the service connection is immediately forcibly disconnected; The gateway service unit performs information exchange in the main architecture, and communication messages are exchanged through the gateway service unit. The gateway service unit is a multi-service system unit, which supports unlimited opening by accessing the extensibility interface, and sets the number of services according to the order of magnitude of communication messages; The data proxy service unit is a cache layer, which separates database IO access and business processing flow through the data proxy service unit to ensure business operation and data security, and eliminates business blockage through asynchronous DB operations to ensure the fluency and response speed of the main framework; The user service unit creates a fixed number of threads in advance and numbers each thread. During the processing of business instructions, the instructions will be delivered to the corresponding thread for processing according to the set algorithm; The lobby server is responsible for receiving and forwarding all instructions sent by the app, and interacting with the instruction information sent by the app in the main framework through the gateway service unit, and receiving the basic business processing and data management tasks of the app through the lobby server; The login server is used to process concurrent login requests from the app side and manage user registration information at the same time, ensuring stable response to user login data in high-concurrency scenarios through optimized algorithms and resource management; When the log service unit receives a business message, the log service is processed by actively obtaining a certain number of messages through the thread management and resource allocation mechanism, and each thread is set with independent resources to achieve high concurrency, low latency and high reliability data processing in each thread; The core battle computing service unit is used to process the interactive battle logic between users. The core battle computing service unit matches user needs by designing independent threads in each battle room and horizontally expanding the number of rooms and the number of services; The self-provided server uses multi-node service deployment and load balancing for fast processing and node optimized storage, accesses services through a single communication instruction, decouples and splits key built-in services, removes redundant data storage and calculations, and strengthens concurrent processing capabilities; The supporting server is used to provide support services for edge supporting businesses; The main architecture also has an automated script update system built into it. During the operation of the automated script update system, the script will first be modified, accepted and tested. Once the script has been tested and verified to be correct, the new script will be updated to the production environment in real time. The automated script update system has a built-in security management unit, which limits the users who can enter through authorization. Authorized users can perform modification, acceptance, testing and release operations. At the same time, all update records are logged and operations can be located through log records when problems occur.
2. A modular system for peak hour capacity as claimed in claim 1, characterized in that: The data in the main architecture is acquired through a big data acquisition system. The big data acquisition system collects data including but not limited to text, pictures, videos and audio data, and automatically captures the required information from standard data sources through preset acquisition rules, and ensures the integrity and accuracy of the data through verification after capture.
3. A modular system for peak hour capacity as claimed in claim 2, characterized in that: The big data collection system also has the function of automatically collecting public information, which includes but is not limited to key information related to service source, event time and event version, and uses a unified collection method and analysis process to disassemble, clean and format the collected data through a data parser, converting the data into a structured form that can be analyzed and processed, and simultaneously dispatching the processed data to different databases or storage systems according to preset rules.
4. A modular system for peak hour capacity as claimed in claim 1, characterized in that: The gateway service unit supports the app end to independently initiate communication requests through the p2p communication system. The p2p communication system supports data communication modes of any format through built-in data encryption, data packetization, data compression, data obfuscation, data assignment target sorter and user connection management center processing, and can cope with complex data exchange requirements by processing pictures, voices, expressions, files and video data.
Citation Information
Patent Citations
Service providing method and device, terminal equipment and operating system
CN108289111A
High-concurrency bearing system and computer
CN115981841A
System and method for transaction services patterns in a netcentric environment
US7289964B1
Architecture for enterprise data integration systems
WO2006026673A2
Micro-service-based intelligent space concurrent service process execution method and system
WO2023109650A1
