Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It is to be understood that such description is merely illustrative and not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, operations steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Various embodiments of the present disclosure provide a data processing method and an apparatus to which the method can be applied. The method for processing the data comprises the steps of responding to a first operation triggered by a user, determining a target object, then triggering a simulation operation associated with the first operation aiming at the target object, then obtaining data pre-loaded by triggering the simulation operation aiming at the target object, and caching the pre-loaded data, so that the data corresponding to a second operation is loaded and displayed from the cached pre-loaded data in response to a second operation triggered by the user aiming at the target object.
As shown in fig. 1, the system architecture 100 includes: at least one terminal (a plurality of which are shown, e.g., terminals 101, 102, 103) and a server 104 (which may also be a server cluster, not shown). In the system architecture 100, a terminal, such as the terminals 101, 102, and 103, determines a target object in a display interface in response to a first operation triggered by a user, triggers a simulation operation associated with the first operation for the target object, and then acquires data preloaded for triggering the simulation operation for the target object from the server 104. The terminal caches the preloaded data acquired from the server 104, so that a second operation is triggered by a user for a target object, and data corresponding to the second operation is loaded and displayed from the cached preloaded data.
Through the embodiment of the disclosure, in response to a first operation triggered by a user, a target object pre-operated by the user and associated with the first operation is determined. And triggering simulation operation related to the first operation on the target object, and then acquiring and caching preloaded data corresponding to the simulation operation. The embodiment of the disclosure is beneficial to realizing that the preloaded data corresponding to the simulation operation is cached by triggering the simulation operation on the target object before the user triggers the actual operation on the target object. Therefore, the problems that when the user triggers actual operation, the server is long in data processing time and long in data returning time are solved, the data processing efficiency can be effectively improved, and the user can obtain response data of the actual operation in time.
In the related art, after a user triggers an operation request for a certain function, a data processing platform of a terminal performs DNS resolution on an acquired user request, and sends the user request subjected to DNS resolution to a server. And the server processes data according to the received user request, and then returns the processed data to the data processing platform so that the data processing platform can display the processed data to the user. In the process of implementing the inventive concept disclosed herein, the inventor found that, since the process of processing data by the server and returning the processed data to the data processing platform consumes much time, the user cannot obtain the response data corresponding to a certain function in time after requesting to trigger the function, the pause phenomenon is obvious, and the user experience is poor.
The present disclosure will be described in detail below with reference to the drawings and specific embodiments.
Fig. 2 schematically shows a flow chart of a data processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the method may include operations S210 to S240, for example.
In operation S210, a target object is determined in response to a first operation triggered by a user.
In the embodiment of the present disclosure, specifically, when the user operates the terminal device, in response to a first operation triggered by the user, an operation object to which a subsequent operation associated with the first operation by the user is directed is predicted, and the target object is constituted. Specifically, the operation target for the subsequent operation associated with the first operation by the user may be determined according to information such as the operation type, the operation target, and the operation position of the first operation.
The first operation may include, for example, a first mouse operation and a first touch operation. Specifically, in response to a first mouse operation triggered by a user, an operation object targeted by a subsequent mouse operation associated with the first mouse operation by the user is determined, and a target object is obtained. And in response to a first touch operation triggered by the user, determining an operation object aimed at by a subsequent touch operation associated with the first touch operation by the user, and obtaining a target object.
It is understood that a plurality of operable objects can be included in the display interface of the terminal, and the operable objects can include links, words, pictures, buttons and the like. In response to a first operation triggered by a user in the terminal, determining an operable object, which is associated with the first operation and is aimed at by a next operation possibly triggered by the user, as a target object. There may be more than one target object determined by the present operation, and when more than one target object is determined in response to the first operation triggered by the user, operation S220 is performed for each target object.
Next, in operation S220, for the target object, a simulation operation associated with the first operation is triggered.
In the embodiment of the present disclosure, specifically, after the target object is determined, for the target object, a simulation operation associated with the first operation is triggered. Namely, according to a first operation triggered by a user, aiming at a target object, the next operation possibly triggered by the user associated with the first operation is simulated and triggered. The meaning of the simulation operation is that before the user triggers the actual operation on the target object, the data processing platform of the terminal triggers the virtual operation associated with the first operation on the target object in advance. The data processing platform triggers the simulation operation on the target object, and the data processing process is the same as that of the data processing process of the user triggering the actual operation on the target object. The simulated operation associated with the first operation may be more than one, so more specifically, for each of the at least one target object, the at least one simulated operation associated with the first operation is triggered.
Next, in operation S230, data preloaded for triggering a simulation operation for a target object is acquired.
In the embodiment of the present disclosure, specifically, after a simulation operation associated with the first operation is triggered on the target object, a data request is generated, and the data request after DNS resolution is sent to the server. And the server performs data processing according to the received data request to obtain data corresponding to the simulation operation triggered by the target object, and the data is returned to the data processing platform of the terminal as preloaded data. Before a user triggers actual operation on a target object, a data processing platform of the terminal acquires data pre-loaded by triggering simulation operation on the target object. Since there may be more than one target object and simulation operation, more specifically, pre-loaded data corresponding to each target object triggering each simulation operation is acquired.
Next, in operation S240, the preloaded data is cached for loading and displaying data corresponding to the second operation from the cached preloaded data in response to the user triggering the second operation with respect to the target object.
In the embodiment of the present disclosure, specifically, the obtained preloaded data is cached, and the cached preloaded data has a mapping relationship with the operation object and the operation type. And when the user triggers an actual operation for a certain target object, namely the user triggers a second operation for the certain target object, determining the preloaded data matched with the second operation from the cached preloaded data according to the mapping relation between the cached preloaded data and the operation object and the operation type, and displaying the preloaded data. After the user triggers the second operation for the target object, the data request does not need to be generated and DNS analysis is carried out on the generated data request, the server does not need to wait for data processing according to the received data request subjected to DNS analysis, and the server returns the processed response data to the data processing platform, so that the data corresponding to the second operation of the user can be directly loaded in the pre-loaded data of the cache and displayed. The method and the system can at least partially solve the problems that when a user actually triggers a certain function, the server is long in data processing time and long in data returning time, and can effectively shorten the time for the user to acquire response data.
In the embodiment of the present disclosure, the pre-loaded data of the cache has a preset effective cache duration. As an optional embodiment, the method may further include, for example: and when the cache duration of the pre-loaded data exceeds the corresponding effective cache duration, removing the pre-loaded data from the local cache. The design can effectively solve the problems of overlarge data buffer amount and overlarge storage space occupation amount.
As an optional embodiment, the method may further include, for example, before triggering the simulation operation corresponding to the first operation for the target object, determining whether preloaded data corresponding to the first operation is cached in the local cache, and when the preloaded data corresponding to the first operation is not cached in the local cache, executing an operation of triggering the simulation operation corresponding to the first operation for the target object.
The cached pre-loaded data has a mapping relation with the operation object and the operation type, after a user triggers a first operation and determines a target object according to the first operation, whether the pre-loaded data corresponding to the first operation is contained in the cached pre-loaded data is determined, namely whether the pre-loaded data corresponding to the target object and the pre-operation associated with the first operation is contained is determined. And if so, directly acquiring the preloaded data corresponding to the first operation from the cached preloaded data and displaying the preloaded data. The design omits the operation of triggering simulation operation on the target object and the operation of acquiring the preloaded data corresponding to the triggering simulation operation on the target object, thereby being beneficial to further improving the data processing speed and simplifying the data processing operation.
By the embodiment of the disclosure, in response to a first operation triggered by a user, a target object to which a next operation possibly triggered by the user is directed is determined according to the first operation, and then a simulated operation associated with the first operation is triggered for the target object. The data pre-loaded by triggering simulation operation aiming at the target object is obtained in advance, and the obtained pre-loaded data is cached. And after the user triggers a second operation on the target object, determining and displaying preloaded data matched with the second operation from the cached preloaded data. After the user triggers the second operation on the target object, a data request does not need to be generated and DNS analysis processing is carried out on the data request, the server does not need to wait for data processing according to the received data request, and the server returns response data obtained through processing, the preloaded data is obtained in advance and cached, after the user triggers the second operation on the target object, two most time-consuming operations of data processing and data returning of the server are omitted, the data processing speed can be obviously improved, and the problems that the terminal interface is blocked and the waiting time of the user is long under the condition of low network speed are effectively solved.
Fig. 3A schematically shows a flow chart of a data processing method according to another embodiment of the present disclosure.
As shown in FIG. 3A, the method may include operations S310-S320, S220-S240.
In operation S310, in response to a first operation triggered by a user, a first position of a cursor pointer corresponding to the first operation in a terminal interface is determined, where the first operation is a first mouse operation.
In the embodiment of the present disclosure, specifically, the first mouse operation may include, for example, clickleft (occurring when a left mouse button is clicked), dbclickleft (occurring when a left mouse button is double clicked), clickleght (occurring when a right mouse button is clicked), dbclickleght (occurring when a right mouse button is double clicked), mousedown (occurring when any mouse button is pressed), mouseup (occurring when any mouse button is released), shiftmousein (occurring when a mouse is moved in), and shiftmouseout (occurring when a mouse is moved out).
The user triggers the first mouse operation, which may include, for example, the user performing a mouse operation at any position in the terminal interface. Illustratively, the user double-clicks the left mouse button at a certain position in the terminal interface, or the user moves the cursor pointer in a certain direction. In response to a first mouse operation triggered by a user, determining a first position of a cursor pointer corresponding to the first mouse operation in a terminal interface, specifically, determining distance information of the cursor pointer corresponding to the first mouse operation from a boundary of the terminal interface. Illustratively, in a first mouse operation triggered by the user, the first position of the cursor pointer indicates that the cursor pointer is located at a position in the terminal interface which is 2cm away from the top sidebar and 7cm away from the right sidebar.
Next, in operation S320, a target object is determined according to at least the first position.
In the embodiment of the present disclosure, specifically, at least one operable object may be included in the terminal interface, where the operable object is an object capable of performing operations such as viewing, hiding, zooming, moving, copying, and the like, and the operable object may include, for example, a link, a button, text, and a picture, and exemplarily, the operable object is a function button indicating "next page".
Each operable object in the terminal interface has a corresponding second position, and the second position is the position of the operable object in the terminal interface, specifically, the second position is the distance information of the operable object from the boundary of the terminal interface. After rendering the terminal interface, the data processing platform forms a DOM (Document Object Model) tree of the terminal interface, and the nodes of the DOM tree store the position information of each operable Object in the terminal interface. By parsing the DOM tree, the location information of each actionable object in the terminal interface, i.e. the second location of each actionable object, can be obtained.
As an alternative embodiment, determining the target object based on at least the first position may include, for example, determining an operable object whose distance from the cursor pointer is within a preset threshold range as the target object based on the first position and a second position corresponding to each operable object. Specifically, the operable objects with the distance from the cursor pointer within the preset threshold range are determined according to the first position of the cursor pointer corresponding to the first mouse operation and according to the second position of each operable object, and the operable objects may specifically include one operable object or a plurality of operable objects, which may be targeted by the user associated with the first mouse operation and for the next mouse operation.
Fig. 3B schematically illustrates a schematic diagram of a user triggering a first mouse operation according to an embodiment of the present disclosure, and as shown in fig. 3B, the operable objects in the terminal interface include a link 1, a link 2, and a link 3. Responding to a first mouse operation triggered by a user, determining a first position of a cursor pointer corresponding to the first mouse operation in a terminal interface, and then determining an operable object with a distance to the cursor pointer within a preset threshold range as a link 3 according to the first position and respective second positions of the link 1, the link 2 and the link 3, wherein the link 3 is a target object.
Next, in operation S220, for the target object, a simulation operation associated with the first operation is triggered.
In the embodiment of the present disclosure, specifically, since the first mouse operation triggered by the user does not perform a substantial operation on the target object, in order to increase the data processing speed and reduce the waiting time of the user, the present disclosure triggers a simulation operation on the target object determined in operation S320. The simulation operation is an operation which is associated with the first mouse operation and is possibly triggered by the user on the target object, and the association relationship between the simulation operation and the first mouse operation can be preset or determined according to historical behavior data of the user. For example, the first mouse operation is a mouse moving-in operation, and according to a preset association relationship, the simulation operation associated with the first mouse operation may include, for example: clicking a left mouse button, double clicking a left mouse button, clicking a right mouse button and double clicking a right mouse button. Compared with the method that a user triggers the target object in one step in advance, the method performs data processing and data returning in advance, and can effectively solve the problems of long waiting time of a terminal interface card and the user under the condition of low network speed.
Next, in operation S230, data preloaded for triggering a simulation operation for a target object is acquired.
Then, in operation S240, the preloaded data is cached for loading and displaying data corresponding to the second operation from the cached preloaded data in response to the user triggering the second operation with respect to the target object.
Operation S230 and operation S240 in the embodiment of the present disclosure are specifically the same as or similar to operation S230 and operation S240 in the foregoing embodiment, respectively, and are not described herein again.
Before a user triggers actual mouse operation aiming at a target object, the data processing platform caches the preloaded data with high matching degree in advance. After a user triggers actual mouse operation aiming at a target object, the method and the device can effectively reduce the waiting time of server processing data and server returning data, are beneficial to effectively improving the processing speed of a user request, and can timely acquire response data corresponding to a certain function after the user triggers the function.
As an optional embodiment, the method may further include, for example: and responding to the triggering of a second mouse operation on the target object by the user, and determining and displaying target preloading data corresponding to the second mouse operation from the cached preloading data according to the mapping relation between the cached preloading data and the operation object and the mouse operation type.
According to the first mouse operation triggered by the user, more than one target object may be determined, and at the same time, more than one simulation operation triggered by each target object may be determined, so that a plurality of pre-loaded data acquired by triggering the simulation operation for the target object may exist. The cached preloaded data has a mapping relation with the operation object and the operation type. And responding to a second mouse operation triggered by a user aiming at a certain target object, and determining and displaying target preloading data corresponding to the second mouse operation in the cached preloading data according to the mapping relation between the cached preloading data and the operation object and operation type. Because the data request does not need to be generated aiming at the second mouse operation of the user, the DNS analysis processing is carried out on the data request, and the server does not need to carry out data processing and data returning processing according to the received data request after the DNS analysis processing, the data processing speed can be effectively improved, and the data response time length can be shortened.
Fig. 4A schematically illustrates a flow chart of a data processing method according to yet another embodiment of the present disclosure.
As shown in fig. 4A, the method may include operations S410 to S420, S220 to S240.
In operation S410, in response to a first operation triggered by a user, a third position of a first operation object in the terminal interface is determined, where the first operation is a first touch operation.
In the embodiment of the present disclosure, specifically, the first operation triggered by the user is a first touch operation triggered by the first operation object, and the first touch operation may include, for example, single-finger single click, single-finger double click, single-finger long press, double-finger long press, single-finger left slide, single-finger right slide, double-finger left slide, double-finger right slide, three-finger left slide, three-finger right slide, and the like. The first operation object is any operable object in the terminal interface, and the operable object may include, for example, a picture, a text, a link, a button, and the like. The first operation object has a third position in the terminal interface, and the meaning of the third position may include, for example, distance information of the first operation object from the boundary of the terminal interface.
Next, in operation S420, a target object is determined according to at least the third position.
In the embodiment of the present disclosure, specifically, the operation objects touched by the user in adjacent times have a foreseeable relationship, and the foreseeable relationship is determined according to the historical operation data of the user. And determining which operation object the user may possibly trigger the next adjacent touch operation after triggering the first touch operation on the first operation object according to the foreseeable relationship between the operation objects of the adjacent touch operations. Optionally, determining the target object according to at least the third position includes determining an operation object, to which a next touch operation associated with the first touch operation is directed, as the target object according to the third position and the foreseeable relationship. Specifically, according to the position information of the first operation object in the terminal interface and the determined foreseeable relationship, the position information of the operation object, to which the next touch operation that may be triggered by the user is directed, is determined, and the target object is obtained.
Fig. 4B schematically shows a schematic diagram of a user triggering a first touch operation according to an embodiment of the present disclosure. As shown in fig. 4B, the operable objects in the terminal interface include a first operation object and a second operation object, and the user triggers a first touch operation with respect to the first operation object. And according to the third position of the first operation object in the terminal interface and the predetermined foreseeable relationship, determining that the operation object corresponding to the next touch operation associated with the first touch operation is the second operation object, namely determining that the second operation object is the target object.
Next, in operation S220, for the target object, a simulation operation associated with the first operation is triggered.
In the embodiment of the present disclosure, specifically, according to the third position of the first operation object and according to the foreseeable relationship, more than one target object may be determined. And triggering the simulation operation associated with the first touch operation aiming at the target objects, wherein the simulation operation associated with the first touch operation is triggered aiming at each target object. There may be more than one simulation operation triggered for each target object, and the simulation operation may be the same touch operation as the first touch operation or may be other touch operations associated with the first touch operation. Illustratively, a user triggers a first touch operation on an A object, determines a B object as an operation object having an association relationship with the A object according to a foreseeable relationship, and therefore determines the B object as a target object, and then triggers a simulation operation on the B object, wherein the simulation operation is the same single-finger single-click operation as the first touch operation.
Next, in operation S230, data preloaded for triggering a simulation operation for a target object is acquired.
Then, in operation S240, the preloaded data is cached for loading and displaying data corresponding to the second operation from the cached preloaded data in response to the user triggering the second operation with respect to the target object.
Operations S230 and S240 are specifically the same as those described above, and are not described herein again.
As an optional embodiment, the method may further include, for example: and responding to the second touch operation triggered by the user aiming at the target object, and determining and displaying target preloaded data corresponding to the second touch operation from the cached preloaded data according to the mapping relation between the cached preloaded data and the operation object and the touch operation type. After a user actually triggers touch operation on a target object, target pre-loaded data corresponding to the touch operation actually triggered by the user are directly determined in the pre-loaded data cached and displayed.
In the embodiment of the disclosure, according to a first touch operation triggered by a user, a target object matched with the first touch operation is determined, a simulation operation corresponding to the first touch operation is triggered on the target object, and then preloaded data corresponding to the simulation operation is acquired and cached. Before the user does not trigger the actual touch operation on the target object, the simulation operation is triggered on the target object, so that the cache data corresponding to the first touch operation of the user is cached in advance, the problems that the server data processing time is long and the data return consumes a long time when the user actually triggers the touch operation can be effectively solved, the data processing efficiency is effectively improved, and the user can timely obtain the response data.
Fig. 5 schematically shows a block diagram of a data processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the data processing apparatus includes a first determining module 501, configured to determine a target object in response to a first operation triggered by a user; a triggering module 502, configured to trigger, for a target object, a simulation operation corresponding to a first operation; an obtaining module 503, configured to obtain data preloaded for triggering a simulation operation on a target object; and the cache module 504 is configured to cache the preloaded data, so that, in response to a second operation triggered by the user for the target object, data corresponding to the second operation is loaded and displayed from the cached preloaded data.
Through the embodiment of the disclosure, in response to a first operation triggered by a user, a target object pre-operated by the user and associated with the first operation is determined. And triggering simulation operation related to the first operation on the target object, and then acquiring and caching preloaded data corresponding to the simulation operation. The embodiment of the disclosure is beneficial to realizing that the preloaded data corresponding to the simulation operation is cached by triggering the simulation operation on the target object before the user triggers the actual operation on the target object. Therefore, the problems that when the user triggers actual operation, the server is long in data processing time and long in data returning time are solved, the data processing efficiency can be effectively improved, and the user can obtain response data of the actual operation in time.
As an alternative embodiment, the first operation is a first mouse operation and the second operation is a second mouse operation. The first determining module includes: the first determining submodule is used for determining a first position of a cursor pointer corresponding to the first mouse operation in a terminal interface; and the second determining submodule is used for determining the target object at least according to the first position.
As an optional embodiment, the terminal interface includes at least one operable object therein, and each operable object in the at least one operable object has a corresponding second position. The second determination submodule includes: and the first processing unit is used for determining the operable objects with the distance from the cursor pointer within the preset threshold range according to the first position and the second position corresponding to each operable object as target objects.
As an alternative embodiment, the apparatus further comprises: and the second determining module is used for responding to the triggering of a second mouse operation on the target object by the user, and determining and displaying target pre-loaded data corresponding to the second mouse operation from the cached pre-loaded data according to the mapping relation between the cached pre-loaded data and the operation object and the mouse operation type.
As an alternative embodiment, the first operation is a first touch operation, the second operation is a second touch operation, and the second touch operation is a next touch operation associated with the first touch operation. The first determining module includes: the third determining submodule is used for determining a third position of a first operation object aimed at by the first touch operation in the terminal interface; and the fourth determining submodule is used for determining the target object at least according to the third position.
As an alternative embodiment, the operation objects of adjacent touch operations of the user have a foreseeable relationship, and the foreseeable relationship is determined according to the historical operation data of the user. The fourth determination submodule includes: and the second processing unit is used for determining an operation object which is associated with the first touch operation and is aimed at by the next touch operation as a target object according to the third position and the foreseeable relation.
As an alternative embodiment, the apparatus further comprises: and the third determining module is used for responding to the second touch operation triggered by the user aiming at the target object, and determining and displaying target pre-loaded data corresponding to the second touch operation from the cached pre-loaded data according to the mapping relation between the cached pre-loaded data and the operation object and the touch operation type.
As an alternative embodiment, the cached preloaded data has a preset valid cache duration. The device also includes: and the clearing module is used for clearing the preloaded data from the local cache after the cache duration of the preloaded data exceeds the corresponding effective cache duration.
As an optional embodiment, the apparatus further includes a fourth determining module, configured to determine whether the preloaded data corresponding to the first operation is cached in the local cache before the triggering module triggers the simulation operation corresponding to the first operation for the target object.
It should be noted that, in the embodiment of the present disclosure, the embodiment of the apparatus portion is similar to the embodiment of the method portion, and the achieved technical effects are also similar, which are not described herein again.
Any of the modules according to embodiments of the present disclosure, or at least part of the functionality of any of them, may be implemented in one module. Any one or more of the modules according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules according to the embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging the circuit, or in any one of three implementations, or in any suitable combination of any of the software, hardware, and firmware. Or one or more of the modules according to embodiments of the disclosure, may be implemented at least partly as computer program modules which, when executed, may perform corresponding functions.
For example, any plurality of the first determining module 501, the triggering module 502, the obtaining module 503 and the caching module 504 may be combined and implemented in one module, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first determining module 501, the triggering module 502, the obtaining module 503 and the caching module 504 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware and firmware, or an appropriate combination of any several of them. Alternatively, at least one of the first determining module 501, the triggering module 502, the obtaining module 503 and the caching module 504 may be at least partially implemented as a computer program module, which when executed may perform a corresponding function.
FIG. 6 schematically illustrates a block diagram of a computer system suitable for the data processing method and system according to an embodiment of the present disclosure. The computer system illustrated in FIG. 6 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 6, a computer system 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 601 may also include onboard memory for caching purposes. Processor 601 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In the RAM 603, various programs and data necessary for the operation of the system 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 602 and/or RAM 603. It is to be noted that the programs may also be stored in one or more memories other than the ROM 602 and RAM 603. The processor 601 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, system 600 may also include an input/output (I/O) interface 605, input/output (I/O) interface 605 also connected to bus 604. The system 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 602 and/or RAM 603 described above and/or one or more memories other than the ROM 602 and RAM 603.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.