CN104660716A - Data processing method, electronic equipment and first server - Google Patents

Data processing method, electronic equipment and first server Download PDF

Info

Publication number
CN104660716A
CN104660716A CN201510114076.1A CN201510114076A CN104660716A CN 104660716 A CN104660716 A CN 104660716A CN 201510114076 A CN201510114076 A CN 201510114076A CN 104660716 A CN104660716 A CN 104660716A
Authority
CN
China
Prior art keywords
data
server
sent
electronic equipment
sends
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.)
Pending
Application number
CN201510114076.1A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510114076.1A priority Critical patent/CN104660716A/en
Publication of CN104660716A publication Critical patent/CN104660716A/en
Pending legal-status Critical Current

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/55Push-based network services
    • 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/562Brokering proxy services

Abstract

The invention discloses a data processing method, electronic equipment and a first server. The data processing method comprises the following steps: first data transmitted by at least one application program are received and stored; when first predetermined conditions are met, all stored first data are transmitted to the first server; the first data are respectively transmitted to a second corresponding server by the first server. According to the scheme, when the first predetermined conditions are met, the first stored data are uniformly transmitted to the first server so that all data can be transmitted only by a data transmission passageway. The data in the first server are respectively transmitted to each second server, and thus the lengths of multiple data transmission passageways are effectively reduced, the power consumption of the electronic equipment is reduced, meanwhile, the necessary data flow for maintaining the data transmission passageways are reduced, and the problem that the power consumption of the electronic equipment and the data flow are increased because multiple data transmission passageways need to be simultaneously maintained in an existing technology can be avoided.

Description

A kind of data processing method, electronic equipment and first server
Technical field
The present invention relates to Data Control field, particularly relate to a kind of data processing method, electronic equipment and first server.
Background technology
In the electronic device, server push technology normally maintains a data transmission channel between push server and application program, when multiple server push carries out simultaneously, just need respectively there is a data transmission channel between each push server application program corresponding with it.
Now, just need to maintain many data transmission channels simultaneously, and maintain many data transmission channels electronic equipment power consumption can be caused to increase, increase the consumption of data traffic simultaneously.
Summary of the invention
In view of this, the invention provides a kind of data processing method, electronic equipment and first server, maintain many data transmission channels cause electronic equipment power consumption to increase to solve in prior art, simultaneously the problem that increases of data traffic, its concrete scheme is as follows:
A kind of data processing method, comprising:
Receive the first data that at least one application program sends;
Store described first data received;
When first predetermined condition, all first data stored are sent to first server, wherein, described first server is used for all data received to be sent to corresponding second server respectively.
Further, after described all first data by storage are sent to first server, also comprise:
Delete all first data stored.
Further, described when first predetermined condition, all first data stored are sent to first server, are specially:
When the first data that at least one application program described in storing sends reach predetermined quantity, all first data stored are sent to first server.
Further, described when first predetermined condition, all first data stored are sent to first server, are specially:
When the first data that at least one application program described in storing sends reach the scheduled time, all first data stored are sent to first server.
Further, described when first predetermined condition, all first data stored are sent to first server, are specially:
Detect the priority of described first data stored;
When there is priority in described first data storage being detected and reaching the data of predetermined level, the data reaching predetermined level to priority described in major general are sent to first server.
Further, described all first data by storage also comprise after being sent to first server:
Receive the second data that described first server sends, wherein said second data are sent to described first server by least one second server described;
Described second data are sent to corresponding application program respectively.
A kind of data processing method, is applied to first server, comprises:
Receive the second data that at least one second server sends;
Store described second data received;
When second predetermined condition, all described second data stored are sent to electronic equipment, to make described electronic equipment, described second data are sent to corresponding application program on described electronic equipment respectively.
Further, described when second predetermined condition, all described second data stored are sent to electronic equipment, are specially:
When the second data that at least one second server described in storing sends reach predetermined quantity, all described second data stored are sent to electronic equipment.
Further, described when second predetermined condition, all described second data stored are sent to electronic equipment, are specially:
When the second data that at least one second server described in storing sends reach the scheduled time, all described second data stored are sent to electronic equipment.
Further, described when second predetermined condition, all described second data stored are sent to electronic equipment, are specially:
Detect the priority of all second data stored;
When there is priority in described second data storage being detected and reaching the data of predetermined level, the data reaching predetermined level to priority described in major general are sent to described electronic equipment.
Further, described all described second data by storage also comprise after being sent to electronic equipment:
Receive the first data that described electronic equipment sends, and described first data are sent to described second server.
A kind of electronic equipment, comprising: the first receiving element, the first memory cell be connected with described first receiving element, the first transmitting element be connected with described first memory cell, wherein:
The first data that described first receiving element sends for receiving at least one application program;
Described first memory cell is for storing described first data received;
Described first transmitting element is used for when first predetermined condition, and all first data stored are sent to first server, and wherein, described first server is used for all data received to be sent to corresponding second server respectively.
Further, also comprise: the delete cells be connected respectively with described first transmitting element and the first memory cell, wherein:
Described delete cells is used for, after all first data stored are sent to first server by described first transmitting element, deleting in described first memory cell all first data stored.
Further, described first transmitting element is specially:
When the first data that at least one application program described in described first cell stores sends reach predetermined quantity, all first data stored are sent to first server by the first transmitting element.
Further, described first transmitting element is specially:
When the first data that at least one application program described in described first cell stores sends reach the scheduled time, all first data stored are sent to first server by the first transmitting element.
Further, described first transmitting element specifically comprises: the first detecting unit, and be connected with described first detecting unit first sends subelement, wherein:
Described first detecting unit is for detecting the priority of described first data of the first cell stores;
Described first sends subelement is used for when the first detecting unit detects in described first data of storage that there is priority reaches the data of predetermined level, and the data reaching predetermined level to priority described in major general are sent to first server.
Further, described first receiving element also for: receive described first server send the second data, and described second data are sent to corresponding application program, wherein, described second data are sent to described first server by least one second server described.
A kind of first server, comprising: the second receiving element, the second memory cell be connected with described second receiving element, the second transmitting element be connected with described second memory cell, wherein:
The second data that described second receiving element sends for receiving at least one second server;
Described second memory cell is for storing described second data received;
Described second transmitting element is used for when second predetermined condition, all described second data stored is sent to electronic equipment, to make described electronic equipment, described second data is sent to corresponding application program on described electronic equipment respectively.
Further, described second transmitting element is specially:
When the second data that at least one second server described in the second cell stores sends reach predetermined quantity, all described second data stored are sent to electronic equipment by the second transmitting element.
Further, described second transmitting element is specially:
When the second data that at least one second server described in the second cell stores sends reach the scheduled time, all described second data stored are sent to electronic equipment.
Further, described second transmitting element comprises: the second detecting unit, and be connected with described second detecting unit second sends subelement, wherein:
Described second detecting unit is for detecting the priority of all second data of storage;
Described second sends subelement is used for when the second detecting unit detects in described second data of storage that there are the data that data that priority reaches predetermined level reach predetermined level up to priority described in major general is sent to described electronic equipment.
Further, described second receiving element also for: receive the first data that described electronic equipment sends, and described first data be sent to described second server.
As can be seen from technique scheme, data processing method disclosed in the present application, electronic equipment and first server, by receiving the first data that at least one application program sends, and store, when first predetermined condition, be sent to first server by unified for all first data stored, by first server, the first data be sent to corresponding second server respectively.This programme is by when first predetermined condition, unified the first data by storage are sent to first server, achieve only all by transfer of data channel transfer data, data in first server are sent to each second server respectively, this just effectively reduces the length of many data transmission channels, reduce the power consumption of electronic equipment, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of Fig. 1 a kind of data processing method disclosed in the embodiment of the present invention;
The flow chart of Fig. 2 a kind of data processing method disclosed in the embodiment of the present invention;
The flow chart of Fig. 3 a kind of data processing method disclosed in the embodiment of the present invention;
The flow chart of Fig. 4 a kind of data processing method disclosed in the embodiment of the present invention;
The flow chart of Fig. 5 a kind of data processing method disclosed in the embodiment of the present invention;
The flow chart of Fig. 6 a kind of data processing method disclosed in the embodiment of the present invention;
The structural representation of Fig. 7 a kind of electronic equipment disclosed in the embodiment of the present invention;
The structural representation of Fig. 8 a kind of first transmitting element disclosed in the embodiment of the present invention;
The structural representation of Fig. 9 a kind of first server disclosed in the embodiment of the present invention;
The structural representation of Figure 10 a kind of second transmitting element disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention discloses a kind of data processing method, its flow chart as shown in Figure 1, comprising:
Step S11, receive at least one application program send the first data;
Electronic equipment can be provided with multiple application program, and each application program can send data to electronic equipment, and the data being sent to electronic equipment by application program are referred to as the first data.
The first data that step S12, storage receive;
First data stored, so that when reaching predetermined condition, the first data send by unification.In addition, after the unified transmission of the first data, in order to save the internal storage space of electronic equipment, the first data all can be deleted; Also can not delete it, just the first data and this data transmission procedure be unified record, so that later stage inquiry.
Step S13, when first predetermined condition, by store all first data be sent to first server.
First server is used for all data received to be sent to corresponding second server respectively.
Wherein, the first predetermined condition can be: the first data that electronic equipment stores reach predetermined quantity, when the first data that at least one application program that namely electronic equipment stores sends reach predetermined quantity, the first all data is sent to first server.Wherein, predetermined quantity can be: predetermined entries, also can be predetermined size.These all first data just making electronic equipment store are transmitted by a data transmission channel, avoid the flow maintaining many data transmission channels simultaneously and consume; And preset predetermined quantity, as long as the first data stored reach predetermined quantity, be sent to first server by the first data, avoiding problems and transmit the higher flow of the required consumption of a large amount of data simultaneously, make the flow consumed during transfer of data reach minimum.
First predetermined condition can also be: the first data that at least one application program that electronic equipment stores sends reach the scheduled time, namely electronic equipment reception data reach the scheduled time, no matter now electronic equipment have received how many data, namely carries out the transmission of data, only relevant to the scheduled time.Wherein, the scheduled time can be: the average time of all data, also can be: the maximum duration receiving data the earliest, can also be: the shortest time receiving data the latest, be not specifically limited at this.This guarantees while maintenance wall scroll data transmission channel, realize transfer of data with succinct operation easily.
Data processing method disclosed in the present embodiment, by receiving the first data that at least one application program sends, and store, when first predetermined condition, be sent to first server by unified for all first data stored, by first server, the first data be sent to corresponding second server respectively.This programme is by when first predetermined condition, unified the first data by storage are sent to first server, achieve only all by transfer of data channel transfer data, data in first server are sent to each second server respectively, this just effectively reduces the length of many data transmission channels, reduce the power consumption of electronic equipment, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Present embodiment discloses a kind of data processing method, its flow chart as shown in Figure 2, comprising:
Step S21, receive at least one application program send the first data;
Electronic equipment can be provided with multiple application program, and each application program can send data to electronic equipment, and the data being sent to electronic equipment by application program are referred to as the first data.
The first data that step S22, storage receive;
The priority of the first data that step S23, detection store;
When first predetermined condition, the priority of the first data stored can be detected; Also can for detecting the priority of the first data stored at any time.
Step S24, when there is priority in the first data storage being detected and reaching the data of predetermined level, the data reaching predetermined level to major general's priority are sent to first server.
First server is used for all data received to be sent to corresponding second server respectively.
Wherein, the first predetermined condition can be: the first data that electronic equipment stores reach predetermined quantity, when the first data that at least one application program that namely electronic equipment stores sends reach predetermined quantity, the first all data is sent to first server.Wherein, predetermined quantity can be: predetermined entries, also can be predetermined size; First predetermined condition can also be: the first data that at least one application program that electronic equipment stores sends reach the scheduled time, namely electronic equipment reception data reach the scheduled time, no matter now electronic equipment have received how many data, namely carries out the transmission of data, only relevant to the scheduled time.Wherein, the scheduled time can be: the average time of all data, also can be: the maximum duration receiving data the earliest, can also be: the shortest time receiving data the latest, be not specifically limited at this.
The data that first data medium priority reaches predetermined level are sent to first server, and remainder data does not send, and which achieves the saving of flow needed for transfer of data.
Preferably, all first data stored all are sent to first server, successively all first data are sent to first server according to priority order from high to low by grade.
Data processing method disclosed in the present embodiment, by receiving the first data that at least one application program sends, and store, when first predetermined condition, be sent to first server by unified for all first data stored, by first server, the first data be sent to corresponding second server respectively.This programme is by when first predetermined condition, unified the first data by storage are sent to first server, achieve only all by transfer of data channel transfer data, data in first server are sent to each second server respectively, this just effectively reduces the length of many data transmission channels, reduce the power consumption of electronic equipment, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Present embodiment discloses a kind of data processing method, its flow chart as shown in Figure 3, comprising:
Step S31, receive at least one application program send the first data;
Electronic equipment can be provided with multiple application program, and each application program can send data to electronic equipment, and the data being sent to electronic equipment by application program are referred to as the first data.
The first data that step S32, storage receive;
First data stored, so that when reaching predetermined condition, the first data send by unification.In addition, after the unified transmission of the first data, in order to save the internal storage space of electronic equipment, the first data all can be deleted; Also can not delete it, just the first data and this data transmission procedure be unified record, so that later stage inquiry.
Step S33, when first predetermined condition, by store all first data be sent to first server;
First server is used for all data received to be sent to corresponding second server respectively.
The second data that step S34, reception first server send;
Wherein, the second data are sent to first server by least one second server, and the second data are sent to electronic equipment by first server, and by electronic equipment, the second data are sent to corresponding application program respectively, to realize the mutual transmission of data.
When electronic equipment receives the second data of first server transmission, can for when the data first predetermined condition that first server receives, just be sent to electronic equipment, to avoid the consumption safeguarding the data traffic that many data transmission channels bring simultaneously by unified for the second data.
Step S35, the second data are sent to corresponding application program respectively.
Data processing method disclosed in the present embodiment, by receiving the first data that at least one application program sends, and store, when first predetermined condition, be sent to first server by unified for all first data stored, by first server, the first data be sent to corresponding second server respectively.This programme is by when first predetermined condition, unified the first data by storage are sent to first server, achieve only all by transfer of data channel transfer data, data in first server are sent to each second server respectively, this just effectively reduces the length of many data transmission channels, reduce the power consumption of electronic equipment, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Present embodiment discloses a kind of data processing method, be applied to first server, its flow chart as shown in Figure 4, comprising:
Step S41, receive at least one second server send the second data;
Can send data for multiple second server respectively to first server, data second server being sent to first server are referred to as the second data.
The second data that step S42, storage receive;
Second data stored, so that when reaching predetermined condition, the second data send by unification.In addition, after the unified transmission of the second data, in order to save the internal storage space of electronic equipment, the second data all can be deleted; Also can not delete it, just the second data and this data transmission procedure be unified record, so that later stage inquiry.
Step S43, when second predetermined condition, by store all second data be sent to electronic equipment, to make electronic equipment, the second data are sent to corresponding application program on electronic equipment respectively.
Wherein, the second predetermined condition can be: the second data that first server stores reach predetermined quantity, when the second data that at least one second degree of weapon that namely first server stores sends reach predetermined quantity, the second all data is sent to electronic equipment.Wherein, predetermined quantity can be: predetermined entries, also can be predetermined size.These all second data just making first server store are transmitted by a data transmission channel, avoid the flow maintaining many data transmission channels simultaneously and consume; And preset predetermined quantity, as long as the second data stored reach predetermined quantity, be sent to electronic equipment by the second data, avoiding problems and transmit the higher flow of the required consumption of a large amount of data simultaneously, make the flow consumed during transfer of data reach minimum.
Second predetermined condition can also be: the second data that at least one second server that first server stores sends reach the scheduled time, namely first server reception data reach the scheduled time, no matter now first server have received how many data, namely the transmission of data is carried out, only relevant to the scheduled time.Wherein, the scheduled time can be: the average time of all data, also can be: the maximum duration receiving data the earliest, can also be: the shortest time receiving data the latest, be not specifically limited at this.This guarantees while maintenance wall scroll data transmission channel, realize transfer of data with succinct operation easily.
Data processing method disclosed in the present embodiment, by receiving the second data that at least one second server sends, and store, when second predetermined condition, be sent to electronic equipment by unified for all second data stored, by electronic equipment, the second data be sent to corresponding application program on electronic equipment respectively.This programme is by when second predetermined condition, unified the second data by storage are sent to electronic equipment, achieve only all by transfer of data channel transfer data, data in second server are sent to first server respectively, and send data to electronic equipment by first server is unified, this just effectively reduces the length of many data transmission channels, reduce the power consumption of the first secondary weapon, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Present embodiment discloses a kind of data processing method, be applied to first server, its flow chart as shown in Figure 5, comprising:
Step S51, receive at least one second server send the second data;
Can send data for multiple second server respectively to first server, data second server being sent to first server are referred to as the second data.
The second data that step S52, storage receive;
The priority of all second data that step S53, detection store;
When second predetermined condition, the priority of the second data stored can be detected; Also can for detecting the priority of the second data stored at any time.
Step S54, when there is priority in the second data storage being detected and reaching the data of predetermined level, the data reaching predetermined level to major general's priority are sent to electronic equipment.
Wherein, the second predetermined condition can be: the second data that first server stores reach predetermined quantity, when the second data that at least one second degree of weapon that namely first server stores sends reach predetermined quantity, the second all data is sent to electronic equipment.Wherein, predetermined quantity can be: predetermined entries, also can be predetermined size; Second predetermined condition can also be: the second data that at least one second server that first server stores sends reach the scheduled time, namely first server reception data reach the scheduled time, no matter now first server have received how many data, namely the transmission of data is carried out, only relevant to the scheduled time.Wherein, the scheduled time can be: the average time of all data, also can be: the maximum duration receiving data the earliest, can also be: the shortest time receiving data the latest, be not specifically limited at this.
Data processing method disclosed in the present embodiment, by receiving the second data that at least one second server sends, and store, when second predetermined condition, be sent to electronic equipment by unified for all second data stored, by electronic equipment, the second data be sent to corresponding application program on electronic equipment respectively.This programme is by when second predetermined condition, unified the second data by storage are sent to electronic equipment, achieve only all by transfer of data channel transfer data, data in second server are sent to first server respectively, and send data to electronic equipment by first server is unified, this just effectively reduces the length of many data transmission channels, reduce the power consumption of the first secondary weapon, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Present embodiment discloses a kind of data processing method, be applied to first server, its flow chart as shown in Figure 6, comprising:
Step S61, receive at least one second server send the second data;
Can send data for multiple second server respectively to first server, data second server being sent to first server are referred to as the second data.
The second data that step S62, storage receive;
Second data stored, so that when reaching predetermined condition, the second data send by unification.In addition, after the unified transmission of the second data, in order to save the internal storage space of electronic equipment, the second data all can be deleted; Also can not delete it, just the second data and this data transmission procedure be unified record, so that later stage inquiry.
Step S63, when second predetermined condition, by store all second data be sent to electronic equipment, to make electronic equipment, the second data are sent to corresponding application program on electronic equipment respectively;
The first data that step S64, reception electronic equipment send, and the first data are occurred up to second server.
First data are sent to electronic equipment by least one application program, and the first data are sent to first server by electronic equipment, and by first server, the first data are sent to second server respectively, to realize the mutual transmission of data.
When first server receives the first data of electronic equipment transmission, can for when the data second predetermined condition that electronic equipment receives, just be sent to first server, to avoid the consumption safeguarding the data traffic that many data transmission channels bring simultaneously by unified for the first data.
Data processing method disclosed in the present embodiment, by receiving the second data that at least one second server sends, and store, when second predetermined condition, be sent to electronic equipment by unified for all second data stored, by electronic equipment, the second data be sent to corresponding application program on electronic equipment respectively.This programme is by when second predetermined condition, unified the second data by storage are sent to electronic equipment, achieve only all by transfer of data channel transfer data, data in second server are sent to first server respectively, and send data to electronic equipment by first server is unified, this just effectively reduces the length of many data transmission channels, reduce the power consumption of the first secondary weapon, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Present embodiment discloses a kind of electronic equipment, its flow chart as shown in Figure 7, comprising:
First receiving element 71, the first memory cell 72 be connected with the first receiving element 71, the first transmitting element 73 be connected with the first memory cell 72.
The first data that first receiving element 71 sends for receiving at least one application program.
Electronic equipment can be provided with multiple application program, and each application program can send data to electronic equipment, and the data being sent to electronic equipment by application program are referred to as the first data.
First memory cell 72 is for storing the first data received.
Electronic equipment disclosed in the present embodiment, can also comprise delete cells, and delete cells is used for, after large warm all first data by storage of the first transmission are sent to first server, deleting all first data stored in the first memory cell.
After the unified transmission of the first data, in order to save the internal storage space of electronic equipment, the first data all can be deleted; Also can not delete it, just the first data and this data transmission procedure be unified record, so that later stage inquiry.
All first data stored, for when first predetermined condition, are sent to first server by the first transmitting element 73, and wherein, first server is used for all data received to be sent to corresponding second server respectively.
First server is used for all data received to be sent to corresponding second server respectively.
Wherein, the first predetermined condition can be: the first data that electronic equipment stores reach predetermined quantity, when the first data that at least one application program that namely electronic equipment stores sends reach predetermined quantity, the first all data is sent to first server.Wherein, predetermined quantity can be: predetermined entries, also can be predetermined size.These all first data just making electronic equipment store are transmitted by a data transmission channel, avoid the flow maintaining many data transmission channels simultaneously and consume; And preset predetermined quantity, as long as the first data stored reach predetermined quantity, be sent to first server by the first data, avoiding problems and transmit the higher flow of the required consumption of a large amount of data simultaneously, make the flow consumed during transfer of data reach minimum.
First predetermined condition can also be: the first data that at least one application program that electronic equipment stores sends reach the scheduled time, namely electronic equipment reception data reach the scheduled time, no matter now electronic equipment have received how many data, namely carries out the transmission of data, only relevant to the scheduled time.Wherein, the scheduled time can be: the average time of all data, also can be: the maximum duration receiving data the earliest, can also be: the shortest time receiving data the latest, be not specifically limited at this.This guarantees while maintenance wall scroll data transmission channel, realize transfer of data with succinct operation easily.
In addition, the structural representation of the first transmitting element 73 as shown in Figure 8, comprising: the first detecting unit 731, and be connected with the first detecting unit 731 first sends subelement 732.
Wherein, the first detecting unit 731 is for detecting the priority of the first data of the first cell stores; First send subelement 732 for storage detected at the first detecting unit the first data in exist priority reach the data of predetermined level time, the data reaching predetermined level to major general's priority are sent to first server.
First detecting unit 731 when first predetermined condition, can detect the priority of the first data stored; Also can for detecting the priority of the first data stored at any time.
First sends subelement 732 is sent to first server by the data that the first data medium priority reaches predetermined level, and remainder data does not send, and which achieves the saving of flow needed for transfer of data.
Preferably, all first data stored all are sent to first server, successively all first data are sent to first server according to priority order from high to low by grade.
Electronic equipment disclosed in the present embodiment, the first data of at least one application program transmission are received by the first receiving element, first memory cell stores, when first predetermined condition, first transmitting element is sent to first server by unified for all first data stored, and by first server, the first data is sent to corresponding second server respectively.This programme is by when first predetermined condition, unified the first data by storage are sent to first server, achieve only all by transfer of data channel transfer data, data in first server are sent to each second server respectively, this just effectively reduces the length of many data transmission channels, reduce the power consumption of electronic equipment, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Further, in electronic equipment disclosed in the present embodiment, the first receiving element is also for receiving the second data that first server sends, and the second data are sent to corresponding application program.
Wherein, the second data are sent to first server by least one second server.
Present embodiment discloses a kind of first server, its structural representation as shown in Figure 9, comprising:
Second receiving element 91, the second memory cell 92 be connected with the second receiving element 91, the second transmitting element 93 be connected with the second memory cell 92.
The second data that second receiving element 91 sends for receiving at least one second server.
Can send data for multiple second server respectively to first server, data second server being sent to first server are referred to as the second data.
Second memory cell 92 is for storing the second data received.
Second data store by the second memory cell 92, so that when reaching predetermined condition, the second data send by unification.In addition, after the unified transmission of the second data, in order to save the internal storage space of electronic equipment, the second data all can be deleted; Also can not delete it, just the second data and this data transmission procedure be unified record, so that later stage inquiry.
All second data stored, for when second predetermined condition, are sent to electronic equipment, to make electronic equipment, the second data are sent to corresponding application program on electronic equipment respectively by the second transmitting element 93.
Wherein, the second predetermined condition can be: the second data that first server stores reach predetermined quantity, when the second data that at least one second degree of weapon that namely first server stores sends reach predetermined quantity, the second all data is sent to electronic equipment.Wherein, predetermined quantity can be: predetermined entries, also can be predetermined size.These all second data just making first server store are transmitted by a data transmission channel, avoid the flow maintaining many data transmission channels simultaneously and consume; And preset predetermined quantity, as long as the second data stored reach predetermined quantity, be sent to electronic equipment by the second data, avoiding problems and transmit the higher flow of the required consumption of a large amount of data simultaneously, make the flow consumed during transfer of data reach minimum.
Second predetermined condition can also be: the second data that at least one second server that first server stores sends reach the scheduled time, namely first server reception data reach the scheduled time, no matter now first server have received how many data, namely the transmission of data is carried out, only relevant to the scheduled time.Wherein, the scheduled time can be: the average time of all data, also can be: the maximum duration receiving data the earliest, can also be: the shortest time receiving data the latest, be not specifically limited at this.This guarantees while maintenance wall scroll data transmission channel, realize transfer of data with succinct operation easily.
Wherein, the structural representation of the second transmitting element 93 as shown in Figure 10, comprising: the second detecting unit 931, and be connected with the second detecting unit 931 second sends subelement 932.
Second detecting unit 931 is for detecting the priority of all second data of storage; Second sends subelement 932 for detecting in the second data of storage that when the second detecting unit 931 there are the data that data that priority reaches predetermined level reach predetermined level up to major general's priority is sent to electronic equipment.
Second detecting unit 931 when second predetermined condition, can detect the priority of the second data stored; Also can for detecting the priority of the second data stored at any time.
Second sends subelement 932 is sent to electronic equipment by the data that the second data medium priority reaches predetermined level, and remainder data does not send, and which achieves the saving of flow needed for transfer of data.
Preferably, all second data stored all are sent to electronic equipment, successively all second data are sent to electronic equipment according to priority order from high to low by grade.
First server disclosed in the present embodiment, the second data of at least one second server transmission are received by the second receiving element, second memory cell stores, when second predetermined condition, second transmitting element is sent to electronic equipment by unified for all second data stored, and by electronic equipment, the second data is sent to corresponding application program on electronic equipment respectively.This programme is by when second predetermined condition, unified the second data by storage are sent to electronic equipment, achieve only all by transfer of data channel transfer data, data in second server are sent to first server respectively, and send data to electronic equipment by first server is unified, this just effectively reduces the length of many data transmission channels, reduce the power consumption of the first secondary weapon, reduce the data traffic maintained needed for data transmission channel simultaneously, avoiding in prior art needs to maintain many data transmission channels simultaneously and causes electronic equipment power consumption to increase, the problem that data traffic increases.
Further, in first server disclosed in the present embodiment the second receiving element also for: receive the first data that electronic equipment sends, and the first data be sent to second server.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (22)

1. a data processing method, is characterized in that, comprising:
Receive the first data that at least one application program sends;
Store described first data received;
When first predetermined condition, all first data stored are sent to first server, wherein, described first server is used for all data received to be sent to corresponding second server respectively.
2. method according to claim 1, is characterized in that, after described all first data by storage are sent to first server, also comprises:
Delete all first data stored.
3. method according to claim 1, is characterized in that, described when first predetermined condition, all first data stored is sent to first server, is specially:
When the first data that at least one application program described in storing sends reach predetermined quantity, all first data stored are sent to first server.
4. method according to claim 1, is characterized in that, described when first predetermined condition, all first data stored is sent to first server, is specially:
When the first data that at least one application program described in storing sends reach the scheduled time, all first data stored are sent to first server.
5. method according to claim 1, is characterized in that, described when first predetermined condition, all first data stored is sent to first server, is specially:
Detect the priority of described first data stored;
When there is priority in described first data storage being detected and reaching the data of predetermined level, the data reaching predetermined level to priority described in major general are sent to first server.
6. method according to claim 1, is characterized in that, described all first data by storage also comprise after being sent to first server:
Receive the second data that described first server sends, wherein said second data are sent to described first server by least one second server described;
Described second data are sent to corresponding application program respectively.
7. a data processing method, is applied to first server, it is characterized in that, comprising:
Receive the second data that at least one second server sends;
Store described second data received;
When second predetermined condition, all described second data stored are sent to electronic equipment, to make described electronic equipment, described second data are sent to corresponding application program on described electronic equipment respectively.
8. method according to claim 7, is characterized in that, described when second predetermined condition, all described second data stored is sent to electronic equipment, is specially:
When the second data that at least one second server described in storing sends reach predetermined quantity, all described second data stored are sent to electronic equipment.
9. method according to claim 7, is characterized in that, described when second predetermined condition, all described second data stored is sent to electronic equipment, is specially:
When the second data that at least one second server described in storing sends reach the scheduled time, all described second data stored are sent to electronic equipment.
10. method according to claim 7, is characterized in that, described when second predetermined condition, all described second data stored is sent to electronic equipment, is specially:
Detect the priority of all second data stored;
When there is priority in described second data storage being detected and reaching the data of predetermined level, the data reaching predetermined level to priority described in major general are sent to described electronic equipment.
11. methods according to claim 7, is characterized in that, described all described second data by storage also comprise after being sent to electronic equipment:
Receive the first data that described electronic equipment sends, and described first data are sent to described second server.
12. 1 kinds of electronic equipments, is characterized in that, comprising: the first receiving element, the first memory cell be connected with described first receiving element, the first transmitting element be connected with described first memory cell, wherein:
The first data that described first receiving element sends for receiving at least one application program;
Described first memory cell is for storing described first data received;
Described first transmitting element is used for when first predetermined condition, and all first data stored are sent to first server, and wherein, described first server is used for all data received to be sent to corresponding second server respectively.
13. electronic equipments according to claim 12, is characterized in that, also comprise: the delete cells be connected respectively with described first transmitting element and the first memory cell, wherein:
Described delete cells is used for, after all first data stored are sent to first server by described first transmitting element, deleting in described first memory cell all first data stored.
14. electronic equipments according to claim 12, is characterized in that, described first transmitting element is specially:
When the first data that at least one application program described in described first cell stores sends reach predetermined quantity, all first data stored are sent to first server by the first transmitting element.
15. electronic equipments according to claim 12, is characterized in that, described first transmitting element is specially:
When the first data that at least one application program described in described first cell stores sends reach the scheduled time, all first data stored are sent to first server by the first transmitting element.
16. electronic equipments according to claim 12, is characterized in that, described first transmitting element specifically comprises: the first detecting unit, and be connected with described first detecting unit first sends subelement, wherein:
Described first detecting unit is for detecting the priority of described first data of the first cell stores;
Described first sends subelement is used for when the first detecting unit detects in described first data of storage that there is priority reaches the data of predetermined level, and the data reaching predetermined level to priority described in major general are sent to first server.
17. electronic equipments according to claim 12, it is characterized in that, described first receiving element also for: receive described first server send the second data, and described second data are sent to corresponding application program, wherein, described second data are sent to described first server by least one second server described.
18. 1 kinds of first servers, is characterized in that, comprising: the second receiving element, the second memory cell be connected with described second receiving element, the second transmitting element be connected with described second memory cell, wherein:
The second data that described second receiving element sends for receiving at least one second server;
Described second memory cell is for storing described second data received;
Described second transmitting element is used for when second predetermined condition, all described second data stored is sent to electronic equipment, to make described electronic equipment, described second data is sent to corresponding application program on described electronic equipment respectively.
19. first servers according to claim 18, is characterized in that, described second transmitting element is specially:
When the second data that at least one second server described in the second cell stores sends reach predetermined quantity, all described second data stored are sent to electronic equipment by the second transmitting element.
20. first servers according to claim 18, is characterized in that, described second transmitting element is specially:
When the second data that at least one second server described in the second cell stores sends reach the scheduled time, all described second data stored are sent to electronic equipment.
21. first servers according to claim 18, is characterized in that, described second transmitting element comprises: the second detecting unit, and be connected with described second detecting unit second sends subelement, wherein:
Described second detecting unit is for detecting the priority of all second data of storage;
Described second sends subelement is used for when the second detecting unit detects in described second data of storage that there are the data that data that priority reaches predetermined level reach predetermined level up to priority described in major general is sent to described electronic equipment.
22. first servers according to claim 18, is characterized in that, described second receiving element also for: receive the first data that described electronic equipment sends, and described first data be sent to described second server.
CN201510114076.1A 2015-03-16 2015-03-16 Data processing method, electronic equipment and first server Pending CN104660716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510114076.1A CN104660716A (en) 2015-03-16 2015-03-16 Data processing method, electronic equipment and first server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510114076.1A CN104660716A (en) 2015-03-16 2015-03-16 Data processing method, electronic equipment and first server

Publications (1)

Publication Number Publication Date
CN104660716A true CN104660716A (en) 2015-05-27

Family

ID=53251403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510114076.1A Pending CN104660716A (en) 2015-03-16 2015-03-16 Data processing method, electronic equipment and first server

Country Status (1)

Country Link
CN (1) CN104660716A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050228848A1 (en) * 2004-03-22 2005-10-13 Thurston Stacy D Method and system for operating a peer network
CN102469124A (en) * 2010-11-09 2012-05-23 中兴通讯股份有限公司 Implementation method, gateway, agency and system of mobile internet business based on AOG
CN103581312A (en) * 2010-11-09 2014-02-12 中兴通讯股份有限公司 Mobile Internet service implementation method, gateway, agent and system based on AOG
CN103634165A (en) * 2013-12-05 2014-03-12 北京奇虎科技有限公司 Method, terminal device and system for realizing network testing based on reverse proxy
CN103916442A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Message pushing achieving method, mobile terminal and message pushing system
CN104009980A (en) * 2014-05-13 2014-08-27 腾讯科技(深圳)有限公司 Communication method and device based on social application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050228848A1 (en) * 2004-03-22 2005-10-13 Thurston Stacy D Method and system for operating a peer network
CN102469124A (en) * 2010-11-09 2012-05-23 中兴通讯股份有限公司 Implementation method, gateway, agency and system of mobile internet business based on AOG
CN103581312A (en) * 2010-11-09 2014-02-12 中兴通讯股份有限公司 Mobile Internet service implementation method, gateway, agent and system based on AOG
CN103916442A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Message pushing achieving method, mobile terminal and message pushing system
CN103634165A (en) * 2013-12-05 2014-03-12 北京奇虎科技有限公司 Method, terminal device and system for realizing network testing based on reverse proxy
CN104009980A (en) * 2014-05-13 2014-08-27 腾讯科技(深圳)有限公司 Communication method and device based on social application

Similar Documents

Publication Publication Date Title
US10044641B2 (en) Data packet processing in SDN
EP3367251B1 (en) Storage system and solid state hard disk
CN107888428A (en) A kind of bandwidth adjusting method, device, equipment and readable storage medium storing program for executing
CN103218310A (en) Cache device, communication apparatus, and computer program product
CN104850118A (en) Self-propelled robot, data center and maintenance method of data center
CN103841170A (en) Cloud storage method and server
US10514848B2 (en) Data storage method for selectively storing data in a buffer preset in a memory of an electronic device or an inherent buffer in an SSD
CN104346264A (en) System and method for processing system event logs
CN103167026A (en) Processing method, system and device for cloud storage environmental data
CN105095495B (en) A kind of distributed file system buffer memory management method and system
CN103491152A (en) Metadata obtaining method, device and system in distributed file system
WO2009067499A3 (en) Statistical counting for memory hierarchy optimization
EP1571793A3 (en) Method and device for managing stored messages
CN104142953A (en) Metadata dynamic management method and system
EP3735027A4 (en) Data transmission method, terminal device, network device, and computer storage medium
CN103778120A (en) Global file identification generation method, generation device and corresponding distributed file system
CN107547301A (en) A kind of master/slave device switching method and device
CN105159839A (en) Configuration method and apparatus and solid-state disk
CN107547112B (en) Method, device and system for recovering channel between master device and slave device
CN101951657B (en) Data routing method and sensor node
CN104104601A (en) Data transmission method, device and system
CN104780234A (en) Method, device and system for inquiring Internet protocol (IP) address location
CN104660716A (en) Data processing method, electronic equipment and first server
EP4134797A4 (en) Application icon management method, terminal device and storage medium
CN111538536B (en) Method for formatting intelligent terminal, intelligent terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150527

RJ01 Rejection of invention patent application after publication