CN106790466A - For the method, server and the terminal device that push - Google Patents

For the method, server and the terminal device that push Download PDF

Info

Publication number
CN106790466A
CN106790466A CN201611129874.2A CN201611129874A CN106790466A CN 106790466 A CN106790466 A CN 106790466A CN 201611129874 A CN201611129874 A CN 201611129874A CN 106790466 A CN106790466 A CN 106790466A
Authority
CN
China
Prior art keywords
push
push object
terminal device
treatment
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611129874.2A
Other languages
Chinese (zh)
Other versions
CN106790466B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201611129874.2A priority Critical patent/CN106790466B/en
Publication of CN106790466A publication Critical patent/CN106790466A/en
Application granted granted Critical
Publication of CN106790466B publication Critical patent/CN106790466B/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/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Abstract

A kind of method and apparatus for pushing is the embodiment of the invention provides, terminal device can be avoided because of the collapse caused by low memory, such that it is able to lift Consumer's Experience.The method includes:First server determines to need to push the EMS memory occupation requirement of object and the terminal device to the push object to what terminal device was pushed;Required according to the EMS memory occupation, the push object is processed;The push object after being processed to the terminal device push.

Description

For the method, server and the terminal device that push
Technical field
The embodiment of the present invention communications field, and more particularly, to a kind of method, server and terminal for pushing Equipment.
Background technology
Due to HTML5 (HTML be HTML (Hypertext Markup Language) have it is good across Platform identity, after turning into webpage (WEB) exploitation standard with HTML5, increasing application is developed and applied using WEB, The embedded devices such as increasing TV, Set Top Box, mobile device, Internet of Things (Internet of Things, IoT) equipment All support WEB web page browsings or WEB application.
But, embedded device is often for reduces cost, it will usually reduce memory configurations, and current web design is non- Normal is abundant, typically all can be using substantial amounts of picture and the web page contents of complexity, and this often causes that internal memory occur in low side devices Not enough (Out of memory, OOM), ultimately results in browser and exits extremely so that Consumer's Experience is not good.
The content of the invention
The embodiment of the invention provides it is a kind of for push method and apparatus, can avoid terminal device because internal memory not Collapse caused by foot, such that it is able to lift Consumer's Experience
A kind of first aspect, there is provided method for pushing, including:
First server determines to need push object and the terminal device to terminal device push to the push The EMS memory occupation requirement of object;
Required according to the EMS memory occupation, the push object is processed;
The push object after being processed to the terminal device push.
Therefore, in embodiments of the present invention, terminal device is obtained to pushing the EMS memory occupation requirement of object;According to described interior Deposit occupancy to require, the push object is processed;The push object after being processed to the terminal device push, can be with Terminal device is avoided because of the collapse caused by low memory, such that it is able to lift Consumer's Experience.
And further, the embodiment of the present invention can be more suitable for embedded device, embedded device is often with working as The remaining different internal memory of front platform Run-time scenario, uses, by server pair to allow also be smoothed under low internal memory scene Push object to be processed, the equipment that can fundamentally make push object be applied to different memory configurations.
Alternatively, required according to the EMS memory occupation, carry out treatment to the push object and can also be dynamically generated to meet this The push object of EMS memory occupation requirement.
Alternatively, to push object carry out treatment can refer to it is existing push object process.
Alternatively, methods described also includes:
Memory size shared by the push object is estimated;
It is described to be required according to the EMS memory occupation, the push object is processed, including:
It is right to the push when the memory size shared by the push object can not meet the EMS memory occupation requirement As being processed so that the memory size that the push object after treatment takes meets the EMS memory occupation requirement.
Alternatively, methods described also includes:
The redirection message that second server sends is received, the redirection message is used to indicate to be pushed away to the terminal device The push object that send and for indicating the EMS memory occupation requirement;
The first server determines to need push object and the terminal device to terminal device push to described The EMS memory occupation requirement of object is pushed, including:
According to the redirection message, it is determined that needing the push object to terminal device push and the end EMS memory occupation requirement of the end equipment to the push object.
Therefore, in embodiments of the present invention, low memorization treatment is carried out using special server, treatment can be caused more Increase effect.
Alternatively, methods described also includes:
The request message that the terminal device sends is received, the request message is used to indicate request to the terminal device Push the push object and for indicating the EMS memory occupation requirement;
The first server determines to need push object and the terminal device to terminal device push to described The EMS memory occupation requirement of object is pushed, including:
According to the request message, it is determined that needing the push object and the terminal to terminal device push EMS memory occupation requirement of the equipment to the push object.
Alternatively, described pair of push object carries out treatment includes:
At least one in following treatment is carried out to the push object:
The filtration treatment of uncorrelated content, picture processing, Rich Media link the removal for removing the piecemeal in treatment and object Treatment.
Alternatively, it is described that the push object is processed, including:
The push object is processed according to predetermined process order:
The filtration treatment of uncorrelated content, picture processing, Rich Media link the removal for removing the piecemeal in treatment and object Treatment;
Wherein, after being processed the push object using currently processed mode, if the push after treatment When memory size shared by object can not meet the request memory, then proceed the treatment of next processing mode, otherwise Stop the treatment to the push object.
Alternatively, the picture processing includes that picture removes treatment or picture quality reduction treatment;
It is described that the push object is processed, including:
It is determined that in the whole pictures in removing the push object, whether the memory size shared by the push object Meet the EMS memory occupation requirement;
If it is satisfied, then carrying out picture quality reduction treatment to the push object;
If can not meet, picture removal treatment is carried out to the push object.
Alternatively, in embodiments of the present invention, the push object includes multiple piecemeals;
Required according to the EMS memory occupation, the push object is processed, including:
According to the priority of the multiple piecemeal, after processing current piecemeal, if shared by the push object When memory size can not meet the request memory, then proceed the treatment of next piecemeal, otherwise stop being pushed away to described Send the treatment of object.
Alternatively, the push object is webpage or graphical interfaces.
A kind of second aspect, there is provided method for pushing, including:
Terminal device sends request message to first server, and the request message is used to indicate request to be set to the terminal For the push object for pushing and for indicating EMS memory occupation requirement of the terminal device to the push object;
Receive that the first server or second server send processed according to the EMS memory occupation requirement after described in Push object.
Alternatively, the push object is webpage or graphical interfaces.
A kind of third aspect, there is provided method for sending, including:
The request message that receiving terminal apparatus send, the request message is used to indicate request to be pushed to the terminal device Push object and for indicate the terminal device to it is described push object EMS memory occupation requirement;
Memory size shared by the push object is estimated;
When the memory size shared by the push object can not meet the EMS memory occupation requirement, to first server Send and redirect message, the redirection message is used to indicate to the push object of terminal device push and for referring to Show the EMS memory occupation requirement.
Alternatively, the push object is webpage or graphical interfaces.
A kind of fourth aspect, there is provided server, including for performing any optional of first aspect or first aspect The unit of the method in implementation.
A kind of 5th aspect, there is provided terminal device, including for performing any optional of second aspect or second aspect Implementation in method unit.
A kind of 6th aspect, there is provided server, including for performing any optional of the third aspect or the third aspect The unit of the method in implementation.
7th aspect, there is provided a kind of server, including memory, transceiver and processor, is stored with the memory The program code for performing above-mentioned first aspect or its any optional implementation is can serve to indicate that, when the code is performed When, each operation that the processor can be performed with first server in implementation method.
A kind of eighth aspect, there is provided terminal device, including memory, transceiver and processor, store on the memory There is the program code that can serve to indicate that and perform above-mentioned second aspect or its any optional implementation, when the code is performed When, each operation that the processor can be performed with terminal device in implementation method.
9th aspect, there is provided a kind of server, including memory, transceiver and processor, is stored with the memory The program code for performing the above-mentioned third aspect or its any optional implementation is can serve to indicate that, when the code is performed When, each operation that the processor can be performed with second server in implementation method.
Tenth aspect, there is provided a kind of computer-readable medium, the computer-readable medium storage is held for terminal device Capable program code, described program code includes the instruction for performing the method in first aspect or its various implementation.
Tenth on the one hand, there is provided a kind of computer-readable medium, the computer-readable medium storage is used for the network equipment The program code of execution, described program code includes the finger for performing the method in second aspect or its various implementation Order.
12nd aspect, there is provided a kind of computer-readable medium, the computer-readable medium storage is used for the network equipment The program code of execution, described program code includes the finger for performing the method in the third aspect or its various implementation Order.
Brief description of the drawings
Fig. 1 is the schematic figure of communication system according to embodiments of the present invention.
Fig. 2 is the indicative flowchart of the method for pushing according to embodiments of the present invention.
Fig. 3 is the indicative flowchart of the method for pushing according to embodiments of the present invention.
Fig. 4 is the schematic figure of web page release according to embodiments of the present invention.
Fig. 5 is the indicative flowchart of the method for pushing according to embodiments of the present invention.
Fig. 6 is the schematic block diagram of server according to embodiments of the present invention.
Fig. 7 is the schematic block diagram of terminal device according to embodiments of the present invention.
Fig. 8 is the schematic block diagram of server according to embodiments of the present invention.
Fig. 9 is the schematic block diagram of communicator according to embodiments of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out specifically It is bright.
Fig. 1 is the schematic figure of communication system 100 according to embodiments of the present invention.
In this system 100, terminal device 110 can send request message to server 120, and the request message can be used In the push object for indicating server 120 to be pushed to terminal device 110;Server 120 can push end to the terminal device 110 The push object of the request of end equipment 110.
Alternatively, the request can also be redirected to server 130 by server 120, from server 130 to terminal device The 110 push objects for pushing the request of terminal device 110;Or, after 130 pairs of push objects of server are processed, it is sent to clothes Business device 120, the push object for being processed server 130 by server 120 is sent to terminal device 110.
Alternatively, the push object can be webpage, or graphical interfaces.
Alternatively, in embodiments of the present invention, in push pair as if webpage, server 120 can be web page server, It is specifically as follows www server.
Alternatively, in embodiments of the present invention, terminal device can be embedded device, for example, TV, Set Top Box, shifting Dynamic equipment, IoT equipment etc..
Fig. 2 is the indicative flowchart of the method 200 for pushing according to embodiments of the present invention.Alternatively, the method In can apply to the communication system shown in Fig. 1, it is of course also possible to be applied in other communication systems, for example, not including service The communication system of device 130.It should be understood that first server mentioned below can be server 110, or server 120.
As shown in Fig. 2 the method 200 includes herein below.
In 211, first server determines the push object and the terminal device pair for needing to be pushed to terminal device The EMS memory occupation requirement for pushing object.
Alternatively, the push object is webpage or graphical interfaces.
In order to make it easy to understand, first server will be described respectively in connection with Fig. 2 and Fig. 3 below to determine to need to be pushed away to terminal device That send pushes the two ways of object and the terminal device to the EMS memory occupation requirement of the push object.
Mode A
In 214, terminal device can send request message to first server, and the request message is used to indicate request to be somebody's turn to do Push object that first server is pushed to the terminal device and for indicating the EMS memory occupation requirement.
In 215, first server can receive the request message.
So as to the first server needs push object and the EMS memory occupation requirement for pushing from the request message.
Alternatively, in the case of as shown in Figure 2, the first server can be the server 120 shown in Fig. 1.
Mode B
In 217, terminal device can send request message to second server, and the request message is used to indicate request to be somebody's turn to do Push object that second server is pushed to the terminal device and for indicating the EMS memory occupation requirement.
In 218, second server receives the request message.
In 219, the second server from the request message, it is determined that need to terminal device push push object with And EMS memory occupation requirement, and the memory size shared by the push object is estimated.
In 220, when the memory size shared by the push object can not meet the EMS memory occupation requirement, to the One server sends and redirects message, and the redirection message is used to indicate the first server to be pushed to the terminal device The push object and the EMS memory occupation requirement.
In 221, first server is received and redirects message.
So as to first server can be from the redirection message, and the internal memory that acquisition terminal device treats push object is accounted for With the push object for requiring and needing to push.
Alternatively, when the memory size shared by the push object can meet the EMS memory occupation requirement, then first Untreated push object directly can be sent to terminal device by server.
Alternatively, in the case of as shown in Figure 3, first server can be the server 130 shown in Fig. 1, the second clothes Business device can be the server 120 shown in Fig. 1.
Terminal device can increase to the request message that first server or second server send in existing message Field come realize carry to push object EMS memory occupation requirement.
For example, wait push object be webpage when, terminal device can by calling browser client come requested webpage, Wherein, browser information can be carried in user agent (User Agent, UA), can increase field in UA to carry EMS memory occupation requirement of the terminal device to push object, wherein, the field can be arranged on any position in UA, for example, setting Put in most previous field, in field placed in the middle or last field.Set with carrying the field of EMS memory occupation requirement below In the example of last field of UA, wherein, the example goes in Android system:
User-Agent:Mozilla/5.0(Linux;U;Android 2.2.1;en-us;Nexus One Build/ FRG83)AppleWebKit/533.1(KHTML,like Gecko)Version/4.0Mobile Safari/ 533.1DeviceMem/51200
In example above, EMS memory occupation requires to be less than 51200KB for the EMS memory occupation for indicating to push object.
Alternatively, in embodiments of the present invention, what is carried in the request message that terminal device sends can be terminal device The internal memory of current residual, the then EMS memory occupation requirement that the request message is indicated is to push internal memory that object taken in terminal device not Can be higher than the current remaining internal memory.
Alternatively, in embodiments of the present invention, what is carried in the request message that terminal device sends can be terminal device The percentage of the percentage of current residual internal memory or total internal memory, for example, the 50% of current residual internal memory, or always the 20% of internal memory, The EMS memory occupation requirement that then request message is indicated is to push object currently to be remained not above this in the internal memory that terminal device takes The 20% of 50% or total internal memory of remaining internal memory.
Wherein, the percentage can herein be not specifically limited according to depending on generally taking up internal memory ratio and terminal capabilities.Example Such as, if the internal memory that terminal generally takes up is 70%, although current residual internal memory is very high, but may change suddenly in view of internal memory Become, then can combine the actually used situation of terminal device, will determine that push object can not be high in the internal memory that terminal device takes In the 20% of total internal memory.
Alternatively, in embodiments of the present invention, what is carried in the request message that terminal device sends can be terminal device Current residual internal memory.The percentage that then server can make an appointment, determines the EMS memory occupation requirement of terminal device, for example, in advance The ratio first arranged is 70%, then EMS memory occupation requirement of the terminal device to pushing object is not above free memory 70%.At this point it is possible to think the terminal device of implicit instruction in request message to pushing the EMS memory occupation requirement of object.
In 212, first server is required according to the EMS memory occupation, and the push object is processed.
Alternatively, in embodiments of the present invention, require that carrying out treatment to the push object can also according to the EMS memory occupation It is dynamically generated the push object for meeting the EMS memory occupation requirement.
For example, when it is graphical interfaces to push object, can be required according to the EMS memory occupation of terminal device, by interface element It is combined, dynamic generation graphic interface.
Alternatively, in embodiments of the present invention, to push object carry out treatment can refer to it is existing push object carry out Treatment.
For example, terminal device needs a certain webpage, then can be required according to the EMS memory occupation of terminal device, to existing net Page is processed.
Alternatively, in embodiments of the present invention, first server can be entered to the memory size shared by the push object Row estimation;When the memory size shared by the push object can not meet the EMS memory occupation requirement, the push object is carried out Treatment so that the memory size that the push object after treatment takes meets the EMS memory occupation requirement.
Alternatively, in embodiments of the present invention, at least one in following treatment can be carried out to the push object:
(1) filtration treatment of uncorrelated content, specifically, can analyze the original contents for pushing object, filter out not phase The content of pass, for example, advertisement etc..
(2) picture processing.
(3) Rich Media's link removal treatment, for example, the treatment of video labels, audio labels etc..
(4) the removal treatment of the piecemeal in object.
Alternatively, in embodiments of the present invention, the push object can be processed in sequence, wherein, utilizing Currently processed mode is to pushing after object processes, if the memory size shared by the push object after treatment can not expire During the foot request memory, then proceed the treatment of next processing mode, otherwise stop the treatment to the push object, wherein, Processing sequence can as follows so:
(1) filtration treatment of uncorrelated content.
Specifically, the original contents for pushing object can be analyzed, incoherent content is filtered out, for example, advertisement etc..
(2) picture processing.
Specifically, method (1) internal memory cannot meet the EMS memory occupation requirement of terminal device, then first server carries out picture Low memorization treatment, because picture takes webpage than larger proportion, this is often terminal device is consumed than larger internal memory, So the preferential low memorization treatment for carrying out picture.
(3) Rich Media's link removal treatment.
Specifically, the EMS memory occupation requirement of terminal device cannot be met after method (2) treatment, then first server needs to go Fall Rich Media's link treatment, the rich media label link that will be pushed on object is removed, such as video (video), audio (audio) label etc..
(4) the removal treatment of the piecemeal in object.
Specifically, method (3) is needed to cannot also meet EMS memory occupation requirement after picture processing, then to pushing contents of object Rearrangement is analyzed, removes important piecemeal, typesetting again pushes object, the push object simplified.
Alternatively, when pushing object for webpage, piecemeal can be block level element (DIV) of webpage.
Alternatively, in embodiments of the present invention, the picture processing includes that picture removes treatment or picture quality reduction treatment;
First server can be determined in the whole pictures in removing the push object, interior shared by the push object Deposit whether size meets the EMS memory occupation requirement;
If it is satisfied, then carrying out picture quality reduction treatment to the push object;
If can not meet, picture removal treatment is carried out to the push object.
Alternatively, in embodiments of the present invention, picture quality reduction treatment can include it is following at least one:
(1) picture format conversion.
It is general that picture format consumption internal memory difference is very big (the few form of current committed memory has WebP, PNG8 etc.), example Such as, WebP forms than PNG format reduce 28%~45%, WebP picture formats have more preferable compression ratio, it is possible to by PNG, JPG is converted into WebP forms or the lower form of other compression ratios.
(2) compression quality control.
Some forms can be compressed quality control, and such as WebP can use lossy compression method and Lossless Compression, according to interior Depositing requirement can carry out carrying out reducing picture volume using lossy compression method.
(3) picture color number is reduced.
Different colours number determines the abundant degree of the color of display, and not enough for tag memory can be by 32 changes Into 8, this not only reduces picture volume in itself, and also reduces decoded EMS memory occupation.
Alternatively, the push object includes multiple piecemeals;First server according to the priority of the multiple piecemeal, After processing current piecemeal, if the memory size pushed shared by object can not meet the request memory, The treatment of next piecemeal is then carried out, otherwise stops the treatment to the push object.
For example, as shown in figure 4, a Webpage divide into A, B, C, D, E, F different piecemeal (DIV), from user's body Angle is tested to set out, domestic consumer be in browsing pages from top to bottom, from left and the right side is carried out, therefore, page area importance is pressed Rule pageable face region importance above:A>B>C>D>E>F, different piecemeals can be used according to the importance of Segment Different priorities, more unessential position is preferentially processed (can reduce display quality to reduce the occupancy of internal memory), one by one Web page release is processed, request memory until meeting terminal.
Wherein, carrying out treatment according to priority to each piecemeal can be when processing any piecemeal, can be to this Piecemeal carries out various treatment (for example, filtration treatment and picture processing of uncorrelated content), if can not meet, carries out next The treatment of piecemeal.Or, successively multiple piecemeals can be carried out with a kind for the treatment of (for example, filtration treatment of uncorrelated content), such as Fruit can not meet requirement, then successively multiple piecemeals are carried out with a kind of lower treatment (for example, picture processing) again.
In 213, first server is to the push object after terminal device push treatment.
In 216, terminal device receives the push object after the treatment that first server is pushed.
Alternatively, in embodiments of the present invention, terminal device receive first server push push object after, Other treatment can be carried out to the push object, for example, when the push object is webpage or graphical interfaces, can be to the webpage Or graphical interfaces carries out rendering treatment, and present in the display device.
In order to be more clearly understood from the present invention, describe according to embodiments of the present invention for pushing below with reference to Fig. 5 Method 300.It should be understood that the feature of method 200 and method 300 can be used in combination, for sake of simplicity, some features wherein It is simple in individual method to describe or be not described, but may be referred to the description of other method.
Fig. 5 is the indicative flowchart of the method 300 for pushing according to embodiments of the present invention.
As shown in figure 5, the method 300 includes herein below.
In 301, browser client obtains the free memory of terminal device.
In 302, browser client sends web data and asks to web page server, wherein, web data request The free memory of carried terminal equipment.
In 303, web page server judges whether the internal memory that requested webpage takes is interior less than or equal to the residue of terminal device Deposit.If it is, 304 are performed, if not, performing 305.
In 304, web page server returns to normal webpage to browser client.
In 305, low internal memory treatment is carried out to webpage.
In 306, judge whether the webpage after treatment is less than or equal to the free memory of terminal device.If it is, performing 307, otherwise, repeat 305 and 306.
In 307, the webpage of low memorization treatment is sent to browser client.
In 308, browser client renders webpage, the webpage or low to have carried out that the webpage can be not handled by The webpage of memorization treatment.
It should be understood that browser client described above performs some operations is specifically as follows terminal device by calling this Browser client performs these operations.
It should also be understood that 305-307 can be performed by web page server, it is also possible to performed by other servers, for example, specially For the server of the low memorization treatment of webpage.
Therefore, in embodiments of the present invention, terminal device is obtained to pushing the EMS memory occupation requirement of object;According to described interior Deposit occupancy to require, the push object is processed;The push object after being processed to the terminal device push, can be with Terminal device is avoided because of the collapse caused by low memory, such that it is able to lift Consumer's Experience.
And further, the embodiment of the present invention can be more suitable for embedded device, embedded device is often with working as The remaining different internal memory of front platform Run-time scenario, uses, by server pair to allow also be smoothed under low internal memory scene Push object to be processed, the equipment that can fundamentally make push object be applied to different memory configurations.
And low memorization treatment further, in embodiments of the present invention, is carried out using special server, can be made Must process more efficient.
Fig. 6 is the schematic block diagram of server 400 according to embodiments of the present invention.As shown in fig. 6, the server 400 is wrapped Include determining unit 410, processing unit 420 and transmitting element 430.
Wherein it is determined that unit 410, for the push object and the terminal device that determine to need to be pushed to terminal device EMS memory occupation requirement to the push object;
Processing unit 420, for being required according to the EMS memory occupation, is processed the push object;
Transmitting element 430, for the push object after terminal device push treatment.
Alternatively, the processing unit 420 is further used for:
Memory size shared by the push object is estimated;
It is right to the push when the memory size shared by the push object can not meet the EMS memory occupation requirement As being processed so that the memory size that the push object after treatment takes meets the EMS memory occupation requirement.
Alternatively, as shown in fig. 6, the server 400 also includes receiving unit 440, it is used for:Receive second server hair The redirection message sent, the redirection message is used to indicate to the push object of terminal device push and for referring to Show the EMS memory occupation requirement;
The determining unit 410 is further used for:
According to the redirection message, it is determined that needing the push object to terminal device push and the end EMS memory occupation requirement of the end equipment to the push object.
Alternatively, as shown in fig. 6, the server 400 also includes receiving unit 440, it is used for:Receive the terminal device The request message of transmission, the request message is used for the push object for indicating request to be pushed to the terminal device and is used for Indicate the EMS memory occupation requirement;
The determining unit 410 is further used for:
According to the request message, it is determined that needing the push object and the terminal to terminal device push EMS memory occupation requirement of the equipment to the push object.
Alternatively, the processing unit 420 is further used for:
At least one in following treatment is carried out to the push object:
The filtration treatment of uncorrelated content, picture processing, Rich Media link the removal for removing the piecemeal in treatment and object Treatment.
Alternatively, the processing unit 420 is further used for:
The push object is processed according to predetermined process order:
The filtration treatment of uncorrelated content, picture processing, Rich Media link the removal for removing the piecemeal in treatment and object Treatment;
Wherein, after being processed the push object using currently processed mode, if the push after treatment When memory size shared by object can not meet the request memory, then proceed the treatment of next processing mode, otherwise Stop the treatment to the push object.
Alternatively, the picture processing includes that picture removes treatment or picture quality reduction treatment;
The processing unit 420 is further used for:
It is determined that in the whole pictures in removing the push object, whether the memory size shared by the push object Meet the EMS memory occupation requirement;
If it is satisfied, then carrying out picture quality reduction treatment to the push object;
If can not meet, picture removal treatment is carried out to the push object.
Alternatively, the push object includes multiple piecemeals;
The processing unit 420 is further used for:
According to the priority of the multiple piecemeal, after processing current piecemeal, if shared by the push object When memory size can not meet the request memory, then proceed the treatment of next piecemeal, otherwise stop being pushed away to described Send the treatment of object.
Alternatively, the push object is webpage or graphical interfaces.
It should be understood that the first server that the server 400 can be mentioned for embodiment of the method, can perform the first service The corresponding operating that device is performed, for sake of simplicity, will not be repeated here.
Fig. 7 is the schematic block diagram of terminal device 500 according to embodiments of the present invention.As shown in fig. 7, the terminal device 500 include:
Transmitting element 510, for sending request message to first server, the request message is used to indicate request to institute State the push object of terminal device push and for indicating EMS memory occupation requirement of the terminal device to the push object;
Receiving unit 520, for receiving that the first server or second server send according to the EMS memory occupation It is required that the push object after treatment.
Alternatively, the push object is webpage or graphical interfaces.
It should be understood that the terminal device that the terminal device 500 can be mentioned for embodiment of the method, can perform the terminal device The corresponding operating of execution, for sake of simplicity, will not be repeated here.
Fig. 8 is the schematic block diagram of server 600 according to embodiments of the present invention.As shown in figure 8, the server 600 can To include:Receiving unit 610, evaluation unit 620 and transmitting element 630.
Receiving unit 610, for receiving terminal apparatus send request message, the request message be used for indicate request to Pushs object that the terminal device is pushed and for indicating the terminal device to the EMS memory occupation requirement for pushing object;
Evaluation unit 620, for estimating the memory size shared by the push object;
Transmitting element 630, will for that can not meet the EMS memory occupation in the memory size shared by the push object When asking, sent to first server and redirect message, the redirection message is used for the institute for indicating to be pushed to the terminal device State push object and for indicating the EMS memory occupation requirement.
Alternatively, the push object is webpage or graphical interfaces.
It should be understood that the second server that the server 600 can be mentioned for embodiment of the method, can perform the second service The corresponding operating that device is performed, for sake of simplicity, will not be repeated here.
Fig. 9 shows the schematic block diagram of communicator provided in an embodiment of the present invention 700, and the communicator 700 includes:
Memory 710, for storage program;
Transceiver 720, for being communicated with other equipment;
Processor 730, for performing the program in memory 710.
Alternatively, when the code is performed, the processor 730 can perform each behaviour with first server in implementation method Make, for sake of simplicity, will not be repeated here.Now, communicator 700 can be server.
Alternatively, when the code is performed, the processor 730 can perform each behaviour with terminal device in implementation method Make, for sake of simplicity, will not be repeated here.Now, communicator 700 can be terminal device.
Alternatively, when the code is performed, the processor 730 can perform each behaviour with second server in implementation method Make, for sake of simplicity, will not be repeated here.Now, communicator 700 can be server.
It should be understood that in embodiments of the present invention, the processor 730 can be CPU (Central Processing Unit, referred to as " CPU "), the processor 730 can also be other general processors, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other PLDs, discrete gate Or transistor logic, discrete hardware components etc..General processor can be that microprocessor or the processor can also It is any conventional processor etc..
The memory 710 can include read-only storage and random access memory, and to processor 530 provide instruction and Data.The a part of of memory 710 can also include nonvolatile RAM.For example, memory 710 can also be deposited Store up the information of device type.
In implementation process, each step of the above method can be by the integrated logic circuit of the hardware in processor 730 Or the instruction of software form is completed.The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly at hardware Reason device performs completion, or performs completion with the hardware in processor and software module combination.Software module may be located at random Memory, flash memory, read-only storage, the ability such as programmable read only memory or electrically erasable programmable memory, register In the ripe storage medium in domain.The storage medium is located at memory, and processor 730 reads the information in memory, hard with reference to its The step of part completes the above method.To avoid repeating, it is not detailed herein.
It should be understood that in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to that execution is suitable The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of the reply embodiment of the present invention Process constitutes any restriction.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example multiple units or component Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (26)

1. it is a kind of for push method, it is characterised in that including:
First server determines to need push object and the terminal device to terminal device push to the push object EMS memory occupation requirement;
Required according to the EMS memory occupation, the push object is processed;
The push object after being processed to the terminal device push.
2. method according to claim 1, it is characterised in that methods described also includes:
Memory size shared by the push object is estimated;
It is described to be required according to the EMS memory occupation, the push object is processed, including:
When the memory size shared by the push object can not meet the EMS memory occupation requirement, the push object is entered Row treatment so that the memory size that the push object after treatment takes meets the EMS memory occupation requirement.
3. method according to claim 1 and 2, it is characterised in that methods described also includes:
The redirection message that second server sends is received, the redirection message is used to indicate what is pushed to the terminal device It is described to push object and for indicating the EMS memory occupation requirement;
The first server determines to need push object and the terminal device to terminal device push to the push The EMS memory occupation requirement of object, including:
According to the redirection message, it is determined that needing to be set to the push object and the terminal of terminal device push The standby EMS memory occupation requirement to the push object.
4. method according to claim 1 and 2, it is characterised in that methods described also includes:
The request message that the terminal device sends is received, the request message is used to indicate request to be pushed to the terminal device The push object and for indicating the EMS memory occupation requirement;
The first server determines to need push object and the terminal device to terminal device push to the push The EMS memory occupation requirement of object, including:
According to the request message, it is determined that needing the push object and the terminal device pushed to the terminal device EMS memory occupation requirement to the push object.
5. method according to any one of claim 1 to 4, it is characterised in that described pair pushes object and carry out treatment bag Include:
At least one in following treatment is carried out to the push object:
The filtration treatment of uncorrelated content, picture processing, Rich Media link the removal treatment for removing the piecemeal in treatment and object.
6. method according to claim 5, it is characterised in that described to process the push object, including:
The push object is processed according to following processing sequence:
The filtration treatment of uncorrelated content, picture processing, Rich Media link the removal treatment for removing the piecemeal in treatment and object;
Wherein, after being processed the push object using currently processed mode, if the push object after treatment When shared memory size can not meet the request memory, then proceed the treatment of next processing mode, otherwise stop Treatment to the push object.
7. the method according to claim 5 or 6, it is characterised in that the picture processing includes that picture removes treatment or schemes Tablet quality reduction is processed;
It is described that the push object is processed, including:
It is determined that in the whole pictures in removing the push object, whether the memory size shared by the push object meets The EMS memory occupation requirement;
If it is satisfied, then carrying out picture quality reduction treatment to the push object;
If can not meet, picture removal treatment is carried out to the push object.
8. method according to any one of claim 1 to 7, it is characterised in that the push object includes multiple piecemeals;
Required according to the EMS memory occupation, the push object is processed, including:
According to the priority of the multiple piecemeal, after processing current piecemeal, if shared by the push object When memory size can not meet the request memory, then proceed the treatment of next piecemeal, it is right to the push otherwise to stop The treatment of elephant.
9. method according to any one of claim 1 to 8, it is characterised in that the push object is webpage or figure Interface.
10. it is a kind of for push method, it is characterised in that including:
Terminal device sends request message to first server, and the request message is used to indicate request to be pushed away to the terminal device The push object that send and for indicating EMS memory occupation requirement of the terminal device to the push object;
Receive that the first server or second server send processed according to the EMS memory occupation requirement after the push Object.
11. methods according to claim 10, it is characterised in that the push object is webpage or graphical interfaces.
A kind of 12. methods for pushing, it is characterised in that including:
The request message that receiving terminal apparatus send, the request message is used to indicate request to pushing away that the terminal device is pushed Send object and for indicating EMS memory occupation requirement of the terminal device to the push object;
Memory size shared by the push object is estimated;
When the memory size shared by the push object can not meet the EMS memory occupation requirement, sent to first server Message is redirected, the redirection message is used to indicate to the push object of terminal device push and for indicating State EMS memory occupation requirement.
13. method for pushing according to claim 12, it is characterised in that the push object is webpage or graphical interfaces.
A kind of 14. servers, it is characterised in that including:
Determining unit, for determining to need push object and the terminal device to terminal device push right to the push The EMS memory occupation requirement of elephant;
Processing unit, for being required according to the EMS memory occupation, is processed the push object;
Transmitting element, for the push object after terminal device push treatment.
15. servers according to claim 14, it is characterised in that the processing unit is further used for:
Memory size shared by the push object is estimated;
When the memory size shared by the push object can not meet the EMS memory occupation requirement, the push object is entered Row treatment so that the memory size that the push object after treatment takes meets the EMS memory occupation requirement.
16. server according to claims 14 or 15, it is characterised in that the server also includes receiving unit, uses In:The redirection message that second server sends is received, the redirection message is used to indicate what is pushed to the terminal device It is described to push object and for indicating the EMS memory occupation requirement;
The determining unit is further used for:
According to the redirection message, it is determined that needing to be set to the push object and the terminal of terminal device push The standby EMS memory occupation requirement to the push object.
17. server according to claims 14 or 15, it is characterised in that the server also includes receiving unit, uses In:The request message that the terminal device sends is received, the request message is used to indicate request to be pushed to the terminal device The push object and for indicating the EMS memory occupation requirement;
The determining unit is further used for:
According to the request message, it is determined that needing the push object and the terminal device pushed to the terminal device EMS memory occupation requirement to the push object.
18. server according to any one of claim 14 to 17, it is characterised in that the processing unit is further used In:
At least one in following treatment is carried out to the push object:
The filtration treatment of uncorrelated content, picture processing, Rich Media link the removal treatment for removing the piecemeal in treatment and object.
19. servers according to claim 18, it is characterised in that the processing unit is further used for:
The push object is processed according to following processing sequence:
The filtration treatment of uncorrelated content, picture processing, Rich Media link the removal treatment for removing the piecemeal in treatment and object;
Wherein, after being processed the push object using currently processed mode, if the push object after treatment When shared memory size can not meet the request memory, then proceed the treatment of next processing mode, otherwise stop Treatment to the push object.
20. server according to claim 18 or 19, it is characterised in that the picture processing is processed including picture removal Or picture quality reduction treatment;
The processing unit is further used for:
It is determined that in the whole pictures in removing the push object, whether the memory size shared by the push object meets The EMS memory occupation requirement;
If it is satisfied, then carrying out picture quality reduction treatment to the push object;
If can not meet, picture removal treatment is carried out to the push object.
21. server according to any one of claim 14 to 20, it is characterised in that the push object includes multiple Piecemeal;
The processing unit is further used for:
According to the priority of the multiple piecemeal, after processing current piecemeal, if shared by the push object When memory size can not meet the request memory, then proceed the treatment of next piecemeal, it is right to the push otherwise to stop The treatment of elephant.
22. server according to any one of claim 14 to 21, it is characterised in that the push object be webpage or Graphical interfaces.
A kind of 23. terminal devices, it is characterised in that including:
Transmitting element, for sending request message to first server, the request message is used to indicate request to the terminal Equipment push pushs object and for indicate the terminal device to it is described push object EMS memory occupation requirement;
Receiving unit, is processed for receive that the first server or second server send according to the EMS memory occupation requirement The push object afterwards.
24. terminal devices according to claim 23, it is characterised in that the push object is webpage or graphical interfaces.
A kind of 25. servers, it is characterised in that including:
Receiving unit, for the request message that receiving terminal apparatus send, the request message is used to indicate request to the end End equipment push pushs object and for indicate the terminal device to it is described push object EMS memory occupation requirement;
Evaluation unit, for estimating the memory size shared by the push object;
Transmitting element, for it is described push object shared by memory size can not meet the EMS memory occupation requirement when, to First server sends and redirects message, and the redirection message is used to indicate the push to terminal device push right As with for indicating the EMS memory occupation requirement.
26. servers according to claim 25, it is characterised in that the push object is webpage or graphical interfaces.
CN201611129874.2A 2016-12-09 2016-12-09 Method, server and terminal equipment for pushing Active CN106790466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611129874.2A CN106790466B (en) 2016-12-09 2016-12-09 Method, server and terminal equipment for pushing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611129874.2A CN106790466B (en) 2016-12-09 2016-12-09 Method, server and terminal equipment for pushing

Publications (2)

Publication Number Publication Date
CN106790466A true CN106790466A (en) 2017-05-31
CN106790466B CN106790466B (en) 2020-10-27

Family

ID=58879614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611129874.2A Active CN106790466B (en) 2016-12-09 2016-12-09 Method, server and terminal equipment for pushing

Country Status (1)

Country Link
CN (1) CN106790466B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448880A (en) * 2019-09-02 2021-03-05 中兴通讯股份有限公司 Method and device for sending RCS service message, client and server
CN112637041A (en) * 2018-09-26 2021-04-09 深圳市云歌人工智能技术有限公司 Method, apparatus and storage medium for distributing information based on priority

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088369A1 (en) * 2007-07-12 2010-04-08 Viasat, Inc. Accumulator for prefetch abort
CN103699652A (en) * 2013-12-26 2014-04-02 浙江宇天科技股份有限公司 Webpage access method and webpage access system
CN103841464A (en) * 2014-03-21 2014-06-04 北京金山网络科技有限公司 Video information pushing method and device
CN105578264A (en) * 2015-12-30 2016-05-11 深圳Tcl数字技术有限公司 Method and device for processing animation menu based on smart television
CN105988836A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Application recommendation method and device
CN106202195A (en) * 2016-06-27 2016-12-07 北京金山安全软件有限公司 Target push object pushing method and device and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088369A1 (en) * 2007-07-12 2010-04-08 Viasat, Inc. Accumulator for prefetch abort
CN103699652A (en) * 2013-12-26 2014-04-02 浙江宇天科技股份有限公司 Webpage access method and webpage access system
CN103841464A (en) * 2014-03-21 2014-06-04 北京金山网络科技有限公司 Video information pushing method and device
CN105988836A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Application recommendation method and device
CN105578264A (en) * 2015-12-30 2016-05-11 深圳Tcl数字技术有限公司 Method and device for processing animation menu based on smart television
CN106202195A (en) * 2016-06-27 2016-12-07 北京金山安全软件有限公司 Target push object pushing method and device and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637041A (en) * 2018-09-26 2021-04-09 深圳市云歌人工智能技术有限公司 Method, apparatus and storage medium for distributing information based on priority
CN112637041B (en) * 2018-09-26 2022-11-11 深圳市云歌人工智能技术有限公司 Method, apparatus and storage medium for distributing information based on priority
CN112448880A (en) * 2019-09-02 2021-03-05 中兴通讯股份有限公司 Method and device for sending RCS service message, client and server

Also Published As

Publication number Publication date
CN106790466B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN105451087A (en) Pushing method, terminals, historical data server and system for barrage information
CN102684986B (en) Method and system for displaying pictures at terminal
CN105163135B (en) Method for down loading, apparatus and system and the mobile terminal of Internet resources
CN108600331A (en) Interactive interface rendering method, client, terminal and system
CN103942307B (en) A kind of front end accelerated method based on picture stream
CN108062336A (en) Media information processing method and device
CN106790466A (en) For the method, server and the terminal device that push
CN108280228A (en) A kind of processing method and relevant device of webpage
CN107483412A (en) A kind of HTML5 web worker moving methods and system
CN110765386A (en) Webpage image monitoring method and device, electronic equipment and readable storage medium
CN110298896A (en) Picture code-transferring method, device and electronic equipment
US9471552B1 (en) Optimization of scripting for web applications
CN108563704A (en) A kind of method, apparatus and equipment of data write-in
CN108965295B (en) File compression and combination method and related device
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
CN113467776B (en) Method and device for accessing equipment, storage medium and electronic device
CN114244912B (en) Data transmission method, device, computer equipment and storage medium
CN109474643A (en) Data analysis method, device, equipment and storage medium
CN115470427A (en) Page loading method, device, equipment and storage medium
KR101094778B1 (en) Moving-picture processing device, moving-picture processing method, and program
CN113626402A (en) Log data acquisition method and device, electronic equipment and storage medium
CN109640140B (en) Key processing method and device
CN103457980A (en) Terminal device and data acquisition method
CN112732457A (en) Image transmission method, image transmission device, electronic equipment and computer readable medium
CN114817166B (en) Method, device and medium for canceling file operation

Legal Events

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