WO2016188292A1 - 一种数据处理中显示处理进度的方法及其装置 - Google Patents

一种数据处理中显示处理进度的方法及其装置 Download PDF

Info

Publication number
WO2016188292A1
WO2016188292A1 PCT/CN2016/080309 CN2016080309W WO2016188292A1 WO 2016188292 A1 WO2016188292 A1 WO 2016188292A1 CN 2016080309 W CN2016080309 W CN 2016080309W WO 2016188292 A1 WO2016188292 A1 WO 2016188292A1
Authority
WO
WIPO (PCT)
Prior art keywords
browser
task
request
time interval
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.)
Ceased
Application number
PCT/CN2016/080309
Other languages
English (en)
French (fr)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2016188292A1 publication Critical patent/WO2016188292A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a method and apparatus for displaying processing progress in data processing.
  • the web page dynamically displays the progress of the data processing.
  • the browser In order to obtain the dynamic current data processing progress, the browser usually takes a fixed time interval to initiate a request to the server, and the server obtains the current processing progress. For example, the server is requested once every 1 second, the server returns the progress of the task processing, and the browser renders the current progress data to the web page and presents it to the user.
  • this puts a lot of pressure on the server consumes too much network resources, and increases network overhead.
  • the present application provides a method for displaying processing progress in data processing and an apparatus thereof, which can reduce the number of times a browser requests a server, reduce the pressure on a server, and save network overhead while ensuring a user experience.
  • the present application provides a method for displaying processing progress in data processing, which is applied to a server, including:
  • the method further includes:
  • the browser further includes: The first fixed time interval is used as the time interval for the browser to initiate the request next time, and the time interval for the next time the browser initiates the request is saved to the database for the browser to query.
  • the time interval for obtaining the next request initiated by the browser according to the completion time of the next task segment is specifically: delaying the completion time of the next task segment by a second fixed time interval. , as the time interval between the next time the browser initiates a request.
  • the application also provides a method for displaying processing progress in data processing, which is applied to a browser, including:
  • the browser renders the task processing progress display and delays the time interval after the browser initiates the request again to initiate a request to the server.
  • the application also provides an apparatus for displaying processing progress in data processing, which is applied to a server, and includes:
  • a judging module configured to perform data processing on the task segment according to the received data processing instruction, and Determine whether the first task fragment is processed or not;
  • a calculation module configured to: if the processing of the first task segment is completed, calculate a completion time of the next task segment according to a completion time of at least a part of the processed task segments;
  • Obtaining a module configured to obtain a time interval for the next request initiated by the browser according to the completion time of the next task segment;
  • the saving module is configured to save the task processing progress and the time interval for the browser to initiate the request to the database for the browser to query.
  • the device further includes:
  • the setting module is configured to return a random progress less than the first task segment as the task processing progress if the first task segment is not processed, and save the task processing progress to the database for the browser to query.
  • the setting module is further configured to use the first fixed time interval as a time interval for the browser to initiate the request, and save the time interval for the browser to initiate the request to the database for browsing. Query.
  • the setting module is specifically configured to delay the completion time of the next task segment by a second fixed time interval as a time interval for the browser to initiate the request next time.
  • the application also provides a device for displaying processing progress in data processing, which is applied to a browser, and includes:
  • a sending module configured to send a data processing instruction to the server through the browser
  • a requesting module configured to initiate a request to the server, query a database of the server, and obtain a task processing progress and a time interval between the next request initiated by the browser;
  • the operation module is configured to render the task processing progress display, and delay the time interval after the browser initiates the request, and then initiate a request to the server again.
  • the present application performs data processing on the task segment according to the received data processing instruction. If the first task segment is processed, the server calculates the completion time of the next task segment according to the completion time of at least a part of the processed task fragments. . Further, according to the completion time of the next task segment, the time interval for the next request initiated by the browser is obtained.
  • This application will be the mission
  • the progress and the time interval between the next request initiated by the browser are saved to the database for query by the browser.
  • the browser renders the task processing progress display and delays the time interval after the browser initiates the request again to initiate a request to the server. Therefore, in the case of ensuring the user experience, the application saves the time interval for the next request of the browser to the service in the database, and reduces the number of requests, thereby saving network overhead.
  • 1 is a schematic diagram showing an interface display of data processing
  • FIG. 2 is a hardware structural diagram of a server to which a method for displaying a progress of processing in data processing of the present application is applied;
  • FIG. 3 is a flow chart of an embodiment of a method for displaying processing progress in data processing of the present application
  • FIG. 4 is a flow chart of another embodiment of a method for displaying processing progress in data processing of the present application.
  • FIG. 5 is a hardware structural diagram of a browser to which a method for displaying a progress of processing in data processing of the present application is applied;
  • FIG. 6 is a flow chart showing still another embodiment of a method for displaying processing progress in data processing of the present application.
  • FIG. 7 is a structural diagram of an embodiment of an apparatus for displaying a progress of processing in data processing of the present application
  • FIG. 8 is a structural diagram of another embodiment of an apparatus for displaying a processing progress in data processing of the present application.
  • FIG. 9 is a structural diagram of still another embodiment of an apparatus for displaying a processing progress in data processing of the present application.
  • FIG. 10 is a schematic diagram of a signal showing a specific implementation scenario of processing progress in data processing of the present application.
  • Data processing usually divides a task into percentages, each of which is called a task piece. segment. For example, 5% of a task is a task fragment. Because of the high concurrent servers, the server is not busy at different times. Therefore, even for the same conditional data processing tasks, the time taken to complete a task fragment is different. Therefore, during the process of data processing by the server, the browser cannot know the time taken by the server to complete the task fragment, and it will send the request frequently to the server at a fixed time interval.
  • the browser also includes invalid requests in the multiple requests initiated by the browser to the server.
  • the valid request means that the task processing progress obtained by the browser is the updated data, which is different from the last request result; the invalid request refers to the task processing progress obtained by the browser, which is consistent with the progress of the last request acquisition. Due to the existence of invalid requests, the data processing progress seen by the user has not changed, and the invalid request consumes network resources. The specific situation is shown in Table 1.
  • the application performs data processing on the task segment according to the received data processing instruction. If the first task segment is processed, the server calculates the completion time of the next task segment according to the completion time of at least a part of the processed task segments. Further, according to the completion time of the next task segment, the time interval for the next request initiated by the browser is obtained.
  • the application saves the task processing progress and the time interval between the next request initiated by the browser to the database for the browser to query.
  • the browser renders the task processing progress display and delays the time interval after the browser initiates the request again to the server Initiate a request. Therefore, in the case of ensuring the user experience, the application saves the time interval for the next request of the browser to the service in the database, and reduces the number of requests, thereby saving network overhead.
  • the present application provides a method for displaying processing progress in data processing, which is applied to a server.
  • the server 1 generally includes: a control unit 21, a storage unit 22, and other hardware 23 on hardware.
  • the method 3 of the present application includes:
  • S1 Perform data processing on the task segment according to the received data processing instruction, and determine whether the first task segment is processed.
  • the server receives the data processing instruction sent by the browser.
  • the data processing instruction may be a data export instruction.
  • the server starts the thread processing data according to the processing conditions of the data processing instruction. Due to the different operating environment and processing conditions of the server, the processing time of each task segment is also different.
  • the server determines whether the processing of the first task segment is completed. If the processing of the first task segment is completed, step S2 is performed, otherwise step S5 is performed.
  • the completion time of the next task segment is calculated according to the completion time of at least a part of the task segment that has been processed.
  • the running environment and processing conditions of the server may be inferred according to the completion time of the task segment, thereby calculating the completion time of the next task segment of the task segment. Therefore, if the first task fragment is processed, The completion time of the second task segment is calculated based on the time taken to complete the first task segment. By analogy, the completion time of the next task segment is calculated based on the time taken for each task piece to be completed.
  • the completion time of the next task segment may also be estimated according to the completion time of the plurality of task segments that have been processed, such as taking the average of the completion times of the plurality of task segments.
  • the present application estimates the time interval for the next request of the browser according to the completion time of the next task segment, thereby preventing the browser from sending an invalid request to the server when the next task segment has not been completed.
  • the application server saves the task processing progress and the time interval between the next request initiated by the browser to the database, and the browser renders the task processing progress by querying the database, and delays the time when the browser initiates the request next time. A request is made to the server again after the interval.
  • the application renders the task processing progress display, thereby ensuring the user experience.
  • the time interval between the next request initiated by the browser in the database the time for the next request from the browser to the service is reduced, and the number of requests is reduced, thereby saving network overhead.
  • Table 2 The specific situation is shown in Table 2.
  • the method includes steps S1 - S4. Referring to FIG. 4, the method 4 further includes:
  • step S1 if it is determined in step S1 that the first task segment is not processed, in order to let the user perceive the task in operation, the random progress less than the first task segment is saved as a task processing progress to the database for the browser to query. For example, if the task fragment is 5%, set the task processing progress to 2% and save it to the database for the browser to query. The browser queries the database and gets 2% of the task processing progress. The browser will display 2% of the display, and the user can sense that the task is running at the beginning of the data processing instruction, which increases the user experience.
  • the method includes steps S1 - S5, and the step S5 further includes: using the first fixed time interval as a time interval for the browser to initiate the request next time, and the browser The time interval between the next request is saved to the database for the browser to query.
  • the first fixed time interval is used as the interval for the next request initiated by the browser, and is saved to the database for Browser query.
  • the first fixed time interval is selected by those skilled in the art based on experience and needs. For example, set 1 second as the time interval for the next request initiated by the browser, and save it to the database for the browser to query.
  • the browser queries the database to obtain a time interval of 1 second for the browser to initiate the request, and the browser initiates a request to the server at intervals of 1 second.
  • the step S3 is specifically: delaying the completion time of the next task segment by a second fixed time interval as a time interval for the browser to initiate the request next time.
  • the browser obtains data from the database for a fixed time interval. That is, the time interval between the next request of the browser is the completion time of the next task segment plus the second fixed time interval.
  • the second fixed time interval is selected by those skilled in the art based on experience and needs. For example, set the second fixed time interval to 0.5 seconds. The next time the browser initiates the request, the time interval between the completion of the next task fragment of the server plus 0.5 seconds.
  • the present application also provides a method for displaying processing progress in data processing, which is applied to a browser.
  • the browser is usually a computer 5, which generally includes: a control unit 51, a storage unit 52, and an input unit 53 in hardware.
  • the method 6 of the present application includes:
  • the user applies for data processing on the website, and the browser issues an application data processing instruction to the server.
  • P2 initiating a request to the server, querying the database of the server, and obtaining the task processing progress and the time interval between the next request initiated by the browser.
  • the browser initiates a request to the server and obtains the data packet by querying the server's database.
  • the data packet includes two data of a task processing progress and a time interval at which the browser next initiates the request.
  • the browser renders the task processing progress display, and delays the time interval after the browser initiates the request, and then initiates a request to the server again.
  • the browser obtains the task processing progress and renders the task processing progress to the user.
  • the browser obtains the interval for initiating the request next time, and the time when the browser next initiates the request is the current time plus the time interval of the next request.
  • the time interval for the next request initiated by the browser is saved in the database, and the time when the browser requests the service next time is determined, and the number of requests is reduced, thereby saving network overhead.
  • the present application further provides an apparatus for displaying processing progress in data processing, Applied to the server.
  • the server 1 generally includes a control unit 11, a storage unit 12, and other hardware 13 on hardware.
  • the apparatus 7 of the present application includes:
  • the determining module 71 is configured to perform data processing on the task segment according to the received data processing instruction, and determine whether the processing of the first task segment is completed.
  • the calculating module 72 is configured to calculate a completion time of the next task segment according to the completion time of at least a part of the processed completed task segments, if the first task segment processing is completed.
  • the obtaining module 73 is configured to obtain a time interval for the next request initiated by the browser according to the completion time of the next task segment.
  • the saving module 74 is configured to save the task processing progress and the time interval for the browser to initiate the request to the database for the browser to query.
  • the server receives the data processing instruction sent by the browser.
  • the data processing instruction may be a data export instruction.
  • the server starts the thread processing data according to the processing conditions of the data processing instruction. Due to the different operating environment and processing conditions of the server, the processing time of each task segment is also different.
  • the server determines whether the first task segment is processed or not. If the first task segment processing is completed, the calculation module 72 is executed.
  • the running environment and processing conditions of the server may be inferred according to the completion time of the task segment, thereby calculating the completion time of the next task segment of the task segment. Therefore, if the first task segment is processed, the completion time of the second task segment can be calculated according to the time taken to complete the first task segment. By analogy, the completion time of the next task segment is calculated based on the time taken for each task piece to be completed.
  • the completion time of the next task segment may also be estimated according to the completion time of the plurality of task segments that have been processed, such as taking the average of the completion times of the plurality of task segments.
  • the present application estimates the time interval for the next request of the browser according to the completion time of the next task segment, thereby preventing the browser from sending an invalid request to the server when the next task segment has not been completed.
  • the application server saves the task processing progress and the time interval between the next request initiated by the browser to the database, and the browser renders the task processing progress by querying the database, and delays the time when the browser initiates the request next time. A request is made to the server again after the interval.
  • the application renders the task processing progress display, thereby ensuring the user experience.
  • the time interval between the next request initiated by the browser in the database the time for the next request from the browser to the service is reduced, and the number of requests is reduced, thereby saving network overhead.
  • Table 2 The specific situation is shown in Table 2.
  • the device includes a judging module 71, a calculating module 72, an obtaining module 73, and a saving module 74. Referring to FIG. 8, the device 8 further includes:
  • the setting module 75 is configured to return a random progress less than the first task segment as the task processing progress if the first task segment is not processed, and save the task processing progress to the database for query by the browser.
  • the judging module 71 determines that the first task fragment is not processed, in order to let the user perceive that the task is running, the random progress less than the first task segment is saved as a task processing progress to the database for the browser to query. For example, if the task fragment is 5%, set the task processing progress to 2% and save it to the database for the browser to query. The browser queries the database and gets the task processed. Degree 2%. The browser will display 2% of the display, and the user can sense that the task is running at the beginning of the data processing instruction, which increases the user experience.
  • the device includes a determining module 71, a calculating module 72, an obtaining module 73, and a saving module 74.
  • the setting module 75 is further configured to use the first fixed time interval as a browser to initiate the next time. The requested time interval and save the time interval for the next request initiated by the browser to the database for the browser to query.
  • the first fixed time interval is used as the interval for the next request initiated by the browser, and is saved to the database for Browser query.
  • the first fixed time interval is selected by those skilled in the art based on experience and needs. For example, set 1 second as the time interval for the next request initiated by the browser, and save it to the database for the browser to query.
  • the browser queries the database to obtain a time interval of 1 second for the browser to initiate the request, and the browser initiates a request to the server at intervals of 1 second.
  • the obtaining module 73 is specifically configured to delay the completion time of the next task segment by a second fixed time interval as a time interval for the next request initiated by the browser.
  • the browser obtains data from the database for a fixed time interval. That is, the time interval between the next request of the browser is the completion time of the next task segment plus the second fixed time interval.
  • the second fixed time interval is selected by those skilled in the art based on experience and needs. For example, set the second fixed time interval to 0.5 seconds. The next time the browser initiates the request, the time interval between the completion of the next task fragment of the server plus 0.5 seconds.
  • the present application also provides an apparatus for displaying processing progress in data processing, which is applied to a browser.
  • the browser is usually a computer 5, which generally includes: a control unit 51, a storage unit 52, and an input unit 53 in hardware.
  • the device 9 of the present application includes:
  • the sending module 91 is configured to send a data processing instruction to the server through the browser.
  • the user applies for data processing on the website, and the browser issues an application data processing instruction to the server.
  • the requesting module 92 is configured to initiate a request to the server, query the database of the server, and obtain a time interval between the task processing progress and the next request initiated by the browser.
  • the browser initiates a request to the server and obtains the data packet by querying the server's database.
  • the data packet includes two data of a task processing progress and a time interval at which the browser next initiates the request.
  • the operation module 93 is configured to render the task processing progress display and delay the time interval after the browser initiates the request, and then initiate a request to the server again.
  • the browser obtains the task processing progress and renders the task processing progress to the user.
  • the browser obtains the interval for initiating the request next time, and the time when the browser next initiates the request is the current time plus the time interval of the next request.
  • the time interval for the next request initiated by the browser is saved in the database, and the time when the browser requests the service next time is determined, and the number of requests is reduced, thereby saving network overhead.
  • the user applies for data processing at the website, and sends a request data processing instruction to the server 102 via the browser 101.
  • the server 102 receives the data processing instruction sent by the browser 101, and starts the thread processing data according to the processing condition.
  • Server 102 does the following:
  • the random progress of the first task fragment is taken as the task processing progress and saved to the database for query by the browser.
  • the first fixed time interval is used as the time interval for the browser to initiate the request next time, and the time interval for the next time the browser initiates the request is saved to the database for the browser 101 to query.
  • the completion time of the next task segment is calculated according to the completion time of each task segment.
  • the completion time of the next task segment is delayed by a second fixed time interval as the time interval for the browser to initiate the request next time.
  • the task processing progress and the time interval at which the browser next initiates the request are saved to the database for query by the browser 101.
  • the browser 101 initiates a request to the server 102 to query the database of the server 102 to obtain the task processing progress and the time interval at which the browser next initiates the request.
  • the browser 101 renders the task processing progress display and delays the time interval after the browser next initiates the request to initiate a request to the server again.
  • the application renders the task processing progress display, thereby ensuring the user experience.
  • the time for the next request from the browser to the service is reduced, and the number of requests is reduced, thereby saving network overhead.
  • the apparatus provided by the embodiments of the present application can be implemented by a computer program.
  • Those skilled in the art should be able to understand that the foregoing unit and module division manners are only one of a plurality of division manners. If the division is other units or modules or does not divide the blocks, as long as the information object has the above functions, it should be in the present application. Within the scope of protection.
  • embodiments of the present application can be provided as a method, apparatus (device), or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请提供一种数据处理中显示处理进度的方法及其装置,应用于服务器的方法包括:根据接收的数据处理指令对任务片断进行数据处理,并判断首个任务片断是否处理完成;若首个任务片断处理完成,则根据至少一部分已处理完成的任务片断的完成时间,计算下一任务片断的完成时间;根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔;将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。本申请在保证用户体验的情况下,能够降低浏览器请求服务器的次数,降低对服务器的压力,节约网络开销。

Description

一种数据处理中显示处理进度的方法及其装置 技术领域
本申请涉及互联网技术领域,尤其涉及一种数据处理中显示处理进度的方法及其装置。
背景技术
随着互联网技术的发展,大多数的网站通常会提供数据处理的功能,例如,订单处理的功能。由于数据是动态生成的,用户进行处理前,服务器需要经过较长时间的数据处理过程。参看图1,为了增加用户的交互体验,网页会动态展示数据处理进度。而为了获取动态的当前数据处理进度,通常采取浏览器间隔固定的时间频繁的向服务器发起请求,服务器获取当前处理进度的方式。比如每间隔1秒请求一次服务器,服务器返回任务处理进度,浏览器把当前进度数据渲染到网页,展示给用户。但是,这样给服务器造成很大的压力,消耗过多的网络资源,增大了网络开销。
因此,如何在保证用户体验的情况下,能够降低浏览器请求服务器的次数成为亟待解决的技术问题。
发明内容
有鉴于此,本申请提供一种数据处理中显示处理进度的方法及其装置,其在保证用户体验的情况下,能够降低浏览器请求服务器的次数,降低对服务器的压力,节约网络开销。
本申请提供一种数据处理中显示处理进度的方法,应用于服务器,包括:
根据接收的数据处理指令对任务片断进行数据处理,并判断首个任务片断是否处理完成;
若首个任务片断处理完成,则根据至少一部分已处理完成的任务片断的完成时间,计算下一任务片断的完成时间;
根据所述下亦任务片断的完成时间,获得浏览器下次发起请求的时间间隔;
将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
在本申请一具体实现中,所述方法还包括:
若首个任务片断未处理完成,返回小于首个任务片断的随机进度作为任务处理进度,并将所述任务处理进度保存至数据库供浏览器查询。
在本申请一具体实现中,所述若首个任务片断未处理完成,返回小于首个任务片断的随机进度作为任务处理进度,并将所述任务处理进度保存至数据库供浏览器查询还包括:将第一固定时间间隔作为浏览器下次发起请求的时间间隔,并将所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
在本申请一具体实现中,所述根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔具体为:将所述下一任务片断的完成时间延迟第二固定时间间隔,作为浏览器下次发起请求的时间间隔。
本申请还提供一种数据处理中显示处理进度的方法,应用于浏览器,包括:
通过浏览器发送数据处理指令至服务器;
向服务器发起请求,查询服务器的数据库,获得任务处理进度和浏览器下次发起请求的时间间隔;
浏览器将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
本申请还提供一种数据处理中显示处理进度的装置,应用于服务器,包括:
判断模块,用于根据接收的数据处理指令对任务片断进行数据处理,并 判断首个任务片断是否处理完成;
计算模块,用于若首个任务片断处理完成,则根据至少一部分已处理完成的任务片断的完成时间,计算下一任务片断的完成时间;
获得模块,用于根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔;
保存模块,用于将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
在本申请一具体实现中,所述装置还包括:
设置模块,用于若首个任务片断未处理完成,返回小于首个任务片断的随机进度作为任务处理进度,并将所述任务处理进度保存至数据库供浏览器查询。
在本申请一具体实现中,所述设置模块还用于将第一固定时间间隔作为浏览器下次发起请求的时间间隔,并将所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
在本申请一具体实现中,所述设置模块具体用于将所述下一任务片断的完成时间延迟第二固定时间间隔,作为浏览器下次发起请求的时间间隔。
本申请还提供一种数据处理中显示处理进度的装置,应用于浏览器,包括:
发送模块,用于通过浏览器发送数据处理指令至服务器;
请求模块,用于向服务器发起请求,查询服务器的数据库,获得任务处理进度和浏览器下次发起请求的时间间隔;
操作模块,用于将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
由以上技术方案可见,本申请根据接收的数据处理指令对任务片断进行数据处理,若首个任务片断处理完成,服务器根据至少一部分已处理完成任务片断的完成时间,计算下一任务片断的完成时间。进而,根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔。本申请将任务处 理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。浏览器将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。因此,本申请在保证用户体验的情况下,通过在数据库中保存浏览器下次发起请求的时间间隔,明确浏览器下次向服务起请求的时间,减少请求次数,从而节约网络开销。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。
图1是数据处理的界面显示示意图;
图2是本申请数据处理中显示处理进度的方法所应用的服务器的硬件结构图;
图3是本申请数据处理中显示处理进度的方法的一实施例的流程图;
图4是本申请数据处理中显示处理进度的方法的另一实施例的流程图;
图5是本申请数据处理中显示处理进度的方法所应用的浏览器的硬件结构图;
图6是本申请数据处理中显示处理进度的方法的再一实施例的流程图;
图7是本申请数据处理中显示处理进度的装置的一实施例的结构图;
图8是本申请数据处理中显示处理进度的装置的另一实施例的结构图;
图9是本申请数据处理中显示处理进度的装置的再一实施例的结构图;
图10是本申请数据处理中显示处理进度的一具体实现场景的信号示意图。
具体实施方式
数据处理通常把一个任务按照百分比进行切分,每一个片段称为任务片 段。比如一个任务的5%为一个任务片段。由于在高并发的服务器中,不同时间服务器的繁忙程度不一样。因此,即使是同样条件的数据处理任务,完成一个任务片段所消耗的时间也是不一样的。因此,服务器进行数据处理的过程中,浏览器无法获知服务器完成任务片断所消耗的时间,其会向服务器间隔固定的时间频繁的发送请求。
而浏览器向服务器发起的多次请求中,除有效请求外,还包括无效请求。所述有效请求,指浏览器获取的任务处理进度是更新后的数据,和上次请求结果不一样;所述无效请求,指浏览器获取的任务处理进度,和上次请求获取的进度一致。由于无效请求的存在,从而造成用户看到的数据处理进度没有改变,同时无效请求又消耗了网络资源。具体情况如表1所示。
表1
Figure PCTCN2016080309-appb-000001
本申请根据接收的数据处理指令对任务片断进行数据处理,若首个任务片断处理完成,服务器根据至少一部分已处理完成任务片断的完成时间,计算下一任务片断的完成时间。进而,根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔。本申请将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。浏览器将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器 发起请求。因此,本申请在保证用户体验的情况下,通过在数据库中保存浏览器下次发起请求的时间间隔,明确浏览器下次向服务起请求的时间,减少请求次数,从而节约网络开销。
当然,实施本申请的任一技术方案并不一定需要同时达到以上所述的所有优点。
为了使本领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本申请保护的范围。
下面结合本申请附图进一步说明本申请具体实现。
参看图2,本申请提供一种数据处理中显示处理进度的方法,其应用于服务器。服务器1在硬件上通常包括:控制单元21、存储单元22以及其他硬件23。
参见图3,本申请所述方法3包括:
S1、根据接收的数据处理指令对任务片断进行数据处理,并判断首个任务片断是否处理完成。
服务器接收浏览器发送的数据处理指令,具体地,数据处理指令可以为数据导出指令。服务器根据数据处理指令的处理条件启动线程处理数据。由于服务器的运行环境、处理条件不同,每个任务片断的处理时间也不相同。服务器判断首个任务片断是否处理完成,如首个任务片断处理完成,则执行步骤S2,否则执行步骤S5。
S2、若首个任务片断处理完成,则根据至少一部分已经处理完成的任务片断的完成时间,计算下一任务片断的完成时间。
在本申请一具体实现中,由于一个任务片断处理完成,则可以根据该任务片断的完成时间,推断服务器的运行环境和处理条件,从而计算出该任务片断的下一个任务片断的完成时间。因此,若首个任务片断处理完成,则可 以根据完成该首个任务片断所消耗的时间,计算出第二个任务片断的完成时间。依次类推,根据每完成一个任务片断所消耗的时间,计算出下一任务片断的完成时间。
在本申请另一具体实现中,亦可根据已经处理完成的多个任务片断的完成时间,估算下一个任务片断的完成时间,比如取多个任务片断完成时间的平均值。
S3、根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔。
由于如果浏览器在下一任务片断尚未完成时,向服务器再次发送请求,则服务器返回的任务处理进度和上次请求获取的进度一致,该请求为无效请求。本申请为了避免无效请求的出现,根据下一任务片断的完成时间,估算浏览器下次发起请求的时间间隔,从而避免浏览器在下一任务片断尚未完成时,向服务器发送无效请求。
S4、将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
本申请服务器将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库,浏览器通过查询数据库,将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
本申请将所述任务处理进度渲染显示,从而保证了用户体验。同时,通过在数据库中保存浏览器下次发起请求的时间间隔,明确浏览器下次向服务起请求的时间,减少请求次数,从而节约网络开销。具体情况如表2所示。
表2
Figure PCTCN2016080309-appb-000002
Figure PCTCN2016080309-appb-000003
在本申请另一具体实现中,所述方法包括步骤S1——S4外,参看图4,所述方法4还包括:
S5、若首个任务片断未处理完成,返回小于首个任务片断的随机进度作为任务处理进度,并将所述任务处理进度保存至数据库供浏览器查询。
具体地,如步骤S1中判断首个任务片断未处理完成,为了让用户及时感知任务在运行中,将小于首个任务片断的随机进度作为任务处理进度,保存至数据库供浏览器查询。比如,任务片段为5%,则设定任务处理进度为2%,保存至数据库供浏览器查询。浏览器查询数据库,获得任务处理进度2%。浏览器将2%渲染显示,用户能够在数据处理指令发送之初,及时感知任务在运行中,增加了用户体验效果。
在本申请另一具体实现中,所述方法包括步骤S1——S5外,所述步骤S5还包括:将第一固定时间间隔作为浏览器下次发起请求的时间间隔,并将所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
由于首个任务片断未处理完成,无法根据首个任务片断完成时间计算浏览器下次发起请求的时间间隔,因此采取第一固定时间间隔作为浏览器下次发起请求的时间间隔,保存至数据库供浏览器查询。所述第一固定时间间隔由本领域技术人员根据经验和需要选取。比如,设定1秒作为浏览器下次发起请求的时间间隔,保存至数据库供浏览器查询。浏览器查询数据库,获得浏览器下次发起请求的时间间隔1秒,浏览器间隔1秒向服务器发起请求。
在本申请再一具体实现中,所述步骤S3具体为:将所述下一任务片断的完成时间延迟第二固定时间间隔,作为浏览器下次发起请求的时间间隔。
为了避免服务器向数据库写入数据和浏览器自数据库获取数据的并发,浏览器自数据库获取数据的时间延迟固定时间间隔。即浏览器下次发起请求的时间间隔为下一任务片断的完成时间加上第二固定时间间隔。所述第二固定时间间隔由本领域技术人员根据经验和需要选取。比如,设定第二固定时间间隔为0.5秒。浏览器下次发起请求的时间间隔为服务器下一任务片断的完成时间加上0.5秒。
本申请还提供一种数据处理中显示处理进度的方法,应用于浏览器,参看图5,浏览器通常为一计算机5,其在硬件上通常包括:控制单元51、存储单元52、输入单元53、输出单元54以及其他硬件55。
参见图6,本申请所述方法6包括:
P1、通过浏览器发送数据处理指令至服务器。
具体地,用户在网站申请数据处理,浏览器发出申请数据处理指令至服务器。
P2、向服务器发起请求,查询服务器的数据库,获得任务处理进度和浏览器下次发起请求的时间间隔。
浏览器向服务器发起请求,通过查询服务器的数据库,获得数据包。所述数据包包括任务处理进度和浏览器下次发起请求的时间间隔两个数据。
P3、浏览器将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
浏览器获得所述任务处理进度,并将所述任务处理进度渲染给用户。浏览器获得下次发起请求的时间间隔,则浏览器下次发起请求的时间为当前时间加上下次发起请求的时间间隔。
本申请在保证用户体验的情况下,通过在数据库中保存浏览器下次发起请求的时间间隔,明确浏览器下次向服务起请求的时间,减少请求次数,从而节约网络开销。
对应上述方法,本申请还提供一种数据处理中显示处理进度的装置,其 应用于服务器。参看图1,服务器1在硬件上通常包括:控制单元11、存储单元12以及其他硬件13。
参见图7,本申请所述装置7包括:
判断模块71,用于根据接收的数据处理指令对任务片断进行数据处理,并判断首个任务片断是否处理完成。
计算模块72,用于若首个任务片断处理完成,则根据至少一部分已处理完成任务片断的完成时间,计算下一任务片断的完成时间。
获得模块73,用于根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔。
保存模块74,用于将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
服务器接收浏览器发送的数据处理指令,具体地,数据处理指令可以为数据导出指令。服务器根据数据处理指令的处理条件启动线程处理数据。由于服务器的运行环境、处理条件不同,每个任务片断的处理时间也不相同。服务器判断首个任务片断是否处理完成,如首个任务片断处理完成,则运行计算模块72。
在本申请一具体实现中,由于一个任务片断处理完成,则可以根据该任务片断的完成时间,推断服务器的运行环境和处理条件,从而计算出该任务片断的下一个任务片断的完成时间。因此,若首个任务片断处理完成,则可以根据完成该首个任务片断所消耗的时间,计算出第二个任务片断的完成时间。依次类推,根据每完成一个任务片断所消耗的时间,计算出下一任务片断的完成时间。
在本申请另一具体实现中,亦可根据已经处理完成的多个任务片断的完成时间,估算下一个任务片断的完成时间,比如取多个任务片断完成时间的平均值。
由于如果浏览器在下一任务片断尚未完成时,向服务器再次发送请求,则服务器返回的任务处理进度和上次请求获取的进度一致,该请求为无效请 求。本申请为了避免无效请求的出现,根据下一任务片断的完成时间,估算浏览器下次发起请求的时间间隔,从而避免浏览器在下一任务片断尚未完成时,向服务器发送无效请求。
本申请服务器将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库,浏览器通过查询数据库,将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
本申请将所述任务处理进度渲染显示,从而保证了用户体验。同时,通过在数据库中保存浏览器下次发起请求的时间间隔,明确浏览器下次向服务起请求的时间,减少请求次数,从而节约网络开销。具体情况如表2所示。
表2
Figure PCTCN2016080309-appb-000004
在本申请另一具体实现中,所述装置包括判断模块71、计算模块72、获得模块73、保存模块74外,参看图8,所述装置8还包括:
设置模块75,用于若首个任务片断未处理完成,返回小于首个任务片断的随机进度作为任务处理进度,并将所述任务处理进度保存至数据库供浏览器查询。
具体地,如判断模块71中判断首个任务片断未处理完成,为了让用户及时感知任务在运行中,将小于首个任务片断的随机进度作为任务处理进度,保存至数据库供浏览器查询。比如,任务片段为5%,则设定任务处理进度为2%,保存至数据库供浏览器查询。浏览器查询数据库,获得任务处理进 度2%。浏览器将2%渲染显示,用户能够在数据处理指令发送之初,及时感知任务在运行中,增加了用户体验效果。
在本申请另一具体实现中,所述装置包括判断模块71、计算模块72、获得模块73、保存模块74外,所述设置模块75还用于将第一固定时间间隔作为浏览器下次发起请求的时间间隔,并将所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
由于首个任务片断未处理完成,无法根据首个任务片断完成时间计算浏览器下次发起请求的时间间隔,因此采取第一固定时间间隔作为浏览器下次发起请求的时间间隔,保存至数据库供浏览器查询。所述第一固定时间间隔由本领域技术人员根据经验和需要选取。比如,设定1秒作为浏览器下次发起请求的时间间隔,保存至数据库供浏览器查询。浏览器查询数据库,获得浏览器下次发起请求的时间间隔1秒,浏览器间隔1秒向服务器发起请求。
在本申请再一具体实现中,所述获得模块73具体用于将所述下一任务片断的完成时间延迟第二固定时间间隔,作为浏览器下次发起请求的时间间隔。
为了避免服务器向数据库写入数据和浏览器自数据库获取数据的并发,浏览器自数据库获取数据的时间延迟固定时间间隔。即浏览器下次发起请求的时间间隔为下一任务片断的完成时间加上第二固定时间间隔。所述第二固定时间间隔由本领域技术人员根据经验和需要选取。比如,设定第二固定时间间隔为0.5秒。浏览器下次发起请求的时间间隔为服务器下一任务片断的完成时间加上0.5秒。
本申请还提供一种数据处理中显示处理进度的装置,应用于浏览器,参看图5,浏览器通常为一计算机5,其在硬件上通常包括:控制单元51、存储单元52、输入单元53、输出单元54以及其他硬件55。
参见图9,本申请所述装置9包括:
发送模块91,用于通过浏览器发送数据处理指令至服务器。
具体地,用户在网站申请数据处理,浏览器发出申请数据处理指令至服务器。
请求模块92,用于向服务器发起请求,查询服务器的数据库,获得任务处理进度和浏览器下次发起请求的时间间隔。
浏览器向服务器发起请求,通过查询服务器的数据库,获得数据包。所述数据包包括任务处理进度和浏览器下次发起请求的时间间隔两个数据。
操作模块93,用于将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
浏览器获得所述任务处理进度,并将所述任务处理进度渲染给用户。浏览器获得下次发起请求的时间间隔,则浏览器下次发起请求的时间为当前时间加上下次发起请求的时间间隔。
本申请在保证用户体验的情况下,通过在数据库中保存浏览器下次发起请求的时间间隔,明确浏览器下次向服务起请求的时间,减少请求次数,从而节约网络开销。
下面以一具体实现来进一步说明本申请原理。
参看图10,用户在网站申请数据处理,通过浏览器101发出申请数据处理指令给服务器102。
服务器102接收浏览器101发送的数据处理指令,根据处理条件启动线程处理数据。
服务器102完成以下操作:
首个任务片断尚未处理完成时,将小于首个任务片断的随机进度作为任务处理进度,保存至数据库供浏览器查询。将第一固定时间间隔作为浏览器下次发起请求的时间间隔,并将所述浏览器下次发起请求的时间间隔保存至数据库供浏览器101查询。
首个任务片断处理完成,则依次根据每一任务片断的完成时间,计算下一任务片断的完成时间。
将下一任务片断的完成时间延迟第二固定时间间隔,作为浏览器下次发起请求的时间间隔。
将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器101查询。
浏览器101向服务器102发起请求,查询服务器102的数据库,获得任务处理进度和浏览器下次发起请求的时间间隔。
浏览器101将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
本申请将所述任务处理进度渲染显示,从而保证了用户体验。同时,通过在数据库中保存浏览器下次发起请求的时间间隔,明确浏览器下次向服务起请求的时间,减少请求次数,从而节约网络开销。
本申请的实施例提供的装置可通过计算机程序实现。本领域技术人员应该能够理解,上述的单元以及模块划分方式仅是众多划分方式中的一种,如果划分为其他单元或模块或不划分块,只要信息对象的具有上述功能,都应该在本申请的保护范围之内。
本领域的技术人员应明白,本申请的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一 个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (10)

  1. 一种数据处理中显示处理进度的方法,应用于服务器,其特征在于,包括:
    根据接收的数据处理指令对任务片断进行数据处理,并判断首个任务片断是否处理完成;
    若首个任务片断处理完成,则根据至少一部分已处理完成的任务片断的完成时间,计算下一任务片断的完成时间;
    根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔;
    将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若首个任务片断未处理完成,返回小于首个任务片断的随机进度作为任务处理进度,并将所述任务处理进度保存至数据库供浏览器查询。
  3. 根据权利要求2所述的方法,其特征在于,所述若首个任务片断未处理完成,返回小于首个任务片断的随机进度作为任务处理进度,并将所述任务处理进度保存至数据库供浏览器查询还包括:将第一固定时间间隔作为浏览器下次发起请求的时间间隔,并将所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔具体为:将所述下一任务片断的完成时间延迟第二固定时间间隔,作为浏览器下次发起请求的时间间隔。
  5. 一种数据处理中显示处理进度的方法,应用于浏览器,其特征在于,包括:
    通过浏览器发送数据处理指令至服务器;
    向服务器发起请求,查询服务器的数据库,获得任务处理进度和浏览器下次发起请求的时间间隔;
    浏览器将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
  6. 一种数据处理中显示处理进度的装置,应用于服务器,其特征在于,包括:
    判断模块,用于根据接收的数据处理指令对任务片断进行数据处理,并判断首个任务片断是否处理完成;
    计算模块,用于若首个任务片断处理完成,则根据至少一部分已处理完成的任务片断的完成时间,计算下一任务片断的完成时间;
    获得模块,用于根据所述下一任务片断的完成时间,获得浏览器下次发起请求的时间间隔;
    保存模块,用于将任务处理进度和所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    设置模块,用于若首个任务片断未处理完成,返回小于首个任务片断的随机进度作为任务处理进度,并将所述任务处理进度保存至数据库供浏览器查询。
  8. 根据权利要求7所述的装置,其特征在于,所述设置模块还用于将第一固定时间间隔作为浏览器下次发起请求的时间间隔,并将所述浏览器下次发起请求的时间间隔保存至数据库供浏览器查询。
  9. 根据权利要求6所述的装置,其特征在于,所述设置模块具体用于将所述下一任务片断的完成时间延迟第二固定时间间隔,作为浏览器下次发起请求的时间间隔。
  10. 一种数据处理中显示处理进度的装置,应用于浏览器,其特征在于,包括:
    发送模块,用于通过浏览器发送数据处理指令至服务器;
    请求模块,用于向服务器发起请求,查询服务器的数据库,获得任务处理进度和浏览器下次发起请求的时间间隔;
    操作模块,用于将所述任务处理进度渲染显示,并延迟所述浏览器下次发起请求的时间间隔后再次向服务器发起请求。
PCT/CN2016/080309 2015-05-28 2016-04-27 一种数据处理中显示处理进度的方法及其装置 Ceased WO2016188292A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510284803.9 2015-05-28
CN201510284803.9A CN106294451B (zh) 2015-05-28 2015-05-28 一种数据处理中显示处理进度的方法及其装置

Publications (1)

Publication Number Publication Date
WO2016188292A1 true WO2016188292A1 (zh) 2016-12-01

Family

ID=57392367

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080309 Ceased WO2016188292A1 (zh) 2015-05-28 2016-04-27 一种数据处理中显示处理进度的方法及其装置

Country Status (2)

Country Link
CN (1) CN106294451B (zh)
WO (1) WO2016188292A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109300037B (zh) * 2018-09-28 2021-07-30 中国银行股份有限公司 交易进度显示方法及装置
CN109561146A (zh) * 2018-11-29 2019-04-02 深圳市买买提信息科技有限公司 文件下载方法、装置、终端设备
CN113176937B (zh) * 2021-05-21 2023-09-12 抖音视界有限公司 任务处理方法、装置和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246423A (zh) * 2008-03-12 2008-08-20 浪潮集团山东通用软件有限公司 一种在管理软件中图形展现任务进度的方法
US7774324B1 (en) * 2007-07-31 2010-08-10 Intuit Inc. Progress-tracking service
JP2012053805A (ja) * 2010-09-03 2012-03-15 Dainippon Printing Co Ltd 進捗情報表示制御システム
CN102799678A (zh) * 2012-07-23 2012-11-28 深圳市同洲电子股份有限公司 定制浏览器进度条及定制浏览器错误页面的方法
CN103136089A (zh) * 2011-11-25 2013-06-05 腾讯科技(深圳)有限公司 一种进度条显示方法和装置
US20140165065A1 (en) * 2012-12-11 2014-06-12 Takehiro Kamata Process requesting apparatus, method of controlling process requesting apparatus and recording medium for process requesting apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1201246C (zh) * 2003-02-24 2005-05-11 武汉大学 一种集群服务器的动态负载均衡方法
US8468152B2 (en) * 2005-08-04 2013-06-18 International Business Machines Corporation Autonomic refresh of a materialized query table in a computer database
CA2785398C (en) * 2009-12-23 2020-12-29 Ab Initio Technology Llc Managing queries
CN102170422A (zh) * 2010-02-25 2011-08-31 腾讯科技(深圳)有限公司 一种节点查询方法、装置及系统
CN103516690B (zh) * 2012-06-26 2016-08-03 阿里巴巴集团控股有限公司 一种业务处理状态信息查询方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774324B1 (en) * 2007-07-31 2010-08-10 Intuit Inc. Progress-tracking service
CN101246423A (zh) * 2008-03-12 2008-08-20 浪潮集团山东通用软件有限公司 一种在管理软件中图形展现任务进度的方法
JP2012053805A (ja) * 2010-09-03 2012-03-15 Dainippon Printing Co Ltd 進捗情報表示制御システム
CN103136089A (zh) * 2011-11-25 2013-06-05 腾讯科技(深圳)有限公司 一种进度条显示方法和装置
CN102799678A (zh) * 2012-07-23 2012-11-28 深圳市同洲电子股份有限公司 定制浏览器进度条及定制浏览器错误页面的方法
US20140165065A1 (en) * 2012-12-11 2014-06-12 Takehiro Kamata Process requesting apparatus, method of controlling process requesting apparatus and recording medium for process requesting apparatus

Also Published As

Publication number Publication date
CN106294451A (zh) 2017-01-04
CN106294451B (zh) 2020-01-14

Similar Documents

Publication Publication Date Title
US9400753B2 (en) Control system, control method, and computer program product
US11449570B2 (en) Data caching method and apparatus
JP2015535994A5 (zh)
CN104932933B (zh) 一种获取自旋锁的方法及装置
JP2018514028A5 (zh)
JP2015515682A5 (zh)
CN106850834A (zh) 一种业务请求方法和装置及负载均衡器
CN108123851B (zh) 分布式系统中主从节点同步链路的存活检测方法及装置
CN105843819B (zh) 一种数据导出方法及装置
WO2020034951A1 (zh) 利用前端编程语言优化图片懒加载的方法以及电子设备
CN105354258B (zh) 一种更新网站数据缓存的装置及方法
CN109961331A (zh) 页面处理方法及其系统、计算机系统和可读存储介质
WO2019000626A1 (zh) 接口调用方法、系统、电子装置及计算机可读存储介质
CN102081555B (zh) 调整时钟中断周期的方法和装置
WO2025091909A1 (zh) 芯片一致性处理系统,及其方法、装置、设备及介质
WO2016188292A1 (zh) 一种数据处理中显示处理进度的方法及其装置
CN106648933A (zh) 消息队列的消费方法及装置
CN105512254A (zh) 终端、网页信息预加载方法及系统
US20210191776A1 (en) Resource Management Unit for Capturing Operating System Configuration States and Memory Management
US9690626B2 (en) Processing workloads in single-threaded environments
CN109359060B (zh) 数据抽取方法、装置、计算设备及计算机存储介质
JP6207193B2 (ja) サーバ数調整システムおよび方法ならびにプログラム
CN107590023B (zh) 数据处理方法、电子设备及计算机可读存储介质
CN106302712B (zh) 处理网页数据的方法及装置
CN114547495B (zh) 一种页面加载方法、装置、设备及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16799181

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16799181

Country of ref document: EP

Kind code of ref document: A1