CN108897800A - A kind of method, apparatus and system of managing log information - Google Patents

A kind of method, apparatus and system of managing log information Download PDF

Info

Publication number
CN108897800A
CN108897800A CN201810609648.7A CN201810609648A CN108897800A CN 108897800 A CN108897800 A CN 108897800A CN 201810609648 A CN201810609648 A CN 201810609648A CN 108897800 A CN108897800 A CN 108897800A
Authority
CN
China
Prior art keywords
log
information
pos terminal
content
identification
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.)
Granted
Application number
CN201810609648.7A
Other languages
Chinese (zh)
Other versions
CN108897800B (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201810609648.7A priority Critical patent/CN108897800B/en
Publication of CN108897800A publication Critical patent/CN108897800A/en
Application granted granted Critical
Publication of CN108897800B publication Critical patent/CN108897800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit

Abstract

The application provides the method, apparatus and system of a kind of managing log information, wherein the method includes:Receive the log more new data sent from point of sale POS terminal;Order note identification and log more new content are determined according to the log more new data;It is updated based on content of the log more new content to the corresponding log information of the order note identification, obtains updated log information.The application can be implemented as the log information that each order collects complete master and slave POS terminal, the courses of action for operating the master and slave POS terminal of the order can be determined according to the log information, the order abnormal problem that can may occur for subsequent solution provides foundation.

Description

A kind of method, apparatus and system of managing log information
Technical field
This application involves technical field of information processing more particularly to the method, apparatus and system of a kind of managing log information.
Background technique
Existing includes main POS (Point of Sales, a point of sale) terminal and multiple POS systems from POS terminal System when carrying out order processing, it is understood that there may be main POS terminal and from POS terminal processing same order information the case where.In this feelings Under condition, if exception occurs in order, server can only obtain the log information of main POS terminal, without obtaining the day from POS terminal Will information causes the log information obtained imperfect, and then the courses of action from POS terminal can not be determined according to log information, It will affect the solution of order abnormal problem.
Summary of the invention
In view of this, the application provides the method, apparatus and system of a kind of managing log information, can be searched for each order Collect complete log information, the order abnormal problem that may occur for subsequent solution provides foundation.
Specifically, the application is achieved by the following technical solution:
According to a first aspect of the present application, a kind of method of managing log information is proposed, including:
Receive the log more new data sent from point of sale POS terminal;
Order note identification and log more new content are determined according to the log more new data;
It is updated, is obtained more based on content of the log more new content to the corresponding log information of the order note identification Log information after new.
It in one embodiment, include timestamp in the log more new data;
It is described to be updated based on content of the log more new content to the corresponding log information of the order note identification, packet It includes:
According to the timestamp, the log more new content is added in the corresponding log information of the order note identification.
In one embodiment, described that log more new content is determined according to the log more new data, including:
The identification information from POS terminal and at least one operation service letter are extracted from the log more new data Breath;
Log is generated according to the identification information from POS terminal and the corresponding relationship of each operation service information to update Content.
In one embodiment, the operation service information includes operation service mark and operation service content;
It is described to generate log from the identification information of POS terminal and the corresponding relationship of each operation service information according to More new content, including:
It is identified according to the identification information from POS terminal, the operation service and the correspondence of the operation service content Relationship generates log more new content.
In one embodiment, the method also includes:
Request is established in response to the Socket long connection that server-side is sent, establishes Socket long connection with the server-side;
Updated log information is based on the Socket long connection and is sent to the server-side.
In one embodiment, the method also includes:
The log acquisition request that server-side is sent is received, includes target order note identification, target in the log acquisition request At least one of in the identification information and object run service identification of POS terminal;
It is described that updated log information is sent to the server-side based on the Socket long connection, including:
If including target order note identification in the log acquisition request, requested in response to the log acquisition, it will be described The corresponding log information of target order note identification is based on the Socket long connection and is sent to the server-side;
If including the identification information of target POS terminal in the log acquisition request, asked in response to the log acquisition It asks, the corresponding log information of identification information of the target POS terminal is based on the Socket long connection and is sent to the clothes Business end;
If including object run service identification in the log acquisition request, requested in response to the log acquisition, it will The corresponding log information of the object run service identification is based on the Socket long connection and is sent to the server-side.
According to a second aspect of the present application, a kind of device of managing log information is proposed, it is whole to be applied to main point of sale POS End, including:
Data reception module is updated, for receiving the log more new data sent from point of sale POS terminal;
Content determination module is identified, for determining order note identification and log more new content according to the log more new data;
Log information update module, for being based on the log more new content to the corresponding log information of the order note identification Content be updated, obtain updated log information.
In one embodiment, the mark content determination module, including:
Operation service extraction unit, for extracting the identification information from POS terminal from the log more new data And at least one operation service information;
Content generation unit is updated, for according to the identification information from POS terminal and each operation service information Corresponding relationship generate log more new content.
According to the third aspect of the application, a kind of system of managing log information is proposed, including:Main point of sale POS is whole End and at least one from POS terminal;
Wherein, the method that the main POS terminal is used to execute any of the above-described managing log information.
In one embodiment, the system also includes:
Server-side for establishing Socket long connection with the main POS terminal, and is based on the Socket long connection from institute It states main POS terminal and obtains updated log information.
According to the fourth aspect of the application, a kind of computer readable storage medium is proposed, which is characterized in that the storage Media storage has computer program, the method that the computer program is used to execute any of the above-described managing log information.
By above technical scheme as it can be seen that the method, apparatus and system of managing log information provided by the present application, pass through reception The log more new data sent from point of sale POS terminal, and order note identification and log are determined more according to the log more new data New content, and then be updated based on content of the log more new content to the corresponding log information of the order note identification, it obtains To updated log information, the log information that each order collects complete master and slave POS terminal, Ke Yigen can be implemented as According to the log information determine operated the order master and slave POS terminal courses of action, can subsequent solution may occur Order abnormal problem provides foundation.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for managing log information shown in one exemplary embodiment of the application;
Fig. 2 is how to be determined in log update according to the log more new data shown in one exemplary embodiment of the application The flow chart of appearance;
Fig. 3 is a kind of flow chart of the method for managing log information shown in the application another exemplary embodiment;
Fig. 4 is how the updated log information to be delivered to server-side shown in one exemplary embodiment of the application Flow chart;
Fig. 5 is a kind of structure chart of the device of managing log information shown in one exemplary embodiment of the application;
Fig. 6 is a kind of structure chart of the device of managing log information shown in the application another exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Fig. 1 is a kind of flow chart of the method for managing log information shown in one exemplary embodiment of the application;The implementation Example can be used for the main POS terminal in POS (Point of sales, point of sale) system (for example, hand-held cash register, intelligent hand Machine, tablet computer, desktop computer and notebook etc.).As shown in Figure 1, the method comprising the steps of S101-S103:
S101:Receive the log more new data sent from point of sale POS terminal.
In one embodiment, main POS terminal can receive the log update request sent from POS terminal, and the log is more Log more new data is carried in new request.
In one embodiment, when user updates operation (for example, addition commodity are extremely done shopping by carrying out order from POS terminal Vehicle, clearing order etc.) when, it can be updated from POS terminal according to the order and operate corresponding log more new data generation log more New request.In one embodiment, each single item order, which updates operation, can correspond to a log more new data, and then can basis The log more new data generates log and updates request, and then can send the log to main POS terminal and update request.
It is worth noting that may refer in the prior art from the mode that POS terminal obtains the log more new data of itself Explanation, such as using presetting module carry out log return fishing, the present embodiment to log return fishing concrete mode without spy It does not limit.
In one embodiment, the type of the above order can be configured according to actual needs by developer, be such as arranged For bill, order, receipt, invoice etc., the present embodiment is to this without limiting.
In one embodiment, above-mentioned main POS terminal can be used for summarizing, manage, updating or record in POS system from The log more new data that POS terminal is sent.
S102:Order note identification and log more new content are determined according to the log more new data.
In one embodiment, after main POS terminal, which receives above-mentioned log, updates request, which can be updated and is requested It is parsed, obtains log more new data.
In one embodiment, it after main POS terminal gets log more new data, can be mentioned from the log more new data Take order note identification and log more new content.
In one embodiment, the above order mark is uniquely corresponding to the above order information, for example, order number etc., this implementation Example is to this without limiting.
In one embodiment, above-mentioned log more new content can be configured by developer according to actual business requirement, Such as can be set to add certain commodity to shopping cart (product name, quantity, the amount of money such as purchase), clearing order as a result, or Person can be set to order operation number (i.e. order version) etc., can be above one or more of combinations, the present embodiment To this without limiting.
S103:It is updated based on content of the log more new content to the corresponding log information of the order note identification, Obtain updated log information.
In one embodiment, the log information of a blank, the log can be constructed for the order when generating each order Information is used to store the correlation log information (log i.e. relevant to the order for each POS terminal that the order is crossed in subsequent operation Information is such as directed to the concrete operations information of the order), and then can be in the subsequent log more new data got from POS terminal Afterwards, the more new data of the log based on acquisition is updated the content of the log information, for example, the log more new data is added Into above-mentioned log information.
It in one embodiment, can be based on the log more after main POS terminal extracts order note identification and log more new content The content that new content identifies corresponding log information to the above order is updated, and updated log information can be obtained.
For example, when user (such as carries out purchase commodity or clearing by being operated from POS terminal to order Order) after, a log can be generated based on the operation of the purchase commodity from POS terminal and update request, and the log is updated and is requested It is sent to main POS terminal.
After main POS terminal, which receives the log, updates request, request can be updated based on the log and extract order number With log more new content, and then the corresponding order of the order number can be updated, such as add the operation of current purchase commodity It adds in the corresponding log information of current order.
It in one embodiment, can also include timestamp in the more new data of log described in step S101.It is basic herein On, it is carried out more described in step S103 based on content of the log more new content to the corresponding log information of the order note identification Newly, may include:
According to the timestamp, the log more new content is added in the corresponding log information of the order note identification.
For example, number is updated when main POS terminal receives the log comprising correspondent time respectively sent from POS terminal According to rear, the corresponding log of the order note identification respectively can will be added to from the log of POS terminal more new content according to each timestamp Information obtains updated log information.
Seen from the above description, the present embodiment is by receiving the log more new data sent from point of sale POS terminal, and root Order note identification and log more new content are determined according to the log more new data, and then are ordered based on the log more new content to described Single content for identifying corresponding log information is updated, and is obtained updated log information, be can be implemented as each order and search Collect the log information of complete master and slave POS terminal, can determine that the master and slave POS for operating the order is whole according to the log information The courses of action at end, the order abnormal problem that can may occur for subsequent solution provide foundation.
In one embodiment, it can be received using following two mode in above-mentioned steps S101 and be sent out from point of sale POS terminal The log sent more new data:
The first:Receive the log more new data sent from point of sale POS terminal based on the TCP long connection pre-established.
In one embodiment, main POS terminal can establish TCP long connection with from POS terminal in advance, for example, when whole from POS When end is registered to main POS terminal for the first time, TCP connection can be sent to main POS terminal and establish request.Further, in order to The information security of place retail shop, main POS terminal can carry out legitimate verification from POS terminal to this, and then be verified Afterwards, it establishes and requests in response to above-mentioned TCP long connection, establish TCP long connection with from POS terminal.
Second:Receive the log more new data sent from point of sale POS terminal with broadcast mode.
In one embodiment, main POS terminal can receive updates from point of sale POS terminal with the log that broadcast mode is sent Data, it can save in advance with process that connection is established from POS terminal.For example, when being grasped from POS terminal to any order After work, log can be generated based on the corresponding log of operation content more new data and updates request, which updates carries in request There is log more new data.In turn, whole POS terminals of the request into local area network can be broadcasted from POS terminal, so that Main POS terminal receives the log more new data of broadcast.
It is worth noting that above two log more new data transmits/receives mode respectively and has the advantages that different and determination.Tool For body, based on TCP long connection send log more new data mode relative to the mode that log is broadcast to all devices and The specific aim sent from the data of POS terminal can be improved in speech, avoids incoherent terminal device from receiving log and updates number According to;And log is broadcast to the mode of armamentarium for the mode for sending log more new data based on TCP long connection, It can save and connect the step of establishing with main POS terminal, saving the memory of master and slave POS terminal, (establishing TCP long connection needs to occupy Certain memory).Thus, those skilled in the art are in actual implementation this programme, can be according to actual business requirement from above-mentioned two One kind is selected in kind mode.For example, can send log if wanting to save memory to main POS terminal based on the forms of broadcasting and update Otherwise data can send log more new data to main POS terminal using based on TCP long connection type.Fig. 2 is the application one The flow chart that log more new content how is determined according to the log more new data shown in exemplary embodiment;The present embodiment exists On the basis of above-described embodiment, exemplary theory is carried out for how determining log more new content according to the log more new data It is bright.As shown in Fig. 2, determining log more new content according to the log more new data described in above-mentioned steps S102, may include Following steps S201-S202:
S201:The identification information from POS terminal and at least one operation are extracted from the log more new data Business information.
In one embodiment, when user updates operation (for example, addition commodity are extremely done shopping by carrying out order from POS terminal Vehicle, clearing order etc.) when, the order can be obtained by the data acquisition module of pre-plugged from POS terminal updates operation, and Based on the identification information (i.e. this identification information) from POS terminal of itself, corresponding log more new data is generated, and then further according to The log more new data generates log and updates request, updates request it is possible to further send the log to main POS terminal.
It in one embodiment, can be from this after main POS terminal is got from the log more new data that POS terminal is sent The identification information from POS terminal and one or more business operation information are extracted in log more new data.
In one embodiment, it is above-mentioned from the identification information of POS terminal may include ID number, number, equipment from POS terminal Sequence number etc. be uniquely corresponding to the information from POS terminal, the present embodiment is to the concrete type of identification information without limiting.
In one embodiment, above-mentioned business operation information may include the title for the operation service of each order information. For example, the title of aforesaid operations business may include:Commodity are added to shopping cart, purchase commodity, clearing order etc..
It is worth noting that above-mentioned business operation information is only for illustration, it, can be by opening in practical embodiments Hair personnel are configured according to actual business requirement, and the present embodiment is to this without limiting.
S202:Day is generated according to the identification information from POS terminal and the corresponding relationship of each operation service information Will more new content.
In one embodiment, it is extracted from above-mentioned log more new data when main POS terminal described from the mark of POS terminal letter It, can be according to extraction from the identification information of POS terminal and each behaviour after breath and at least one operation service information The corresponding relationship for making business information generates log more new content.
In one embodiment, aforesaid operations business information may include operation service mark and operation service content.Herein On the basis of, it is closed described in step S202 according to the identification information from POS terminal and the corresponding of each operation service information System generates log more new content, may include:
It is identified according to the identification information from POS terminal, the operation service and the correspondence of the operation service content Relationship generates log more new content.
For example, main POS terminal can determine extraction the identification information from POS terminal and each operation industry The corresponding relationship for information of being engaged in, and then determining each corresponding relationship is determined as a log more new content.
In one embodiment, above-mentioned log more new content can be as shown in following table one:
Table one
Serial number Identification information Operation service information
1 From POS terminal 1 Order A:Buy commodity:Commodity 001
2 From POS terminal 1 Order A:Buy commodity:Commodity 002
…… …… ……
Shown in table one as above, each behavior one identification information and operation service information from POS terminal in table, including In the corresponding relationship namely a log of operation service mark (such as purchase commodity) and operation service content (commodity 001) update Hold.It can be updated to the corresponding log information of order information according to the log more new content, in this way, main POS terminal can To integrate multiple corresponding logs of unified order note identification handled from POS terminal based on operation service mark or operation service content Information improves the flexibility for integrating log information, is conducive to subsequent order problem investigation and solves.
It, can be in actual implementation it is worth noting that the content of aforesaid operations business information is only for illustration Related content is added or deleted according to actual business requirement by developer, such as business operation time, operation can also be added Giver identification etc., the present embodiment is to this without being particularly limited to.
Seen from the above description, the present embodiment from the log more new data by extracting the mark from POS terminal Know information and at least one operation service information, and according to the identification information from POS terminal and each operation service The corresponding relationship of information generates log more new content, may be implemented to generate log more new content accurately and in time, and then can be real It is now subsequent to be updated based on content of the log more new content to the corresponding log information of the order note identification, due to every A order is the log information that unit collects complete master and slave POS terminal, thus may be implemented to be determined according to the log information and grasp Made the courses of action of the master and slave POS terminal of the order, the order abnormal problem so as to occur for subsequent solution mentions For foundation.
Fig. 3 is a kind of flow chart of the method for managing log information shown in the application another exemplary embodiment;The reality Main POS terminal that example can be used in POS (Point of sales, point of sale) system is applied (for example, hand-held cash register, intelligence Mobile phone, tablet computer, desktop computer and notebook etc.).As shown in figure 3, the method comprising the steps of S301-S304:
S301:Receive the log more new data sent from point of sale POS terminal.
S302:Order note identification and log more new content are determined according to the log more new data.
S303:It is updated based on content of the log more new content to the corresponding log information of the order note identification, Obtain updated log information.
Wherein, the relevant explanation of step S301-S304 and explanation may refer to above-described embodiment, herein without repeating.
S304:Updated log information is delivered to memory to save;And/or by updated log information It is delivered to server-side.
In one embodiment, after obtaining updated log information, updated log information can be delivered to and is deposited Reservoir is saved, in case subsequent access or export.
For example, when order occurs abnormal, in order to know that each POS terminal for operating the order is (including master and slave One or more of POS terminal), then previously stored log information can be exported from memory to be analyzed.
In one embodiment, above-mentioned memory can be the memory or local storage of cloud server.
It in another embodiment, can also be real-time by updated log information after obtaining updated log information It is delivered to server-side, to save local memory space.
Seen from the above description, the present embodiment is saved by the way that updated log information is delivered to memory;With/ Or, updated log information is delivered to server-side, the electronization storage to log more new information may be implemented, after being conducive to It is continuous that reconciliation and problem investigation are carried out according to the log more new information of preservation.
Fig. 4 is how the updated log information to be delivered to server-side shown in one exemplary embodiment of the application Flow chart;The present embodiment on the basis of the above embodiments, how the updated log information is delivered to service It is illustrated for end.As shown in figure 4, the updated log information is delivered to server-side in step S304, It may comprise steps of S401-S402:
S401:Request is established in response to the Socket long connection that server-side is sent, establishes Socket long with the server-side Connection.
In one embodiment, when main POS terminal is registered to server-side, it can receive the Socket long of server-side transmission Request is established in connection.
Further, main POS terminal can be requested in response to the Socket long connection foundation that the server-side is sent, and described Server-side establishes Socket long connection.
S402:Updated log information is based on the Socket long connection and is sent to the server-side.
It in one embodiment, can will be updated after main POS terminal and the server-side establish Socket long connection Log information is based on the Socket long connection and is sent to the server-side.
In one embodiment, main POS terminal can have exploit person to the time that server-side sends updated log information Member is configured according to actual business requirement, such as can be set to regularly send, alternatively, can be set to send in real time, and or Person, the log information acquisition request that can be sent in response to server-side are sent.
In one embodiment, before step S402, the method can also include:
S401':Receive the log acquisition request that server-side is sent.That is, main POS terminal can be actively to server-side Updated log information is sent (i.e. in the case where the log acquisition for not receiving server-side is requested, actively to send out to server-side Send updated log information), the log acquisition that can also be sent in response to server-side is requested, and is sent to server-side updated Log information.
In one embodiment, it may include the mark of target order note identification, target POS terminal in above-mentioned log acquisition request At least one of in information and object run service identification.
On this basis, updated log information is based on the Socket long connection described in step S402 and is sent to institute Server-side is stated, may include:
If including target order note identification in the log acquisition request, requested in response to the log acquisition, it will be described The corresponding log information of target order note identification is based on the Socket long connection and is sent to the server-side;
If including the identification information of target POS terminal in the log acquisition request, asked in response to the log acquisition It asks, the corresponding log information of identification information of the target POS terminal is based on the Socket long connection and is sent to the clothes Business end;
If including object run service identification in the log acquisition request, requested in response to the log acquisition, it will The corresponding log information of the object run service identification is based on the Socket long connection and is sent to the server-side.
For example, main POS terminal can be after receiving the log acquisition request of server-side transmission, by what is be locally stored Whole log informations are sent to the server-side, can also be based on information (such as target order mark for including in log acquisition request Know), partial log information (i.e. the corresponding log information of target order note identification) is sent to the server-side.
Seen from the above description, the present embodiment establishes request by the Socket long connection sent in response to server-side, with The server-side establishes Socket long connection, and updated log information is based on described in the Socket long connection is sent to Server-side may be implemented that the updated log information is accurately and reliably delivered to server-side, may be implemented to log more The electronization storage of new information is conducive to log of the server-side based on acquisition more new information and carries out reconciliation and problem investigation.
Fig. 5 is a kind of structure chart of the device of managing log information shown in one exemplary embodiment of the application;Such as Fig. 5 institute Show, which includes:Data reception module 110, mark content determination module 120 and log information update module 130 are updated, In:
Data reception module 110 is updated, for receiving the log more new data sent from point of sale POS terminal;
Content determination module 120 is identified, in determining that order note identification and log update according to the log more new data Hold;
Log information update module 130, for being based on the log more new content to the corresponding log of the order note identification The content of information is updated, and obtains updated log information.
Seen from the above description, the present embodiment is by receiving the log more new data sent from point of sale POS terminal, and root Order note identification and log more new content are determined according to the log more new data, and then are ordered based on the log more new content to described Single content for identifying corresponding log information is updated, and is obtained updated log information, be can be implemented as each order and search Collect the log information of complete master and slave POS terminal, can determine that the master and slave POS for operating the order is whole according to the log information The courses of action at end, the order abnormal problem that can may occur for subsequent solution provide foundation.
Fig. 6 is a kind of structure chart of the device of managing log information shown in the application another exemplary embodiment;Wherein, 5 institute of function and earlier figures for updating data reception module 210, identifying content determination module 220 and log information update module 240 Show the function for updating data reception module 110, identifying content determination module 120 and log information update module 130 in embodiment Can be identical, it is no longer repeated herein.As described in Figure 6, updating data reception module 210 can also include:
First receiving unit 211, for receiving from point of sale POS terminal based on the TCP long connection transmission pre-established Log more new data;Or,
Second receiving unit 212, for receiving the log more new data sent from point of sale POS terminal with broadcast mode.
In one embodiment, content determination module 220 is identified, may include:
Operation service extraction unit 221, it is described from the mark of POS terminal letter for being extracted from the log more new data Breath and at least one operation service information;
Content generation unit 222 is updated, for according to the identification information from POS terminal and each operation service letter The corresponding relationship of breath generates log more new content.
In one embodiment, described device can also include:Log information conveyor module 240;
Log information conveyor module 240 may include:
First output unit 241, saves for updated log information to be delivered to memory;And/or
Updated log information is delivered to server-side by the second output unit 242.
In one embodiment, the second output unit 242 can be also used for:
Request is established in response to the Socket long connection that server-side is sent, establishes Socket long connection with the server-side;
Updated log information is based on the Socket long connection and is sent to the server-side.
On the other hand, present invention also provides a kind of system of managing log information, which includes:Main point of sale POS Terminal and at least one from POS terminal;
Wherein, the main POS terminal is used to execute the managing log information that above-mentioned FIG. 1 to FIG. 4 illustrated embodiment provides Method.
In one embodiment, above system can also include:
Server-side for establishing Socket long connection with the main POS terminal, and is based on the Socket long connection from institute It states main POS terminal and obtains updated log information.
On the other hand, present invention also provides a kind of computer readable storage medium, storage medium is stored with computer journey Sequence, the method that computer program is used to execute the managing log information that above-mentioned FIG. 1 to FIG. 4 illustrated embodiment provides.
It is worth noting that all the above alternatives, can form the optional reality of the disclosure using any combination Example is applied, this is no longer going to repeat them.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (11)

1. a kind of method of managing log information is applied to main point of sale POS terminal, which is characterized in that including:
Receive the log more new data sent from point of sale POS terminal;
Order note identification and log more new content are determined according to the log more new data;
It is updated based on content of the log more new content to the corresponding log information of the order note identification, after obtaining update Log information.
2. the method according to claim 1, wherein including timestamp in the log more new data;
It is described to be updated based on content of the log more new content to the corresponding log information of the order note identification, including:
According to the timestamp, the log more new content is added in the corresponding log information of the order note identification.
3. the method according to claim 1, wherein described determine that log updates according to the log more new data Content, including:
The identification information from POS terminal and at least one operation service information are extracted from the log more new data;
It is generated in log update according to the identification information from POS terminal and the corresponding relationship of each operation service information Hold.
4. according to the method described in claim 3, it is characterized in that, the operation service information includes operation service mark and behaviour Make business tine;
It is described to generate log update from the identification information of POS terminal and the corresponding relationship of each operation service information according to Content, including:
It is identified according to the identification information from POS terminal, the operation service and the corresponding relationship of the operation service content Generate log more new content.
5. the method according to claim 1, wherein the method also includes:
Request is established in response to the Socket long connection that server-side is sent, establishes Socket long connection with the server-side;
Updated log information is based on the Socket long connection and is sent to the server-side.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The log acquisition that server-side is sent is received to request, it is whole comprising target order note identification, target POS in the log acquisition request At least one of in the identification information and object run service identification at end;
It is described that updated log information is sent to the server-side based on the Socket long connection, including:
If including target order note identification in the log acquisition request, requested in response to the log acquisition, by the target The corresponding log information of order note identification is based on the Socket long connection and is sent to the server-side;
If including the identification information of target POS terminal in the log acquisition request, requested in response to the log acquisition, it will The corresponding log information of identification information of the target POS terminal is based on the Socket long connection and is sent to the server-side;
If including object run service identification in the log acquisition request, requested in response to the log acquisition, it will be described The corresponding log information of object run service identification is based on the Socket long connection and is sent to the server-side.
7. a kind of device of managing log information is applied to main point of sale POS terminal, which is characterized in that including:
Data reception module is updated, for receiving the log more new data sent from point of sale POS terminal;
Content determination module is identified, for determining order note identification and log more new content according to the log more new data;
Log information update module, for based on the log more new content in the corresponding log information of the order note identification Appearance is updated, and obtains updated log information.
8. device according to claim 7, which is characterized in that the mark content determination module, including:
Operation service extraction unit, for extracted from the log more new data the identification information from POS terminal and At least one operation service information;
Content generation unit is updated, it is described from the identification information of POS terminal and pair of each operation service information for basis It should be related to and generate log more new content.
9. a kind of system of managing log information, which is characterized in that including:Main point of sale POS terminal is whole from POS at least one End;
Wherein, the method that the main POS terminal is used to execute any managing log information of the claims 1-6.
10. system according to claim 9, which is characterized in that the system also includes:
Server-side for establishing Socket long connection with the main POS terminal, and is based on the Socket long connection from the master POS terminal obtains updated log information.
11. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter The method that calculation machine program is used to execute any managing log information of the claims 1-6.
CN201810609648.7A 2018-06-13 2018-06-13 Method, device and system for managing log information Active CN108897800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810609648.7A CN108897800B (en) 2018-06-13 2018-06-13 Method, device and system for managing log information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810609648.7A CN108897800B (en) 2018-06-13 2018-06-13 Method, device and system for managing log information

Publications (2)

Publication Number Publication Date
CN108897800A true CN108897800A (en) 2018-11-27
CN108897800B CN108897800B (en) 2020-12-25

Family

ID=64344890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810609648.7A Active CN108897800B (en) 2018-06-13 2018-06-13 Method, device and system for managing log information

Country Status (1)

Country Link
CN (1) CN108897800B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816897A (en) * 2019-02-27 2019-05-28 北京三快在线科技有限公司 A kind of method, apparatus, equipment and storage medium accessing data
CN110443675A (en) * 2019-06-27 2019-11-12 北京三快在线科技有限公司 Determine method, apparatus, electronic equipment and the storage medium of order life-cycle
CN112202873A (en) * 2020-09-28 2021-01-08 山东浪潮通软信息科技有限公司 Data issuing method and device, computer and computer readable medium
CN112632030A (en) * 2020-12-04 2021-04-09 贝壳技术有限公司 Data abnormity positioning method and device
CN112887351A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Log information collection system, method and device and electronic equipment
CN114785871A (en) * 2022-04-20 2022-07-22 中国银行股份有限公司 Log query method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858814A (en) * 2005-04-29 2006-11-08 邓斌涛 Quick paying method and system
CN102867377A (en) * 2012-09-20 2013-01-09 中国农业银行股份有限公司 Method and system for realizing services on point-of-sale (POS) terminal machine and POS terminal machine
CN103312728A (en) * 2012-03-06 2013-09-18 腾讯科技(深圳)有限公司 Method, system and device for data synchronization among storage systems
CN103593926A (en) * 2012-08-16 2014-02-19 国际商业机器公司 Method and system for intelligent point of sale system
CN106301884A (en) * 2015-06-26 2017-01-04 精工爱普生株式会社 control device, network system and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858814A (en) * 2005-04-29 2006-11-08 邓斌涛 Quick paying method and system
CN103312728A (en) * 2012-03-06 2013-09-18 腾讯科技(深圳)有限公司 Method, system and device for data synchronization among storage systems
CN103593926A (en) * 2012-08-16 2014-02-19 国际商业机器公司 Method and system for intelligent point of sale system
CN102867377A (en) * 2012-09-20 2013-01-09 中国农业银行股份有限公司 Method and system for realizing services on point-of-sale (POS) terminal machine and POS terminal machine
CN106301884A (en) * 2015-06-26 2017-01-04 精工爱普生株式会社 control device, network system and server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816897A (en) * 2019-02-27 2019-05-28 北京三快在线科技有限公司 A kind of method, apparatus, equipment and storage medium accessing data
CN110443675A (en) * 2019-06-27 2019-11-12 北京三快在线科技有限公司 Determine method, apparatus, electronic equipment and the storage medium of order life-cycle
CN112887351A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Log information collection system, method and device and electronic equipment
CN112202873A (en) * 2020-09-28 2021-01-08 山东浪潮通软信息科技有限公司 Data issuing method and device, computer and computer readable medium
CN112202873B (en) * 2020-09-28 2022-05-10 浪潮通用软件有限公司 Data issuing method and device, computer and computer readable medium
CN112632030A (en) * 2020-12-04 2021-04-09 贝壳技术有限公司 Data abnormity positioning method and device
CN112632030B (en) * 2020-12-04 2023-04-14 贝壳技术有限公司 Data abnormity positioning method and device
CN114785871A (en) * 2022-04-20 2022-07-22 中国银行股份有限公司 Log query method and device

Also Published As

Publication number Publication date
CN108897800B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN108897800A (en) A kind of method, apparatus and system of managing log information
CN110648185B (en) Target crowd circling method and device and computer equipment
CN107888672A (en) Billing data processing method, device, storage medium and computer equipment
WO2008127608A2 (en) A system and method for creating a list of shared information on a peer-to-peer network
CN106470133A (en) System pressure method of testing and device
CN108345597A (en) Generate graphic code, page info access processing method and device
CN109191197A (en) Video passenger flow statistical analysis based on block chain technology
CN106651228A (en) Method, device and system for querying logistics tracking information
CN113395200A (en) Message pushing method and system, client, storage medium and processor
CN108597160B (en) A kind of method, apparatus and system managing order information
CN110795471A (en) Data matching method and device, computer readable storage medium and electronic equipment
CN107609904A (en) A kind of electronic card certificate information processing method, equipment and system
WO2014121672A1 (en) Method and device for processing price and method and electronic commerce system for processing order sheet
CN111125118B (en) Associated data query method, device, equipment and medium
CN112632409A (en) Same user identification method, device, computer equipment and storage medium
CN106534303B (en) A kind of load-balancing method and device applied to reconciliation system
CN111209368A (en) Information prompting method and device, computer readable storage medium and electronic device
CN106326270A (en) Data interaction processing method, device and system
CN111415168A (en) Transaction warning method and device
CN111754259A (en) Satisfaction evaluation task obtaining method, device, system, equipment and storage medium
CN108259312A (en) Information issuing method, device and server
CN109658095A (en) Self-service device log memory management method, system and storage medium
CN107545503A (en) Multi-platform investment data inspection method and device
KR101945287B1 (en) Customer management method, customer management server and customer management method utilizing pos terminal
CN105678515A (en) Project management method and device

Legal Events

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