Information processing method and device, computing equipment, storage medium and program product
By identifying and loading the display information of target task indicators, avoiding repeated collection and arrangement, the problem of low efficiency in generating rankings in the existing technology is solved, and the generation of fast response and efficient processing results is achieved.
Patent Information
- Application Number
- CN202411051778.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-11-26
AI Technical Summary
In the prior art, when generating rankings in game scenarios and other scenarios, the time overhead for collecting and arranging task indicators is high, resulting in low efficiency of users returning to rankings, and it is urgent to improve the efficient response ability of information processing.
By identifying whether the target task metrics have been loaded, if not loaded, the target display information is obtained and loaded from the database, avoiding repeated collection and arrangement processes, and directly processing the loaded display information to improve response efficiency.
It improves the response efficiency of processing requests, reduces the frequency of access to the database, and improves the speed of generating processing results.
Smart Images

Figure CN119015715A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet technology, and in particular to an information processing method, apparatus, computing device, storage medium, and program product. Background Art
[0002] Display information refers to collecting task indicators for multiple objects and arranging the collected task indicators to generate display information. Display information is used in many scenarios such as game scenarios and product recommendation scenarios.
[0003] For example, in a game scenario, when a user needs to obtain a ranking list, the server will collect the task indicators of each object, arrange them to generate a ranking list, and return the generated ranking list. However, the time overhead of collecting task indicators and arranging them to generate a ranking list is relatively large, which makes the efficiency of returning the ranking list to the user low. Therefore, there is an urgent need for an information processing method that improves the efficient response based on processing requests to obtain processing results. Summary of the invention
[0004] In view of this, an embodiment of the present application provides an information processing method. One or more embodiments of the present application also relate to an information processing apparatus, a computing device, a computer-readable storage medium and a computer program product to solve the technical defects existing in the prior art.
[0005] According to a first aspect of an embodiment of the present application, there is provided an information processing method, including:
[0006] In response to a processing request for a target task indicator, identifying whether target display information corresponding to the target task indicator has been loaded, wherein the target display information is generated based on an arrangement of target task indicators of a plurality of objects;
[0007] If not, then based on the indicator identifier of the target task indicator, the target display information is obtained and loaded from a database, wherein the database stores display information corresponding to each task indicator;
[0008] The target display information is processed to obtain a processing result for the target task indicator.
[0009] According to a second aspect of an embodiment of the present application, there is provided an information processing device, including:
[0010] an identification module, configured to identify, in response to a processing request for a target task indicator, whether target display information corresponding to the target task indicator has been loaded, wherein the target display information is generated based on an arrangement of target task indicators of a plurality of objects;
[0011] a loading module configured to obtain and load the target display information from a database based on the indicator identifier of the target task indicator if the identification result of the identification module is negative, wherein the database stores display information corresponding to each task indicator;
[0012] The processing module is configured to process the target display information to obtain a processing result for the target task indicator.
[0013] According to a third aspect of an embodiment of the present application, a computing device is provided, including:
[0014] Memory and processor;
[0015] The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer programs / instructions are executed by the processor, the steps of the above-mentioned information processing method are implemented.
[0016] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program / instruction, and when the instruction is executed by a processor, the steps of the above-mentioned information processing method are implemented.
[0017] According to a fifth aspect of an embodiment of the present application, a computer program product is provided, comprising a computer program / instruction, which, when executed by a processor, implements the steps of executing the above-mentioned information processing method.
[0018] An embodiment of the present application responds to a processing request for a target task indicator, identifies whether the target display information corresponding to the target task indicator has been loaded, wherein the target display information is generated based on the arrangement of target task indicators of multiple objects; if not, based on the indicator identifier of the target task indicator, obtains and loads the target display information from a database, wherein the database stores display information corresponding to each task indicator; processes the target display information to obtain a processing result for the target task indicator. Respond to a processing request for a target task indicator, identify whether the corresponding target display information has been loaded, and if not, obtain and load the target display information from a database, and then process the loaded target display information to obtain a processing result, thereby avoiding the process of collecting and arranging the target task indicators of each object, improving the efficiency of generating processing results in response to processing requests, and realizing that when the target display information has been loaded, there is no need to access the database to load and obtain the target display information. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of an information processing method provided by an embodiment of the present application;
[0020] Figure 2It is a processing flow chart of an information processing method provided by an embodiment of the present application;
[0021] Figure 3 is a structural diagram of an information processing device provided by an embodiment of the present application;
[0022] Figure 4 It is a structural block diagram of a computing device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0023] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0024] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.
[0025] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0026] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0027] First, the terms involved in one or more embodiments of the present application are explained.
[0028] Display information refers to collecting task indicators for multiple objects and arranging the collected task indicators to generate display information. Display information is used in many scenarios such as game scenarios and product recommendation scenarios.
[0029] For example, in a game scenario, when a user needs to obtain a ranking list, the server will collect the task indicators of each object, arrange them to generate a ranking list, and return the generated ranking list. However, the time overhead of collecting task indicators and arranging them to generate a ranking list is relatively large, which makes the efficiency of returning the ranking list to the user low. Therefore, there is an urgent need for an information processing method that improves the efficient response based on processing requests to obtain processing results.
[0030] In the present application, an information processing method is provided. The present application also relates to an information processing apparatus, a computing device, a computer-readable storage medium, and a computer program product, which are described in detail one by one in the following embodiments.
[0031] See also Figure 1 , Figure 1 A flowchart of an information processing method provided by an embodiment of the present application is shown, which specifically includes the following steps.
[0032] Step 102: In response to a processing request for a target task indicator, identifying whether target display information corresponding to the target task indicator has been loaded, wherein the target display information is generated based on an arrangement of target task indicators of a plurality of objects.
[0033] Specifically, the target task index refers to the index obtained by evaluating the target task, for example, the target task is a combat power attribute, the corresponding target task index is a combat power value, the target task is a reputation attribute, and the corresponding target task index is a reputation value, etc. A processing request refers to a request generated when there is a need to process a certain project, so that the processing party can process a certain project based on the processing request, wherein, in the embodiment of the present application, a certain project is a target task index. The target display information corresponds to the target task in the target task index, for example, if the task is a combat power attribute, then there is corresponding display information for the combat power attribute, and if the task is a reputation attribute, then there is corresponding display information for the corresponding reputation attribute. The target display information is generated based on the arrangement of the target task indicators of multiple objects, for example, the display information corresponding to the combat power attribute is generated based on the combat power values of multiple objects. The arrangement method can be pre-set, such as pre-setting the arrangement from large to small based on the combat power value, pre-setting the arrangement from high to low based on the reputation value, etc.
[0034] When the client has a need to process the target task indicator, a processing request is generated. The server receives the processing request and responds to the processing request. The response method is to identify whether the target display information corresponding to the target task indicator has been loaded, so as to process the processing request based on the loaded target display information and obtain the processing result. The processing method can be to process the loaded target display information based on the processing request.
[0035] Among them, based on the different processing requests, the client generates processing requests in different ways. For example, if the processing request is an update request for the target task indicator, it is automatically triggered when the client monitors that the target task indicator of the target user of the client has changed; it can also be that the client identifies whether the target task indicator of the target user has changed according to a preset time. If it has changed, it automatically triggers the generation and sending of a processing request; for example, if the processing request is an acquisition request for the target task indicator, it can be that the client updates and displays the display information corresponding to the target task indicator displayed by the client according to the preset time, generates and sends the acquisition request at a regular interval; it can also be that the client generates and sends the acquisition request by receiving the acquisition instruction from the front end.
[0036] Loading is storing in the memory of the server, that is, the implementation method of identifying whether the target display information has been loaded can be to identify whether the target display information is stored in the memory of the server. The target display information that has not been loaded only contains basic information, such as the arrangement capacity of the display information and the indicator identification of the corresponding task indicator.
[0037] In an optional embodiment of the present application, creating display information is usually to configure the display information in advance, and to generate the display information based on the configuration information in the configuration table. However, changing the configuration table is very time-consuming and difficult. Therefore, under normal circumstances, when there is a need to generate display information not included in the configuration table, the display information cannot be created and generated. That is, when the display information is generated based on the configuration table, it is impossible to implement the process of dynamically creating the display information not included in the configuration table. In one embodiment of the present application, a request based on the creation of display information is provided, and the request carries the creation condition for the creation of the display information, so that the server generates the display information based on the creation condition. Specifically, before responding to the processing request for the target task indicator and identifying whether the target display information corresponding to the target task indicator has been loaded, the following steps are also included:
[0038] receiving a display information creation request for a target task indicator, wherein the display information creation request carries an indicator identifier and an object quantity of the target task indicator;
[0039] Based on the display information creation request, target display information corresponding to the target task indicator is created, wherein the target display information carries the indicator identifier, and the arrangement capacity of the target display information is the number of objects.
[0040] Specifically, the display information creation request is used to indicate that display information is generated based on the creation request. Specifically, when there is a demand for display information to be created, a display information creation request will be generated on the demand side. The server side receives the display information creation request and responds to the display information creation request. The display information creation request carries a creation condition, which includes the indicator identifier and the number of objects of the target task indicator. The indicator identifier is used to uniquely identify the task. For example, if the task is a combat power attribute, the corresponding indicator identifier can be 1, if the task is a reputation attribute, the corresponding indicator identifier can be 2, and if the task is an experience attribute, the corresponding indicator identifier is 3. The arrangement capacity is the number of objects stored in the display information. For example, if the ranking list A is 5,000, the corresponding ranking list A can arrange the task indicators of 5,000 objects, and 5,000 is the arrangement capacity.
[0041] The implementation method of receiving the display information creation request may be to receive a protocol request, interpret the information in the protocol request, and determine that the protocol request is a request for creating the display information.
[0042] The implementation method of creating the target display information corresponding to the target task indicator based on the display information creation request can be to construct basic display information based on the display information creation request, determine the arrangement capacity of the basic display information based on the number of objects, generate the display identifier of the basic display information based on the indicator identifier, and obtain the target display information.
[0043] When a display information creation request for a target task indicator is received, the target display information is created based on the creation conditions carried in the display information creation request. The created target display information carries an indicator identifier, and the arrangement capacity is the number of objects, that is, the display attributes of the target display information are limited. This facilitates subsequent filling of substantive data in the target display information based on an update request for the target task indicator, without the need to construct a configuration table, thereby improving the efficiency of constructing and generating the target display information.
[0044] Step 104: If not, then based on the indicator identifier of the target task indicator, the target display information is obtained and loaded from the database, wherein the database stores display information corresponding to each task indicator.
[0045] Specifically, the database is used to store the display information corresponding to each task indicator, wherein the display information corresponding to each task indicator is usually updated. The display information corresponding to each task indicator is stored in the database in an overlay storage manner, that is, storing multiple versions of the display information, or in a replacement storage manner. When the display information for task indicator A is updated, the database replaces the originally stored display information with the updated display information.
[0046] If the target display information corresponding to the target task indicator is not loaded, it is necessary to obtain and load the target display information from the database so as to respond to the processing request based on the loaded target display information and obtain the processing result.
[0047] If it is identified that the display information corresponding to the target task indicator has been loaded, the processing request is directly responded to based on the loaded target display information to obtain the processing result.
[0048] An implementation method for obtaining and loading target display information from a database based on the indicator identifier of the target task indicator may be to compare the indicator identifier of the target task indicator with the indicator identifier of the task indicator of each display information stored in the database, determine the target display information corresponding to the target task indicator based on the comparison result, obtain the determined target display information from the database, and load it.
[0049] The loading of the acquired target display information refers to storing it in the memory of the server.
[0050] In an optional embodiment of the present application, the above steps are based on the indicator identification of the target task indicator, and the target display information is obtained and loaded from the database, including the following steps:
[0051] Call the display service interface based on the indicator identifier of the target task indicator and send a display information acquisition request to the database service interface;
[0052] Calling the database service interface based on the display information acquisition request, acquiring the target display information from the database, and returning the acquired target display information to the display service interface;
[0053] Call the display service interface to load the target display information.
[0054] Specifically, the display service interface is used to access the display service, and the database service interface is used to access the database service so that the database service operates the database.
[0055] The display information acquisition request may carry the indicator identifier of the target task indicator.
[0056] The display information acquisition request is forwarded to the database service interface by calling the display service interface, so that the database is accessed by the database service interface, thereby avoiding resource consumption caused by the display service interface accessing the database.
[0057] Step 106: Process the target display information to obtain a processing result for the target task indicator.
[0058] The processing result refers to the result generated in response to the processing request. Based on different processing requests, the corresponding generated processing results are also different.
[0059] For example, the processing request is an indicator update request, and the corresponding processing result is the updated target display information; the processing request is a request to obtain the arrangement information of the target task indicator, and the corresponding processing result is the arrangement information of the target object corresponding to the target task indicator.
[0060] The processing result is returned so that the client can obtain the processing result.
[0061] Before returning the processing results, the processing results may be packaged and the packaged processing results may be returned to the client.
[0062] In an optional embodiment of the present application, the above steps respond to a processing request for a target task indicator and identify whether the display information corresponding to the target task indicator has been loaded, including the following steps:
[0063] In response to an indicator update request for a target task indicator, identifying whether target display information corresponding to the target task indicator has been loaded, wherein the indicator update request carries indicator data of the target task indicator of the target object;
[0064] The above steps process the target display information to obtain the processing results for the target task indicators, including the following steps:
[0065] Based on the indicator data of the target task indicator of the target object, the arrangement of multiple target task indicators in the target display information is updated;
[0066] Based on the updated target display information, the processing results for the target task indicators are obtained.
[0067] Specifically, the indicator update request is used to indicate the update of the target task indicator in the target display information, wherein the update may be to update the arrangement of each target task indicator in the target display information, and the update of the target task indicator may be to write a new target task indicator, replace the target task indicator in the target display information, and so on.
[0068] When an indicator update request for a target task indicator is received, it is identified whether the target display information corresponding to the target task indicator has been loaded, so as to update the target task indicator in the loaded target display information based on the indicator update request to obtain a processing result.
[0069] An implementation method for updating the arrangement of multiple target task indicators in the target display information based on the indicator data of the target task indicators of the target object may be to identify, based on the indicator data of the target task indicators of the target object, whether there is a target task indicator corresponding to the target object among the multiple target task indicators in the target display information; if so, replace the target task indicator corresponding to the target object in the target display information with the indicator data, and rearrange the target task indicators based on the replaced indicator data and other target task indicators in the target display information.
[0070] After identifying whether there is a target task indicator corresponding to the target object among the multiple target task indicators in the target display information, it also includes, if not, obtaining the display capacity of the target display information, and determining a processing strategy for processing the target display information based on the display capacity; and updating the arrangement of the multiple target task indicators in the target display information according to the indicator data and the processing strategy.
[0071] Among them, based on the display capacity, the implementation method of determining the processing strategy for processing the target display information may be to obtain the number of indicators of the target task indicators in the target display information; when the number of indicators is less than the display capacity, determine that the processing strategy for processing the target display information is a write strategy.
[0072] In the case where the processing strategy is a write strategy, the multiple target task indicators in the target display information are processed according to the indicator data and the processing strategy to obtain the processing results for the target task indicators. The implementation method may be to write the indicator data into the target display information according to the write strategy; and update the arrangement of the multiple target task indicators in the target display information based on the indicator data written into the target display information.
[0073] Wherein, after obtaining the indicator quantity of the target task indicator in the target display information, it also includes: when the indicator quantity is equal to the display capacity, determining that the processing strategy for processing the target display information is an update strategy.
[0074] In the case where the processing strategy is an update strategy, the method for processing multiple target task indicators in the target display information according to the indicator data and the processing strategy to obtain the processing results for the target task indicators may be to arrange the indicator data and the target task indicators in the display information based on the update strategy; and to filter the arrangement results based on the display capacity to obtain the processing results for the target task indicators.
[0075] Based on the target display information that updates the arrangement of the plurality of target task indicators, a processing result for the target task indicator is obtained.
[0076] Wherein, based on updating the target display information of the arrangement of multiple target task indicators, a processing result for the target task indicator is obtained, and the processing result may be the target display information of the arrangement of multiple target task indicators or a prompt message indicating that the update is completed.
[0077] In the case where the processing request for the target task indicator is an indicator update request, the arrangement of multiple target task indicators in the target display information is updated based on the indicator data of the target task indicator of the target object carried in the indicator update request summary, and the processing result for the target task indicator is obtained, thereby ensuring the adaptability of the obtained processing result to the processing request.
[0078] In an optional embodiment of the present application, the above steps respond to a processing request for a target task indicator and identify whether the display information corresponding to the target task indicator has been loaded, including the following steps:
[0079] In response to a request for obtaining arrangement information for a target task indicator, identifying whether target display information corresponding to the target task has been loaded, wherein the request for obtaining arrangement information carries an object identifier of the target object;
[0080] The above steps process the target display information to obtain the processing results for the target task indicators, including the following steps:
[0081] Based on the object identifier, query the arrangement information of the target task indicators corresponding to the target object from the target display information;
[0082] Based on the arrangement information of the target task indicators corresponding to the queried target objects, the processing results for the target task indicators are obtained.
[0083] The arrangement information acquisition request is used to instruct the acquisition of the arrangement information in the target display information. The arrangement information acquisition request carries the object identifier of the target object, which is used to indicate the acquisition of the target task indicator arrangement information in the target display information. The object identifier is used to uniquely identify the target object, and the object identifier can be the account ID of the account corresponding to the target object.
[0084] When receiving a request for obtaining arrangement information for the target task indicator, respond to the request for obtaining arrangement information.
[0085] The implementation method of querying the arrangement information of the target task indicators corresponding to the target object from the target display information based on the object identifier can be to compare the object identifier with the object identifiers of each object in the target display information, and determine the arrangement information of the target task indicators corresponding to the target object in the target display information based on the comparison result.
[0086] The arrangement information of the target task indicators corresponding to the queried target objects is determined as the processing result for the target task indicators.
[0087] In an optional embodiment of the present application, the amount of data contained in the display information is usually relatively large, and there are multiple task indicators and multiple corresponding display information. If the display information corresponding to each task indicator is loaded on the server for a long time, the amount of data contained on the server will be too large, making the server less efficient when processing information. Therefore, the display information that has not been requested within a preset time is unloaded from the server and stored in a processing database to reduce the processing pressure on the server and improve the efficiency of information processing on the server. That is, if no processing request for the loaded task indicator is received within a preset time, the display information corresponding to the loaded task indicator is unloaded and stored in the database, wherein the loaded task indicator is any task indicator that has been loaded.
[0088] Specifically, the preset time refers to a time set in advance based on uninstalling the loaded display information. The loaded task index refers to a task index corresponding to the loaded display information.
[0089] Uninstalling the display information refers to deleting or moving the display information stored in the memory of the server so that the display information is no longer stored in the memory of the server.
[0090] For any displayed information of loaded task indicators, no matter it is just created or has been processed accordingly, if the displayed information is not requested for a preset time, the operation of unloading and storing it in the database is executed.
[0091] If no processing request for the loaded task indicator is received within the preset time, it is determined that the display information of the loaded task indicator is requested less frequently, then the display information corresponding to the loaded task indicator is unloaded from the server and stored in the database to reduce the storage capacity in the server and improve the efficiency of information processing on the server.
[0092] The following combination Figure 2, taking the application of the information processing method provided by this application in the field of games as an example, the information processing method is further explained. Figure 2 A processing flow chart of an information processing method provided by an embodiment of the present application is shown, which specifically includes the following steps.
[0093] Step 202: receiving a ranking list creation request for combat power value and reputation value, wherein the ranking list creation request carries a combat power identifier and object quantity 1 of the combat power value, and a reputation identifier and object quantity 2 of the reputation value.
[0094] Step 204: Based on the ranking list creation request, a combat power ranking list with a combat power identifier and a ranking capacity of 1 object is created, and a reputation ranking list with a reputation identifier and a ranking capacity of 2 objects is created.
[0095] Step 206: receiving a combat power value update request for the combat power value, wherein the combat power value update request carries the combat power value of user A, the combat power value of user B, and the combat power value of user C.
[0096] Step 208: Based on the combat power value update request, the combat power values of users A, B, and C are written into the combat power value ranking list, the combat power values of users A, B, and C in the combat power value ranking list are arranged, an updated combat power value ranking list is obtained, and the updated combat power value ranking list is returned to the client.
[0097] Based on the combat power value update request, identify whether the combat power values of users A, B, and C exist in the combat power value ranking list. If not, write the combat power values of users A, B, and C into the combat power value ranking list; if so, update the combat power values of users A, B, and C recorded in the combat power value ranking list to the combat power values carried in the combat power value update request.
[0098] Based on the combat power value update request, a combat power value identifier of the combat power value is determined, and a combat power value ranking list carrying the combat power value identifier is searched.
[0099] Step 210: receiving a reputation value update request for a reputation value, wherein the reputation value update request carries the reputation value of user A, the reputation value of user C, and the reputation value of user D.
[0100] Step 212: Based on the reputation value update request, the reputation values of users A, C, and D are written into the reputation value ranking list, the reputation values of users A, C, and D in the reputation value ranking list are arranged, an updated reputation value ranking list is obtained, and the updated reputation value ranking list is returned to the client.
[0101] Based on the reputation value update request, identify whether the reputation values of users A, C, and D exist in the reputation value ranking list. If not, write the reputation values of users A, C, and D into the reputation value ranking list; if so, update the reputation values of users A, C, and D recorded in the reputation value ranking list to the reputation values carried in the combat power value update request.
[0102] Based on the reputation value update request, a reputation value identifier of the reputation value is determined, and a reputation value ranking list carrying the reputation value identifier is searched.
[0103] Step 214: receiving a ranking information acquisition request for the reputation value, wherein the ranking information acquisition request carries the object identifier of user A.
[0104] Step 216: Based on the reputation value, determine the reputation value identifier, and identify whether the reputation value ranking list carrying the reputation value identifier has been loaded.
[0105] If yes, then execute step 218 , if no, then execute step 220 .
[0106] Step 218: Based on the object identifier of user A, query the ranking of the corresponding reputation value of user A from the reputation value ranking list, and return the ranking to the client of user A.
[0107] Step 220: Obtain and load the reputation ranking list from the database, query the ranking of the reputation value corresponding to user A from the loaded reputation ranking list based on the object identifier of user A, and return the ranking to the client of user A.
[0108] Among them, obtaining and loading the reputation value ranking list from the database can be calling the ranking service interface based on the reputation value identifier, sending a ranking acquisition request to the database service interface, wherein the ranking acquisition request carries the reputation value identifier; calling the database service interface based on the ranking acquisition request, obtaining the reputation value ranking list from the database, and returning the obtained reputation value ranking list to the ranking service interface; calling the ranking service interface to load the reputation value ranking list.
[0109] When no processing request for the loaded combat power value is received within a preset time, the combat power value ranking list corresponding to the loaded combat power value is unloaded and stored in the database.
[0110] By applying the solution of the embodiment of the present application, a response is made to a processing request for a target task indicator, and it is identified whether the corresponding target display information has been loaded. If not, the target display information is obtained and loaded from a database, and the loaded target display information can be processed to obtain a processing result, thereby avoiding the process of collecting and arranging the target task indicators of each object, improving the efficiency of generating processing results in response to processing requests, and achieving the situation where the target display information has been loaded, without accessing the database to load and obtain the target display information.
[0111] Corresponding to the above method embodiment, the present application also provides an information processing device embodiment, Figure 3 FIG. 1 is a schematic diagram showing the structure of an information processing device provided by an embodiment of the present application. Figure 3 As shown, the device comprises:
[0112] The identification module 302 is configured to identify, in response to a processing request for a target task indicator, whether target display information corresponding to the target task indicator has been loaded, wherein the target display information is generated based on the arrangement of target task indicators of multiple objects;
[0113] The loading module 304 is configured to obtain and load the target display information from a database based on the indicator identifier of the target task indicator if the identification result of the identification module 302 is no, wherein the database stores display information corresponding to each task indicator;
[0114] The processing module 306 is configured to process the target display information to obtain a processing result for the target task indicator.
[0115] Optionally, the information processing device also includes a creation module, configured to receive a display information creation request for a target task indicator, wherein the display information creation request carries the indicator identifier and the number of objects of the target task indicator; based on the display information creation request, create target display information corresponding to the target task indicator, wherein the target display information carries the indicator identifier and the arrangement capacity of the target display information is the number of objects.
[0116] Optionally, the identification module 302 is further configured to identify whether the target display information corresponding to the target task indicator has been loaded in response to an indicator update request for the target task indicator, wherein the indicator update request carries the indicator data of the target task indicator of the target object; the processing module 306 is further configured to update the arrangement of multiple target task indicators in the target display information based on the indicator data of the target task indicator of the target object; and obtain the processing result for the target task indicator based on the updated target display information.
[0117] Optionally, the identification module 302 is further configured to identify whether the target display information corresponding to the target task has been loaded in response to a request for obtaining arrangement information for the target task indicator, wherein the request for obtaining arrangement information carries the object identifier of the target object; the processing module 306 is further configured to query the arrangement information of the target task indicator corresponding to the target object from the target display information based on the object identifier; and obtain the processing result for the target task indicator based on the queried arrangement information of the target task indicator corresponding to the target object.
[0118] Optionally, the information processing device also includes an unloading module, which is configured to unload the display information corresponding to the loaded task indicator and store it into the database if no processing request for the loaded task indicator is received within a preset time, wherein the loaded task indicator is any loaded task indicator.
[0119] Optionally, the loading module 304 is further configured to call the display service interface to send a display information acquisition request to the database service interface based on the indicator identifier of the target task indicator; call the database service interface to obtain the target display information from the database based on the display information acquisition request, and return the obtained target display information to the display service interface; call the display service interface to load the target display information.
[0120] By applying the solution of the embodiment of the present application, a response is made to a processing request for a target task indicator, and it is identified whether the corresponding target display information has been loaded. If not, the target display information is obtained and loaded from a database, and the loaded target display information can be processed to obtain a processing result, thereby avoiding the process of collecting and arranging the target task indicators of each object, improving the efficiency of generating processing results in response to processing requests, and achieving the situation where the target display information has been loaded, without accessing the database to load and obtain the target display information.
[0121] The above is a schematic scheme of an information processing device of this embodiment. It should be noted that the technical scheme of the information processing device and the technical scheme of the above information processing method belong to the same concept, and the details not described in detail in the technical scheme of the information processing device can be referred to the description of the technical scheme of the above information processing method.
[0122] Figure 4 The block diagram of a computing device provided by an embodiment of the present application is shown. The components of the computing device 400 include but are not limited to a memory 410 and a processor 420. The processor 420 is connected to the memory 410 via a bus 430, and the database 450 is used to store data.
[0123] The computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 may include one or more of any type of network interface, wired or wireless (e.g., a network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, and a Near Field Communication (NFC).
[0124] In one embodiment of the present application, the above components of the computing device 400 and Figure 4 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 4 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.
[0125] The computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 400 may also be a mobile or stationary server.
[0126] The processor 420 is used to execute the following computer program / instructions, which implement the steps of the above-mentioned information processing method when executed by the processor.
[0127] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above information processing method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above information processing method.
[0128] An embodiment of the present application further provides a computer-readable storage medium storing a computer program / instruction, which implements the steps of the above-mentioned information processing method when executed by a processor.
[0129] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above information processing method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above information processing method.
[0130] An embodiment of the present application further provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned information processing method when executed by a processor.
[0131] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the above information processing method belong to the same concept, and the details not described in detail in the technical scheme of the computer program product can be referred to the description of the technical scheme of the above information processing method.
[0132] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0133] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0134] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described action sequence, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the present application.
[0135] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0136] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.
Claims
1. An information processing method, characterized in that: Applied to the server, including: In response to a processing request for a target task indicator, identifying whether target display information corresponding to the target task indicator has been loaded, wherein the target display information is generated based on an arrangement of target task indicators of a plurality of objects; If not, then based on the indicator identifier of the target task indicator, the target display information is obtained and loaded from a database, wherein the database stores display information corresponding to each task indicator; The target display information is processed to obtain a processing result for the target task indicator.
2. The method according to claim 1, characterized in that: Before the step of responding to the processing request for the target task indicator and identifying whether the target display information corresponding to the target task indicator has been loaded, the step further includes: Receive a display information creation request for a target task indicator, wherein the display information creation request carries an indicator identifier and a number of objects of the target task indicator; Based on the display information creation request, target display information corresponding to the target task indicator is created, wherein the target display information carries the indicator identifier, and the arrangement capacity of the target display information is the number of objects.
3. The method according to claim 1 or 2, characterized in that: The step of identifying, in response to a processing request for a target task indicator, whether display information corresponding to the target task indicator has been loaded includes: In response to an indicator update request for a target task indicator, identifying whether target display information corresponding to the target task indicator has been loaded, wherein the indicator update request carries indicator data of the target task indicator of the target object; The processing of the target display information to obtain a processing result for the target task indicator includes: Based on the indicator data of the target task indicator of the target object, updating the arrangement of the plurality of target task indicators in the target display information; Based on the updated target display information, a processing result for the target task indicator is obtained.
4. The method according to claim 1 or 2, characterized in that: The step of identifying, in response to a processing request for a target task indicator, whether display information corresponding to the target task indicator has been loaded includes: In response to a request for obtaining arrangement information of a target task indicator, identifying whether target display information corresponding to the target task has been loaded, wherein the request for obtaining arrangement information carries an object identifier of a target object; The processing of the target display information to obtain a processing result for the target task indicator includes: Based on the object identifier, querying the arrangement information of the target task indicators corresponding to the target object from the target display information; Based on the queried arrangement information of the target task indicators corresponding to the target objects, a processing result for the target task indicators is obtained.
5. The method according to claim 1, characterized in that Also includes: When no processing request for the loaded task indicator is received within a preset time, the display information corresponding to the loaded task indicator is unloaded and stored in the database, wherein the loaded task indicator is any loaded task indicator.
6. The method according to claim 1, characterized in that The step of acquiring and loading the target display information from a database based on the indicator identification of the target task indicator includes: Calling the display service interface to send a display information acquisition request to the database service interface based on the indicator identifier of the target task indicator; Calling the database service interface to obtain the target display information from the database based on the display information acquisition request, and returning the acquired target display information to the display service interface; The display service interface is called to load the target display information.
7. An information processing device, characterized in that: include: an identification module, configured to identify, in response to a processing request for a target task indicator, whether target display information corresponding to the target task indicator has been loaded, wherein the target display information is generated based on an arrangement of target task indicators of a plurality of objects; a loading module configured to obtain and load the target display information from a database based on the indicator identifier of the target task indicator if the identification result of the identification module is negative, wherein the database stores display information corresponding to each task indicator; The processing module is configured to process the target display information to obtain a processing result for the target task indicator.
8. A computing device, characterized in that include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer program / instructions are executed by the processor, the steps of the information processing method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium, characterized in that: It stores a computer program / instruction, which, when executed by a processor, implements the steps of the information processing method described in any one of claims 1 to 6.
10. A computer program product, characterized in that The invention comprises a computer program / instruction, which, when executed by a processor, implements the steps of the information processing method according to any one of claims 1 to 6.
