CN106534281B - A kind of response method of request of data, apparatus and system - Google Patents

A kind of response method of request of data, apparatus and system Download PDF

Info

Publication number
CN106534281B
CN106534281B CN201610942148.6A CN201610942148A CN106534281B CN 106534281 B CN106534281 B CN 106534281B CN 201610942148 A CN201610942148 A CN 201610942148A CN 106534281 B CN106534281 B CN 106534281B
Authority
CN
China
Prior art keywords
data
request
processing
data processing
cloud 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.)
Active
Application number
CN201610942148.6A
Other languages
Chinese (zh)
Other versions
CN106534281A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610942148.6A priority Critical patent/CN106534281B/en
Publication of CN106534281A publication Critical patent/CN106534281A/en
Priority to PCT/CN2017/093048 priority patent/WO2018076812A1/en
Application granted granted Critical
Publication of CN106534281B publication Critical patent/CN106534281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of response methods of request of data, apparatus and system, wherein this method comprises: receiving at least one data processing request that client is sent;Obtain the attribute information of the request data of data processing request instruction;The processing order of corresponding request data is determined according to the attribute information of request data according to default processing strategie;Processing order based on request data responds corresponding data processing request.Processing priority is arranged to request data according to the attribute information of request data in the embodiment of the present invention, cloud server is avoided to need a large amount of data processing request of processing in the short time, reduce cloud server load, the efficiency of server process data processing request is effectively improved, the response speed to client data is improved.

Description

A kind of response method of request of data, apparatus and system
Technical field
The invention belongs to field of communication technology more particularly to a kind of response methods of request of data, apparatus and system.
Background technique
Cloud service, also known as network service refer to the operation with network communication multiple stage computers, or penetrate net The service etc. that the online acquirement of network is provided by distance host.Cloud server is generated based on cloud service, is lightweight communication and letter Breathization manages marketing platform, has the characteristics that highly distributed, height virtualize, so that Internet resources are fully utilized.
Currently, request of data of the cloud server mainly for the treatment of client, such as back up, store and synchronize; But the request of data of processing multiple client in the short time is needed after cloud server delay machine, when being again started up, it is limited to Server load, it is possible to lead to component requests response slowly, the lower problem of data-handling efficiency.
Summary of the invention
The purpose of the present invention is to provide a kind of response methods of request of data, apparatus and system, it is intended to solve cloud clothes Business device is slow to the response of data processing request, the low problem of data-handling efficiency.
In order to solve the above technical problems, the embodiment of the present invention the following technical schemes are provided:
In a first aspect, the present invention provides a kind of response method of request of data, including:
Receive at least one data processing request that client is sent;
Obtain the attribute information of the request data of the data processing request instruction;
The processing of corresponding request data is determined according to the attribute information of the request data according to default processing strategie Order;
Processing order based on the request data responds corresponding data processing request.
Second aspect, the present invention provide a kind of responding device of request of data, including:
Receiving unit, for receiving at least one data processing request of client transmission;
Acquiring unit, the attribute information of the request data for obtaining the data processing request instruction;
Determination unit, for according to default processing strategie, according to the attribute information of the request data, determination to be asked accordingly Seek the processing order of data;
Response unit responds corresponding data processing request for the processing order based on the request data.
The third aspect, the present invention provide a kind of response system of request of data, including cloud server and at least one Client, the cloud server are the responding device of the request of data provided such as second aspect;
The client is used for, and Xiang Suoshu cloud server sends data processing request.
Compared with the existing technology, the embodiment of the present invention, server receives multiple data processings that client is sent beyond the clouds When request, according to the attribute information of the request data of data processing request instruction, processing order is then determined, and be based on the processing Order responds corresponding data processing request;Processing priority is arranged to request data according to the attribute information of request data, It avoids cloud server from needing a large amount of data processing request of processing in the short time, reduces cloud server load, effectively improve The efficiency of server process data processing request improves the response speed to client data.
Detailed description of the invention
With reference to the accompanying drawing, by the way that detailed description of specific embodiments of the present invention, technical solution of the present invention will be made And other beneficial effects are apparent.
Fig. 1 is the schematic diagram of a scenario of the response system of request of data provided in an embodiment of the present invention.
Fig. 2 is the flow diagram of the response method of request of data provided in an embodiment of the present invention.
Fig. 3 is another flow diagram of the response method of request of data provided in an embodiment of the present invention.
Fig. 4 is the structural schematic diagram of the responding device of request of data provided in an embodiment of the present invention.
Fig. 5 is another structural schematic diagram of the responding device of request of data provided in an embodiment of the present invention.
Fig. 6 is the structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiments of the present invention will refer to the step as performed by one or multi-section computer And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is executed by computer, this paper institute The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable Or in addition change the running of the computer in mode known to the tester of this field.The maintained data structure of the data For the provider location of the memory, there is the specific feature as defined in the data format.But the principle of the invention is with above-mentioned text Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step and behaviour as described below Also it may be implemented in hardware.
The principle of the present invention is grasped using many other wide usages or specific purpose operation, communication environment or configuration Make.The known example suitable for arithmetic system of the invention, environment and configuration may include (but being not limited to) hold phone, Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer Border, which includes any above system or devices.
It will be described in detail respectively below.
The response system of request of data provided in an embodiment of the present invention, main responding device and visitor including request of data Family end, wherein the responding device of the request of data specifically can integrate in the network equipments such as server or gateway, as cloud takes Business device etc., the client can be specially such as desktop computer, tablet computer, and the terminals such as mobile phone, the server and client can It is attached by wireless network.
For example, referring to FIG. 1, Fig. 1 is the schematic diagram of a scenario of the response system of request of data provided by the invention, the data The responding device of request is specifically integrated in cloud server, is mainly used for receiving at least one data processing that client is sent Request such as can send data processing request from multiple client to server, can also be sent out by a user end to server Send multiple data processing requests, etc.;Then, cloud server obtains the attribute letter of the request data of data processing request instruction Breath, such as the size of request data and type of request data, etc.;Thereafter, according to default processing strategie, and according to request The attribute information of data determines the processing order of corresponding request data, that is, determines the processing priority of request data;Most Afterwards, the processing order based on request data responds corresponding data processing request, such as carries out data synchronization, data transmission, data Backup etc..
As shown in Figure 1, the response system of the request of data can also include client, wherein the client is for receiving The data processing request that user is inputted by modes such as click, touch, slidings, and the data processing request is sent to cloud clothes Business device, the data processing request can be specially data synchronization and/or data transmission and/or data backup requests etc.;Alternatively, connecing Receive the request response results, etc. that cloud server returns.
In addition, the response system of the request of data can also include memory, wherein the memory is stored with default processing Strategy after the attribute information for getting request data with server beyond the clouds, calls, to ask to data processing for cloud server It asks and is responded.
In the present embodiment, the angle of the responding device from request of data is described, the response dress of the request of data Setting specifically can integrate in the network equipments such as server or gateway, such as cloud server.
A kind of response method of request of data, comprising: receive at least one data processing request that client is sent;It obtains The attribute information of the request data of data processing request instruction;According to default processing strategie, according to the attribute information of request data, Determine the processing order of corresponding request data;Processing order based on request data responds corresponding data processing request.
Referring to Fig. 2, Fig. 2 is the flow diagram of the response method of request of data provided in an embodiment of the present invention.It is described Method includes:
In step s101, at least one data processing request that client is sent is received.
For example, input interface has can be preset in client, it to be such as used for the terminal applies APP of data processing (Application) or input control, user can trigger the input interface by modes such as click, touch, slidings, with to The processing request of client input data, and the data processing request is sent to cloud server by client.
It is sent it is understood that at least one data processing request can be from multiple client to cloud server Data processing request, the multiple data processing requests that can also be sent from a client to cloud server do not make herein It is specific to limit.
In some embodiments, receiving at least one data processing request (i.e. step S101) that client is sent can have Body includes:
Beyond the clouds after server restarting, at least one data processing that client is sent during receiving restarting is asked It asks.
Wherein, when cloud server delay machine or power failure or business reorganization, it is required to restarting server, During this section, client may send multiple data processing requests to cloud server;Therefore, server is again beyond the clouds After starting, need to receive multiple data processing requests that client is sent during restarting.
In some embodiments, receive client send at least one data processing request (i.e. step S101) it Afterwards, can also include:
(1) quantity of data processing request is calculated.
(2) when the quantity for determining data processing request is greater than preset threshold, triggering, which executes, obtains data processing request The attribute information of the request data of instruction.
That is, cloud server is when determining that the quantity of data processing request received is greater than preset threshold, The sequence of data processing request response can be determined according to the attribute information of request data.
In step s 102, the attribute information of the request data of data processing request instruction is obtained.
In some embodiments, attribute information (the i.e. step of the request data of the data processing request instruction is obtained S102 it) can specifically include:
(a) the data volume size and/or data type of the request data of data processing request instruction are obtained.
(b) the data volume size and/or data type of request data are determined as to the attribute information of request data.
It is understood that the attribute information of request data may include data volume size, data in the embodiment of the present invention One or more combinations in type, data source and data uplink time etc. information, are not especially limited herein.
In step s 103, according to default processing strategie, according to the attribute information of the request data, determination is asked accordingly Seek the processing order of data.
Wherein, cloud server determines corresponding according to default processing strategie according to the attribute information of the request data The implementation of the processing order of request data has very much, such as when attribute information data amount size and/or data type, can It specifically includes:
(A) maximum throughput of cloud server is determined.
(B) according to default processing strategie, in conjunction with the cloud server maximum throughput and data volume size and/ Or data type, determine the processing order of corresponding request data.
For example, cloud server maximum throughput is 1M, if default processing strategie setting priority processing data volume is lesser Data, then cloud server combines default processing strategie, the data volume size of each request data and the maximum throughput, determines The priority of the lesser data of data volume is higher, and the priority of the biggish data of data volume is lower, and priority is high to be first carried out.
In step S104, the processing order based on request data responds corresponding data processing request.
For example, processing order of the cloud server according to the step S103 request data determined, successively to corresponding number It is responded according to processing request, executes corresponding processing operation, data are synchronous, data are transmitted, data backup such as carried out.
It can be seen from the above, the response method of request of data provided in this embodiment, server receives client hair beyond the clouds When the multiple data processing requests sent, according to the attribute information of the request data of data processing request instruction, processing is then determined Order, and corresponding data processing request is responded based on the processing order;I.e. according to the attribute information of request data to number of request According to setting processing priority, cloud server is avoided to need a large amount of data processing request of processing in the short time, reduces cloud clothes Business device load, effectively improves the efficiency of server process data processing request, improves the response speed to client data.
Citing, is described in further detail by the method according to described in above-described embodiment below.
Due to being again started up after cloud server delay machine, cloud server needs processing multiple client in the short time Data processing request is limited to cloud server load, it is possible to cause component requests response slow.Wherein, at the data Reason request can be specially data synchronization and/or data transmission and/or data backup requests etc..Based on this, the present embodiment provides A kind of cloud server delay machine restart after data processing policy, can effectively improve Server Restart post-processing request of data Efficiency improves the responding ability to client data.
Referring to Fig. 3, Fig. 3 is another flow diagram of the response method of request of data provided in an embodiment of the present invention. The method specifically includes that
In step s 201, beyond the clouds after server restarting, client is sent multiple during receiving restarting Data processing request.
For example, it is required to restarting server when cloud server delay machine or power failure or business reorganization, During this section, client may send multiple data processing requests to cloud server;Therefore, server is again beyond the clouds After starting, the mass data processing that client is sent during being likely to be received restarting is requested.
For another example, it beyond the clouds during Server Restart, receives at the data that multiple client is sent to cloud server Reason request, also can receive the multiple data processing requests sent to a client to cloud server.
In certain embodiments, preferable, if cloud server is in the number for determining the data processing request received When amount is greater than preset threshold, just meeting trigger data processing strategie is responded;It otherwise, can be first according to the time of data processing request It is sequentially responded afterwards.
In step S202, the data volume size and data type of the request data of data processing request instruction are determined.
For example, the data volume according to the request data of data processing request instruction is big according to preset processing strategie Small and data type, classifies to request data, such as can the first lesser setting switch data of response data amount, then number of responses According to the bigger short message synchrodata etc. of amount.
It is understood that setting one data-quantity threshold, for define request data be big data quantity or small data quantity, If it is less than the data-quantity threshold, then it can be considered the lesser request data of data volume, if it is greater than the data-quantity threshold, then visually For the biggish request data of data volume.If data volume size can be considered as the lesser request data of data volume 0 to 30K, number The biggish request data of data volume can be considered as greater than 30K according to amount size.
Further, switch data, setting mark data can also be such as set according to data type come characterize data size Etc. being regarded as the lesser request data of data volume;It is larger that short message synchrodata, information back-up data etc. are regarded as data volume Request data, be not especially limited herein.
In step S203, the maximum throughput of cloud server is determined.
In step S204, the processing plan that is preferentially responded according to the lesser data processing request of pre-set data volume Slightly, in conjunction with the maximum throughput of cloud server and the data volume size and data type of request data, determination is asked accordingly Seek the processing order of data.
In step S205, the processing order based on request data responds corresponding data processing request.
For example, if according to the processing strategie that the lesser data processing request of pre-set data volume is preferentially responded, Such result is exactly, and after cloud server is restarted, the lesser data processing request of client data amount is preferentially responded, in this way More client requests can be responded when transmitting same quantity of data.
Can specifically, for example, cloud server maximum throughput be 1M, the data processing of 10 100K is received after restarting The data processing request of request and 100 10K, is preferentially responded according to the lesser data processing request of pre-set data volume This processing strategie, cloud server can this 100 10K data of preferential answering client request, then respond 10 100K The client request of data, that is to say, that responded 100 client requests after restarting at the first time, compared to 10 clients Request, substantially increases the efficiency to client end response, improves user experience and product competitiveness.
It is understood that the part not being described in detail in this embodiment, may refer to the sound above with respect to request of data The detailed description of induction method, details are not described herein again.
It can be seen from the above, the response method of request of data provided in this embodiment, server receives client hair beyond the clouds When the multiple data processing requests sent, according to data processing request instruction request data data volume size and data type, Then it determines processing order, and corresponding data processing request is responded based on the processing order;I.e. according to the attribute of request data Processing priority is arranged to request data in information, avoids cloud server that a large amount of data processing of processing in the short time is needed to ask It asks, reduces cloud server load, that is to say, that utmostly respond more client requests, substantially increase to client The efficiency of response, improves user experience and product competitiveness, can effectively improve cloud service and restart post-processing number clients According to the efficiency of request, maximizes and improve response speed.
For the response method convenient for better implementation request of data provided in an embodiment of the present invention, the embodiment of the present invention is also mentioned For the device and system of a kind of response method based on above-mentioned request of data.The wherein meaning of noun and above-mentioned request of data Identical in the method for response, specific implementation details can be with reference to the explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of the responding device 300 of request of data provided in an embodiment of the present invention, it should The responding device 300 of request of data mainly includes receiving unit 301, acquiring unit 302, determination unit 303 and response unit 304。
Wherein, receiving unit 301, for receiving at least one data processing request of client transmission.
For example, input interface has can be preset in client, it to be such as used for the terminal applies APP of data processing, or input Control, user can trigger the input interface by modes such as click, touch, slidings, to be requested to the processing of client input data, And the data processing request is sent to cloud server by client.
It is sent it is understood that at least one data processing request can be from multiple client to cloud server Data processing request, the multiple data processing requests that can also be sent from a client to cloud server do not make herein It is specific to limit.
In some embodiments, the receiving unit 301 receives after being specifically used for server restarting beyond the clouds At least one data processing request that client is sent during restarting.
Wherein, when cloud server delay machine or power failure or business reorganization, it is required to restarting server, During this section, client may send multiple data processing requests to cloud server;Therefore, server is again beyond the clouds After starting, need to receive multiple data processing requests that client is sent during restarting.
Acquiring unit 302, the attribute information of the request data for obtaining the data processing request instruction;Determination unit 303, for determining the processing of corresponding request data according to the attribute information of the request data according to default processing strategie Order.
For example, cloud server combines this pre- if default processing strategie sets priority processing data volume lesser data If processing strategie, the data volume size of each request data determine that the priority of the lesser data of data volume is higher, data volume is larger Data priority it is lower, priority is high to be first carried out.
Response unit 304 responds corresponding data processing request for the processing order based on the request data.
For example, the processing order for the request data that cloud server is determined according to determination unit 303, successively to corresponding Data processing request is responded, and corresponding processing operation is executed, such as carried out, data are synchronous, data are transmitted, data backup.
Please refer to fig. 5, Fig. 5 is the structural representation of the responding device 400 of request of data provided in an embodiment of the present invention Figure;Wherein, which can specifically include:
Obtain subelement 3021, for obtain the request data of data processing request instruction data volume size and/ Or data type.
First determines subelement 3022, for the data volume size and/or data type of request data to be determined as requesting The attribute information of data.
It is understood that the attribute information of request data may include data volume size, data in the embodiment of the present invention One or more combinations in type, data source and data uplink time etc. information, are not especially limited herein.
Wherein, such as when attribute information data amount size and/or data type, as shown in figure 5, the determination unit 303 It can specifically include:
Second determines subelement 3031, for determining the maximum throughput of cloud server.
Third determines subelement 3032, is used for according to default processing strategie, in conjunction with the maximum throughput of the cloud server Amount and data volume size and/or data type, determine the processing order of corresponding request data.
For example, cloud server maximum throughput is 1M, if default processing strategie setting priority processing data volume is lesser Data, then cloud server combines default processing strategie, the data volume size of each request data and the maximum throughput, determines The priority of the lesser data of data volume is higher, and the priority of the biggish data of data volume is lower, and priority is high to be first carried out.
As shown in figure 5, in some embodiments, the responding device of the request of data can also include:
Computing unit 305, for calculating the quantity of the data processing request.
Trigger unit 306, for when the quantity for determining the data processing request is greater than preset threshold, triggering to be obtained Unit 302 executes the attribute information for obtaining the request data of the data processing request instruction.
That is, cloud server is when determining that the quantity of data processing request received is greater than preset threshold, The sequence of data processing request response can be determined according to the attribute information of request data.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not It repeats again.
The responding device of the request of data specifically can integrate in the network equipments such as server or gateway, such as cloud service Device etc..
It can be seen from the above, the responding device of request of data provided in this embodiment, server receives client hair beyond the clouds When the multiple data processing requests sent, according to the attribute information of the request data of data processing request instruction, processing is then determined Order, and corresponding data processing request is responded based on the processing order;I.e. according to the attribute information of request data to number of request According to setting processing priority, cloud server is avoided to need a large amount of data processing request of processing in the short time, reduces cloud clothes Business device load, effectively improves the efficiency of server process data processing request, improves the response speed to client data.
In addition, can refer to the sound of request of data as shown in Figure 1 the present invention also provides a kind of response system of request of data System, including cloud server and client are answered, wherein the cloud server may include appointing provided by embodiment as above The responding device of one request of data.
For example, the cloud server is mainly used for receiving at least one data processing request that client is sent, it such as can be with Data processing request is sent from multiple client to server, multiple data can also be sent by a user end to server Reason request, etc.;Then, cloud server obtains the attribute information of the request data of data processing request instruction, such as number of request According to size and the type of request data, etc.;Thereafter, according to default processing strategie, and believed according to the attribute of request data Breath, determines the processing order of corresponding request data, that is, determines the processing priority of request data;Finally, based on request The processing order of data responds corresponding data processing request, such as carried out, data are synchronous, data are transmitted, data backup.
Further, which receives client is sent during restarting at least one after restarting A data processing request.Later, the quantity of the data processing request can be calculated;When determining the data processing request When quantity is greater than preset threshold, just triggering executes the attribute information for obtaining the request data of the data processing request instruction.
In some embodiments, the number of the request data of the available data processing request instruction of cloud server According to amount size and/or data type;The data volume size and/or data type of request data are determined as to the attribute of request data Information;Then, according to default processing strategie, in conjunction with the maximum throughput and data volume size and/or data of cloud server Type determines the processing order of corresponding request data.
The response system of the request of data can also include client, wherein the client passes through a little for receiving user It the data processing request that modes input such as hits, touch, sliding, and the data processing request is sent to cloud server, the number It can be specially data synchronization and/or data transmission and/or data backup requests etc. according to processing request;Alternatively, receiving cloud clothes The request response results, etc. that business device returns.
It is understood that structure and the function realization of the responding device of the request of data may refer to above with respect to number According to the detailed description of the responding device of request, details are not described herein again.
The embodiment of the invention provides a kind of servers 600, wherein can integrate any number provided by embodiment as above According to the responding device of request, with reference to Fig. 6, it illustrates the structural schematic diagram of server 600 involved in the embodiment of the present invention, tools For body:
The server 600 may include one or more than one processing core processor 601, one or more The memory 602 of computer readable storage medium, radio frequency (Radio Frequency, RF) circuit 603, power supply 604, input are single First 605 and display unit 606 etc. components.It will be understood by those skilled in the art that server architecture shown in Fig. 6 is not The restriction to server is constituted, may include perhaps combining certain components or different than illustrating more or fewer components Component layout.Wherein:
Processor 601 is the control centre of the server, utilizes each of various interfaces and the entire server of connection Part by running or execute the software program and/or module that are stored in memory 602, and calls and is stored in memory Data in 602, the various functions and processing data of execute server, to carry out integral monitoring to server.Optionally, locate Managing device 601 may include one or more processing cores;Preferably, processor 601 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 601.
Memory 602 can be used for storing software program and module, and processor 601 is stored in memory 602 by operation Software program and module, thereby executing various function application and data processing.
During RF circuit 603 can be used for receiving and sending messages, signal is sended and received, and particularly, the downlink of base station is believed After breath receives, one or the processing of more than one processor 601 are transferred to;In addition, the data for being related to uplink are sent to base station.
Server further includes the power supply 604 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 601 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.Power supply 604 can also include one or more direct current or AC power source, recharging system, power failure The random components such as detection circuit, power adapter or inverter, power supply status indicator.
The server may also include input unit 605, which can be used for receiving the number or character letter of input Breath, and generation keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal are defeated Enter.
The server may also include display unit 606, the display unit 606 can be used for showing information input by user or Be supplied to the information of user and the various graphical user interface of server, these graphical user interface can by figure, text, Icon, video and any combination thereof are constituted.Display unit 606 may include display panel, optionally, can use liquid crystal display Device (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting ) etc. Diode forms configure display panel.
Specifically in the present embodiment, the processor 601 in server can be according to following instruction, by one or more The corresponding executable file of process of application program be loaded into memory 602, and run and be stored in by processor 601 Application program in reservoir 602, thus realize various functions, it is as follows:
At least one data processing request that client is sent is received, such as can send number from multiple client to server It is requested according to processing, multiple data processing requests, etc. can also be sent by a user end to server;Then, cloud service Device obtains the attribute information of the request data of data processing request instruction, such as the size of request data and the class of request data Type, etc.;Thereafter, according to default processing strategie, and according to the attribute information of request data, corresponding request data is determined Processing order determines the processing priority of request data;Finally, the corresponding number of processing order response based on request data It is requested according to processing, such as carried out, data are synchronous, data are transmitted, data backup.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the detailed description of the response method above with respect to request of data, details are not described herein again.
The responding device of the request of data provided in an embodiment of the present invention is for example computer, tablet computer, has touching The mobile phone etc. of function is touched, the response method of the request of data in the responding device and foregoing embodiments of the request of data belongs to Same design can run in the response method embodiment of the request of data on the responding device of the request of data and provide Either method, specific implementation process be detailed in the response method embodiment of the request of data, details are not described herein again.
It should be noted that this field common test personnel can for the response method of request of data of the present invention It is that can pass through computer to understand all or part of the process for the response method for realizing request of data described in the embodiment of the present invention Program is completed to control relevant hardware, and the computer program can be stored in a computer-readable storage medium, such as It is stored in the memory of terminal, and is executed by least one processor in the terminal, in the process of implementation may include such as institute State the process of the embodiment of the response method of request of data.Wherein, the storage medium can be magnetic disk, CD, read-only storage Device (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For the responding device of the request of data of the embodiment of the present invention, each functional module be can integrate at one It handles in chip, is also possible to modules and physically exists alone, a mould can also be integrated in two or more modules In block.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module. It, can also be with if the integrated module is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
It is provided for the embodiments of the invention a kind of response method of request of data above, apparatus and system has carried out in detail It introduces, used herein a specific example illustrates the principle and implementation of the invention, the explanation of above embodiments It is merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be understood For limitation of the present invention.

Claims (6)

1. a kind of response method of request of data characterized by comprising
Beyond the clouds after server restarting, at least one data processing request that client is sent during restarting is received;
The quantity for calculating the data processing request, when the quantity for determining the data processing request is greater than preset threshold, Obtain the data volume size and data type of the request data of the data processing request instruction;
If data volume size is less than data-quantity threshold or data type is switch data or setting mark data, by number of request According to being determined as the lesser request data of data volume;
If it is short message synchrodata or information back-up data that data volume size, which is greater than data-quantity threshold or data type, will ask Data are asked to be determined as the biggish request data of data volume;
According to the processing strategie that the lesser data processing request of pre-set data volume is preferentially responded, corresponding request is determined The processing order of data;
Processing order based on the request data responds corresponding data processing request;
When determining the quantity of the data processing request no more than preset threshold, according to the time of the data processing request Sequencing is responded.
2. the response method of request of data according to claim 1, which is characterized in that described according to pre-set data The processing strategie that lesser data processing request is preferentially responded is measured, determines the processing order of corresponding request data, comprising:
Determine the maximum throughput of cloud server;
According to the processing strategie that the lesser data processing request of pre-set data volume is preferentially responded, taken in conjunction with the cloud The maximum throughput of business device, determines the processing order of corresponding request data.
3. a kind of responding device of request of data characterized by comprising
Receiving unit, at least one that client is sent after the restarting of server beyond the clouds, during receiving restarting Data processing request;
Computing unit, for calculating the quantity of the data processing request;
Acquiring unit, for obtaining at the data when the quantity for determining the data processing request is greater than preset threshold The data volume size and data type of the request data of reason request instruction;If data volume size is less than data-quantity threshold or data Type is switch data or setting mark data, then request data is determined as the lesser request data of data volume;If data volume It is short message synchrodata or information back-up data that size, which is greater than data-quantity threshold or data type, then is determined as request data The biggish request data of data volume;
Determination unit, the processing strategie for preferentially being responded according to the lesser data processing request of pre-set data volume, Determine the processing order of corresponding request data;
Response unit responds corresponding data processing request for the processing order based on the request data.
4. the responding device of request of data according to claim 3, which is characterized in that the determination unit includes:
Second determines subelement, for determining the maximum throughput of cloud server;
Third determines subelement, the processing for preferentially being responded according to the lesser data processing request of pre-set data volume Strategy determines the processing order of corresponding request data in conjunction with the maximum throughput of the cloud server.
5. a kind of response system of request of data, including cloud server and at least one client, which is characterized in that described Cloud server is the responding device of the described in any item request of data of claim 3 to 4;
The client is used for, and Xiang Suoshu cloud server sends data processing request.
6. a kind of computer readable storage medium, is stored with computer program, wherein the computer program makes computer Execute such as the described in any item methods of claim 1 to 2.
CN201610942148.6A 2016-10-25 2016-10-25 A kind of response method of request of data, apparatus and system Active CN106534281B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610942148.6A CN106534281B (en) 2016-10-25 2016-10-25 A kind of response method of request of data, apparatus and system
PCT/CN2017/093048 WO2018076812A1 (en) 2016-10-25 2017-07-14 Data request response method and device, storage medium, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610942148.6A CN106534281B (en) 2016-10-25 2016-10-25 A kind of response method of request of data, apparatus and system

Publications (2)

Publication Number Publication Date
CN106534281A CN106534281A (en) 2017-03-22
CN106534281B true CN106534281B (en) 2019-09-24

Family

ID=58293176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610942148.6A Active CN106534281B (en) 2016-10-25 2016-10-25 A kind of response method of request of data, apparatus and system

Country Status (2)

Country Link
CN (1) CN106534281B (en)
WO (1) WO2018076812A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534281B (en) * 2016-10-25 2019-09-24 Oppo广东移动通信有限公司 A kind of response method of request of data, apparatus and system
CN108287706B (en) * 2017-05-10 2021-09-14 腾讯科技(深圳)有限公司 Data processing method and device
CN109412972A (en) * 2017-08-17 2019-03-01 阿里巴巴集团控股有限公司 A kind of data reordering method, device and node server
CN108804681B (en) * 2018-06-12 2021-06-08 北京奇虎科技有限公司 Data self-adaptive transmission method and device and computer storage medium
CN109067855A (en) * 2018-07-17 2018-12-21 中国联合网络通信集团有限公司 Service request processing method and system, agent node
CN109194582A (en) * 2018-07-27 2019-01-11 阿里巴巴集团控股有限公司 Data monitoring method, device, electronic equipment and computer readable storage medium
CN111385125B (en) * 2018-12-29 2022-05-03 Tcl科技集团股份有限公司 Server dynamic control method and server
CN111193775B (en) * 2019-12-10 2022-07-15 商客通尚景信息技术江苏有限公司 Optimization method for mobile terminal network request
CN113806070B (en) * 2021-08-10 2022-10-21 中标慧安信息技术股份有限公司 Data management method and device for edge computing and cloud computing
CN116347511A (en) * 2023-05-29 2023-06-27 泉州维盾电气有限公司 Data communication method and related equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1349339A2 (en) * 2002-03-26 2003-10-01 Hitachi, Ltd. Data relaying apparatus and system using the same
CN101227428A (en) * 2008-01-30 2008-07-23 中兴通讯股份有限公司 Application server and remote control method thereof
CN101968750A (en) * 2010-10-15 2011-02-09 珠海举天软件科技有限公司 Computer system and working method thereof
CN102546590A (en) * 2010-12-02 2012-07-04 瑞科网信科技有限公司 System and method for distributing application traffic to servers based on dynamic service response time
CN103873499A (en) * 2012-12-12 2014-06-18 腾讯科技(深圳)有限公司 Data acquisition method and device
CN104750690A (en) * 2013-12-25 2015-07-01 ***通信集团公司 Query processing method, device and system
CN105007312A (en) * 2015-07-03 2015-10-28 叶秀兰 Method and system for controlling adaptive load-balancing of cloud computing server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140200947A1 (en) * 2013-01-15 2014-07-17 Xerox Corporation Methods and systems for regulating service layer agreements for multiple cloud service requests
CN106534281B (en) * 2016-10-25 2019-09-24 Oppo广东移动通信有限公司 A kind of response method of request of data, apparatus and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1349339A2 (en) * 2002-03-26 2003-10-01 Hitachi, Ltd. Data relaying apparatus and system using the same
CN101227428A (en) * 2008-01-30 2008-07-23 中兴通讯股份有限公司 Application server and remote control method thereof
CN101968750A (en) * 2010-10-15 2011-02-09 珠海举天软件科技有限公司 Computer system and working method thereof
CN102546590A (en) * 2010-12-02 2012-07-04 瑞科网信科技有限公司 System and method for distributing application traffic to servers based on dynamic service response time
CN103873499A (en) * 2012-12-12 2014-06-18 腾讯科技(深圳)有限公司 Data acquisition method and device
CN104750690A (en) * 2013-12-25 2015-07-01 ***通信集团公司 Query processing method, device and system
CN105007312A (en) * 2015-07-03 2015-10-28 叶秀兰 Method and system for controlling adaptive load-balancing of cloud computing server

Also Published As

Publication number Publication date
WO2018076812A1 (en) 2018-05-03
CN106534281A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN106534281B (en) A kind of response method of request of data, apparatus and system
CN106502837B (en) A kind of method, apparatus and system of data backup
CN109976667B (en) Mirror image management method, device and system
EP3531290B1 (en) Data backup method, apparatus, electronic device, storage medium, and system
CN102939579B (en) The method and apparatus that user bound interface element and granularity reflection process
CN107277029B (en) Remote procedure call method and device and computer equipment
CN108039963B (en) Container configuration method and device and storage medium
CN108958780A (en) A kind of method and apparatus of the more new information for program of lodging for rendering
CN108702318A (en) A kind of RCS communication means and equipment
CN110635944A (en) Cluster network configuration method and device, electronic equipment and storage medium
KR20140110486A (en) System for Resource Management in Mobile Cloud computing and Method thereof
CN111124412B (en) Game page drawing method, device, equipment and storage medium
WO2018006841A1 (en) Qr code information transmission method, device and apparatus
WO2018192478A1 (en) Cloud management platform, virtual machine management method, system thereof
CN109428839B (en) CDN scheduling method, device and system
CN106550030B (en) A kind of data sharing method, apparatus and system
CN109062464A (en) touch operation method, device, storage medium and electronic equipment
CN109062468A (en) Multi-screen display method, device, storage medium and electronic equipment
CN106406494B (en) A kind of method and terminal of processor scheduling
CN106301968A (en) The processing method of a kind of terminal data, Apparatus and system
CN109033814A (en) intelligent contract triggering method, device, equipment and storage medium
CN114040025B (en) Method and device for controlling switching network environment and electronic equipment
JP7369229B2 (en) How to change the skin of the mini program page, devices and electronic devices
Lee A framework for seamless execution of mobile applications in the cloud
CN109062469A (en) Multi-screen display method, device, storage medium and electronic equipment

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant