CN105407075B - The method and system of service logic - Google Patents

The method and system of service logic Download PDF

Info

Publication number
CN105407075B
CN105407075B CN201410466665.1A CN201410466665A CN105407075B CN 105407075 B CN105407075 B CN 105407075B CN 201410466665 A CN201410466665 A CN 201410466665A CN 105407075 B CN105407075 B CN 105407075B
Authority
CN
China
Prior art keywords
layers
command word
data packet
lua
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410466665.1A
Other languages
Chinese (zh)
Other versions
CN105407075A (en
Inventor
陈博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Burson Marsteller Network Game Development (shenzhen) Co Ltd
Original Assignee
Burson Marsteller Network Game Development (shenzhen) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Burson Marsteller Network Game Development (shenzhen) Co Ltd filed Critical Burson Marsteller Network Game Development (shenzhen) Co Ltd
Priority to CN201410466665.1A priority Critical patent/CN105407075B/en
Publication of CN105407075A publication Critical patent/CN105407075A/en
Application granted granted Critical
Publication of CN105407075B publication Critical patent/CN105407075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

The present invention provides a kind of method and systems of service logic.The described method includes: obtaining protocol command word by the data packet received at C++ layers obtains parameter according to obtained protocol analysis data packet to obtain agreement as defined in corresponding lua file;Corresponding protocol command word processing function in lua layers is obtained according to the protocol command word;By the incoming protocol command word processing function acquired of the parameter, to realize service logic.The system comprises: data packet handing module, function obtain module and business logic processing module.Using present invention is easily extended can improve the flexibility of service logic.

Description

The method and system of service logic
Technical field
The present invention relates to Computer Applied Technologies, more particularly to a kind of method and system of service logic.
Background technique
With the development of computer technology, developer often passes through the various server engines of exploitation and realizes that various businesses are patrolled Volume.For example, the server engine by exploitation realizes game service logic.
Traditional server engine after reception of the data packet, the data packet pressure that will be received directly by way of stack To the lua (a kind of dynamically typed language) in server engine, layer is parsed, so that server engine is in data exchange There is the losses of certain performance for aspect.
Therefore, in order to reduce performance loss of the server engine in data exchange, the C++ in server engine will be passed through The packet header of layer parsing data packet, and according to different command words come the backpack body in read data packet.
But the limitation for being unfavorable for extension will be present in this, that is to say, that when a new plus command word, modification one When the data volume of agreement, the modification for carrying out C++ code is required, and recompilated, lack flexibility.
Summary of the invention
Based on this, it is necessary to which needle provides a kind of implementation method of service logic for being easy to extend, capable of improving flexibility.
In addition, there is a need to provide a kind of realization system of service logic for being easy to extend, flexibility capable of being improved.
A kind of implementation method of service logic, includes the following steps:
Protocol command word is obtained by the data packet received at C++ layers, to obtain agreement as defined in corresponding lua file, Parameter is obtained according to obtained protocol analysis data packet;
Corresponding protocol command word processing function in lua layers is obtained according to the protocol command word;
By the incoming protocol command word processing function acquired of the parameter, to realize service logic.
It is described in one of the embodiments, that protocol command word is obtained by the data packet received at C++ layers, to obtain phase Agreement as defined in the lua file answered, the step of obtaining parameter according to obtained protocol analysis data packet include:
Server is initialized, and parses the lua file to obtain the agreement for including in the lua file, described in storage Obtained agreement.
It is described in one of the embodiments, that protocol command word is obtained by the data packet received at C++ layers, to obtain phase Agreement as defined in the lua file answered, the step of obtaining parameter according to obtained protocol analysis data packet include:
It is received by C++ layers and is sent to the data packet that server request carries out business logic processing;
C++ layers obtain protocol command word from the packet header of data packet;
The C++ layers of agreement searched according to protocol command word by including in the lua file, according to the association found View, parses the data packet to obtain parameter.
In one of the embodiments, the method also includes:
According to the interface in C++ described in the event call-back currently triggered in lua layers described layers, in C++ layers described Interface calls the module being arranged in C++ layers described to realize the event currently triggered.
The event currently triggered includes writing log event, timer event, server in one of the embodiments, Event, client event and database manipulation event.
A kind of realization system of service logic, comprising:
Data packet handing module, it is corresponding to obtain for obtaining protocol command word by the data packet received at C++ layers Agreement as defined in lua file obtains parameter according to obtained protocol analysis data packet;
Function obtains module, for obtaining corresponding protocol command word processing letter in lua layers according to the protocol command word Number;
Business logic processing module, for the parameter to be passed to the protocol command word processing function acquired, To realize service logic.
In one of the embodiments, the system also includes:
Initialization module for initializing server, and parses the lua file to obtain including in the lua file Agreement, the agreement obtained described in storage.
The data packet handing module includes: in one of the embodiments,
Receiving unit, for receiving the data packet for being sent to server request and carrying out business logic processing by C++ layers;
Packet header extraction unit, for obtaining protocol command word from the packet header of data packet by C++ layers;
Search resolution unit, for by C++ layers according to the lookup of protocol command word by the association that includes in the lua file View parses data packet according to the agreement found to obtain parameter.
In one of the embodiments, the system also includes:
Callback module passes through for the interface in the C++ according to the event call-back currently triggered in lua layers described layers Interface in C++ layers described calls the module being arranged in C++ layers described to realize the event currently triggered.
The event currently triggered includes writing log event, timer event, server in one of the embodiments, Event, client event and database manipulation event.
The method and system of above-mentioned service logic obtains protocol command word by the data packet received in C++ layers, To obtain agreement as defined in lua file, the data packet that obtained protocol analysis receives, to obtain the ginseng for including in data packet Number obtains corresponding protocol command word processing function in lua layers according to the protocol command word, and the parameter transmission that parsing obtains is obtained The protocol command word processing function obtained, to realize the processing of service logic, since the parsing of data packet is advised in lua file It is realized under fixed agreement effect by C++ layers, lua file can be reloaded dynamically, therefore, need to be added new association When view, it is only necessary to modify lua file, not need the modification and recompility that carry out C++ code, extension will have been greatly improved Property and flexibility.
Detailed description of the invention
Fig. 1 is the flow chart of the implementation method of service logic in one embodiment;
Fig. 2 is to obtain protocol command word by the data packet received at C++ layers in Fig. 1, to obtain corresponding lua file rule Fixed agreement obtains the method flow diagram of parameter according to obtained protocol analysis data packet;
Fig. 3 is the structural schematic diagram of the realization system of service logic in one embodiment;
Fig. 4 is the structural schematic diagram of data packet handing module in Fig. 3.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
As shown in Figure 1, in one embodiment, a kind of implementation method of service logic includes the following steps:
Step 110, protocol command word is obtained by the data packet received at C++ layers, to obtain agreement as defined in lua file In agreement corresponding with the protocol command word, according to the obtained protocol analysis data packet to obtain and the protocol command word Corresponding parameter.
In the present embodiment, the server for realizing service logic includes C++ layers and the lua that interacts with C++ layers Layer, wherein C++ layers use C Plus Plus, to provide abundant, even increasingly complex algorithm, realize various businesses for server Logic provides basis;Lua layers use lua language, for neatly completing various businesses logic.
The lua file of various agreements is contained specifically, presetting, after reception of the data packet, C++ layers will carry out The processing of data packet middle wrapping head, to obtain protocol command word included in packet header, read in the agreement of storage with it is obtained The corresponding agreement of protocol command word carries out the protocol analysis of data packet, with the agreement obtained according to reading to complete in data packet The processing of backpack body, thus obtain it includes parameter corresponding with the protocol command word in packet header.Wherein, the agreement of the storage It is to read after server initiation obtained by lua file and store, in order to which the data packet of subsequent progress is handled.
The C++ layers of parsing obtained protocol command word of data packet indicate network corresponding to the data packet for currently receiving and obtaining The agreement of event;Obtained parameter is the parameter that realization currently receives network event corresponding to obtained data packet.
For example, network event corresponding to the C++ layers of data packet currently parsed is the log-in events of client triggering, then solve Analysing the obtained parameter of data packet is log-on message, i.e. user identifier and user password corresponding to the client.
Step 130, corresponding protocol command word processing function in lua layers is obtained according to protocol command word.
In the present embodiment, lua layers will realize various businesses logic as the application layer in server.Service logic is triggered Various events will by call lua layers in various functions handle, to realize the response of the event.
That is, the interface provided by C++ layers is transmitted in lua layers by the various events triggered in server, into And by the lua layers of response event, corresponding function is realized.
The lua language used due to lua layers is the lightweight language for extending C++ programming, more understandable, therefore, right For developer, the difficulty of coding is reduced, does not need to expend excessive learning cost, so that based on server Various businesses logic development speed greatly improves, and effectively shortens the development cycle of service logic.
Each protocol command word has corresponding protocol command word processing function, therefore, by what is obtained according to parsing Protocol command word, which acquires, to be present in lua layers and corresponding protocol command word processing function.
Specifically, the protocol command word in lua layers can be obtained by CProtocal::get_message (cmd) method Handle function, wherein the cmd is the parsing obtained protocol command word of data packet.
Step 150, by the incoming protocol command word processing function got of the parameter, to realize service logic.
In the present embodiment, the parameter that resolve packet obtains will be carried out and be transmitted to protocol command corresponding with protocol command word Word processing function realizes corresponding service logic to execute protocol command function of word.
Further, it can be explained for the interpreter of analysis protocol order function of word for lua interpreter or luajit Device, preferably luajit interpreter.Luajit interpreter is the interpreter of JIT type, since luajit interpreter passes through JIT skill Art is run after lua code is compiled into machine code as far as possible, therefore, is compiled compared to by the lua that lua code compilation is bytecode For device, execution efficiency is greatly improved, and then effectively increases lua layers of performance.
In one embodiment, before above-mentioned steps 110, method as described above further include:
Server is initialized, parses lua file to obtain the agreement for including in the lua file, and the association that storage obtains View.
In the present embodiment, when server initiation, C++ layers obtain pre-set lua files and are parsed, to obtain Several agreements for including in lua file, and store several agreements for including in lua file.
As shown in Fig. 2, in one embodiment, the detailed process of above-mentioned steps 110 are as follows:
Step 111, it is received by C++ layers and is sent to the data packet that server request carries out business logic processing.
In the present embodiment, server receives the data packet that request carries out business logic processing, the data packet pair by C++ layers The network event of the business triggering run in reply server.
Step 113, protocol command word is obtained from the packet header of data packet for C++ layers.
Step 115, it is searched according to protocol command word by the agreement that includes in lua file for C++ layers, according to finding and this The corresponding agreement of protocol command word parses data packet to obtain parameter corresponding with the protocol command word.
In the present embodiment, C++ layers parse lua file to when initializing server according to the protocol command word obtained by packet header It is searched in the agreement saved, to obtain can be used for the agreement for currently receiving obtained data packet and being parsed, in turn Parameter corresponding with the protocol command word is obtained according to the data packet that obtained protocol analysis currently receives is searched.
Wherein, the agreement for including in lua file will be in the form of { command word, parameter list, description, lua call back function } In the presence of, wherein command word is the corresponding protocol command word of corresponding network event, and parameter list will be formatted by C++ layers The reading of parameter describes the meaning that this field will be used to describe the parameter and be indicated;Lua call back function designation date Packet analyzing The function of the lua layer called after completion.
In another embodiment, method as described above further include:
According to the interface in C++ layers of the event call-back currently triggered in lua layers, C++ layers are called by the interface in C++ layers The module of middle setting realizes the event currently triggered.
In the present embodiment, the event currently triggered includes the parsing of data packet and sends event, writes log event, timer Event, server event, client event and database manipulation event.Correspondingly, will also be provided with data packet mould in C++ layers Block, log module, timer module, server module, client modules and database operating modules, so that lua layers of active are adjusted With.
All input-output operation, network connection, all will be at C++ layers to operation, connection of server of database etc. In safeguarded, and lua layers are merely responsible for specific service logic, and between lua layers and C++ layers by the interface of exposure into The mutual active of row is called and readjustment.
When further, for needing the business datum generated to lua layers to send, by the parsing of trigger data packet and Transmission event, to call the parsing and transmission that carry out data packet corresponding to business datum in the interface in C++ layers.
For writing log event corresponding to lua layers, error log (mistake day will be recorded respectively by log module Will), info log (information log) and debug log (debugging log), in front stage operation server, all logs all will be defeated Out into the console of server;When guarding operation, debug log will not be exported, and info log and error log then export To journal file.
The timer event that lua layers are triggered comprising starting timer event stops timer event, again It opens timer event and removes timer event.Timer adjusts back the interface in lua layers to constantly, will trigger time out event, To realize the processing of timer.
For server event, processing will be used for and receive client connection;It will be for realizing long-range for client event The active of server connects.That is, the client event that will be triggered to business in lua layers, will pass through lua layers and C++ Interface between layer calls the connection of the server module realization designated remote server in C++ layers.
For database manipulation event, for example, the database can be mysql (Relational DBMS), with logical The interface crossed in lua layers and C++ layers calls database operating modules, to execute database manipulation.
By the implementation method of service logic as described above, the code development of Service Process Server will be effectively increased Efficiency, and since lua language is easy to get started, there is no the pointer type mistake of C language, efficiently avoid lacking C exploitation There is memory pointer type error in the backstage developer of experience, and need to only be familiar with lua code can start to carry out service logic clothes The exploitation of business device, reduces the development difficulty of Service Process Server.
As shown in figure 3, in one embodiment, a kind of realization system of service logic, including data packet handing module 310, function obtains module 330 and business logic processing module 350.
Data packet handing module 310, for obtaining protocol command word by the data packet received at C++ layers, to obtain phase Agreement as defined in the lua file answered obtains parameter according to obtained protocol analysis data packet.
In the present embodiment, the server for realizing service logic includes C++ layers and the lua that interacts with C++ layers Layer, wherein C++ layers use C Plus Plus, to provide abundant, even increasingly complex algorithm, realize various businesses for server Logic provides basis;Lua layers use lua language, for neatly completing various businesses logic.
The lua file of various agreements is contained specifically, presetting, after reception of the data packet, data packet processing Module 310 will carry out the processing of data packet middle wrapping head by C++ layers, to obtain protocol command word included in packet header, according to Obtained protocol command word reads the agreement of storage, carries out the protocol analysis of data packet, with the agreement obtained according to reading with complete At the processing of backpack body in data packet, obtain it includes parameter.Wherein, the agreement of storage is reading lua file institute after initialization It obtains and stores, in a preferred embodiment, after initialization, message_ will be stored in by the agreement in lua file In table, in order to the data packet processing carried out.
The obtained protocol command word instruction of C++ layers of parsing data packet currently receives network thing corresponding to obtained data packet The agreement of part;Obtained parameter is the parameter that realization currently receives network event corresponding to obtained data packet.
For example, network event corresponding to the C++ layers of data packet currently parsed is the log-in events of client triggering, then count According to packet handing module 310 parse the obtained parameter of data packet be the client corresponding to log-on message, i.e., user identifier and User password.
Function obtains module 330, for obtaining corresponding protocol command word processing letter in lua layers according to protocol command word Number.
In the present embodiment, lua layers will realize various businesses logic as the application layer in server.Service logic is triggered Various events will by call lua layers in various functions handle, to realize the response of the event.
That is, the interface provided by C++ layers is transmitted in lua layers by the various events triggered in server, into And by the lua layers of response event, corresponding function is realized.
The lua language used due to lua layers is the lightweight language for extending C++ programming, more understandable, therefore, right For developer, the difficulty of coding is reduced, does not need to expend excessive learning cost, so that based on server Various businesses logic development speed greatly improves, and effectively shortens the development cycle of service logic.
Each protocol command word has corresponding protocol command word processing function, and therefore, function obtains module 330 will The protocol command word processing letter being present in lua layers, and corresponding is acquired according to the protocol command word that parsing obtains Number.
Specifically, function, which obtains module 330, can obtain lua by CProtocal::get_message (cmd) method Protocol command word processing function in layer, wherein the cmd is the parsing obtained protocol command word of data packet.
Business logic processing module 350, for the parameter to be passed to the protocol command word processing function got, with reality Existing service logic.
In the present embodiment, business logic processing module 350 will carry out the obtained parameter of resolve packet and be transmitted to and agreement The corresponding protocol command word processing function of command word, realizes corresponding service logic to execute protocol command function of word.
Further, it can be explained for the interpreter of analysis protocol order function of word for lua interpreter or luajit Device, preferably luajit interpreter.Luajit interpreter is the interpreter of JIT type, since luajit interpreter passes through JIT skill Art is run after lua code is compiled into machine code as far as possible, therefore, is compiled compared to by the lua that lua code compilation is bytecode For device, execution efficiency is greatly improved, and then effectively increases lua layers of performance.
In one embodiment, system as described above further includes initialization module.The initialization module is for initializing Server parses lua file to obtain the agreement for including in lua file, and the agreement that storage obtains.
In the present embodiment, when initialization module initializes server, pre-set lua is obtained by C++ layers File is parsed, to obtain several agreements for including in lua file, and store several agreements for including in lua file.
As shown in figure 4, in one embodiment, above-mentioned data packet handing module 310 is mentioned including receiving unit 311, packet header It takes unit 313 and searches resolution unit 315.
Receiving unit 311, for receiving the data packet for being sent to server request and carrying out business logic processing.
In the present embodiment, the data packet that receiving unit 311 receives has been corresponded to the business triggering run in server Network event.
Packet header extraction unit 313, for obtaining protocol command word from the packet header of data packet by C++ layers.
Search resolution unit 315, for by C++ layers according to the lookup of protocol command word by the agreement that includes in lua file, According to the agreement found, data packet is parsed to obtain parameter corresponding with the protocol command word.
In the present embodiment, search resolution unit 315 according to the protocol command word obtained by packet header to initialization server when It is searched in the agreement that is saved of parsing lua file, to obtain can be used for parsing to currently receiving obtained data packet Agreement, and then according to search the data packet that obtained protocol analysis currently receives obtain it is corresponding with the protocol command word Parameter.
Wherein, the agreement for including in lua file will be in the form of { command word, parameter list, description, lua call back function } In the presence of, wherein command word is the corresponding protocol command word of corresponding network event, and parameter list will be formatted by C++ layers The reading of parameter describes the meaning that this field will be used to describe the parameter and be indicated;Lua call back function designation date Packet analyzing The function of the lua layer called after completion.
In another embodiment, system as described above further comprises callback module.The callback module is used for according to lua The interface in C++ layers of event call-back currently triggered in layer calls the module of C++ layers of setting to realize by the interface in C++ layers The event currently triggered.
In the present embodiment, the event currently triggered includes the parsing of data packet and sends event, writes log event, timer Event, server event, client event and database manipulation event.Correspondingly, will also be provided with data packet mould in C++ layers Block, log module, timer module, server module, client modules and database operating modules, so that lua layers of active are adjusted With.
All input-output operation, network connection, all will be at C++ layers to operation, connection of server of database etc. In safeguarded, and lua layers are merely responsible for specific service logic, and between lua layers and C++ layers by the interface of exposure into The mutual active of row is called and readjustment.
When further, for needing the business datum generated to lua layers to send, callback module is by trigger data packet Parsing and send event, to call in the interface in C++ layer the parsing and transmission of data packet corresponding to progress business datum.
For writing log event corresponding to lua layers, callback module will be recorded respectively by log module error log, Info log and debug log, in front stage operation server, all logs will be all output in the console of server;It keeps When shipping sth. under guard row, debug log will not be exported, and info log and error log are then output to journal file.
The timer event that lua layers are triggered comprising starting timer event stops timer event, again It opens timer event and removes timer event.For timer to constantly, callback module will trigger time out event, adjust back lua layers In interface, to realize the processing of timer.
For server event, processing will be used for and receive client connection;It will be for realizing long-range for client event The active of server connects.That is, the client event that will be triggered to business in lua layers, callback module will pass through lua Interface between layer and C++ layers calls the connection of the server module realization designated remote server in C++ layers.
For database manipulation event, for example, the database can be mysql, to pass through the interface in lua layers and C++ layers Database operating modules are called, to execute database manipulation.
By the implementation method of service logic as described above, the code development of Service Process Server will be effectively increased Efficiency, and since lua language is easy to get started, there is no the pointer type mistake of C language, efficiently avoid lacking C exploitation There is memory pointer type error in the backstage developer of experience, and need to only be familiar with lua code can start to carry out service logic clothes The exploitation of business device, reduces the development difficulty of Service Process Server.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, described program can be stored in a computer-readable storage medium In, in the embodiment of the present invention, which be can be stored in the storage medium of computer system, and by the computer system At least one processor executes, and includes the process such as the embodiment of above-mentioned each method with realization.Wherein, the storage medium can be Magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. a kind of implementation method of service logic, includes the following steps:
Server is initialized, parses lua file to obtain the agreement for including in the lua file, and obtained described in storage Agreement;
Protocol command word is obtained by the data packet that receives at C++ layers, with obtain in agreement as defined in lua file with the agreement The corresponding agreement of command word obtains ginseng corresponding with the protocol command word according to the obtained protocol analysis data packet Number;
Corresponding protocol command word processing function in lua layers is obtained according to the protocol command word;
By the incoming protocol command word processing function got of the parameter, to realize service logic.
2. the method according to claim 1, wherein described obtain agreement by the data packet received at C++ layers Command word, to obtain agreement corresponding with the protocol command word in agreement as defined in lua file, according to the obtained agreement Data packet is parsed to include: the step of obtaining parameter corresponding with the protocol command word
It is received by C++ layers and is sent to the data packet that server request carries out business logic processing;
C++ layers obtain protocol command word from the packet header of data packet;
Agreement corresponding with the protocol command word in the C++ layers of agreement for searching the storage according to protocol command word, according to described Data packet described in the protocol analysis found is to obtain parameter corresponding with the protocol command word.
3. the method according to claim 1, wherein the method also includes:
According to the interface in C++ described in the event call-back currently triggered in lua layers described layers, pass through the interface in C++ layers described The module being arranged in C++ layers described is called to realize the event currently triggered.
4. according to the method described in claim 3, it is characterized in that, the event currently triggered includes writing log event, determining When device event, server event, client event and database manipulation event.
5. a kind of realization system of service logic characterized by comprising
Initialization module for initializing server, and parses lua file to obtain the agreement for including in the lua file, deposits The agreement obtained described in storage;
Data packet handing module, for obtaining protocol command word by the data packet received at C++ layers, to obtain corresponding lua Agreement as defined in file obtains parameter according to obtained protocol analysis data packet;
Function obtains module, for obtaining corresponding protocol command word processing function in lua layers according to the protocol command word;
Business logic processing module, for the parameter to be passed to the protocol command word processing function acquired, with reality Existing service logic.
6. system according to claim 5, which is characterized in that the data packet handing module includes:
Receiving unit, for receiving the data packet for being sent to server request and carrying out business logic processing by C++ layers;
Packet header extraction unit, for obtaining protocol command word from the packet header of data packet by C++ layers;
Search resolution unit, for by C++ layers according to the lookup of protocol command word by the agreement that includes in the lua file, root It is investigated that the agreement found, parses data packet to obtain parameter.
7. system according to claim 5, which is characterized in that the system also includes:
Callback module passes through the C for the interface in the C++ according to the event call-back currently triggered in lua layers described layers ++ the interface in layer calls the module being arranged in C++ layers described to realize the event currently triggered.
8. system according to claim 7, which is characterized in that the event currently triggered includes writing log event, determining When device event, server event, client event and database manipulation event.
CN201410466665.1A 2014-09-12 2014-09-12 The method and system of service logic Active CN105407075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410466665.1A CN105407075B (en) 2014-09-12 2014-09-12 The method and system of service logic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410466665.1A CN105407075B (en) 2014-09-12 2014-09-12 The method and system of service logic

Publications (2)

Publication Number Publication Date
CN105407075A CN105407075A (en) 2016-03-16
CN105407075B true CN105407075B (en) 2019-01-11

Family

ID=55472331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410466665.1A Active CN105407075B (en) 2014-09-12 2014-09-12 The method and system of service logic

Country Status (1)

Country Link
CN (1) CN105407075B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778301A (en) * 2016-12-05 2017-05-31 上海时年信息科技有限公司 Reliable cross-platform data storage method and system based on cocos2d x
CN107172013B (en) * 2017-04-18 2020-08-04 北京思特奇信息技术股份有限公司 Data transmission method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840415A (en) * 2010-03-15 2010-09-22 福建鑫诺通讯技术有限公司 Method for controlling local resources through LUA scripts under B/S structure
US20110058219A1 (en) * 2009-09-09 2011-03-10 Ricoh Company, Limited Printer driver, information processing apparatus, and computer program product
CN102810070A (en) * 2012-07-16 2012-12-05 福建富士通信息软件有限公司 High-performance professional ability packaging process engine and process control method thereof
CN103744656A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Method and device for data analysis
CN103825811A (en) * 2013-10-11 2014-05-28 江苏飞尚安全监测咨询有限公司 Implementation scheme for accessing sensor protocol self-identification IOT (internet of things) gateway

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404306B (en) * 2010-09-19 2014-07-16 腾讯科技(深圳)有限公司 Protocol configuration method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110058219A1 (en) * 2009-09-09 2011-03-10 Ricoh Company, Limited Printer driver, information processing apparatus, and computer program product
CN101840415A (en) * 2010-03-15 2010-09-22 福建鑫诺通讯技术有限公司 Method for controlling local resources through LUA scripts under B/S structure
CN102810070A (en) * 2012-07-16 2012-12-05 福建富士通信息软件有限公司 High-performance professional ability packaging process engine and process control method thereof
CN103825811A (en) * 2013-10-11 2014-05-28 江苏飞尚安全监测咨询有限公司 Implementation scheme for accessing sensor protocol self-identification IOT (internet of things) gateway
CN103744656A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Method and device for data analysis

Also Published As

Publication number Publication date
CN105407075A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
US9635098B2 (en) Open platform, open platform access system, storage medium, and method for allowing third party application to access open platform
CN106649084B (en) The acquisition methods and device of function call information, test equipment
US10769147B2 (en) Batch data query method and apparatus
US10339031B2 (en) Efficient method data recording
CN104182234B (en) A kind of method for processing business and operation system
CN104050080B (en) User space debugs the method and system of linux kernel
US10983815B1 (en) System and method for implementing a generic parser module
US8495593B2 (en) Method and system for state machine translation
CN105487987B (en) A kind of concurrent sequence of processing reads the method and device of IO
CN102779244B (en) Method and device for carrying out file operation
CN114244560B (en) Flow processing method and device, electronic equipment and storage medium
US11640464B2 (en) Protocol model learning and guided firmware analysis
CN105204917B (en) The method and device of loading configuration file in application program launching
CN110765464A (en) Vulnerability detection method, device, equipment and computer storage medium
US10579799B2 (en) System and method for execution of objects lacking rules of interpretation
RU2019120221A (en) How to find samples of malicious messages
CN105407075B (en) The method and system of service logic
CN115408193A (en) Method and device for processing error codes among multiple modules
CN111984346A (en) Method, system, device and storage medium for call chain tracking in micro-service environment
CN111553652A (en) Service processing method and device
CN110598419A (en) Block chain client vulnerability mining method, device, equipment and storage medium
CN109933411B (en) System and method for modifying internal configuration of virtual machine on line
CN111176980A (en) Data analysis method, device and system with separated debugging environment and running environment
KR102132449B1 (en) Method and apparatus for testing javascript interpretation engine based on rewriting
CN112883088A (en) Data processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant