CN107590028A - A kind of method of information processing, server - Google Patents

A kind of method of information processing, server Download PDF

Info

Publication number
CN107590028A
CN107590028A CN201710830784.4A CN201710830784A CN107590028A CN 107590028 A CN107590028 A CN 107590028A CN 201710830784 A CN201710830784 A CN 201710830784A CN 107590028 A CN107590028 A CN 107590028A
Authority
CN
China
Prior art keywords
server
event handling
handling request
data exchange
master server
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
CN201710830784.4A
Other languages
Chinese (zh)
Other versions
CN107590028B (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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201710830784.4A priority Critical patent/CN107590028B/en
Publication of CN107590028A publication Critical patent/CN107590028A/en
Application granted granted Critical
Publication of CN107590028B publication Critical patent/CN107590028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiments of the invention provide a kind of information processing method and server, wherein method includes:Master server receives event handling request;Above-mentioned master server performs above-mentioned event handling request with carrying out data exchange from server;During above-mentioned master server performs above-mentioned event handling request and carries out data exchange from server, the result data correctly performed is preserved in chronological order.Implement the embodiment of the present invention, each operation of master server can reset or retract, so as to ensure the uniformity of client and server data.

Description

A kind of method of information processing, server
Technical field
The present invention relates to communication technical field, more particularly to a kind of method of information processing, server.
Background technology
Client sends the slow response that cannot get server after event request information, and very bad use can be brought to user Experience, causes interactive efficiency low.Because in the information processing scheme, first by client initiated event solicited message, then Result is returned again to after waiting for server processing request, therefore the request response of client is slower.
There is server to receive returning result immediately after the event request information that client is initiated at present, then reprocess event Request.The request response time of client is greatly reduced in such processing scheme, but has a problem that, that is, if The data of server cause confusion, then the data that the program may result in client and server are inconsistent.
The content of the invention
The embodiment of the present invention provides a kind of method of information processing, server, can be sent in server process client Event request information during, make each operation of server can reset or retract, so ensure client kimonos The uniformity for device data of being engaged in.
In a first aspect, the embodiments of the invention provide a kind of method of information processing, this method includes:
Master server receives event handling request;
Above-mentioned master server performs above-mentioned event handling request with carrying out data exchange from server;
During above-mentioned master server performs above-mentioned event handling request and carries out data exchange from server, on time Between sequentially preserve the result data correctly performed.
Second aspect, the embodiments of the invention provide a kind of server, the server includes:
Request reception unit, event handling request is received for above-mentioned server;
Data exchange unit, above-mentioned event handling request is performed with carrying out data friendship from server for above-mentioned server Change;
Data saving unit, above-mentioned event handling request is being performed with carrying out data friendship from server for above-mentioned server During changing, the result data correctly performed is preserved in chronological order.
The third aspect, the embodiments of the invention provide another server, including processor, input equipment, output equipment And memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, above-mentioned memory is used to store branch The computer program that server performs the above method is held, the computer program includes programmed instruction, and above-mentioned processor is configured to use In the calling programmed instruction, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium is deposited Computer program is contained, the computer program includes programmed instruction, and the programmed instruction makes the processor when being executed by a processor The method for performing above-mentioned first aspect.
The embodiment of the present invention has the advantages that:
In the embodiment of the present invention, master server is performing received event handling request with carrying out data from server During exchange, the result data correctly performed is preserved in chronological order.So master server can obtain these at any time The correct result data performed after operation, re-executes the operation, makes each operation of master server can reset or retract. It can ensure client and server number if the playback operated in the case that master server is in data corruption or if retracting According to uniformity.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described.
Fig. 1 is information processing scheme schematic diagram provided in an embodiment of the present invention;
Fig. 2 is information processing scheme schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow diagram of information processing method provided in an embodiment of the present invention;
Fig. 4 is the schematic flow diagram of another information processing method provided in an embodiment of the present invention;
Fig. 5 is that client provided in an embodiment of the present invention is registered interface schematic diagram;
Fig. 6 is userspersonal information's card schematic diagram provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of growth explanation provided in an embodiment of the present invention of registering;
Fig. 8 is that provided in an embodiment of the present invention registered when month to date corresponds to the schematic diagram of gift bag;
Fig. 9 is the schematic diagram that empirical value provided in an embodiment of the present invention corresponds to medal;
Figure 10 is acquisition medal provided in an embodiment of the present invention and the displaying schematic diagram of title;
Figure 11 is a kind of schematic block diagram of server provided in an embodiment of the present invention;
Figure 12 is a kind of server schematic block diagram that another embodiment of the present invention provides;
Figure 13 is a kind of server schematic block diagram that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal device described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the said equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
Client sends the slow response that cannot get server after solicited message, and very bad use body can be brought to user Test, cause interactive efficiency low.Because in this information processing scheme, first by client initiated event solicited message, then Result is returned again to after waiting for server processing request, therefore the request response of client is slower.Here registered event with client Exemplified by, referring to Fig. 1, Fig. 1 is information processing scheme schematic diagram provided in an embodiment of the present invention.Client sends to master server and signed To after event request, master server occurs from server, state-event with user profile from server, gift from server successively Data exchange, event request of registering is performed, finally, then the successful information that will register returns to client.This information processing side The response time RT1=T1+T2+T3+T4+T5+T6+T7+T8+T9 of case.
There is service end to receive client at present and initiate returning result immediately after solicited message, then reprocessing request, so Processing scheme the request response time of client is greatly reduced.Again so that client registers event as an example, it is referring to Fig. 2, Fig. 2 Client registers the existing information processing scheme schematic diagram of event.After client sends event request of registering to master server, main clothes The business device successful information that will register immediately returns to client, then again successively with user profile from server, state-event from Data exchange occurs for server, gift server, and execution is registered event request, the response time RT2=T1+T9 of this scheme, The request response time of user terminal is greatly reduced.
But above-mentioned second scheme has a problem that, that is, if the data of server cause confusion, then should Scheme may result in client and server data it is inconsistent the problem of.
Referring to Fig. 3, Fig. 3 is that the embodiment of the present invention provides a kind of schematic flow diagram of information processing method, is believed as shown in the figure Breath processing method may include:
301st, master server receives event handling request.
In the embodiment of the present invention, above-mentioned event handling request can be any one occurrence processing that client is sent to server Request, for example, register request, transfer request, information sending request etc., the embodiment of the present invention is not construed as limiting.
302nd, above-mentioned master server performs above-mentioned event handling request with carrying out data exchange from server.
In the embodiment of the present invention, master server can be according to the demand for performing above-mentioned event handling request, with arbitrarily from clothes Device of being engaged in carries out data exchange, for example, obtaining user profile at server in user profile, being obtained in state-event at server State information of event etc. is taken, the embodiment of the present invention is not construed as limiting.
303rd, during above-mentioned master server performs above-mentioned event handling request and carries out data exchange from server, The result data correctly performed is preserved in chronological order.
It is appreciated that in the embodiment of the present invention, master server perform received event handling request with from service During device carries out data exchange, the result data correctly performed is preserved in chronological order.So can with master server To obtain these correct result datas performed after operating at any time, the operation is re-executed, makes each operation of master server all It can reset or retract.It can ensure visitor if the playback operated in the case that master server is in data corruption or if retracting Family end and the uniformity of server data.
As an alternative embodiment, above-mentioned event handling request is performed with entering from server in above-mentioned master server During row data exchange, if there is abnormal, correctly to be performed before acquisition is the last or the last number of results According to then proceeding to perform above-mentioned event handling request with carrying out data exchange from server.
It is appreciated that present embodiment abnormal feelings can occur in above-mentioned master server with from exchanging for server data Under condition, any result data once correctly performed before obtaining, then proceed to perform above-mentioned event handling request with from service Device carries out data exchange.Master server is re-executed above-mentioned event handling since any operating procedure before please Ask, ensure that master server performs the correctness of operation and the uniformity of client and server data.
As an alternative embodiment, above-mentioned appearance is abnormal, including:Above-mentioned master server performs above-mentioned event handling Request is more than preset duration with carrying out the time of data exchange from server;Or above-mentioned master server is performed at above-mentioned event During managing request and carrying out data exchange from server, the program of server makes a mistake.
In the present embodiment, in general, the problem of causing server data confusion mainly has two reasons:First, net Network is shaken, and network jitter refers to that congestion occurs for network, and influence postpones end to end, therefore, shakes data volume will be caused big Transmission easily occur packet loss and it is out of order the problem of;Second, there is mistake in the program of server, can when the program error of server It can cause data corruption.
As an alternative embodiment, this method also includes:Above-mentioned master server receives event handling and asked in 301 It is above-mentioned before above-mentioned master server performs the event handling request and carries out data exchange from server in 302 after asking The data of master server are primary data;If above-mentioned server is correct before at least obtaining the last or the last time three times The result data of execution, then the above-mentioned master server acquisition primary data, sends a warning message to client.
It is appreciated that the result data that present embodiment correctly performs before master server repeatedly obtains, is operated Playback or rollback in the case of, still have abnormal conditions appearance, then sent a warning message to client, and obtain initial number According to the return untreated state of event.Further ensure the uniformity of client and server data.
Referring to Fig. 4, Fig. 4 is the schematic flow diagram of another information processing method provided in an embodiment of the present invention, as schemed institute Show that information processing method may include:
401st, master server receives event handling request.
In the embodiment of the present invention, above-mentioned event handling request can be similar to the event handling requests such as request of registering, this hair Bright embodiment is not construed as limiting.
For example, referring to Fig. 5, Fig. 5 is that client provided in an embodiment of the present invention is registered interface schematic diagram.User can enter Enter certain direct broadcasting room, open calendar of registering and registered, when the date on the same day clicks on signature icon in choosing, i.e., have sent to server Register solicited message.Service end can return to successful prompt message of registering immediately, that is, icon of signing is shown as to hooking icon, and point Continuous reward icon of registering corresponding to bright.
402nd, above-mentioned master server obtains user profile in user profile at server, and the user profile includes first and used Family weights.
In the embodiment of the present invention, above-mentioned user profile includes the basic letter of the users such as user name, EXP, integration Breath, above-mentioned first user weights can be that similar user experience value, integration etc. can increase or the numerical value of reduction, the embodiment of the present invention It is not construed as limiting.
For example, referring to Fig. 6, Fig. 6 is userspersonal information's card schematic diagram provided in an embodiment of the present invention, contains portion Divide user profile.Registered number of days which show user's title, EXP, number of days of continuously having registered, when month to date;Click on Button of registering at once can enter corresponding application interface and carry out operation of registering;Get to contain user in record and get and add up to register Gift bag gets record.
403rd, above-mentioned master server obtains the completed status information of event in state-event at server;Above-mentioned main clothes Business device determines value added according to the completed status information of event, above-mentioned master server according to above-mentioned first user weights with it is above-mentioned Value added and obtain above-mentioned first user weights.
For example, referring to Fig. 7, Fig. 7 is the schematic diagram of growth explanation provided in an embodiment of the present invention of registering.Wherein register Illustrate to have described corresponding to continuous number of days of registering acquisition empirical value (i.e. above-mentioned value added).Master server is obtained to register and completed Status information after, determined to obtain empirical value according to the number of days continuously registered, along with the original empirical value of user (above-mentioned first User's weights) obtain the current empirical value of user (above-mentioned second user weights).Wherein, obtaining empirical value can connect according to user The number of days renewed, daily empirical value corresponding to granting, the number of days that month to date be registered can also be worked as according to user, is got corresponding Empirical value corresponding to gift bag acquisition.Here Fig. 8 is referred to, Fig. 8 is that provided in an embodiment of the present invention registered when month to date corresponds to gift The schematic diagram of bag.
404th, above-mentioned master server obtained according to above-mentioned second user weights in object at server corresponding to target pair As.
For example, referring to Fig. 7, Fig. 7 is the schematic diagram of growth explanation provided in an embodiment of the present invention of registering, referring also to Fig. 9, Fig. 9 are the schematic diagrames that empirical value provided in an embodiment of the present invention corresponds to medal, and empirical value corresponding grade body is described in figure System, empirical value reach certain numerical value and can reach corresponding grade, and each grade has corresponding title, corresponding medal.On Stating master server can be according to this hierarchical system, medal, title corresponding to acquisition at above-mentioned gift server.Referring to Figure 10, Figure 10 is acquisition medal provided in an embodiment of the present invention and the displaying schematic diagram of title.The numerical value of above-mentioned empirical value, grade, title And upgrading progress is shown in thematic page personal information card, while corresponding grade medal is displayed that in mini data card And title.
405th, during above-mentioned master server performs the event handling request and carries out data exchange from server, The result data correctly performed is preserved in chronological order.
406th, during above-mentioned master server performs the event handling request and carries out data exchange from server, If occur it is abnormal, obtain it is the last or the last before the result data that correctly performs, then proceed to perform above-mentioned Event handling request from server with carrying out data exchange.
It is appreciated that in the embodiment of the present invention, master server perform received event handling request successively with user Information is protected in chronological order from server, state-event from server and object from during server carries out data exchange The result data correctly performed is deposited, and in the event of an anomaly, it is correct before obtaining the last or the last time The result data of execution, then proceed to perform above-mentioned event handling request with carrying out data exchange from server.So main service Device is in the case where there is data corruption, and the correct result data performed after operation, re-executes operation, make main clothes before obtaining Each operation of business device can reset or retract, so as to ensure the uniformity of client and server data.
As an alternative embodiment, above-mentioned master server according to above-mentioned second user weights above-mentioned object from During destination object corresponding to being obtained at server, if there is exception, before acquisition the last time or the last time Corresponding to the result data correctly performed then proceedes to be obtained at server in above-mentioned object according to above-mentioned second user weights Destination object.
For example, as shown in Fig. 2 master server return immediately after the request of registering of client transmission is received is registered Successful information, user will be considered that the event of registering has been completed, it should obtain gift corresponding to event of registering.But if in master Server carries out occurring exception in data exchange process with gift from server, then can not obtain gift in time, then can cause visitor The data of family end and server are inconsistent.Therefore, the last or the last result correctly performed before is obtained in time Data, then proceed to obtain at server in gift corresponding to gift, ensure client and server data with being advantageous to Uniformity.
As an alternative embodiment, above-mentioned appearance is abnormal, including:Above-mentioned master server is according to the second user Weights obtained in object at server corresponding to time of destination object be more than preset duration;Or above-mentioned master server root During destination object corresponding to being obtained according to the second user weights at server in object, the program of server occurs Mistake.Implementation method is identical with the information processing method shown in Fig. 3, is not described herein in detail.
As an alternative embodiment, this method also includes:Above-mentioned master server receive event handling request it Afterwards, before above-mentioned master server performs above-mentioned event handling request and carries out data exchange from server, above-mentioned master server Data be primary data;What if above-mentioned master server correctly performed before at least obtaining the last or the last time three times Result data, then the above-mentioned master server acquisition primary data, sends a warning message to client.Implementation method and Fig. 3 institutes The information processing method shown is identical, is not described herein in detail.
The embodiment of the present invention also provides a kind of server, and the server is used for the unit for performing the method shown in earlier figures 3. Specifically, referring to Figure 11, Figure 11 is a kind of schematic block diagram of server provided in an embodiment of the present invention.The server of the present embodiment Including:Request reception unit 1101, data exchange unit 1102, data saving unit 1103.
Request reception unit 1101, for receiving event handling request;
Data exchange unit 1102, for performing above-mentioned event handling request with carrying out data exchange from server;
Data saving unit 1103, in the mistake for performing the event handling request with data exchange being carried out from server Cheng Zhong, the result data correctly performed is preserved in chronological order.
Implementation method is identical with the information processing method shown in Fig. 3, is not described herein in detail.
As an alternative embodiment, above-mentioned server also includes:Data capture unit, for performing above-mentioned thing Part processing request with carry out data exchange from server during, if occurring abnormal, obtain the last or nearest one The result data correctly performed before secondary then proceedes to perform above-mentioned event handling request with carrying out data exchange from server.It is real Existing method is identical with the information processing method shown in Fig. 3, is not described herein in detail.
As an alternative embodiment, above-mentioned appearance is abnormal, including:Above-mentioned server performs above-mentioned event handling please Ask and be more than preset duration with carrying out the time of data exchange from server;Or above-mentioned server performs above-mentioned event handling and asked Ask with from server carry out data exchange during, the program of server makes a mistake.Implementation method and the information shown in Fig. 3 Processing method is identical, is not described herein in detail.
As an alternative embodiment, above-mentioned server also includes:Primary data storage unit, it is above-mentioned for preserving The primary data of server, above-mentioned primary data are after above-mentioned request reception unit receives event handling request, above-mentioned Before data exchange unit performs above-mentioned event handling request and carries out data exchange from server, the data of above-mentioned server; Alarm Unit, for the situation of the result data correctly performed before at least the last or the last time is obtained three times Under, above-mentioned primary data is obtained, is sent a warning message to client.Implementation method is identical with the information processing method shown in Fig. 3, It is not described herein in detail.
Also referring to Figure 12, Figure 12 is the schematic block diagram of another server disclosed in the embodiment of the present invention.Wherein, scheme Server shown in 12 is that further optimization obtains on the basis of the server shown in Figure 11.With the server shown in Figure 11 Compare, the data exchange unit 1202 of the server shown in Figure 12 includes:
User profile obtains subelement 1203, for obtaining user profile, above-mentioned user at server in user profile Information includes first user's weights;
State information acquisition subelement 1204, for obtaining the completed state letter of event at server in state-event Breath;
User's weights handle subelement 1205, for determining value added, root according to the completed status information of above-mentioned event According to above-mentioned first user weights and above-mentioned value added and obtain second user weights;
Semantic object extraction subelement 1206, for being obtained according to above-mentioned second user weights in object at server pair The destination object answered.
Server shown in Figure 12 also includes:
Data capture unit 1208, in the mistake for performing above-mentioned event handling request with data exchange being carried out from server Cheng Zhong, if there is exception, obtain the result data correctly performed before the last or the last time and then proceed to perform Above-mentioned event handling request from server with carrying out data exchange.
Implementation method is identical with the information processing method shown in Fig. 4, is not described herein in detail.
As an alternative embodiment, above-mentioned data capture unit is additionally operable to:According to above-mentioned second user weights During destination object corresponding to being obtained in object at server, if there is abnormal, acquisition the last time or nearest The result data that correctly performs before once, then proceed to be obtained at server pair in object according to above-mentioned second user weights The destination object answered.Implementation method is identical with the information processing method shown in Fig. 4, is not described herein in detail.
It is a kind of schematic block diagram for server that another embodiment of the present invention provides referring to Figure 13.This reality as depicted Applying the server in example can include:One or more processors 1301;One or more input equipments 1302, it is one or more Output equipment 1303 and memory 1304.Above-mentioned processor 1301, input equipment 1302, output equipment 1303 and memory 1304 Connected by bus 1305.Memory 1302 is used to store computer program, and the computer program includes programmed instruction, processor 1301 are used to perform the programmed instruction that memory 1302 stores.Wherein, processor 1301 is arranged to call the programmed instruction Perform following operate:
Master server receives event handling request;
Above-mentioned master server performs above-mentioned event handling request with carrying out data exchange from server;
During above-mentioned master server performs above-mentioned event handling request and carries out data exchange from server, on time Between sequentially preserve the result data correctly performed.
It should be appreciated that in embodiments of the present invention, alleged processor 1301 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 1302 can include Trackpad, fingerprint adopts sensor and (is used for the finger print information and fingerprint for gathering user Directional information), microphone etc., output equipment 503 can include display (LCD etc.), loudspeaker etc..
The memory 1304 can include read-only storage and random access memory, and provide instruction to processor 1301 And data.The a part of of memory 1304 can also include nonvolatile RAM.For example, memory 1304 may be used also With the information of storage device type.
In the specific implementation, processor 1301, input equipment 1302, output equipment 1303 described in the embodiment of the present invention Realization described in the first embodiment and second embodiment of the method for executable continuation of the journey test provided in an embodiment of the present invention Mode, the implementation of the server described by the embodiment of the present invention is also can perform, will not be repeated here.
A kind of computer-readable recording medium is provided in another embodiment of the invention, the computer-readable recording medium Computer program is stored with, the computer program includes programmed instruction, and the programmed instruction is realized when being executed by processor:
Master server receives event handling request;
Above-mentioned master server performs above-mentioned event handling request with carrying out data exchange from server;
During above-mentioned master server performs above-mentioned event handling request and carries out data exchange from server, on time Between sequentially preserve the result data correctly performed.
Above computer readable storage medium storing program for executing can be the internal storage unit of the server of foregoing any embodiment, such as The hard disk or internal memory of server.Above computer readable storage medium storing program for executing can also be the External memory equipment of above-mentioned server, example Such as the plug-in type hard disk being equipped with above-mentioned server, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, above computer readable storage medium storing program for executing is also The internal storage unit of above-mentioned server can both be included or including External memory equipment.Above computer readable storage medium storing program for executing is used In other programs and data needed for storage above computer program and above-mentioned server.Above computer readable storage medium storing program for executing It can be also used for temporarily storing the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the clothes of foregoing description The specific work process of business device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed server and method, can pass through Other modes are realized.For example, device embodiment described above is only schematical, for example, the division of said units, Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is in addition, shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit Letter connection or electricity, the connection of mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the whole of method in each embodiment of the present invention Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.

Claims (15)

  1. A kind of 1. information processing method, it is characterised in that including:
    Master server receives event handling request;
    The master server performs the event handling request with carrying out data exchange from server;
    It is temporally suitable during the master server performs the event handling request and carries out data exchange from server Sequence preserves the result data correctly performed.
  2. 2. method according to claim 1, it is characterised in that methods described also includes:
    During the master server performs the event handling request and carries out data exchange from server, if occurring different Often, then the last or the last result data correctly performed before is obtained, then proceedes to perform the event handling Request from server with carrying out data exchange.
  3. 3. according to the method for claim 2, it is characterised in that the appearance is abnormal, including:
    The master server performs the event handling request and is more than preset duration with carrying out the time of data exchange from server;
    Or during the master server performs the event handling request and carries out data exchange from server, service The program of device makes a mistake.
  4. 4. according to the method in claim 2 or 3, it is characterised in that methods described also includes:
    After the master server receives event handling request, the master server perform the event handling request with from Before server carries out data exchange, the data of the master server are primary data;
    If the master server at least obtains the last or the last result data correctly performed before, institute three times State master server and obtain the primary data, sent a warning message to client.
  5. 5. method according to claim 2, it is characterised in that the master server perform the event handling request with from clothes Business device carries out data exchange, including:
    The master server obtains user profile in user profile at server, and the user profile is weighed including the first user Value;
    The master server obtains the completed status information of event in state-event at server;The master server according to The completed status information of event determines value added, and the master server is according to the first user weights and the value added With obtain second user weights;
    The master server obtained according to the second user weights in object at server corresponding to destination object.
  6. 6. method according to claim 5, it is characterised in that described to perform the event handling request in the master server It is correct before obtaining the last or the last time if there is exception during carrying out data exchange from server The result data of execution, then proceed to perform the event handling request with including from server progress data exchange:
    The mistake of destination object corresponding to being obtained in the master server in object at server according to the second user weights Cheng Zhong, if there is abnormal, correctly to be performed before acquisition is the last or the last result data, then proceed to basis The second user weights obtained in object at server corresponding to destination object.
  7. 7. according to the method for claim 6, it is characterised in that the appearance is abnormal, including:
    The master server obtained according to the second user weights in object at server corresponding to destination object time More than preset duration;
    Or the master server obtained in object at server according to the second user weights corresponding to destination object During, the program of server makes a mistake.
  8. 8. the method according to claim 6 or 7, it is characterised in that methods described also includes:
    After the master server receives event handling request, the master server perform the event handling request with from Before server carries out data exchange, the data of the master server are primary data;
    If the master server at least obtains the last or the last result data correctly performed before, institute three times State master server and obtain the primary data, sent a warning message to client.
  9. A kind of 9. server, it is characterised in that including:
    Request reception unit, for receiving event handling request;
    Data exchange unit, for performing the event handling request with carrying out data exchange from server;
    Data saving unit, for performing the event handling request with carrying out data from server in the data exchange unit During exchange, the result data correctly performed is preserved in chronological order.
  10. 10. server according to claim 9, it is characterised in that the server also includes:
    Data capture unit, for during performing the event handling request and carrying out data exchange from server, if There is exception, then obtain the result data correctly performed before the last or the last time and then proceed to perform the event Processing request from server with carrying out data exchange.
  11. 11. server according to claim 10, it is characterised in that the appearance is abnormal, including:
    The server performs the event handling request and is more than preset duration with carrying out the time of data exchange from server;
    Or during the server performs the event handling request and carries out data exchange from server, server Program make a mistake.
  12. 12. the server according to claim 10 or 11, it is characterised in that the server also includes:
    Primary data storage unit, for preserving the primary data of the server, the primary data is to be connect in the request After receiving unit reception event handling request, the event handling request is performed with entering from server in the data exchange unit Before row data exchange, the data of the server;
    Alarm Unit, for the feelings of the result data correctly performed before at least the last or the last time is obtained three times Under condition, the primary data is obtained, is sent a warning message to client.
  13. 13. server according to claim 10, it is characterised in that the data exchange unit of the server includes:
    User profile obtains subelement, and for obtaining user profile at server in user profile, the user profile includes First user's weights;
    State information acquisition subelement, for obtaining the completed status information of event at server in state-event;
    User's weights handle subelement, for determining value added according to the completed status information of the event, according to described the One user's weights and the value added and obtain second user weights;
    Semantic object extraction subelement, for target corresponding to being obtained according to the second user weights in object at server Object.
  14. 14. server according to claim 13, it is characterised in that the data capture unit is additionally operable to:
    During destination object corresponding to being obtained according to the second user weights in object at server, if occurring different Often, then the last or the last result data correctly performed before is obtained, is then proceeded to according to the second user Weights obtained in object at server corresponding to destination object.
  15. A kind of 15. server, it is characterised in that including processor, input equipment, output equipment and memory, the processor, Input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store computer program, the calculating Machine program includes programmed instruction, and the processor is arranged to call described program instruction, performs such as claim 1 to 8 times Method described in one.
CN201710830784.4A 2017-09-14 2017-09-14 Information processing method and server Active CN107590028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710830784.4A CN107590028B (en) 2017-09-14 2017-09-14 Information processing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710830784.4A CN107590028B (en) 2017-09-14 2017-09-14 Information processing method and server

Publications (2)

Publication Number Publication Date
CN107590028A true CN107590028A (en) 2018-01-16
CN107590028B CN107590028B (en) 2021-05-11

Family

ID=61051636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710830784.4A Active CN107590028B (en) 2017-09-14 2017-09-14 Information processing method and server

Country Status (1)

Country Link
CN (1) CN107590028B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615901A (en) * 2020-11-26 2021-04-06 新华三大数据技术有限公司 Method for sending user request by client and storage system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5140689A (en) * 1989-05-25 1992-08-18 Kabushiki Kaisha Toshiba Data recovery system and method of distributed transaction processing system
US20050210081A1 (en) * 2004-03-18 2005-09-22 Alcatel Data synchronization method
US20070101192A1 (en) * 2003-09-10 2007-05-03 Microsoft Corporation Method and system for rollback-free failure recovery of multi-step procedures
CN101576915A (en) * 2009-06-18 2009-11-11 北京大学 Distributed B+ tree index system and building method
CN102696205A (en) * 2010-01-06 2012-09-26 日本电气株式会社 Communication control system and communication control method
WO2013072451A2 (en) * 2011-11-18 2013-05-23 Universidad Politécnica de Madrid System and method for highly scalable decentralized and low contention transactional processing x
US20150254296A1 (en) * 2014-03-06 2015-09-10 International Business Machines Corporation Restoring database consistency integrity
CN105450730A (en) * 2015-11-05 2016-03-30 北京奇虎科技有限公司 Method and apparatus for processing request from client
CN105938446A (en) * 2016-01-12 2016-09-14 上海交通大学 Data copying and fault-tolerance method based on support of RDMA and HTM
CN106484548A (en) * 2016-10-20 2017-03-08 济南浪潮高新科技投资发展有限公司 A kind of choreography request response processing method based on asynchronism callback mechanism
CN106502825A (en) * 2016-10-13 2017-03-15 中国联合网络通信集团有限公司 Data processing method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5140689A (en) * 1989-05-25 1992-08-18 Kabushiki Kaisha Toshiba Data recovery system and method of distributed transaction processing system
US20070101192A1 (en) * 2003-09-10 2007-05-03 Microsoft Corporation Method and system for rollback-free failure recovery of multi-step procedures
US20050210081A1 (en) * 2004-03-18 2005-09-22 Alcatel Data synchronization method
CN101576915A (en) * 2009-06-18 2009-11-11 北京大学 Distributed B+ tree index system and building method
CN102696205A (en) * 2010-01-06 2012-09-26 日本电气株式会社 Communication control system and communication control method
WO2013072451A2 (en) * 2011-11-18 2013-05-23 Universidad Politécnica de Madrid System and method for highly scalable decentralized and low contention transactional processing x
US20150254296A1 (en) * 2014-03-06 2015-09-10 International Business Machines Corporation Restoring database consistency integrity
CN105450730A (en) * 2015-11-05 2016-03-30 北京奇虎科技有限公司 Method and apparatus for processing request from client
CN105938446A (en) * 2016-01-12 2016-09-14 上海交通大学 Data copying and fault-tolerance method based on support of RDMA and HTM
CN106502825A (en) * 2016-10-13 2017-03-15 中国联合网络通信集团有限公司 Data processing method and device
CN106484548A (en) * 2016-10-20 2017-03-08 济南浪潮高新科技投资发展有限公司 A kind of choreography request response processing method based on asynchronism callback mechanism

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615901A (en) * 2020-11-26 2021-04-06 新华三大数据技术有限公司 Method for sending user request by client and storage system

Also Published As

Publication number Publication date
CN107590028B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN107861679A (en) A kind of operation processing method, terminal and computer-readable recording medium
CN107426322A (en) A kind of PUSH message target matching method, server, terminal and computer-readable recording medium
CN107870706A (en) One kind management figure calibration method, terminal and computer-readable medium
CN107733984A (en) A kind of method, terminal and computer-readable recording medium for pushing screen locking information
CN107844189A (en) A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption
CN108366096A (en) A kind of information subscribing method, terminal and computer readable storage medium
CN107357718A (en) One kind structure method of testing and device
CN107172182A (en) A kind of information push method, message push server and terminal
CN108073346A (en) A kind of record screen method, terminal and computer readable storage medium
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN110097170A (en) Information pushes object prediction model acquisition methods, terminal and storage medium
CN107479806A (en) The method and terminal of a kind of changing interface
CN107451244A (en) File naming method, mobile terminal and computer-readable recording medium
CN107480001A (en) System recovery method and device
CN107491324A (en) A kind of method and terminal for installing application program
WO2019019702A1 (en) Algorithm generation method and device, terminal device and storage medium
CN109522332A (en) Customer profile data merging method, device, equipment and readable storage medium storing program for executing
CN108415758B (en) Distributed transaction coordination method and device
CN107463350A (en) A kind of footmark method of adjustment and terminal
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN109947568A (en) Timed task processing method, system, computer equipment and storage medium
CN108121774A (en) A kind of tables of data backup method and terminal device
CN107527192A (en) It is a kind of to identify the method for repeating to pay and server
CN107862082B (en) High concurrency counting method based on MySQL counter table and web server
CN107368255B (en) Unlocking method, mobile terminal and computer readable storage medium

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180116

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000031

Denomination of invention: A method and server of information processing

License type: Common License

Record date: 20210125

EE01 Entry into force of recordation of patent licensing contract
GR01 Patent grant
GR01 Patent grant