CN106535152A - Terminal-based application data processing method, device and system - Google Patents

Terminal-based application data processing method, device and system Download PDF

Info

Publication number
CN106535152A
CN106535152A CN201510583060.5A CN201510583060A CN106535152A CN 106535152 A CN106535152 A CN 106535152A CN 201510583060 A CN201510583060 A CN 201510583060A CN 106535152 A CN106535152 A CN 106535152A
Authority
CN
China
Prior art keywords
application data
calculation
result
terminal
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
CN201510583060.5A
Other languages
Chinese (zh)
Other versions
CN106535152B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510583060.5A priority Critical patent/CN106535152B/en
Publication of CN106535152A publication Critical patent/CN106535152A/en
Application granted granted Critical
Publication of CN106535152B publication Critical patent/CN106535152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Abstract

The invention discloses a terminal-based application data processing method, a device and a system. The method comprises the following steps of receiving an instruction for indicating the switching-on of a terminal application; according to the instruction, obtaining application data in a preset format; performing the logic calculation on the application data to obtain a calculation result; sending the calculation result to a server. According to the embodiments of the present invention, the calculation and the treatment of application data are automatically completed by a terminal, so that the real-time calculation by the server is not required. The calculation pressure of the server on the application data of the terminal is reduced, and the data processing efficiency is improved. Meanwhile, the server only uploads a final calculation result to a database, so that the frequent writing operation of the database is avoided. Therefore, the read-write pressure of the database is reduced.

Description

It is a kind of based on the application data processing method of terminal, apparatus and system
Technical field
The invention belongs to Internet technical field, more particularly to it is a kind of based on the application data processing method of terminal, Apparatus and system.
Background technology
With the development of Internet technology and increasing for terminal use, the use of amusement and leisure is carried out using terminal Family is also more and more.Such as, increasing user can play game using mobile terminal (such as mobile phone), and And enriching with online game, many users are more keen to carry out online game.
At present in mobile Internet HyperText Markup Language (HTML5, HyperText Markup 5) in game application field, server typically data with multiple user terminals and hand over Language simultaneously can occur Mutually, such as mobile terminal submits to the data such as present terminal player fraction, server to count in real time to server The data that user terminal is submitted to are calculated, and calculating process is carried out to these data according to game rule logic, will meter Calculate result write into Databasce.
In the research and practice process to prior art, it was found by the inventors of the present invention that multiple user terminals When there is data interaction with server simultaneously, server needs the data to each user terminal to carry out logic meter Calculate, cause server calculating pressure excessive, the not high problem of data-handling efficiency.
The content of the invention
It is an object of the invention to provide it is a kind of based on the application data processing method of terminal, apparatus and system, It is intended to reduction server calculating pressure excessive, improves data-handling efficiency.
For solving above-mentioned technical problem, the embodiment of the present invention provides technical scheme below:
A kind of processing method of the application data based on terminal, including:
Receive the instruction for indicating to open terminal applies;
According to the instruction, acquisition meets the application data of preset format;
Logical calculated is carried out to the application data, result of calculation is obtained;
The result of calculation is sent to server.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of application data processing meanss based on terminal, including:
Instruction reception unit, indicates the instruction for opening terminal applies for receiving;
Data capture unit, for according to the instruction, acquisition meets the application data of preset format;
Computing unit, for carrying out logical calculated to the application data, obtains result of calculation;
Transmitting element, for the result of calculation is sent to server.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of application data processing system, including:At least one terminal, server and database, Wherein, the terminal is application data processing meanss as the aforementioned based on terminal;
The server, for receiving the result of calculation of the terminal transmission and being cached, according to default rule Then, determine the final calculation result of counterpart terminal in the result of calculation of caching respectively, by the final calculating As a result write the database.
Relative to prior art, the embodiment of the present invention, receive instruction instruction and be currently needed for opening terminal applies; Thereafter, application data is obtained according to the instruction, and voluntarily the application data to getting in terminal is counted Calculate, result of calculation is sent to into server finally, that is to say, that at the calculating of application data reason terminal from Row is completed, and is calculated without the need for server in real time, is reduced calculating pressure of the server to terminal applies data, carry High data-handling efficiency;Further, in system, final calculation result is only uploaded to database by server, Avoid database write frequent, reduce data base read-write pressure.
Description of the drawings
Below in conjunction with the accompanying drawings, described in detail by the specific embodiment to the present invention, the skill of the present invention will be made Art scheme and other beneficial effects are apparent.
Fig. 1 a are the schematic diagram of a scenario of the application data processing system that the present invention is provided;
Fig. 1 b are that the flow process of the application data processing method based on terminal that first embodiment of the invention is provided is shown It is intended to;
The flow process of the application data processing method based on terminal that Fig. 2 is provided for second embodiment of the invention is illustrated Figure;
The structure of the application data processing meanss based on terminal that Fig. 3 a are provided for third embodiment of the invention is shown It is intended to;
Another knot of the application data processing meanss based on terminal that Fig. 3 b are provided for third embodiment of the invention Structure schematic diagram;
Another knot of the application data processing meanss based on terminal that Fig. 3 c are provided for third embodiment of the invention Structure schematic diagram.
Specific embodiment
Schema is refer to, wherein identical element numbers represent identical component, and the principle of the present invention is with reality Illustrate in Shi Yi appropriate computing environment.The following description is concrete based on the illustrated present invention Embodiment, which is not construed as limiting the present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention will be with reference to by performed by one or multi-section computer The step of and symbol illustrating, unless otherwise stating clearly.Therefore, these steps and operation will have mention for several times by Computer is performed, and computer as referred to herein is performed and included by representing with the data in a structuring pattern Electronic signal computer processing unit operation.This operation is changed the data or is maintained at the calculating At position in the memory system of machine, which is reconfigurable or other with the side known to the tester of this area Formula is changing the running of the computer.The data structure maintained by the data is the provider location of the internal memory, its With the particular characteristics by defined in the data form.But, the principle of the invention is illustrated with above-mentioned word, Which is not represented as a kind of restriction, and this area tester will appreciate that the plurality of step of described below and behaviour Also may be implemented in the middle of hardware.
The principle of the present invention is entered using many other wide usages or specific purpose computing, communication environment or configuration Row operation.The example of the known arithmetic system, environment and configuration for being suitable for the present invention may include (but not Be limited to) hand-held phone, personal computer, server, multicomputer system, the system based on micro computer, master Architected computer and distributed computing environment, which includes any said system or device.
The embodiment of the present invention provides a kind of based on the application data processing method of terminal, apparatus and system.
The scene of the application data processing system provided by the embodiment of the present invention referring to Fig. 1 a, the figure is illustrated Figure, the application data processing system can include one or more application data processing meanss based on terminal, Abbreviation application data processing meanss, as shown in Figure 1a the device can with it is integrated in the terminal, such as notes type is calculated Machine, tablet PC (Personal Computer), mobile phone etc. possess storage element and microprocessor is installed and Equipment with operational capability.The device is mainly used in reception instruction instruction and is currently needed for opening terminal applies, The such as application such as game, music;Thereafter, application data is obtained according to the instruction, and voluntarily to getting Application data is calculated, and this result of calculation is sent to server finally, that is to say, that application data Calculating at reason terminal voluntarily complete, and result of calculation is submitted to into server, carrying out without the need for server should The calculating of application data.
Additionally, the application data processing system can also include server and database, wherein server with it is front State application data processing meanss and set up and connect and carry out data interaction, be mainly used in the calculating knot that terminal is sent Fruit is simultaneously cached, and according to preset rules, determines the final of counterpart terminal respectively in the result of calculation of caching Result of calculation, also, only by terminal corresponding final calculation result write into Databasce.
It is described in detail respectively below.
First embodiment
In embodiments of the present invention, the angle from application data processing meanss is described, the application data Processing meanss can specifically be integrated in terminal etc..
A kind of application data processing method based on terminal, including:Receive the instruction for indicating to open terminal applies; According to the instruction, acquisition meets the application data of preset format;Logical calculated is carried out to the application data, Obtain result of calculation;The result of calculation is sent to server.
Fig. 1 b are referred to, Fig. 1 b are that the application data based on terminal that first embodiment of the invention is provided is processed The schematic flow sheet of method, idiographic flow can include:
In step S101, the instruction for indicating to open terminal applies is received, the instruction of such as user input is opened Open the instruction of terminal applies.
In step s 102, according to the instruction, acquisition meets the application data of preset format.
Wherein, step S101 can be specially with step S102:
Such as, receive user is by touch or clicks on triggered instruction, to open selected terminal applies, The terminal applies can refer specifically to game, music etc.;Thereafter, when obtaining terminal applies operation according to the instruction What is generated meets the application data of preset format, and wherein, the preset format can need to carry out according to user Pre-set, can such as be game points, voice data etc..
Further, " according to the instruction, acquisition meets the application data of preset format " can be with specific as follows:
A, according to the instruction, send connection request to server;
B, when it is determined that server is set up according to the connection request when connecting, based on the connection, receiving service The instruction that device sends calculates the information of the application data of the terminal applies;
C, according to the information, obtain the corresponding application data for meeting preset format.
It is understood that connection of the application data processing meanss (such as terminal) and server between can have Body refers to a kind of online internetwork connection mode, and wherein, the connection can use arbitrary communication standard or agreement, Including but not limited to global system for mobile communications (GSM, Global System of Mobile Communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), WCDMA (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution) Deng the embodiment of the present invention is illustrated and do not constitute limitation of the invention herein.
In step s 103, logical calculated is carried out to aforementioned applications data, obtains result of calculation.
In step S104, the result of calculation is sent to server.
Wherein, step S103 can be specially with step S104:
Such as, after terminal gets and meets the application data of preset format, voluntarily in terminal to these should Logical calculated is carried out with data, and the result of calculation for obtaining is uploaded onto the server;That is, applying number According to logical calculated voluntarily complete in terminal, server is without the need for patrolling to this certain applications data of terminal again Collect and calculate, when terminal is more, the calculating pressure of server can be greatly reducing.
Further, " carry out logical calculated to aforementioned applications data, obtain result of calculation " may particularly include: Terminal applies according to indicated by aforementioned information, obtain corresponding default computation rule;According to described pre-designed Rule is calculated, logical calculated is carried out to the application data, result of calculation is obtained.
Such as, if the terminal applies that the information is indicated are game, corresponding computation rule can be the game Score computation rule;If the terminal applies that the information is indicated are music, corresponding computation rule can be Process calculating of the music audio data etc..I.e. step " terminal applies according to indicated by described information, Corresponding default computation rule is obtained, according to the default computation rule, logic is carried out to the application data Calculate, obtain result of calculation " can include:
Corresponding game is determined according to the information (indicating the information of the application data for calculating the terminal applies), And the corresponding game computation rule of the game is obtained, according to the game computation rule, game point is entered Row logical calculated, obtains result of calculation.
It is understood that after result of calculation is drawn, it is preferred that the result of calculation can be detected, When it is correct to detect result of calculation, the result of calculation is sent to server (i.e. step S104); When detecting that result of calculation is mistake, result of calculation is modified, and amended result of calculation is entered Row detection, until detect result of calculation for it is correct when, just the result of calculation is sent to server (i.e. Step S104).
It should be noted that when the instruction that the terminal receives server transmission calculates the application number of terminal applies According to information when, it is possible to triggering performs described according to described information, obtains and corresponding to meet preset format The step of application data, until when the instruction for receiving server transmission stops calculating the information of application data, Stop the calculating of application data.
Preferably, after the result of calculation that server receives each terminal, can respectively to each terminal Result of calculation is analyzed, and determines final result of calculation according to preset rules, and by the final calculating As a result write into Databasce.
From the foregoing, the application data processing method based on terminal provided in an embodiment of the present invention, receives and uses The instruction of family input, the instruction indicate to be currently needed for opening terminal applies;Thereafter, being obtained according to the instruction should With data, and voluntarily the application data to getting in terminal is calculated, and is finally sent result of calculation To server, that is to say, that at the calculating of application data, reason terminal is voluntarily completed, real-time without the need for server Calculate, reduce calculating pressure of the server to terminal applies data, improve data-handling efficiency.Also, Final calculation result is only uploaded to database by server, it is to avoid database write is frequent, reduces database Read-write pressure.
Second embodiment
Citing is described in further detail by method according to described by first embodiment below.
In the embodiment, based on application data processing system, the application data processing method realizes that this applies number Include at least one terminal according to processing system, the server that application data is interacted, Yi Jiyong is carried out with terminal In the database of data storage.Wherein, in the system, user only describes for convenience, and this is to be not belonging to composition A part for system.
Refer to Fig. 2, the application data process side based on terminal that Fig. 2 is provided for second embodiment of the invention The schematic flow sheet of method, idiographic flow can include:
In step s 201, the instruction of terminal applies is opened in the instruction of terminal receiving user's input.
In step S202, terminal sends connection request according to the instruction to server.
Wherein, step S201 can be specially with step S202:
Such as, user is touched using terminal touch screen or using institute's input instructions such as terminal keyboard, the instruction Indicate that active user needs to open a certain application in terminal, such as game etc.;After terminal receives the instruction, Connection request is sent to server according to the instruction, based on the connection, data interaction is carried out with server.
For example, with the terminal applies as game, such as a example by " fighting landlord ", user can click on " fighting landlord " Terminal applies icon, with trigger " fighting landlord " open command, when terminal receives " fighting landlord " Open command after, the server that just can be located to " fighting landlord " according to the instruction sends connection request, Based on the connection, to carry out data interaction, etc. with the server that " fighting landlord " is located.
It is understood that the terminal for setting up connection with the server can have multiple, each terminal based on Connection between server, carries out data interaction with server respectively.
In step S203, server is set up with terminal according to the connection request and is connected, and sends to terminal Instruction calculates the information of the application data of the terminal applies.
In step S204, terminal is based on the connection, the information that the reception server sends.
In step S205, terminal obtains the corresponding application data for meeting preset format according to the information.
Wherein, step S203 can be specially to step S205:
Such as, server is set up after connection with terminal, and server can be sent to corresponding terminal based on the connection One configured information, the configured information indicate currently calculate the application data of the terminal applies, and terminal is received After the information, obtain that the terminal applies that the information indicates are generated in running meet preset format should Use data.
For example, or by taking game " fighting landlord " as an example, when the server that " fighting landlord " is located is built with terminal After vertical connection, the server can send a configured information based on the connection to corresponding terminal, and the information is indicated Calculate " fighting landlord " this terminal applies application data, terminal upon receiving this information, according to the letter Breath obtains the application data for meeting preset format that " fighting landlord " is generated in running.
Wherein, depending on the application data of the preset format can be according to the demand of practical application, can such as be The integration of player, or the game points of player, or game player's room list, etc., for example, " fighting landlord " is specially with the game, and as a example by the terminal is specially terminal A, specifically can be as follows:
The server of " fighting landlord " is set up with terminal A after being connected, and the server sends to terminal A and indicates letter Breath, the such as configured information represent going game, i.e., " fighting landlord " run, the trip need to be calculated accordingly The user's score generated in play running;That is, the application data of preset format specially can be played Must grade, after terminal A receives the information, record the user that user is generated during " fighting landlord " is played Score.
Or, server and terminal A of " fighting landlord " are set up after being connected, and the server is sent out to terminal A Send configured information, the such as configured information represents going game, i.e., " fighting landlord " run, need corresponding Calculate game player's room list, that is to say, that the application data of preset format can be specially game player room Between list etc., then after terminal A receives the information, game player's room list is calculated, such as root Carry out refreshing according to the ranking of player in list of players of the game points to each room, etc..
In step S206, terminal applies of the terminal according to indicated by the information are obtained corresponding pre-designed Calculate rule;
In step S207, terminal carries out logic according to the default computation rule to the application data Calculate, obtain result of calculation.
In step S208, terminal sends the result of calculation to server.
Wherein, step S206 can be specially to step S208:
That is, type of the terminal according to terminal applies, obtains corresponding computation rule, so as to basis The computation rule application data is calculated, if terminal applies be game, then computation rule be exactly according to Application data (such as game points or game player's room list etc.) is patrolled by the computation rule of the game Volume computing (add up, subtract each other), it is to be understood that the terminal applies can also be music, clear Look at device etc., setup algorithm rule is needed according to its operation, and corresponding application data is calculated, herein It is not especially limited.
Such as, so that the terminal applies are specially played such as " fighting landlord " as an example, then server is built with terminal A After having stood connection, game of terminal A according to indicated by the information that server sends such as " fighting landlord ", is obtained The fraction computation rule of the game is got, the game points that get will be refreshed thereafter in game process and tired out Plus, obtain result of calculation.Or, player's room list computation rule of the game is obtained, thereafter to player Room list is calculated, and obtains result of calculation, etc..
Preferably, terminal is in addition to application data is calculated, can also be to the result that obtains after calculating Verified, such as, may particularly include:
The result of calculation is detected;
Based on this, terminal sends the result of calculation to server and can be specially:
When it is correct to detect the result of calculation, the result of calculation is sent to server;
When detect the result of calculation for mistake when, the result of calculation is modified, and to modification after Result of calculation detected, until detect result of calculation for it is correct when, by the result of calculation send to Server.
Such as, the terminal applies are game, game points are carried out cumulative or game player's room list is entered After row is calculated and refreshes (such as refreshing to the ranking of player in list of players according to game points), meeting Result of calculation is verified, if calculating correct, just result of calculation is uploaded onto the server, if calculating wrong By mistake, just which is modified, again result of calculation uploads onto the server after modification is correct.
It is understood that the result of calculation is sent to server (i.e. step S208) in terminal, Can also include:
When the information of the application data that the instruction for receiving server transmission calculates terminal applies, triggering is performed It is described according to described information, obtain it is corresponding meet preset format application data the step of (i.e. step S205), until when the instruction for receiving server transmission stops calculating the information of application data, stopping correspondence With the calculating of data.
For a terminal, when the information for indicating calculating application data is received, will obtain accordingly Application data is taken, then which is calculated, and also result of calculation is uploaded onto the server accordingly, until When receiving the information of instruction stopping calculating application data, just stop the calculating of application data;That is, Each result for calculating can all be uploaded onto the server by terminal.
Such as, the terminal applies are game, and the game is a game in limited time, when being sent out from server first Send and indicate to start at when calculating the information of application data, if reaching prefixed time interval, represent the game and tie Beam, now, server sends the information for indicating to stop calculating application data to terminal, to inform that terminal stops The calculating of application data;Further, in the time interval, terminal will can be generated in game process Result of calculation uploads onto the server, and wherein, the quantity of result of calculation is come by the corresponding computation rule of the game Determine, be not especially limited herein.
In step S209, the result of calculation of server receiving terminal transmission is simultaneously cached.
In step S210, according to preset rules, it is right to be determined in the result of calculation of caching respectively for server Answer the final calculation result of terminal.
In step S211, server is by the final calculation result write into Databasce.
Wherein, step S209 can be specially to step S211:
For each terminal, the calculated result of calculation of institute is all uploaded onto the server;Server by these Result of calculation is cached, it is contemplated that server generate when also can run to terminal applies other Data are cached.
Such as, the terminal applies specially can be played, such as " fighting landlord ", when user is played, with Machine or assign the user between new hand's drill shack according to subscriber's installation, grade etc., primary field room, intermediate drill shack Between etc. played;For each room, system can according to game rule, such as according to game point on the spot, Or according to going game fraction, or according to the ranking of player in overall game point etc. automatically refreshing list of players, Server can also cache game in addition to the game points generated in caching the game process that terminal is submitted to In other game datas such as generation room list of players.
Further, after server buffer result of calculation, such as game points, according to the rule for pre-setting, In these result of calculations for caching, corresponding terminal final calculation result is determined, finally, only by this most Whole result of calculation write into Databasce, that is to say, that avoid server and frequently write data to database;Than Such as, the game point before game over is temporarily stored into the internal memory of server, the reading and change of fraction need not Write into Databasce, game point are also directly obtained from server, after game over, then by final fraction etc. Data recorded database.
Determine that the mode of the final calculation result of terminal can have various, such as each terminal, clothes The result of calculation of highest scoring of playing in the result of calculation of corresponding caching can be calculated knot as final by business device Really, or, the result of calculation that last can be cached as final calculation result etc., herein not Make concrete restriction.
From the foregoing, the application data processing method based on terminal provided in an embodiment of the present invention, receives and uses The instruction of family input, the instruction indicate to be currently needed for opening terminal applies;Thereafter, being obtained according to the instruction should With data, and voluntarily the application data to getting in terminal is calculated, and is finally sent result of calculation To server, that is to say, that at the calculating of application data, reason terminal is voluntarily completed, real-time without the need for server Calculate, reduce calculating pressure of the server to terminal applies data, improve data-handling efficiency;Also, Final calculation result is only uploaded to database by server, it is to avoid database write is frequent, reduces database Read-write pressure.
3rd embodiment
For ease of preferably implementing the application data processing method based on terminal provided in an embodiment of the present invention, this Inventive embodiments also provide a kind of device based on above-mentioned application data processing method and system.Wherein noun Implication it is identical with the above-mentioned application data processing method based on terminal, implement the details side of may be referred to Explanation in method embodiment.
Fig. 3 a are referred to, Fig. 3 a are the application data processing meanss based on terminal provided in an embodiment of the present invention Structural representation, the device can with it is integrated in the terminal, including instruction reception unit 301, data acquisition Unit 302, computing unit 303 and transmitting element 304:
Wherein instruction reception unit 301, indicates the instruction for opening terminal applies for receiving, and such as receives and uses The instruction of terminal applies is opened in the instruction of family input;Data capture unit 302, for according to the instruction, Acquisition meets the application data of preset format.
Such as, receive user is by touch or clicks on triggered instruction, to open selected terminal applies, The terminal applies can refer specifically to game, music etc.;Thereafter, when obtaining terminal applies operation according to the instruction What is generated meets the application data of preset format, and wherein, the preset format can need to carry out according to user Pre-set, can such as be game points, voice data etc..
Further, Fig. 3 b are referred to, is another structural representation of application data processing meanss, the data Acquiring unit 302, can include:
A, transmission subelement 3021, for according to the instruction, sending connection request to server;
B, receiving subelement 3022, for when it is determined that server according to the connection request set up connect when, Based on the connection, the instruction that the reception server sends calculates the information of the application data of the terminal applies;
C, acquisition subelement 3023, meet answering for preset format for according to described information, acquisition is corresponding Use data.
It is understood that connection of the application data processing meanss (such as terminal) and server between can have Body refers to a kind of online internetwork connection mode, and wherein, the connection can use arbitrary communication standard or agreement, Including but not limited to global system for mobile communications GSM, general packet radio service GPRS, CDMA CDMA, WCDMA WCDMA, Long Term Evolution LTE etc., the embodiment of the present invention is illustrated not herein Constitute limitation of the invention.
Computing unit 303, for carrying out logical calculated to the application data, obtains result of calculation;Send Unit 304, for the result of calculation is sent to server.
Such as, get after meeting the application data of preset format, computing unit 303 voluntarily in terminal These application datas are carried out with logical calculated, the result of calculation for obtaining is uploaded onto the server by transmitting element 304; That is, the logical calculated of application data is voluntarily completed in terminal, server is without the need for this portion again to terminal Point application data carries out logical calculated, when terminal is more, can greatly reducing the calculating pressure of server.
Further, the computing unit 303, can answer specifically for the terminal according to indicated by described information With the corresponding default computation rule of acquisition;According to the default computation rule, the application data is carried out Logical calculated, obtains result of calculation.
Such as, if the terminal applies that the information is indicated are game, corresponding computation rule can be the game Score computation rule;If the terminal applies that the information is indicated are music, corresponding computation rule can be Process calculating of the music audio data etc..I.e.:
The computing unit, specifically can be used for (indicating to calculate the application of the terminal applies according to the information The information of data) determine corresponding game, and obtain the corresponding game computation rule of the game;According to the trip Play computation rule, carries out logical calculated to game point, obtains result of calculation.
It is understood that after result of calculation is drawn, it is preferred that the result of calculation can be detected, Fig. 3 c are referred to, is another structural representation of application data processing meanss, described device can also include:
Detector unit 305, for detecting to the result of calculation;
Then transmitting element 304 can be specifically for:When it is correct to detect the result of calculation, will be described Result of calculation is sent to server;When detecting that the result of calculation is mistake, the result of calculation is entered Row modification, and detects to amended result of calculation, until detect result of calculation for it is correct when, will The result of calculation is sent to server.
Further, as shown in Figure 3 c, the device can also include:Trigger element 306, connects for working as During the information of the application data that the instruction for receiving server transmission calculates terminal applies, triggering performs the basis Described information, obtain it is corresponding meet preset format application data the step of, until receive server send out When the instruction sent stops calculating the information of application data, stop the calculating of application data.
Preferably, after the result of calculation that server receives each terminal, can respectively to each terminal Result of calculation is analyzed, and determines final result of calculation according to preset rules, and by the final calculating As a result write into Databasce.
Such as, for each terminal, the calculated result of calculation of institute is all uploaded onto the server;Server These result of calculations are cached;Then, according to the rule for pre-setting, in the calculating knot that these cache In fruit, corresponding terminal final calculation result is determined, finally, the final calculation result is write into data only Storehouse, that is to say, that avoid server and frequently write data to database.
When being embodied as, above unit can be realized as independent entity, it is also possible to carried out arbitrarily Combination, realizes as same or several entities, and being embodied as of above unit can be found in above Embodiment of the method, will not be described here.
Should application data processing meanss based on terminal can specifically be integrated in terminal, such as mobile computer, During tablet PC, mobile phone etc. possess storage element and are provided with microprocessor and have the equipment of operational capability.
From the foregoing, the application data processing meanss based on terminal provided in an embodiment of the present invention, receive and use The instruction of family input, the instruction indicate to be currently needed for opening terminal applies;Thereafter, being obtained according to the instruction should With data, and voluntarily the application data to getting in terminal is calculated, and is finally sent result of calculation To server, that is to say, that at the calculating of application data, reason terminal is voluntarily completed, real-time without the need for server Calculate, reduce calculating pressure of the server to terminal applies data, improve data-handling efficiency;Also, Final calculation result is only uploaded to database by server, it is to avoid database write is frequent, reduces database Read-write pressure.
Fourth embodiment
Accordingly, the embodiment of the present invention also provides a kind of application data processing system, including at least one terminal, Wherein the terminal can be specially any one application data processing means provided in an embodiment of the present invention and (be based on The application data processing meanss of terminal), embodiment three is specifically can be found in, for example, specifically can be as follows:
Terminal, indicates the instruction for opening terminal applies for receiving, and the instruction of such as receiving user's input is opened The instruction of terminal applies, according to the instruction, acquisition meets the application data of preset format, applies number to this According to logical calculated is carried out, result of calculation is obtained, the result of calculation is sent to server.
Wherein, the mode for obtaining the application data for meeting preset format can have various, for example, can be as follows:
According to the instruction of user input open terminal applies instruction, to server send connection request, when it is determined that When server sets up connection according to the connection request, based on the connection, the instruction that the reception server sends is calculated The information of the application data of terminal applies;According to the information, the corresponding application number for meeting preset format is obtained According to.
Additionally, the application data processing system also includes server and database, it is as follows:
The server, can be used for receiving the result of calculation of aforementioned terminals transmission and being cached, according to default Rule, determines the final calculation result of counterpart terminal in the result of calculation of caching respectively, will finally calculate knot Fruit writes the database, the database, can be used for storing the result of calculation that the server is uploaded.
More than each equipment be embodied as can be found in embodiment above, will not be described here.
From the foregoing, application data processing system provided in an embodiment of the present invention, terminal receiving user's input Instruction, the instruction indicates to be currently needed for opening terminal applies;Thereafter, application data is obtained according to the instruction, And voluntarily the application data to getting in terminal is calculated, and result of calculation is sent to server finally, That is, reason terminal is voluntarily completed at the calculating of application data, calculated without the need for server in real time, reduced Calculating pressure of the server to terminal applies data, improves data-handling efficiency;Also, server is only Final calculation result is uploaded to into database, it is to avoid database write is frequent, reduces data base read-write pressure.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed in certain embodiment The part stated, may refer to the detailed description above with respect to the application data processing method based on terminal, herein Repeat no more.
The application data processing meanss based on terminal provided in an embodiment of the present invention are for example computer, Panel computer, the mobile phone with touch function etc., the application data processing meanss based on terminal with it is upper Same design is belonged to based on the application data processing method of terminal in literary embodiment, described based on terminal Can run in application data processing meanss described based on offer in the application data processing method embodiment of terminal Either method, which implements process and refers to the application data processing method embodiment based on terminal, Here is omitted.
It should be noted that for the application data processing method based on terminal of the present invention, this area Common test personnel are appreciated that to realize the application data processing method described in the embodiment of the present invention based on terminal All or part of flow process, can be by computer program to control the hardware of correlation to complete, the calculating Machine program can be stored in a computer read/write memory medium, be such as stored in the memory of terminal, and quilt At least one computing device in the terminal, may include in the process of implementation such as the application based on terminal The flow process of the embodiment of data processing method.Wherein, described storage medium can be magnetic disc, CD, read-only Memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For the application data processing meanss described in the embodiment of the present invention based on terminal, its each functional module During a process chip can be integrated in, or modules are individually physically present, it is also possible to two or Two or more module is integrated in a module.Above-mentioned integrated module both can be realized in the form of hardware, Can also be realized in the form of software function module.If the integrated module is with software function module Form is realized and as when independent production marketing or use, it is also possible to is stored in an embodied on computer readable and is deposited In storage media, the storage medium is for example read-only storage, disk or CD etc..
Above the embodiment of the present invention is provided it is a kind of based on the application data processing method of terminal, device and System is described in detail, and specific case used herein is carried out to the principle of the present invention and embodiment Illustrate, the explanation of above example is only intended to help and understands the method for the present invention and its core concept;Together When, for those skilled in the art, according to the thought of the present invention, in specific embodiment and range of application On will change, in sum, this specification content should not be construed as limiting the invention.

Claims (13)

1. a kind of processing method of the application data based on terminal, it is characterised in that include:
Receive the instruction for indicating to open terminal applies;
According to the instruction, acquisition meets the application data of preset format;
Logical calculated is carried out to the application data, result of calculation is obtained;
The result of calculation is sent to server.
2. the application data processing method based on terminal according to claim 1, it is characterised in that institute State according to the instruction, acquisition meets the application data of preset format, including:
According to the instruction, connection request is sent to server;
When it is determined that server sets up connection according to the connection request, based on the connection, the reception server The instruction of transmission calculates the information of the application data of the terminal applies;
According to described information, the corresponding application data for meeting preset format is obtained.
3. the application data processing method based on terminal according to claim 2, it is characterised in that institute Stating carries out logical calculated to the application data, obtains result of calculation, including:
Terminal applies according to indicated by described information, obtain corresponding default computation rule;
According to the default computation rule, logical calculated is carried out to the application data, result of calculation is obtained.
4. the application data processing method based on terminal according to claim 2, it is characterised in that institute State and send the result of calculation to before server, also include:
The result of calculation is detected;
The result of calculation is sent to server and is specially:When it is correct to detect the result of calculation, The result of calculation is sent to server;When detecting that the result of calculation is mistake, to the calculating As a result modify, and amended result of calculation is detected, until detecting that result of calculation is correct When, the result of calculation is sent to server.
5. the application data processing method based on terminal according to any one of claim 2 to 4, which is special Levy and be, it is described to send the result of calculation to server, also include:
When the information of the application data that the instruction for receiving server transmission calculates terminal applies, triggering is performed It is described according to described information, obtain it is corresponding meet preset format application data the step of, until receiving When the instruction that server sends stops calculating the information of application data, stop the calculating of application data.
6. the application data processing method based on terminal according to claim 3, it is characterised in that institute The terminal applies according to indicated by described information are stated, corresponding default computation rule is obtained, according to described default Computation rule, carries out logical calculated to the application data, obtains result of calculation, including:
Corresponding game is determined according to described information, and obtains the corresponding game computation rule of the game;
According to the game computation rule, logical calculated is carried out to game point, result of calculation is obtained.
7. a kind of application data processing meanss based on terminal, it is characterised in that include:
Instruction reception unit, indicates the instruction for opening terminal applies for receiving;
Data capture unit, for according to the instruction, acquisition meets the application data of preset format;
Computing unit, for carrying out logical calculated to the application data, obtains result of calculation;
Transmitting element, for the result of calculation is sent to server.
8. application data processing meanss based on terminal according to claim 7, it is characterised in that institute Data capture unit is stated, including:
Subelement is sent, for according to the instruction, connection request being sent to server;
Receiving subelement, for when it is determined that server sets up connection according to the connection request, based on described Connection, the instruction that the reception server sends calculate the information of the application data of the terminal applies;
Subelement is obtained, for according to described information, obtaining the corresponding application data for meeting preset format.
9. application data processing meanss based on terminal according to claim 8, it is characterised in that institute Computing unit is stated, specifically for the terminal applies according to indicated by described information, corresponding default calculating is obtained Rule;According to the default computation rule, logical calculated is carried out to the application data, result of calculation is obtained.
10. application data processing meanss based on terminal according to claim 8, it is characterised in that Described device also includes:
Detector unit, for detecting to the result of calculation;
The transmitting element, specifically for when it is correct to detect the result of calculation, described calculating being tied Fruit is sent to server, when detecting that the result of calculation is mistake, the result of calculation is modified, And amended result of calculation is detected, until detect result of calculation for it is correct when, by the calculating As a result send to server.
The 11. application data processing meanss based on terminal according to any one of claim 8 to 10, its It is characterised by, described device also includes:
Trigger element, for calculating the letter of the application data of terminal applies when the instruction for receiving server transmission During breath, triggering performs described according to described information, the step of the corresponding application data for meeting preset format of acquisition Suddenly, until when the instruction for receiving server transmission stops calculating the information of application data, stopping to applying number According to calculating.
The 12. application data processing meanss based on terminal according to claim 9, it is characterised in that
The computing unit specifically for:Corresponding game is determined according to described information, and obtains the game Corresponding game computation rule;According to the game computation rule, logical calculated is carried out to game point, is obtained To result of calculation.
A kind of 13. application data processing systems, it is characterised in that including at least one terminal, server with And database, wherein, the terminal is the application based on terminal as described in any one of claim 7 to 12 Data processing equipment;
The server, for receiving the result of calculation of the terminal transmission and being cached, according to default rule Then, determine the final calculation result of counterpart terminal in the result of calculation of caching respectively, by the final calculating As a result write the database.
CN201510583060.5A 2015-09-14 2015-09-14 Application data processing method, device and system based on terminal Active CN106535152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510583060.5A CN106535152B (en) 2015-09-14 2015-09-14 Application data processing method, device and system based on terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510583060.5A CN106535152B (en) 2015-09-14 2015-09-14 Application data processing method, device and system based on terminal

Publications (2)

Publication Number Publication Date
CN106535152A true CN106535152A (en) 2017-03-22
CN106535152B CN106535152B (en) 2020-03-17

Family

ID=58348315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510583060.5A Active CN106535152B (en) 2015-09-14 2015-09-14 Application data processing method, device and system based on terminal

Country Status (1)

Country Link
CN (1) CN106535152B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598462A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Data presentation method, device and system, electronic equipment and storage medium
CN112307064A (en) * 2020-10-29 2021-02-02 上海达梦数据库有限公司 Data management system, method and storage medium
CN113058263A (en) * 2021-03-31 2021-07-02 重庆五诶科技有限公司 Distributed operation management system and method for online chess game

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101637383A (en) * 2008-08-01 2010-02-03 深圳市新元素医疗技术开发有限公司 Method, system and mobile terminal for monitoring electrocardiosignal
CN101741653A (en) * 2008-11-21 2010-06-16 爱思开电讯投资(中国)有限公司 Client server, intelligent terminal, online game system and method
CN103268335A (en) * 2013-05-13 2013-08-28 中国农业银行股份有限公司 Report data filling method and system
CN103379127A (en) * 2012-04-12 2013-10-30 阿里巴巴集团控股有限公司 Data interaction method and apparatus between server and client
CN103457930A (en) * 2013-07-29 2013-12-18 江苏钱旺智能系统有限公司 Data processing method based on server, user terminal and merchant terminal
CN104079566A (en) * 2014-06-20 2014-10-01 用友软件股份有限公司 Terminal, server, and result attribute value computing method in page

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101637383A (en) * 2008-08-01 2010-02-03 深圳市新元素医疗技术开发有限公司 Method, system and mobile terminal for monitoring electrocardiosignal
CN101741653A (en) * 2008-11-21 2010-06-16 爱思开电讯投资(中国)有限公司 Client server, intelligent terminal, online game system and method
CN103379127A (en) * 2012-04-12 2013-10-30 阿里巴巴集团控股有限公司 Data interaction method and apparatus between server and client
CN103268335A (en) * 2013-05-13 2013-08-28 中国农业银行股份有限公司 Report data filling method and system
CN103457930A (en) * 2013-07-29 2013-12-18 江苏钱旺智能系统有限公司 Data processing method based on server, user terminal and merchant terminal
CN104079566A (en) * 2014-06-20 2014-10-01 用友软件股份有限公司 Terminal, server, and result attribute value computing method in page

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598462A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Data presentation method, device and system, electronic equipment and storage medium
CN110598462B (en) * 2019-09-29 2023-06-23 腾讯科技(深圳)有限公司 Data presentation method, device, system, electronic equipment and storage medium
CN112307064A (en) * 2020-10-29 2021-02-02 上海达梦数据库有限公司 Data management system, method and storage medium
CN113058263A (en) * 2021-03-31 2021-07-02 重庆五诶科技有限公司 Distributed operation management system and method for online chess game

Also Published As

Publication number Publication date
CN106535152B (en) 2020-03-17

Similar Documents

Publication Publication Date Title
De Souza e Silva Pokémon Go as an HRG: Mobility, sociability, and surveillance in hybrid spaces
US20180189629A1 (en) Virtual assistant generation of group recommendations
US9244994B1 (en) Idempotency of application state data
CN109271768B (en) Distribution information management method, distribution information management device, storage medium and terminal
US10146775B2 (en) Apparatus, system and method for string disambiguation and entity ranking
KR20150128808A (en) Review system
CN107038455A (en) A kind of image processing method and device
CN103927356B (en) Ad blocking method and device
JP5968535B2 (en) Determining the reliability of online posting
CN103678321A (en) Webpage element determination method and device and user behavior route determination method and device
CN104634347A (en) Route planning method and device
CN110221959B (en) Application program testing method, device and computer readable medium
CN110008326B (en) Knowledge abstract generation method and system in session system
CN107408047A (en) The method and system of broadcast viewing session
CN106535152A (en) Terminal-based application data processing method, device and system
CN107608799A (en) A kind of method, equipment and storage medium for being used to perform interactive instruction
CN107450874A (en) A kind of multi-medium data double screen player method and system
Winter et al. Location-based mobile games for spatial knowledge acquisition
CN114357278B (en) Topic recommendation method, device and equipment
CN116090913A (en) Staff service data processing method and related device based on digital twin technology
CN106651410A (en) Application management method and application management device
KR20090129110A (en) System and method for giving online game replay file
CN110215704B (en) Game starting method and device, electronic equipment and storage medium
JP2008040869A (en) Point information evaluation system, point information evaluation program
US10343067B2 (en) Computer system and method for selecting and displaying in-gaming options based on user selection weight criteria

Legal Events

Date Code Title Description
C06 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