CN104917731B - A kind of data that improve show the method and system of speed, server, browser - Google Patents
A kind of data that improve show the method and system of speed, server, browser Download PDFInfo
- Publication number
- CN104917731B CN104917731B CN201410091453.XA CN201410091453A CN104917731B CN 104917731 B CN104917731 B CN 104917731B CN 201410091453 A CN201410091453 A CN 201410091453A CN 104917731 B CN104917731 B CN 104917731B
- Authority
- CN
- China
- Prior art keywords
- data
- information
- browser
- unit
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 87
- 238000005194 fractionation Methods 0.000 claims abstract description 22
- 230000000295 complement effect Effects 0.000 claims description 103
- 230000005540 biological transmission Effects 0.000 claims description 27
- 230000001186 cumulative effect Effects 0.000 claims description 7
- 108010001267 Protein Subunits Proteins 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 18
- 235000013399 edible fruits Nutrition 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of methods that raising data show speed, comprising: server receives the information deconsolidation process result that browser is sent;The information deconsolidation process result is the request of data sub-information obtained after browser splits the data request information of the user according to the type of user query information;The server determines data information corresponding with the request of data sub-information, and each data information is split at least two minimum data units according to the type of service of the data information;Minimum data unit after fractionation is sent to the browser by the server in batches.The invention also discloses a kind of raising data to show the system of speed, server, browser.
Description
Technical field
The present invention relates to data presentation techniques more particularly to a kind of data that improve to show the method and system of speed, service
Device, browser.
Background technique
As technology develops, Internet application is more and more common, and under application scenarios, user side passes through browser to server
When request data, the request message for corresponding to the user is sent to server and handled by browser, the server pair
After the corresponding data of the request message of user are handled, processing result is back to the browser and is shown, above-mentioned
In the process, since data volume is big, the server calculate to data and the server calculated result is back to it is clear
Look at device response time it is longer, and only when all data are all back to browser, user side could be browsed, therefore, number
According to response speed it is slower, the display speed of data is slower, and user experience is poor.
Summary of the invention
To solve existing technical problem, the embodiment of the invention provides a kind of methods that raising data show speed
And system, server, browser, period of reservation of number can be reduced, user experience is promoted.
The technical scheme of the present invention is realized as follows: the present invention provides a kind of method that raising data show speed,
Include:
Server receives the information deconsolidation process result that browser is sent;The information deconsolidation process result is browser root
The request of data sub-information obtained after splitting the data request information of the user according to the type of user query information;
The server determines data information corresponding with the request of data sub-information, and according to the data information
Each data information is split at least two minimum data units by type of service;
Minimum data unit after fractionation is sent to the browser by the server in batches.
Further, the minimum data unit after fractionation is sent to the browser by the server in batches, comprising:
The server determines in the minimum data unit after splitting there are when complementary minimum data unit, by phase
The minimum data unit mutually relied on is successively sent to browser, alternatively, extremely by complementary minimum data unit transmitted in parallel
Browser.
Further, the minimum data unit after fractionation is sent to the browser by the server in batches, comprising:
The server determines that there are complementary minimum data units in the minimum data unit after splitting, and determines
When the data volume of complementary each minimum data unit is all larger than preset data amount, by complementary minimum data unit
Successively it is sent to browser.
Further, the minimum data unit after fractionation is sent to the browser by the server in batches, comprising:
The server determines in the minimum data unit after splitting there are when complementary minimum data unit, and really
When the cumulative data amount of fixed complementary all minimum data units is less than or equal to preset data amount, by complementary minimum
Data cell transmitted in parallel is to browser.
The present invention also provides a kind of methods that raising data show speed, comprising:
Server receives the data request information that browser is sent;
The server determines data information corresponding with the data request information, and according to the industry of the data information
The data information is split at least two minimum data units by service type;
Minimum data unit after fractionation is sent to the browser by the server in batches.
Invention further provides a kind of methods that raising data show speed, comprising:
When browser determines that data request information is different type, according to the query information in the data request information
The data request information is split at least two request of data sub-informations and is sent to server by type;
The browser receives in batches and shows the data deconsolidation process result that the server is sent;The data are split
Processing result be server based on data information type of service will the data information corresponding with request of data sub-information into
The minimum data unit that row obtains after splitting.
Further, the browser receives in batches and shows the data deconsolidation process of the server transmission as a result, packet
It includes:
The browser determines in the minimum data unit received there are when complementary minimum data unit, to phase
The minimum data unit mutually relied on shows the complementary minimum data unit after all receiving;Alternatively,
When complementary minimum data unit is not present in the determining minimum data unit received of the browser, i.e.,
When show the minimum data unit.
The present invention also provides a kind of methods that raising data show speed, comprising:
When browser determines that data request information is same type, the data request information is sent to server;
The browser receives in batches and shows the data deconsolidation process result that the server is sent;The data are split
Processing result is that the type of service of server based on data information will the data information corresponding with the data request information
The minimum data unit obtained after being split.
The present invention also provides a kind of servers, comprising:
Information receiving unit, for receiving the information deconsolidation process result of browser transmission;The information deconsolidation process knot
Fruit is the request of data obtained after browser splits the data request information of the user according to the type of user query information
Sub-information;
Split cells is believed for determining data information corresponding with the request of data sub-information, and according to the data
Each data information is split at least two minimum data units by the type of service of breath;
Information transmitting unit, for the minimum data unit after splitting to be sent to the browser in batches.
Further, the information transmitting unit includes:
Determine subelement, there are complementary minimum data units in the minimum data unit after splitting for determining;
Information transmission sub-unit, for complementary minimum data unit to be successively sent to browser, alternatively, by phase
The minimum data unit that mutually relies on while being sent to browser.
Further, the information transmitting unit includes:
It determines subelement, is also used to determine that there are complementary minimum data lists in the minimum data unit after splitting
Member, and when determining that the data volume of complementary each minimum data unit is all larger than preset data amount, triggering information sends son
Unit;
The information transmission sub-unit, for complementary minimum data unit to be successively sent to browser.
Further, the information transmitting unit includes:
It determines subelement, is also used to determine that there are complementary minimum data lists in the minimum data unit after splitting
Member, and when determining that the cumulative data amount of complementary all minimum data units is less than or equal to preset data amount, trigger information
Transmission sub-unit;
The information transmission sub-unit is used for complementary minimum data unit transmitted in parallel to browser.
The present invention also provides a kind of servers, comprising:
Information receiving unit, for receiving the data request information of browser transmission;
Split cells, for determining data information corresponding with the data request information, and according to the data information
Type of service the data information is split into at least two minimum data units;
Information transmitting unit, for the minimum data unit after splitting to be sent to the browser in batches.
The present invention also provides a kind of browsers, comprising:
Split cells, when for determining that data request information is different type, according to looking into the data request information
The data request information is split at least two request of data sub-informations and is sent to server by the type for asking information;
Display unit, the data deconsolidation process result sent for receiving and showing the server in batches;The data
Deconsolidation process result is that the type of service of server based on data information will the data letter corresponding with request of data sub-information
The minimum data unit that breath obtains after being split.
Further, the display unit includes:
Determine subelement, there are complementary minimum data units in the minimum data unit received for determining
When, triggering display subelement;
The display subelement, it is described mutual for being shown after complementary minimum data unit all receives
The minimum data unit of dependence.
Further, the display unit includes:
Determine subelement, there is no complementary minimum data units in the minimum data unit received for determining
When, triggering display subelement;
The display subelement, is also used to minimum data unit described in instant playback.
The present invention also provides a kind of browsers, comprising:
Information transmitting unit sends the data request information when for determining that data request information is same type
To server;
Display unit, the data deconsolidation process result sent for receiving and showing the server in batches;The data
Deconsolidation process result is that the type of service of server based on data information will data information corresponding with the data request information
The minimum data unit obtained after being split.
The present invention also provides a kind of systems that raising data show speed, comprising: above-described server, Yi Jiyu
The server carries out corresponding, above-described browser when information exchange.
The embodiment of the present invention improves data and shows the method and system of speed, server, browser, can be incited somebody to action by browser
The data request information of user is split, and the request of data sub-information after fractionation is sent to server, server energy root
The data information for corresponding to the request of data sub-information is split into minimum data unit according to type of service, and is sent in batches
The browser, the minimum data unit instant playback that the browser will receive, in this way, period of reservation of number is reduced,
The user experience is improved.
In addition, sent in batches since the biggish data information of data volume is split into multiple minimum data units by server,
Therefore, it when network condition is poor, is avoided that chunk data is retransmitted, improves the reliability of browser/server application.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram one that the raising data of the embodiment of the present invention show the method for speed;
Fig. 2 is the structural schematic diagram one of server of the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of information transmitting unit of the embodiment of the present invention;
Fig. 4 is the implementation process schematic diagram two that the raising data of the embodiment of the present invention show the method for speed;
Fig. 5 is the structural schematic diagram two of server of the embodiment of the present invention;
Fig. 6 is the implementation process schematic diagram three that the raising data of the embodiment of the present invention show the method for speed;
Fig. 7 is the structural schematic diagram one of browser of the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of display unit of the embodiment of the present invention;
Fig. 9 is the implementation process schematic diagram four of the method for the raising webpage response speed of the embodiment of the present invention;
Figure 10 is the structural schematic diagram two of browser of the embodiment of the present invention;
Figure 11 is the implementation process schematic diagram of the embodiment of the present invention 1;
Figure 12 is the implementation process schematic diagram of the embodiment of the present invention 2.
Specific embodiment
Embodiments of the present invention are described in detail below in conjunction with specific embodiments and drawings.
Fig. 1 is the implementation process schematic diagram one that the raising data of the embodiment of the present invention show the method for speed, such as Fig. 1 institute
Show, which comprises
Step 101: server receives the information deconsolidation process result that browser is sent;The information deconsolidation process result is
Request of data that browser obtains after being split the data request information of the user according to the type of user query information is believed
Breath;
Step 102: the server determines data information corresponding with the request of data sub-information, and according to the number
It is believed that each data information is split at least two minimum data units by the type of service of breath;
Step 103: the minimum data unit after fractionation is sent to the browser by the server in batches.
Here, after server determination data information corresponding with the request of data sub-information, and described in determination
It, will be each according to the type of service of the data information when the corresponding data information of request of data sub-information is greater than preset data amount
The data information splits at least two minimum data units;
After the server determines data information corresponding with the request of data sub-information, and determine that the data are asked
When the corresponding data information of sub-information being asked to be less than or equal to preset data amount, the data information is directly sent to by the server
Browser.
Further, the minimum data unit after fractionation is sent to the browser by the server in batches, comprising:
The server determines in the minimum data unit after splitting there are when complementary minimum data unit, by phase
The minimum data unit mutually relied on is successively sent to browser, alternatively, extremely by complementary minimum data unit transmitted in parallel
Browser.
Further, the minimum data unit after fractionation is sent to the browser by the server in batches, comprising:
The server determines that there are complementary minimum data units in the minimum data unit after splitting, and determines
When the data volume of complementary each minimum data unit is all larger than preset data amount, by complementary minimum data unit
Successively it is sent to browser.
Further, the minimum data unit after fractionation is sent to the browser by the server in batches, comprising:
The server determines in the minimum data unit after splitting there are when complementary minimum data unit, and really
When the cumulative data amount of fixed complementary all minimum data units is less than or equal to preset data amount, by complementary minimum
Data cell transmitted in parallel is to browser.
Here, the server simultaneously will as much as possible when processing has the minimum data unit of relation of interdependence
All minimum data units with relation of interdependence are sent to browser simultaneously, if the minimum number with relation of interdependence
It is more than preset data amount according to the data volume of unit, then the server is as far as possible by all minimum numbers with relation of interdependence
According to unit with shortest interval time, be sequentially sent to browser, in order to browser instant playback.
In addition, in actual application, all minimum data units are sent the mistake of browser by the server in batches
Every batch of minimum data unit that Cheng Zhong, Xiang Suoshu browser are sent, can be single minimum data unit, or group
Minimum data unit after conjunction, as long as each wholesale data volume sent is less than the second preset condition.
To realize the above method, the embodiment of the invention also provides a kind of servers, as shown in Fig. 2, the server packet
It includes:
Information receiving unit 21, for receiving the information deconsolidation process result of browser transmission;The information deconsolidation process
As a result the data obtained after being split the data request information of the user according to the type of user query information for browser are asked
Seek sub-information;
Split cells 22, for determining data information corresponding with the request of data sub-information, and according to the data
Each data information is split at least two minimum data units by the type of service of information;
Information transmitting unit 23, for the minimum data unit after splitting to be sent to the browser in batches.
Further, as shown in figure 3, the information transmitting unit 23 includes:
Determine subelement 231, there are complementary minimum data lists in the minimum data unit after splitting for determining
Member;
Information transmission sub-unit 232, for complementary minimum data unit to be successively sent to browser, alternatively,
Complementary minimum data unit is sent to browser simultaneously.
Further, the information transmitting unit includes:
It determines subelement, is also used to determine that there are complementary minimum data lists in the minimum data unit after splitting
Member, and when determining that the data volume of complementary each minimum data unit is all larger than preset data amount, triggering information sends son
Unit;
The information transmission sub-unit, for complementary minimum data unit to be successively sent to browser.
Further, the information transmitting unit includes:
It determines subelement, is also used to determine that there are complementary minimum data lists in the minimum data unit after splitting
Member, and when determining that the cumulative data amount of complementary all minimum data units is less than or equal to preset data amount, trigger information
Transmission sub-unit;
The information transmission sub-unit is used for complementary minimum data unit transmitted in parallel to browser.
Fig. 4 is the implementation process schematic diagram two that the raising data of the embodiment of the present invention show the method for speed, such as Fig. 4 institute
Show, which comprises
Step 401: server receives the data request information that browser is sent;
Step 402: the server determines data information corresponding with the data request information, and according to the data
The data information is split at least two minimum data units by the type of service of information;
Step 403: the minimum data unit after fractionation is sent to the browser by the server in batches.
Here, after the server determines data information corresponding with the data request information, and the number is determined
It, will be each described according to the type of service of the data information when being greater than preset data amount according to the corresponding data information of solicited message
Data information splits at least two minimum data units;
After the server determines data information corresponding with the data request information, and determine the request of data
When the corresponding data information of information is less than or equal to preset data amount, the data information is directly sent to browsing by the server
Device.
The embodiment of the invention also provides a kind of servers, as shown in figure 5, the server includes:
Information receiving unit 51, for receiving the data request information of browser transmission;
Split cells 52 is believed for determining data information corresponding with the data request information, and according to the data
The data information is split at least two minimum data units by the type of service of breath;
Information transmitting unit 53, for the minimum data unit after splitting to be sent to the browser in batches.
Fig. 6 is the implementation process schematic diagram three that the raising data of the embodiment of the present invention show the method for speed, such as Fig. 6 institute
Show, which comprises
Step 601: when browser determines that data request information is different type, according to looking into the data request information
The data request information is split at least two request of data sub-informations and is sent to server by the type for asking information;
Step 602: the browser receives in batches and shows the data deconsolidation process result that the server is sent;It is described
Data deconsolidation process result is that the type of service of server based on data information will the number corresponding with request of data sub-information
It is believed that the minimum data unit that breath obtains after being split.
Here, when the browser determines that data request information is same type, directly by the data request information
It is sent to server.
Further, the browser receives in batches and shows the data deconsolidation process of the server transmission as a result, packet
It includes:
The browser determines in the minimum data unit received there are when complementary minimum data unit, to phase
The minimum data unit mutually relied on shows the complementary minimum data unit after all receiving;Alternatively,
When complementary minimum data unit is not present in the determining minimum data unit received of the browser, i.e.,
When show the minimum data unit.
The embodiment of the invention also provides a kind of browsers, as shown in fig. 7, the browser includes:
Split cells 71, when for determining that data request information is different type, according in the data request information
The data request information is split at least two request of data sub-informations and is sent to server by the type of query information;
Display unit 72, the data deconsolidation process result sent for receiving and showing the server in batches;The number
It will the data corresponding with request of data sub-information according to the type of service that deconsolidation process result is server based on data information
The minimum data unit that information obtains after being split.
Further, the display unit 72 includes: as shown in Figure 8
Determine subelement 721, there are complementary minimum data lists in the minimum data unit received for determining
When first, triggering display subelement;
The display subelement 722, for described in the display after complementary minimum data unit all receives
Complementary minimum data unit;It is also used to minimum data unit described in instant playback.
Further, the display unit 72 includes:
Determine subelement, there is no complementary minimum data units in the minimum data unit received for determining
When, triggering display subelement;
The display subelement, is also used to minimum data unit described in instant playback.
Fig. 9 is the implementation process schematic diagram four that the raising data of the embodiment of the present invention show the method for speed, such as Fig. 9 institute
Show, comprising:
Step 901: when browser determines that data request information is same type, the data request information being sent to clothes
Business device;
Step 902: the browser receives in batches and shows the data deconsolidation process of the server transmission as a result, described
Data deconsolidation process result is that the type of service of server based on data information will be corresponding with the data request information described
The minimum data unit that data information obtains after being split.
The embodiment of the invention also provides a kind of browsers, and as shown in Figure 10, the browser includes:
Information transmitting unit 11 sends out the data request information when for determining that data request information is same type
It send to server;
Display unit 12, the data deconsolidation process result sent for receiving and showing the server in batches;The number
It will data letter corresponding with the data request information according to the type of service that deconsolidation process result is server based on data information
The minimum data unit that breath obtains after being split.
The embodiment of the invention provides a kind of systems that raising data show speed, comprising: server shown in Fig. 2, with
And browser shown in Fig. 7;
Here, server shown in Fig. 2 includes: information receiving unit 21, split cells 22 and information transmitting unit 23;Figure
Browser shown in 7 includes: split cells 71 and display unit 72;
Further, the information transmitting unit 23 includes:
Determine subelement 231, there are complementary minimum data lists in the minimum data unit after splitting for determining
Member;
Information transmission sub-unit 232, for complementary minimum data unit to be successively sent to browser, alternatively,
Complementary minimum data unit is sent to browser simultaneously.
Alternatively, the information transmitting unit 23 includes:
It determines subelement, is also used to determine that there are complementary minimum data lists in the minimum data unit after splitting
Member, and when determining that the data volume of complementary each minimum data unit is all larger than preset data amount, triggering information sends son
Unit;
The information transmission sub-unit, for complementary minimum data unit to be successively sent to browser.
Alternatively, the information transmitting unit 23 includes:
It determines subelement, is also used to determine that there are complementary minimum data lists in the minimum data unit after splitting
Member, and when determining that the cumulative data amount of complementary all minimum data units is less than or equal to preset data amount, trigger information
Transmission sub-unit;
The information transmission sub-unit is used for complementary minimum data unit transmitted in parallel to browser.
Further, the display unit 72 includes:
Determine subelement 721, there are complementary minimum data lists in the minimum data unit received for determining
When first, triggering display subelement;
The display subelement 722, for described in the display after complementary minimum data unit all receives
Complementary minimum data unit;It is also used to minimum data unit described in instant playback.
Alternatively, the display unit 72 includes:
Determine subelement, there is no complementary minimum data units in the minimum data unit received for determining
When, triggering display subelement;
The display subelement, is also used to minimum data unit described in instant playback.
The embodiment of the invention also provides a kind of systems that raising data show speed, comprising: server shown in fig. 5,
And browser shown in Fig. 10.
Embodiment 1
Figure 11 is the implementation process schematic diagram of the embodiment of the present invention 1, as shown in figure 11, comprising the following steps:
Step 111: user sends data request information to server by browser;
Step 112: the browser judges whether the data request information is same type;When the request of data is believed
When breath is same type, the data request information is sent to the server by the browser;
Step 113: the server determines the corresponding data information of the data request information, and determines the data letter
When the data volume of breath is greater than the first preset data amount, the server splits into the data information at least according to type of service
Two minimum data units;
Here, when the server determines the data volume of the data information less than or equal to the first preset data amount, directly
It connects and the data information is sent to browser;
Step 114: the minimum data unit after fractionation is sent to the browser by the server in batches;
Step 114 is described in further detail, is specifically included:
Step A: the server determines in all minimum data units after splitting that there are complementary minimum data
When unit, and determine that the data volume of at least one minimum data unit in complementary all minimum data units is greater than the
When two preset data amounts, complementary minimum data unit is successively sent to browser in batches;Meanwhile it will remove and interdepend
Minimum data unit other than other minimum data units be sent to browser in batches;Alternatively,
The server determines in all minimum data units after splitting that there are complementary minimum data units
When, and when determining the data volume of complementary all minimum data units less than the second preset data amount, it will be complementary
Minimum data unit transmitted in parallel is to browser;Meanwhile by other minimum numbers in addition to complementary minimum data unit
It is sent to browser in batches according to unit.
Here, the server simultaneously will as much as possible when processing has the minimum data unit of relation of interdependence
All minimum data units with relation of interdependence are sent to browser simultaneously, if the minimum number with relation of interdependence
It is more than preset data amount according to the data volume of unit, then the server is as far as possible by all minimum numbers with relation of interdependence
According to unit with shortest interval time, be sequentially sent to browser, in order to browser instant playback.
Here, step A for explaining only the invention, and be not used for limitation the present invention;In addition, not provided most in step A
All the case where being likely to occur in relationship between the data volume of small data unit and the second preset data amount, in practical application mistake
Cheng Zhong, during all minimum data units are sent browser in batches by the server, Xiang Suoshu browser is sent every
Batch of minimum data unit can be single minimum data unit, or the minimum data unit after combination, as long as often
The data volume that a batch is sent is less than the second preset condition.
Step 114 is described in further detail, it is also possible to be following situation:
Step B: the server determines in all minimum data units after splitting, and complementary minimum number is not present
When according to unit, all minimum data units after fractionation are sent to browser in batches;
Here, it is described all minimum data units are sent to browser in batches during, Xiang Suoshu browser send
Per batch of minimum data unit, can be single minimum data unit, or the minimum data unit after combination,
Each wholesale data volume sent is wanted to be less than preset condition.
Step 115: the browser determines that in the minimum data unit received, there are complementary minimum data
When unit, the complementary minimum data unit is shown after complementary minimum data unit all receives;
Meanwhile the browser by receive there is no the minimum data unit instant playbacks of relation of interdependence;Alternatively,
The browser determines in the minimum data unit received, and complementary minimum data unit is not present
When, instant playback minimum data unit.
Embodiment 2
Figure 12 is the implementation process schematic diagram of the embodiment of the present invention 2, as shown in figure 12, comprising the following steps:
Step 121: user sends data request information to server by browser;
Step 122: the browser judges whether the data request information is same type;When the request of data is believed
When breath is different type, the data request information is split at least two according to the type of user query information by the browser
A request of data sub-information is successively sent to the server;
Here, when data request information is different type, data request information is split as several data by browser
Sub-information is requested, and is sent to server in batches, in this way, server is made to receive and process request of data sub-information in batches, can be dropped
The probability of low server process Volume data promotes the processing speed of server, reduces server response time, Jin Erneng
Reduce the waiting time of user.
Step 123: the server successively receives the request of data sub-information, and the successively determining and request of data
The corresponding data information of sub-information, when determining that the data volume of the data information is greater than the first preset data amount, according to service class
Each data information is split at least two minimum data units by type;
Here, when the server determines the data volume of the data information less than or equal to the first preset data amount, directly
It connects and the data information is sent to browser;
Step 124: the minimum data unit after fractionation is sent to the browser by the server in batches;
Step 124 is described in further detail, is specifically included:
Step A: the server determines in all minimum data units after splitting that there are complementary minimum data
When unit, and determine that the data volume of at least one minimum data unit in complementary all minimum data units is greater than the
When two preset data amounts, complementary minimum data unit is successively sent to browser in batches;Meanwhile it will remove and interdepend
Minimum data unit other than other minimum data units be sent to browser in batches;Alternatively,
The server determines in all minimum data units after splitting that there are complementary minimum data units
When, and when determining the data volume of complementary all minimum data units less than the second preset data amount, it will be complementary
Minimum data unit transmitted in parallel is to browser;Meanwhile by other minimum numbers in addition to complementary minimum data unit
It is sent to browser in batches according to unit.
Here, the server simultaneously will as much as possible when processing has the minimum data unit of relation of interdependence
All minimum data units with relation of interdependence are sent to browser simultaneously, if the minimum number with relation of interdependence
It is more than preset data amount according to the data volume of unit, then the server is as far as possible by all minimum numbers with relation of interdependence
According to unit with shortest interval time, be sequentially sent to browser, in order to browser instant playback.
Here, step A for explaining only the invention, is not intended to limit the present invention;In addition, not provided most in step A
All the case where being likely to occur in relationship between the data volume of small data unit and the second preset data amount, in practical application mistake
Cheng Zhong, during all minimum data units are sent browser in batches by the server, Xiang Suoshu browser is sent every
Batch of minimum data unit can be single minimum data unit, or the minimum data unit after combination, as long as often
The data volume that a batch is sent is less than the second preset condition.
Step 124 is described in further detail, it is also possible to be following situation:
Step B: the server determines in all minimum data units after splitting, and complementary minimum number is not present
When according to unit, all minimum data units after fractionation are sent to browser in batches;
Here, it is described all minimum data units are sent to browser in batches during, Xiang Suoshu browser send
Per batch of minimum data unit, can be single minimum data unit, or the minimum data unit after combination,
Each wholesale data volume sent is wanted to be less than preset condition.
Step 125: the browser determines that in the minimum data unit received, there are complementary minimum data
When unit, the complementary minimum data unit is shown after complementary minimum data unit all receives;
Meanwhile the browser by receive there is no the minimum data unit instant playbacks of relation of interdependence;Alternatively,
The browser determines in the minimum data unit received, and complementary minimum data unit is not present
When, minimum data unit described in instant playback.
The embodiment of the present invention improves the method and system that data show speed, can pass through browser for the request of data of user
Information is split, and the request of data sub-information after fractionation is sent to server, and server can will be right according to type of service
The data information of request of data sub-information described in Ying Yu splits into minimum data unit, and is sent to the browser in batches, institute
The minimum data unit instant playback that browser will receive is stated, in this way, can be promoted reduces period of reservation of number, promotes user's body
It tests.
In addition, sent in batches since the biggish data information of data volume is split into multiple minimum data units by server,
Therefore, when network condition is poor, chunk data repeating transmission is avoided, the reliability of browser/server application is improved.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (18)
1. a kind of method for improving data and showing speed, which is characterized in that the described method includes:
Server receives the information deconsolidation process result that browser is sent;The information deconsolidation process result be browser according to
The request of data sub-information that the type of family query information obtains after splitting the data request information of the user;
The server determines data information corresponding with the request of data sub-information, and determines the request of data sub-information
When corresponding data information is greater than preset data amount, each data information is torn open according to the type of service of the data information
It is divided at least two minimum data units;
Minimum data unit after fractionation is sent to the browser by the server in batches, and the minimum data unit is by clear
Look at device instant playback.
2. the method according to claim 1, wherein the server by the minimum data unit after fractionation in batches
It is sent to the browser, comprising:
The server determines in the minimum data unit after splitting there are when complementary minimum data unit, will mutually according to
Bad minimum data unit is successively sent to browser, alternatively, by complementary minimum data unit transmitted in parallel to browsing
Device.
3. the method according to claim 1, wherein the server by the minimum data unit after fractionation in batches
It is sent to the browser, comprising:
The server determines that there are complementary minimum data units in the minimum data unit after splitting, and determines mutual
When the data volume of each minimum data unit relied on is all larger than preset data amount, successively by complementary minimum data unit
It is sent to browser.
4. the method according to claim 1, wherein the server by the minimum data unit after fractionation in batches
It is sent to the browser, comprising:
The server determines in the minimum data unit after splitting there are when complementary minimum data unit, and determines phase
When the cumulative data amount of all minimum data units mutually relied on is less than or equal to preset data amount, by complementary minimum data
Unit transmitted in parallel is to browser.
5. a kind of method for improving data and showing speed, which is characterized in that the described method includes:
Server receives the data request information that browser is sent;
The server determines data information corresponding with the data request information, and determines that the data request information is corresponding
Data information be greater than preset data amount when, the data information is split at least according to the type of service of the data information
Two minimum data units;
Minimum data unit after fractionation is sent to the browser by the server in batches, and the minimum data unit is by clear
Look at device instant playback;
After the server determines data information corresponding with the data request information, and determine the data request information pair
When the data information answered is less than or equal to preset data amount, the data information is directly sent to browser by the server.
6. a kind of method for improving data and showing speed, which is characterized in that the described method includes:
When browser determines that data request information is different type, according to the type of the query information in the data request information
The data request information is split into at least two request of data sub-informations and is sent to server;
The browser receives in batches and shows the data deconsolidation process result that the server is sent;The data deconsolidation process
As a result the data information corresponding with request of data sub-information is torn open for the type of service of server based on data information
The minimum data unit obtained after point.
7. according to the method described in claim 6, it is characterized in that, the browser receives and shows the server hair in batches
The data deconsolidation process result sent, comprising:
The browser determines in the minimum data unit received there are when complementary minimum data unit, to mutually according to
Bad minimum data unit shows the complementary minimum data unit after all receiving;Alternatively,
The browser determines in the minimum data unit received there is no when complementary minimum data unit, shows immediately
Show the minimum data unit.
8. a kind of method for improving data and showing speed, which is characterized in that the described method includes:
When browser determines that data request information is same type, the data request information is sent to server;
It is described clear when the server determines that the corresponding data information of the data request information is greater than preset data amount
Device of looking at receives in batches and shows the data deconsolidation process result that the server is sent;The data deconsolidation process result is service
Device according to the type of service of data information will the data information corresponding with the data request information split after obtain
Minimum data unit;
It is described clear when the server determines that the corresponding data information of the data request information is less than preset data amount
The data information that device of looking at receives and display server is sent.
9. a kind of server, which is characterized in that the server includes:
Information receiving unit, for receiving the information deconsolidation process result of browser transmission;The information deconsolidation process result is
Request of data that browser obtains after being split the data request information of the user according to the type of user query information is believed
Breath;
Split cells for determining data information corresponding with the request of data sub-information, and determines request of data
When the corresponding data information of information is greater than preset data amount, each data are believed according to the type of service of the data information
Breath splits at least two minimum data units;
Information transmitting unit, for the minimum data unit after splitting to be sent to the browser, the minimum data in batches
Unit is by browser instant playback.
10. server according to claim 9, which is characterized in that the information transmitting unit includes:
Determine subelement, there are complementary minimum data units in the minimum data unit after splitting for determining;
Information transmission sub-unit, for complementary minimum data unit to be successively sent to browser, alternatively, will mutually according to
Bad minimum data unit is sent to browser simultaneously.
11. server according to claim 9, which is characterized in that the information transmitting unit includes:
It determines subelement, is also used to determine that there are complementary minimum data units in the minimum data unit after splitting, and
When determining that the data volume of complementary each minimum data unit is all larger than preset data amount, information transmission sub-unit is triggered;
The information transmission sub-unit, for complementary minimum data unit to be successively sent to browser.
12. server according to claim 9, which is characterized in that the information transmitting unit includes:
It determines subelement, is also used to determine that there are complementary minimum data units in the minimum data unit after splitting, and
When determining that the cumulative data amount of complementary all minimum data units is less than or equal to preset data amount, triggering information sends son
Unit;
The information transmission sub-unit is used for complementary minimum data unit transmitted in parallel to browser.
13. a kind of server, which is characterized in that the server includes:
Information receiving unit, for receiving the data request information of browser transmission;
Split cells for determining data information corresponding with the data request information, and determines the data request information
When corresponding data information is greater than preset data amount, the data information is split into according to the type of service of the data information
At least two minimum data units;
Information transmitting unit, for the minimum data unit after splitting to be sent to the browser, the minimum data in batches
Unit is by browser instant playback;It is also used to determine that the corresponding data information of the data request information is small when the split cells
When being equal to preset data amount, the data information is directly sent to browser.
14. a kind of browser, which is characterized in that the browser includes:
Split cells when for determining that data request information is different type, is believed according to the inquiry in the data request information
The data request information is split at least two request of data sub-informations and is sent to server by the type of breath;
Display unit, the data deconsolidation process result sent for receiving and showing the server in batches;The data are split
Processing result be server based on data information type of service will the data information corresponding with request of data sub-information into
The minimum data unit that row obtains after splitting.
15. browser according to claim 14, which is characterized in that the display unit includes:
It determines subelement, for determining in the minimum data unit received there are when complementary minimum data unit, touches
Hair display subelement;
The display subelement, for interdepending described in the display after complementary minimum data unit all receives
Minimum data unit.
16. browser according to claim 14, which is characterized in that the display unit includes:
Determine subelement, when complementary minimum data unit being not present in the minimum data unit received for determining,
Triggering display subelement;
The display subelement, is also used to minimum data unit described in instant playback.
17. a kind of browser, which is characterized in that the browser includes:
The data request information is sent to clothes when for determining that data request information is same type by information transmitting unit
Business device;
Display unit, for determining that the corresponding data information of the data request information is greater than present count when the server
When according to amount, the data deconsolidation process result that the server is sent is received and shown in batches;The data deconsolidation process result is
The type of service of server based on data information will data information corresponding with the data request information split after obtain
Minimum data unit, be also used to when to determine that the corresponding data information of the data request information is less than pre- for the server
If when data volume, the browser receives and the data information of display server transmission.
18. a kind of system for improving data and showing speed, which is characterized in that the system comprises:
The described in any item servers of claim 9 to 12 and the described in any item browsers of claim 14 to 16;Or
Person,
Browser described in server described in claim 13 and claim 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410091453.XA CN104917731B (en) | 2014-03-12 | 2014-03-12 | A kind of data that improve show the method and system of speed, server, browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410091453.XA CN104917731B (en) | 2014-03-12 | 2014-03-12 | A kind of data that improve show the method and system of speed, server, browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104917731A CN104917731A (en) | 2015-09-16 |
CN104917731B true CN104917731B (en) | 2019-04-26 |
Family
ID=54086444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410091453.XA Expired - Fee Related CN104917731B (en) | 2014-03-12 | 2014-03-12 | A kind of data that improve show the method and system of speed, server, browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104917731B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106559385B (en) * | 2015-09-25 | 2019-10-18 | 阿里巴巴集团控股有限公司 | A kind of data authentication method and apparatus |
CN109801601B (en) | 2019-03-21 | 2020-11-03 | 京东方科技集团股份有限公司 | Backlight driving method, control circuit and display device |
CN110263121B (en) * | 2019-05-07 | 2023-12-19 | 平安科技(深圳)有限公司 | Table data processing method, apparatus, electronic apparatus and computer readable storage medium |
CN110636341B (en) * | 2019-10-25 | 2021-11-09 | 四川虹魔方网络科技有限公司 | Large-concurrency supporting multi-level fine-grained caching mechanism launcher interface optimization method |
CN111930331B (en) * | 2020-09-24 | 2021-02-02 | 北京每日优鲜电子商务有限公司 | Information display method and device, electronic equipment and computer readable medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102411625A (en) * | 2011-03-21 | 2012-04-11 | 苏州阔地网络科技有限公司 | Progressive output display method and device |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100517326C (en) * | 2006-08-30 | 2009-07-22 | 中兴通讯股份有限公司 | Realization method of built-in browsers page quick-speed refreshing mechanism |
CN101226525B (en) * | 2007-01-19 | 2012-02-15 | 国际商业机器公司 | Method, server, client terminal and system for controlling download and display of web page layout |
CN101340399A (en) * | 2008-07-31 | 2009-01-07 | 华为软件技术有限公司 | Method, apparatus and system for transmitting webpage content |
CN101477535B (en) * | 2008-12-30 | 2011-06-08 | 华为技术有限公司 | Web page display method, request processing method, apparatus and system |
CN102143121B (en) * | 2010-01-29 | 2016-04-06 | 北京搜狗科技发展有限公司 | The method that video is downloaded and device |
JP5669460B2 (en) * | 2010-06-30 | 2015-02-12 | キヤノン株式会社 | Information processing apparatus, information processing system, information processing apparatus control method, and program |
CN103546505B (en) * | 2012-07-12 | 2018-03-06 | 百度在线网络技术(北京)有限公司 | The method, system and device that Segment is according to priority sequentially shown |
CN103024044B (en) * | 2012-12-14 | 2016-07-06 | 北京奇虎科技有限公司 | Webpage download method and device |
CN102984275B (en) * | 2012-12-14 | 2016-09-21 | 北京奇虎科技有限公司 | Carry out method and the browser of page download |
CN103336702A (en) * | 2013-06-29 | 2013-10-02 | 广州市动景计算机科技有限公司 | Method and device of accelerating webpage loading |
CN103399968B (en) * | 2013-07-16 | 2016-08-10 | 中国科学院计算技术研究所 | A kind of micro-blog information acquisition method and system |
CN103617222A (en) * | 2013-11-22 | 2014-03-05 | 北京奇虎科技有限公司 | Browser and method for preloading in webpages |
-
2014
- 2014-03-12 CN CN201410091453.XA patent/CN104917731B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102411625A (en) * | 2011-03-21 | 2012-04-11 | 苏州阔地网络科技有限公司 | Progressive output display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104917731A (en) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104917731B (en) | A kind of data that improve show the method and system of speed, server, browser | |
AU2017206281B2 (en) | System and method for improving access to search results | |
JP2019511775A (en) | Techniques for messaging bot rich communication | |
CN107087033B (en) | Message pushing method and device, storage medium and computer equipment | |
KR101827412B1 (en) | Methods, systems, and media for managing notifications directed to multiple applications installed on a user device | |
CN104348822B (en) | A kind of method, apparatus and server of internet account number authentication | |
CN104092811B (en) | Mobile terminal information download method, system, terminal device and server | |
CN103905497B (en) | Realize the method, apparatus and application platform of third-party application business website log | |
EP2698730B1 (en) | Data acquisition method, device and system | |
CN105550051B (en) | The asynchronous processing method and device of service request | |
US20160241589A1 (en) | Method and apparatus for identifying malicious website | |
US20130227662A1 (en) | Method of Generating a Token to be Used in a Uniform Resource Identifier | |
CN104994060B (en) | It is a kind of to provide the method and apparatus of verifying for logging in for user | |
CN105101051B (en) | Information processing method and electronic equipment | |
US20140172962A1 (en) | Method and system for prompting friend feed in SNS network, client and server | |
WO2013097740A1 (en) | Method and device for prompting dynamic information about contact person | |
AU2013397053B2 (en) | Content sharing method and social synchronization apparatus | |
CN101771676A (en) | Setting and authentication method for cross-domain authorization and relevant device and system | |
WO2016123896A1 (en) | Information sharing method and device | |
WO2020258102A1 (en) | Content pushing method and apparatus, mobile terminal and storage medium | |
US9210117B2 (en) | Invitation information push method and system | |
WO2014206050A1 (en) | Web page loading method, apparatus and system based on transit server | |
CN103167014A (en) | Method and device of sharing resources with browsers | |
CN102891851A (en) | Access control method, equipment and system of virtual desktop | |
WO2012028033A1 (en) | Method and device for message updating |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190426 |