CN104580294B - The method and apparatus of the server information display - Google Patents

The method and apparatus of the server information display Download PDF

Info

Publication number
CN104580294B
CN104580294B CN 201310486295 CN201310486295A CN104580294B CN 104580294 B CN104580294 B CN 104580294B CN 201310486295 CN201310486295 CN 201310486295 CN 201310486295 A CN201310486295 A CN 201310486295A CN 104580294 B CN104580294 B CN 104580294B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
server
information
cache
service
read
Prior art date
Application number
CN 201310486295
Other languages
Chinese (zh)
Other versions
CN104580294A (en )
Inventor
李宏业
Original Assignee
深圳市东方博雅科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

一种展示服务器信息的方法,包括:业务服务器生成服务器信息,并将其写入Redis服务器;任务服务器由所述Redis服务器中读取服务器信息,并将其发送到缓存服务器中存储;应用服务器接收上传的信息查看请求,由所述缓存服务器中读取与所述信息查看请求对应的服务器信息并展示。 A method for information display server, comprising: a service server generates the server information, and writes it to the server Redis; server task information read by the server Redis server, and sends it to the cache stored in the server; application server receives uploaded viewing request information, read by the cache server in the server information corresponding to the view request information and display. 此外,还提供了一种展示服务器信息的系统。 In addition, it also provides a system for showing server information. 上述展示服务器信息的方法及装置能够提高运行效率。 The above-mentioned server information display method and apparatus capable of improved operational efficiency.

Description

展示服务器信息的方法及装置 The method and apparatus of the server information display

技术领域 FIELD

[0001] 本发明涉及互联网技术领域,特别是涉及一种展示服务器信息的方法及系统。 [0001] The present invention relates to the field of Internet technologies, particularly to a method and system for display server information.

背景技术 Background technique

[0002] 传统技术中的网页游戏通常包括web服务器、游戏服务器以及持久化存储服务器。 [0002] conventional technology web games often include a web server, game server and persistent storage servers. 用户登录web服务器后可查看与游戏服务器有关的服务器信息,例如,服务器名称及延时或者某个服务器下的游戏房间的名称、游戏人数、观战人数等信息。 User login web server to view server information related to the game server, for example, the server name and the name of the game room or delay under a server, the number of games, the number of spectators and other information. 上述信息可方便用户选择较合适的游戏服务器或游戏房间进行游戏。 The above information can be user selected a more suitable game server or the game room.

[0003] 然而,发明人经研宄发现传统技术中展示服务器信息的方法至少存在如下问题: 用户在登录web服务器后,web服务器直接访问数据库服务器读取服务器信息并展示给用户,从而会对数据库服务器产生较大的访问压力,影响了运行效率。 [0003] However, the inventors have found through study based on the server information is shown in the conventional art method at least the following problems: the user login web server, the web server reads access the database server and the server information presented to the user, so that the database will server have a greater access to the pressure, affecting the operating efficiency.

发明内容 SUMMARY

[0004] 基于此,有必要提供一种能提高运行效率的展示服务器信息的方法。 [0004] Based on this, it is necessary to provide a method to improve the operating efficiency of the display server information.

[0005] —种展示服务器信息的方法,包括: [0005] - the kind of display server information, comprising:

[0006] 业务服务器生成服务器信息,并将其写入Redis服务器; [0006] information service server generates a server, and writes it to the server Redis;

[0007] 任务服务器由所述Redis服务器中读取服务器信息,并将其发送到缓存服务器中存储; [0007] The task of the server is read by the information server Redis server, and sends it to the cache stored in the server;

[0008] 应用服务器接收上传的信息查看请求,由所述缓存服务器中读取与所述信息查看请求对应的服务器信息并展示。 [0008] The information of the application server receives the uploaded viewing request, read request to view the information and present corresponding information server by the cache server.

[0009] 在其中一个实施例中,所述业务服务器生成服务器信息的步骤包括: [0009] In one embodiment, the step of the service server generates the server information comprises:

[0010] 所述业务服务器接收所述应用服务器发起的业务服务器登录请求,根据所述业务服务器登录请求生成相应的服务器信息。 [0010] The service server service server receives the login request initiated by the application server, according to the service server registration request generating a corresponding server information.

[0011] 在其中一个实施例中,所述业务服务器获取服务器信息的步骤之后还包括: After [0011] In step one embodiment, the server information obtaining service server further embodiment comprises:

[0012] 所述业务服务器将所述生成的服务器信息写入持久化存储服务器。 [0012] The service server said generated server information written to a persistent storage server.

[0013] 在其中一个实施例中,所述服务器信息包括类型信息; [0013] In one embodiment, the server information includes type information;

[0014] 所述方法还包括: [0014] The method further comprises:

[0015] 所述任务服务器调用线程由所述缓存服务器中读取与所述类型信息对应的服务器信息,并对其进行排序,排序后将其回写到所述缓存服务器中。 [0015] The task of the calling thread is read by the server cache server information corresponding to the type of server information, and sort, the sort that will write back to the cache server.

[0016] 在其中一个实施例中,所述缓存服务器包括内存缓存服务器和文件缓存服务器; [0016] In one embodiment, the cache server includes a cache memory cache servers and file servers;

[0017] 所述应用服务器由所述缓存服务器中读取与所述信息查看请求对应的服务器信息的步骤包括: [0017] The application server is read by the cache server in the view request information corresponding to the server information comprises the step of:

[0018] 所述应用服务器先由所述内存缓存服务器中读取服务器信息,若获取不到,则在所述文件缓存服务器中读取服务器信息。 [0018] The application server reads the information first by the server memory cache server, if not acquired, the server reads the information in the file cache server. & & Amp;

[0019] 此外,还有必要提供一种能提高运行效率的展示服务器信息的系统。 [0019] In addition, there is a need to provide a system to improve the efficiency of the display server information. _0]—种展示服务器信息的系统,包括业务服务器、Redis服务器、任务服务器、缓存服务器以及应用服务器,其中: _0] - kind of display server information systems, including business server, Redis server, task servers, cache servers, and application servers, including:

[0021]所述业务服务器用于生成服务器信息,并将其写入Redis服务器; [0021] The service server for generating the server information, and writes it to the server Redis;

[0022]所述Redis服务器用于存储所述业务服务器发送的服务器信息; 、 The [0022] Redis server information storage server for transmitting said service server; and,

[0023]所述任务服务器用于由所述Redis服务器中读取服务器信息,并将其发送到缓存服务器; [0023] The task server for reading the information provided by the server Redis server, and sends it to the cache server;

[0024]所述缓存服务器用于存储所述任务服务器发送的服务器信息; [0024] server to the cache server storing said task information sent by the server;

[0025]所述应用服务器用于接收上传的信息查看请求,由所述缓存服务器中读取与所述信息查看请求对应的服务器信息并展示。 [0025] The application server is configured to receive a request to view the uploaded information, reading said information server information corresponding to the view request and displayed by the cache server.

[0026]在其中一个实施例中,所述业务服务器还用于接收所述应用服务器发起的业务服务器登录请求,根据所述业务服务器登录请求生成相应的服务器信息。 [0026] In one embodiment, the service server is further configured to service server login request initiated by the server receiving the application, according to the service server registration request generating a corresponding server information.

[0027] 在其中一个实施例中,所述系统还包括持久化存储服务器; [0027] In one embodiment, the system further comprises a persistent storage server;

[0028]所述业务服务器还用于将所述生成的服务器信息写入持久化存储服务器。 [0028] The service server is further configured to write information to the generated server persistent storage server.

[0029] 在其中一个实施例中,所述服务器信息包括类型信息; [0029] In one embodiment, the server information includes type information;

[0030]所述任务服务器还用于调用线程由所述缓存服务器中读取与所述类型信息对应的服务器信息,并对其进行排序,排序后将其回写到所述缓存服务器中。 [0030] The task server is further configured to be read by the calling thread cache server with server information corresponding to the category information, and sort, sort which will be written back to the cache server.

[0031]在其中一个实施例中,所述缓存服务器包括内存缓存服务器和文件缓存服务器; [0031] In one embodiment, the cache server includes a cache memory cache servers and file servers;

[0032]所述应用服务器还用于先由所述内存缓存服务器中读取服务器信息,若获取不至IJ,则在所述文件缓存服务器中读取服务器信息。 [0032] The application server is further configured to read first by the information server memory cache server, if the acquisition is not to IJ, the server reads the information in the file cache server.

[0033]上述展示服务器信息的方法和系统,通过Redis服务器对服务器信息进行存储,并由任务服务器写入到缓存服务器中,用户在访问应用服务器之后,应用服务器可由缓存服务器中读取最新的服务器信息并展示给用户,与传统技术中通过数据库查询得到服务器信息相比,由于是由Redis服务器存储服务器信息,因此减少了数据库操作,从而提高了响应速度。 [0033] The server information display method and system, by Redis server information storage server, the server task writes to the cache by the server, after the user accesses the application server, the application server reads the latest server may cache server and the information presented to the user, compared with the conventional art server information obtained by the database queries, since the server storage Redis server information, thus reducing the database operations, thereby improving the response speed. 用户在等待应用服务器返回的服务器信息时可耗费较少的时间,且由于不会执行sql 语句在数据库中查询,因此缓解了数据库压力,从而提高了运行效率。 User while waiting for the server application information returned by the server can spend less time, and because the statement does not execute sql query in the database, the database eased the pressure, thereby improving operating efficiency.

附图说明 BRIEF DESCRIPTION

[0034]图1为一个实施例中展示服务器信息的方法的流程图; [0034] FIG. 1 is a flow diagram showing the server in one embodiment of the method information;

[0035]图2为一个实施例中展示服务器信息的装置的结构示意图; [0035] FIG. 2 is a schematic structural diagram of a device information server in the embodiment illustrated embodiment;

[0036]图3为一个实施例中对Redis服务器进行队列式读取的示意图。 [0036] FIG. 3 is a schematic diagram of a reader for the queue server Redis embodiment.

具体实施方式 detailed description

[0037]在一个实施例中,如图1所示,一种基于iOS的后台运行程序的方法,该方法完全依赖于计算机程序,该计算机程序可运行于基于冯洛伊曼体系的计算机系统上。 [0037] In one embodiment, shown in Figure 1, a program running in the background of a method based on iOS, which relies entirely on a computer program, the computer program can run on a computer system architecture based on von Luoyi Man . 该计算机系统如图2所示, The computer system shown in Figure 2,

[0038] 该方法包括: [0038] the method comprising:

[0039]步骤Sl〇2,业务服务器生成服务器信息,并将其写入Redis服务器。 [0039] Step Sl〇2 service server generates the server information, and writes it Redis server.

[0040]服务器信息包括提供业务服务的服务器的信息或提供业务服务的服务器上的服务进程的信息。 [0040] server information, including information on the service process information or provide business services server provides business services server. 例如,若业务服务器为网页游戏服务器,则在一个实施例中,服务器信息可以是网页游戏中的游戏区的相关信息(例如,广东一区、湖北三区等,游戏区通常对应独立的^欢服务器,广东一区则表示架设在广东的一组游戏服务器对应的游戏区、湖北三区则表示架设在湖北的一组游戏服务器对应的游戏区)。 For example, if the service server is a web game server, in one embodiment, the server information may be information (e.g., Guangdong a region, Hubei three zones web game play area play area generally corresponding independent ^ Huan server, Guangdong set up a zone in Guangdong, said a group of game server corresponding game area, Hubei Province, said three districts in Hubei set up a group of game server corresponding game area). 在另一个实施例中,服务器信息则可以是棋牌类网页游戏中的游戏桌或游戏房间的信息(例如,在棋牌类游戏中的00 i号游戏桌, 聊天室类应用中的聊天房间等,通常一个游戏桌或一个聊天房间对应一个业务服务器上的业务进程)。 In another embodiment, the server information may be information about the gaming table or game room chess game web (e.g., in a chess game in the gaming table 00 number i, the chat room in the chat room type applications and the like, usually a game table or a chat room corresponding business processes on a business server).

[0041] Redis*一种开源高性能的基于内存并支持网络的键值数据库,Redis服务器即为基于Redis数据库框架的存储设备。 [0041] Redis * high performance memory based on an open source network and supports the key database, that is the server-based storage devices Redis Redis database framework.

[0042]在本实施例中,业务服务器生成服务器信息的步骤还包括:业务服务器接收应用服务器发起的业务服务器登录请求,根据业务服务器登录请求生成相应的服务器信息。 Step [0042] In the present embodiment, information service server generates a server further comprises: a service server receiving the application server login request initiated by the service server, the service server registration request generated according to the corresponding information server. [0043]应用服务器即用户获取应用服务的接口,通常用于对用户的个人信息、账户信息以及资费信息进行管理,为用户提供业务服务平台。 [0043] The application server that is application service users to access interfaces, commonly used in personal information on users, account information and tariff information management, to provide users with business service platform. 例如,在网页游戏应用场景中,应用服务器即为用户登录的网页应用对应的服务器,用户登录应用服务器后,可根据应用服务器返回的页面上展示的服务器信息选择业务服务器或业务服务器上的服务进程进入从而获取相应的业务服务。 Service of process on, for example, in the web game scenarios, the application server that is the web application server corresponding to the user login, user login application server, the page can be displayed according to the application server returned by the server selection information service server or the application server so get into the appropriate business services.

[0044]用户通过应用服务器登录业务服务器后,业务服务器即可根据该请求生成相应的服务器信息。 [0044] After user logon service server, the service server to generate the corresponding information server according to the request by the application server. 例如,在网页游戏应用场景中,若用户以游戏者身份进入游戏房间,则业务服务器在生成的服务器信息中将游戏人数加1;若用户以观战者身份加入游戏房价,则业务服务器在生成的服务器信息中将观战人数加1。 For example, in the web game scenario, if users enter the game room to the identity of the player, the business server in the server information generated by the number of players plus 1; if the user to join a game room rates to spectator status, the business generated by the server The number of spectators in the information server plus 1.

[0045] 业务服务器在将生成的服务器信息写入Redis服务器时,可以键值对的形式整合服务器信息后在将其存储到Redis服务器中。 After [0045] The service server when the server generating the information writing Redis server, server integration of key-value pairs stored into the information server Redis.

[0046]例如,游戏房间可对应有唯一的房间号rid,服务器信息可包括游戏人数nl、观战人数n2、房间名称title,则可以rid: [nl,n2,title]的形式整合服务器信息,然后以rid为键,数组[nl,n2,title]为值将其存储在Redis服务器。 [0046] For example, a game room can be equipped with unique room number rid, server information may include the number of players nl, the number of spectators n2, room name title, you can rid: [nl, n2, title] in the form of integrated server information, and then to rid a bond, an array [nl, n2, title] is the value stored in the server Redis. 若业务服务器需要将某个游戏房间对应的游戏人数加1,则可根据该游戏房间的rid找到该记录,然后将数组中的游戏人数加1〇 If the business server needs to play a game room number corresponding plus 1, the record can be found according to rid the game room, then the number of games in the array plus 1〇

[0047]在本实施例中,业务服务器获取服务器信息的步骤之后还可将生成的服务器信息写入持久化存储服务器,持久化存储服务器可以是基于关系型数据库存储的服务器或是基于文件系统存储的服务器。 After [0047] In the present embodiment, the step of obtaining server information service server may also write information to the generated server persistent storage server, persistent storage server may be based on a relational database server, or file stored in the storage system based on server. 由于Redis为基于内存的键值存储结构,因此突然断电可能会造成服务器信息遗失,而将生成的服务器信息写入到持久化存储服务器中,在突然断电时,月艮务器信息仍能够保存在持久化存储服务器中,从而提高了数据的可靠性。 Since Redis key-value store based on the structure of memory, so a sudden power failure might cause the server information is lost, and the generated server information is written to persistent storage server, when a sudden power failure, the month that works to information still can stored in persistent storage servers, thereby improving the reliability of the data.

[0048]步骤S104,任务服务器由Redis服务器中读取服务器信息,并将其发送到缓存服务器中存储。 [0048] step S104, the server reads the information from the task server Redis server, and sends it to the cache stored in the server.

[0049]基于Redis框架的Redis服务器具有队列的性质,如图3所示,业务服务器可在队首加入新生成的或更新的服务器信息,任务服务器则通过在队尾持续进行读操作获取加入的更新的服务器信息。 [0049] Based on the server Redis Redis frame queue having properties shown in Figure 3, the service server may be added to the first server information generated or updated in a new team, the server task by continuing the read operation of the tail added to obtain update server information. 例如,任务服务器中可设置包含死循环的线程,循环体中的逻辑设置为反复由Redis服务器的队尾进行读取。 For example, the role server may be provided comprising an endless loop of thread, logic is provided in the loop body is repeatedly read by the tail Redis server.

[0050] 步骤S106,应用服务器接收上传的信息查看请求,由缓存服务器中读取与信息查看请求对应的服务器信息并展示。 [0050] step S106, information of the application server receives a request to view the uploaded, read by the cache server and information server information corresponding to the view request and display.

[0051] 例如,用户登录网页游戏的应用服务器后则向其发送信息查看请求,请求查看游戏房间的相关信息,应用服务器则可由缓存服务器中读取相应的服务器信息并展示。 [0051] For example, after the user login page of the application server to view the game to send requests for information, requests to view information about the game room, the application server can be read from the corresponding cache server in the server information and display. 在本实施例中,服务器信息中可包含类型信息,类型信息对应不同的业务类型。 In the present embodiment, the server information may include the type information, type information corresponding to different traffic types. 例如,在网页游戏应用场景中,五子棋游戏桌和象棋游戏桌分别对应五子棋游戏应用和象棋游戏应用,则其具有的类型信息分别为五子棋类型和象棋类型。 For example, the web application scenario game, chess and backgammon game table game table corresponding backgammon game chess game application and the application, the type of information having respectively chess and backgammon type type. 应用服务器可根据信息查看请求对应的类型信息在缓存服务器中进行读取。 The application server may request information corresponding to the type of the information read to see in the cache server.

[0052]进一步的,任务服务器可调用线程由缓存服务器中读取与类型信息对应的服务器信息,并对其进行排序,排序后将其回写到缓存服务器中。 [0052] Further, the calling thread task server can be read by the cache server in the server information corresponding to the type of information, and sort, the sort that will write back to the cache server. 在本实施例中,可按照房间号、桌号、创建时间或更新时间排序,应用服务器可直接由缓存服务器顺序读取后展示而无需随机查找或重新排序,从而减轻了应用服务器的负载压力,提高了响应速度。 In the present embodiment, in accordance with the room number, table number, creation time, update time or sorting, the application server may read directly from the cache server to find a random order or display without reordering, thereby reducing the load pressure of the application server, improve the response speed.

[0053]例如,任务服务器中可每隔1分钟读取五子棋游戏桌对应的服务器信息,然后按照游戏人数从小到大排序,排序后在将其存储回缓存服务器。 [0053] For example, every other server in the server task information read backgammon game table corresponding to one minute, and then small to large in accordance with the number of players, after sorting stored in the cache back to the server.

[0054]进一步的,缓存服务器可包括内存缓存服务器和文件缓存服务器。 [0054] Further, the cache server may include a cache memory cache servers and file servers. 应用服务器可先由内存缓存服务器中读取服务器信息,若获取不到,则在文件缓存服务器中读取服务器伯息。 The application server can read the information first by the server memory cache server, if not obtain, the primary server to read the information in the file cache server.

[0055] 内存缓存服务器可以是基于memcache(—种高性能的分布式内存对象缓存系统, 可用于动态Web应用以减轻数据库负载。它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提高动态、数据库驱动网站的速度)的服务器,内存缓存服务器读写较快,但其宕机时数据会丢失;文件缓存服务器则为直接将数据缓存在磁盘等存储介质上的存储器,其读写速度较慢,但其宕机时数据不会丢失。 [0055] The memory may be a cache server based memcache (- kind of high-performance distributed memory object caching system, dynamic Web applications can be used to reduce it to reduce the number of database load is read by the database cache data in memory and objects. thus improving dynamic, database-driven Web site speed) servers, server memory cache read and write faster, but its downtime when data is lost; cache file server data directly compared to the cache memory on the disk and other storage media for reading write slower, but the data is not lost when it is down. 设置内存缓存服务器,并以文件缓存服务器作为备份,可以在保证系统稳定的情况下提高缓存读取速度。 Set memory cache server, and a file server as a backup cache, the cache can improve the reading speed in the case where the system stable.

[0056] 在一个实施例中,如图2所示,一种展示服务器信息的系统,包括业务服务器1〇、 Redis服务器20、任务服务器30、缓存服务器40以及应用服务器50,其中: [0056] In one embodiment, shown in Figure 2, a system server display information, including business server 1〇, the Redis server 20, the role server 30, the cache server 40 and an application server 50, wherein:

[0057] 业务服务器10用于生成服务器信息,并将其写入Redis服务器20。 [0057] The service server 10 for generating the server information, server 20 and writes it Redis.

[0058] Red is服务器20用于存储业务服务器1 〇发送的服务器信息。 [0058] Red is a server information storage server 20 the service server 1 billion sent.

[0059] 任务服务器30用于由Redi s服务器2〇中读取服务器信息,并将其发送到缓存服务器40。 [0059] The server task 30 for reading the information from the server 2〇 Redi s server, and the server sends it to the cache 40.

[0060]缓存服务器40用于存储任务服务器3〇发送的服务器信息。 [0060] The cache server 40 stores a server task information transmitted from the server 3〇.

[0061] 应用服务器50用于接收上传的信息查看请求,由缓存服务器40中读取与信息查看请求对应的服务器信息并展示。 [0061] The application server 50 receives a request to view the uploaded information is read by the cache server requests the server 40 to view the information and present corresponding information.

[0062] 在本实施例中,业务服务器10还用于接收应用服务器5〇发起的业务服务器登录请求,根据业务服务器登录请求生成相应的服务器信息。 [0062] In the present embodiment, the service server 10 to the service server further receives a login request initiated by the application server 5〇, according to the service server registration request generating a corresponding server information.

[0063] 在本实施例中,如图3所示,展示服务器信息的系统还包括持久化存储服务器6〇, 业务服务器10还用于将生成的服务器信息写入持久化存储服务器60。 [0063] In the present embodiment, as shown in FIG. 3, the information display system further comprises a server persistent storage 6〇 server, the service server 10 is also used to write information to the generated persistent storage server 60 server.

[0064]在本实施例中,服务器信息包括类型信息; [0064] In the present embodiment, the server information includes type information;

[0065] 任务服务器30还用于调用线程由缓存服务器4〇中读取与类型信息对应的服务器信息,并对其进行排序,排序后将其回写到缓存服务器4〇中。 [0065] Task Server 30 is also used by the calling thread reading the cache server 4〇 with server information corresponding to the type of information, and sort, the sort that will write back to the cache server 4〇.

[0066] 在本实施例中,如图3所示,缓存服务器40包括内存缓存服务器42和文件缓存服务器44; [0066] In the present embodiment, as shown in FIG. 3, the cache server memory cache 40 comprises a server 42 and the file server 44 caches;

[0067] 应用服务器50还用于先由内存缓存服务器42中读取服务器信息,若获取不到,则在文件缓存服务器44中读取服务器信息。 [0067] The application server 50 is further configured to read the server information first by the server 42 in cache memory, if not acquired, the server reads the information stored in the file cache server 44.

[0068]上述展示服务器信息的方法和系统,通过Redis服务器对服务器信息进行存储,并由任务服务器写入到缓存服务器中,用户在访问应用服务器之后,应用服务器可由缓存服务器中读取最新的服务器信息并展示给用户,与传统技术中通过数据库查询得到服务器信息相比,由于是由Redis服务器存储服务器信息,因此减少了数据库操作,从而提高了响应速度。 [0068] The server information display method and system, by Redis server information storage server, the server task writes to the cache by the server, after the user accesses the application server, the application server reads the latest server may cache server and the information presented to the user, compared with the conventional art server information obtained by the database queries, since the server storage Redis server information, thus reducing the database operations, thereby improving the response speed. 用户在等待应用服务器返回的服务器信息时可耗费较少的时间,且由于不会执行sql 语句在数据库中查询,因此缓解了数据库压力,从而提高了运行效率。 User while waiting for the server application information returned by the server can spend less time, and because the statement does not execute sql query in the database, the database eased the pressure, thereby improving operating efficiency.

[0069]本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 [0069] Those of ordinary skill in the art may understand that the above-described method embodiments all or part of the processes may be related hardware instructed by a computer program, the program may be stored in a computer readable storage medium. when the program is executed, the processes of the foregoing method embodiments. 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。 Wherein the storage medium may be a magnetic disk, an optical disk, read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

[0070]以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而^解为对本发明专利范围的限制。 [0070] Expression of the above-described embodiments are only several embodiments of the present invention, and detailed description thereof is more specific, but can not therefore ^ solution to limit the scope of the present invention. 应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。 It should be noted that those of ordinary skill in the art, without departing from the spirit of the present invention, can make various changes and modifications, which fall within the protection scope of the present invention. 因此,本发明专利的保护范围应以所附权利要求为准。 Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims (8)

  1. 1. 一种展示服务器信息的方法,包括: 业务服务器生成服务器信息,并将其写入Redis服务器;所述服务器信息包括类型信息; 任务服务器由所述Redis服务器中读取服务器信息,并将其发送到缓存服务器中存储; 所述任务服务器调用线程由所述缓存服务器中读取与所述类型信息对应的服务器信息,并对其进行排序,排序后将其回写到所述缓存服务器中; 应用服务器接收上传的信息查看请求,由所述缓存服务器中读取与所述信息查看请求x寸白勺月艮m言肩、岁〇 An information display server, comprising: a service information server generates a server, and writes it Redis server; the server information includes type information; server task information read by the server Redis server, and sent to the cache memory in the server; the server task calling thread to read the server information corresponding to the type information from the cache server, and sort, sort which will be written back to the cache server; application server receives a request to view the uploaded information read by the cache server in the request information View inch x m Burgundy white spoon made the shoulder months, years square
  2. 2. 根据权利要求1所述的展示服务器信息的方法,其特征在于,所述业务服务器生成服务器信息的步骤包括: 所述业务服务器接收所述应用服务器发起的业务服务器登录请求,根据所述业务服务器登录请求生成相应的服务器信息。 The server information display method according to claim 1, wherein the step of generating the service server information server comprises: receiving said service server service server login request initiated by the application server, according to the service server login request information generated corresponding to the server.
  3. 3. 根据权利要求1所述的展示服务器信息的方法,其特征在于,所述业务服务器获取服务器信息的步骤之后还包括: 所述业务服务器将所述生成的服务器信息写入持久化存储服务器。 The server information display method according to claim 1, wherein, after the step of obtaining server information service server further comprises: the service server, the server information generated by writing to a persistent storage server.
  4. 4. 根据权利要求1所述的展示服务器信息的方法,其特征在于,所述缓存服务器包括内存缓存服务器和文件缓存服务器; i 所述应用服务器由所述缓存服务器中读取与所述信息查看请求对应的服务器信息的步骤包括: ^ 所述应用服务器先由所述内存缓存服务器中读取服务器信息,若获取不到,则在所述文件缓存服务器中读取服务器信息。 The server information display method according to claim 1, wherein said cache memory comprises a cache server caching servers and file servers; I read by the application server and the cache server in the View step server information corresponding to the request comprises: the application server reads the ^ first by the information server memory cache server, if not acquired, the server reads the information in the file cache server.
  5. 5. —种展示服务器信息的系统,其特征在于,包括业务服务器、Redis服务器、任务服务器、缓存服务器以及应用服务器,其中: i 所述业务服务器用于生成服务器信息,并将其写入此心3服务器;所述服务器信息包括类型信息; 所述Red is服务器用于存储所述业务服务器发送的服务器彳曰息; 所述任务服务器用于由所述Redis服务器中读取服务器信息,并将其发送到缓存服务器; 所述任务服务器还用于调用线程由所述缓存服务器中读取与所述类型信息对应的服务器信息,并对其进行排序,排序后将其回写到所述缓存服务器中; 所述缓存服务器用于存储所述任务服务器发送的服务器信息; 、、士所述应用服务器用于接收上传的信息查看请求,由所述缓存服务器中读取与所述信息查看请求对应的服务器信息并展示。 5. - kind of server information display system, characterized by comprising service server, the Redis server, the role server, the cache server and an application server, wherein: i said service server for generating the server information, and writes it to the heart of this a server 3; the server information includes type information; Red is the server to the service server sends a server storing said information of the left foot; task server for reading the information provided by the server Redis server, and sent to the cache server; the task server is further configured to be read by the calling thread cache server with server information corresponding to the category information, and sort, sort which will be written back to the cache server ; Shi server ,, the application server for receiving a request to view information uploaded, the information read by said view request corresponding to a cache server; server to the cache server stores the job information sent by the server and display information. ,
  6. 6. 根据权利要求5所述的展示服务器信息的系统,其特征在于,所述业务服务器还用于接收所述应用服务器发起的业务服务器登录请求,根据所述业务服务器登录请求生成相应的服务器信息。 6. The system of claim 5 display information server according to claim, wherein said service server further receives a service server registration request initiated by the application server, according to the service server registration request to the appropriate server information generated .
  7. 7.根据权利要求5所述的展示服务器信息的系统,其特征在于,所述系统还包括持久化存储服务器; 所述业务服务器还用于将所述生成的服务器信息与入持久化存储服务器。 7. The information display system of the server as claimed in claim 5, characterized in that the system further comprises a persistent storage server; the service server is further configured to generate the information server and the server into the persistent store.
  8. 8.根据权利要求5所述的展示服务器信息的系统,其特征在于,所述缓存服务器包括内存缓存服务器和文件缓存服务器; 所述应用服务器还用于先由所述内存缓存服务器中读取服务器信息,若获取不到,则在所述文件缓存服务器中读取服务器信息。 The server information display system according to claim 5, wherein said cache memory comprises a cache server caching server and the file server; the first by the application server is further configured to read the server memory cache server information, if not acquired, the server reads the information in the file cache server.
CN 201310486295 2013-10-16 2013-10-16 The method and apparatus of the server information display CN104580294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310486295 CN104580294B (en) 2013-10-16 2013-10-16 The method and apparatus of the server information display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310486295 CN104580294B (en) 2013-10-16 2013-10-16 The method and apparatus of the server information display

Publications (2)

Publication Number Publication Date
CN104580294A true CN104580294A (en) 2015-04-29
CN104580294B true CN104580294B (en) 2017-12-01

Family

ID=53095473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310486295 CN104580294B (en) 2013-10-16 2013-10-16 The method and apparatus of the server information display

Country Status (1)

Country Link
CN (1) CN104580294B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357306A (en) * 2015-11-17 2016-02-24 贵阳朗玛信息技术股份有限公司 Multi-platform data sharing system and data sharing method therefor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1278619A (en) * 1999-06-22 2001-01-03 现代电子产业株式会社 Automatized system and method for use in semi-conductor factory
CN1556491A (en) * 2003-12-30 2004-12-22 北京金山数字娱乐科技有限公司 Servicer system
CN101582775A (en) * 2008-05-12 2009-11-18 富士通株式会社 Server managing apparatus and server managing method
CN103095819A (en) * 2013-01-04 2013-05-08 微梦创科网络科技(中国)有限公司 Data information pushing method and data information pushing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100910517B1 (en) * 2007-03-21 2009-07-31 엔에이치엔비즈니스플랫폼 주식회사 System and method for expanding target inventory according to borwser-login mapping

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1278619A (en) * 1999-06-22 2001-01-03 现代电子产业株式会社 Automatized system and method for use in semi-conductor factory
CN1556491A (en) * 2003-12-30 2004-12-22 北京金山数字娱乐科技有限公司 Servicer system
CN101582775A (en) * 2008-05-12 2009-11-18 富士通株式会社 Server managing apparatus and server managing method
CN103095819A (en) * 2013-01-04 2013-05-08 微梦创科网络科技(中国)有限公司 Data information pushing method and data information pushing system

Also Published As

Publication number Publication date Type
CN104580294A (en) 2015-04-29 application

Similar Documents

Publication Publication Date Title
Baker et al. Megastore: Providing scalable, highly available storage for interactive services.
US20140304590A1 (en) Phased Generation and Delivery of Structured Documents
US20140379670A1 (en) Data Item Deletion in a Database System
US8515737B2 (en) Systems for dynamically generating and presenting narrative content
US20120158783A1 (en) Large-scale event evaluation using realtime processors
US20160042014A1 (en) Distributed database in software driven networks
CN102156738A (en) Method for processing data blocks, and data block storage equipment and system
US20110078333A1 (en) Synchronization of server-side cookies with client-side cookies
CN101566986A (en) Method and device for processing data in online business processing
US8171114B1 (en) System using specific geographic area multi-level caches for caching application data
Barahmand et al. BG: A Benchmark to Evaluate Interactive Social Networking Actions.
US20140179424A1 (en) Systems and Methods for Tagging Content of Shared Cloud Executed Mini-Games and Tag Sharing Controls
Ravi et al. A survey on dynamic Web content generation and delivery techniques
US20090125526A1 (en) System and method for providing automated non-volatile offline access to relational data
US20130191451A1 (en) Presence-based Synchronization
US7437769B2 (en) Multiple entity control of access restrictions for media playback
Indrawan-Santiago Database research: Are we at a crossroad? Reflection on NoSQL
US7984015B2 (en) Database workload capture and replay architecture
US8088011B2 (en) Dynamic debugging dump for game console
US20080052412A1 (en) Distributed portel system, content page creation server and recording medium
Chun et al. Mobius: unified messaging and data serving for mobile apps
CN102281320A (en) The method of controlling the cloud storage and data redundancy means
US20130117234A1 (en) Database Log Parallelization
US8307101B1 (en) Generic format for storage and query of web analytics data
US20160147812A1 (en) Garbage Collection of Versions Driving the Garbage Collection of Multi-Version Concurrency Control Timestamps

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C41 Transfer of patent application or patent right or utility model
GR01