WO2019076113A1 - 一种信息处理方法、装置及设备 - Google Patents

一种信息处理方法、装置及设备 Download PDF

Info

Publication number
WO2019076113A1
WO2019076113A1 PCT/CN2018/099898 CN2018099898W WO2019076113A1 WO 2019076113 A1 WO2019076113 A1 WO 2019076113A1 CN 2018099898 W CN2018099898 W CN 2018099898W WO 2019076113 A1 WO2019076113 A1 WO 2019076113A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
node
prompting
information prompting
prompt
Prior art date
Application number
PCT/CN2018/099898
Other languages
English (en)
French (fr)
Inventor
刘超
Original Assignee
阿里巴巴集团控股有限公司
刘超
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司, 刘超 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019076113A1 publication Critical patent/WO2019076113A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Definitions

  • the present application relates to the field of computer technologies, and in particular, to an information processing method, apparatus, and device.
  • the technical solution for prompting users with information in the form of red dot is as follows:
  • the user logs in to the background server of the application by using the username and password.
  • a connection is established between the terminal device and the server where the application is located, and the connection is established successfully.
  • the server obtains the corresponding link-building message, and the server can send the red dot data to the terminal device through the gateway of the system.
  • the server pushes the red dot data to the terminal device, and the terminal device displays a red dot at an appropriate position of the corresponding application control.
  • red dot data changes (such as red dot data is deleted, modified or added information red dot data, etc.)
  • the server needs to change the red dot and its related
  • the red dots are provided to the terminal device one by one for updating, so that the information prompting is inefficient, so that it is necessary to provide a faster or more efficient solution.
  • the purpose of the embodiments of the present specification is to provide an information processing method, apparatus, and device, to solve the problem that the server needs to change the red dot and its related red when the one or more red dot data changes in the prior art. Points are provided one by one to the terminal device for updating, thereby making the problem of inefficient information presentation.
  • An information processing method provided by an embodiment of the present specification includes:
  • the information processing request includes an information prompt request, an information modification request, or an information deletion request.
  • the information processing request is an information prompting request, where the information prompting request further includes data of the first information prompting node,
  • the information related to the prompt information of the first information prompting node in the target information prompting node is processed, including:
  • the prompting information at the target information prompting node is updated based on the prompt information at the first information prompting node, and the information prompting is performed at the target information prompting node, including:
  • Target Information is presented at a predetermined location of the target information prompting node, and the sum of the amounts of data is displayed.
  • the acquiring the target information prompting node that is associated with the first information prompting node includes:
  • the method further includes:
  • node configuration information of the information prompting node corresponding to the preset user identifier where the node configuration information includes location path information of the information prompting node and association information between different information prompting nodes;
  • the acquiring the node configuration information of the information prompting node corresponding to the preset user identifier including:
  • the apparatus includes:
  • a request receiving module configured to receive an information processing request, where the information processing request carries a node identifier
  • a first information processing module configured to process prompt information of the first information prompting node corresponding to the node identifier according to the information processing request;
  • a second information processing module configured to acquire a target information prompting node that is associated with the first information prompting node, and perform information related to the prompt information of the first information prompting node in the target information prompting node deal with.
  • the information processing request includes an information prompt request, an information modification request, or an information deletion request.
  • the information processing request is an information prompting request, where the information prompting request further includes data of the first information prompting node,
  • the first information processing module is configured to store data of the first information prompting node, and perform information prompting at the first information prompting node;
  • the second information processing module is configured to update the prompt information at the target information prompting node based on the prompt information at the first information prompting node, and perform information prompting at the target information prompting node.
  • the second information processing module includes:
  • a data quantity obtaining unit configured to acquire a quantity of data of the target information prompting node
  • a data amount and determining unit configured to increase a quantity of data of the first information prompting node on the basis of the obtained quantity of data, and obtain a sum of data numbers of the target information prompting node;
  • a display unit configured to perform information prompting at a predetermined position of the target information prompting node, and display a sum of the quantity of the data.
  • the second information processing module is configured to obtain, from an information prompt relationship between the pre-built information prompting nodes, a target information prompting node that is associated with the first information prompting node.
  • the device further includes:
  • a configuration information obtaining module configured to acquire node configuration information of the information prompting node corresponding to the preset user identifier, where the node configuration information includes location path information of the information prompting node and association information between different information prompting nodes;
  • the information prompt relationship building module is configured to construct an information prompt relationship between the information prompting nodes according to the location path information and the related information between different information prompting nodes.
  • the configuration information acquiring module is configured to: pull, from the server, node configuration information of the information prompting node corresponding to the preset user identifier; or receive information prompts corresponding to the preset user identifier sent by the receiving server Node configuration information for the node.
  • the information processing device includes:
  • a memory arranged to store computer executable instructions that, when executed, cause the processor to:
  • the embodiment of the present specification when receiving the information processing request carrying the node identifier, performs the prompt information of the first information prompting node corresponding to the node identifier according to the information processing request.
  • Processing at the same time or after, acquiring a target information prompting node that is associated with the first information prompting node, and processing information related to the prompt information of the first information prompting node in the target information prompting node, so that only the first
  • the information requesting node of the information prompting node may perform corresponding processing on the target information prompting node that is associated with the first information prompting node, so that when the prompting information of the first information prompting node is processed, the related information is also associated.
  • the target information prompts the related information of the node to be processed, and achieves the purpose of dynamically adjusting the prompt information of the associated information prompting node, without requiring the server to separately instruct the terminal device to perform the change, thereby reducing the time for performing the information prompting, thereby improving the information.
  • the efficiency of the prompt is the reason for adjusting the prompt information of the associated information prompting node.
  • FIG. 2 is a schematic diagram of information prompting of an application program according to the present specification
  • FIG. 3 is another embodiment of an information processing method according to the present specification.
  • FIG. 4 is a schematic diagram of an information prompt relationship of a tree structure according to the present specification.
  • Figure 5 is a schematic diagram of a system for updating data according to the present specification
  • FIG. 6 is a schematic diagram of information prompting of an application program according to the present specification.
  • FIG. 7 is still another embodiment of an information processing method according to the present specification.
  • FIG. 8 is still another embodiment of an information processing method according to the present specification.
  • Figure 9 is an embodiment of an information processing apparatus of the present specification.
  • Figure 10 is an embodiment of an information processing apparatus of the present specification.
  • the embodiment of the present specification provides an information processing method, device and device.
  • the embodiment of the present disclosure provides an information processing method, where the execution body of the method may be a terminal device or a server, where the terminal device may be a device such as a personal computer, or may be moved, such as a mobile phone or a tablet computer.
  • a terminal device which can be a terminal device used by a user.
  • the server may be a stand-alone server or a server cluster composed of multiple servers, and the server may be a background server of an application or a background server of a website (such as a shopping website or a network forum). Wait.
  • the method can be used for the process of prompting the information prompting of the information prompting node to perform the quick update.
  • the terminal device is taken as an example for description.
  • the related content may be processed according to the following content. Narration.
  • the method may specifically include the following steps:
  • step S102 an information processing request is received, where the information processing request carries a node identifier, and the information processing request is a request for processing prompt information at the information prompting node.
  • the node identifier may be a code, a name, and the like assigned by the server or the terminal device to the information prompting node.
  • the node identifier is used to uniquely determine the information of the corresponding information prompting node. In actual applications, different character strings may be used as the node. logo.
  • the information prompting node may be a storage node of the information, and when the stored information changes, the information prompting node may perform a node for information prompting. In an actual application, the information prompting node may be an application control in the application, and The corresponding field may also be used to express the attribute of the information prompting node.
  • the “content” field indicates the content of the information prompting node
  • the “style” field indicates that the information prompting node needs to display the number, the text, the red dot, etc. when the information is prompted. One or more of them.
  • the location of the information prompt node can be set according to actual needs.
  • the first page of an application includes three options: item A, item B, and item C, where item A includes two items of sub item 1 and sub item 2
  • the information prompting node may include the item A, the item B, the item C, the sub-item 1 and the sub-item 2, etc., when the data a and/or the data b changes (if the data is deleted) When modifying or adding new data, etc., information can be presented at sub-item 1.
  • item A is the upper-level information prompt node of sub-item 1
  • information prompt can also be made at item A, so that When the user opens the first page of the application, he will see the information prompt at item A.
  • the prompt information may be information for prompting the user, and the prompt information may include multiple implementation manners, for example, implemented in the form of text, implemented in the form of numbers, or implemented in a combination of words and numbers.
  • the information processing request may include a plurality of requests for processing the information, for example, a request to delete the information or a request to modify the information, etc., and the information processing request in the embodiment of the present specification may be any request.
  • an application such as a wealth management application or an instant messaging application, may be installed in the terminal device.
  • the terminal device may obtain relevant data of the application from the server, including The data of the related page, as shown in FIG. 2, the terminal device can display a related page, which can include multiple options, each of which can be used as an information prompt node, such as option 1, option 2 in FIG. 2 and Option 3, etc.
  • Information prompting can be performed on one or more optional items, and the manner of information prompting can include various types, for example, displaying a dot at a specified position of the information prompting node, and the inside of the dot can be filled with a certain color, for example, red.
  • option 2 may be called red dot or black, etc., as shown in option 2, option 3 and option 5 in the figure, or the inside of the dot may also include numbers and/or text.
  • the user can click the option (such as option 2), and the terminal device can obtain the corresponding page to display to the user. In this way, the user can finally view the information prompt. Relevant information.
  • the application can cancel the information prompt on the option.
  • the application can obtain the node identifier corresponding to the relevant option (for example, the node corresponding to option 2)
  • the identification device generates an information processing request, and the terminal device can receive the information processing request.
  • the server when the server needs to update the information in an option (including deleting information in an option, adding information in an option, modifying information in an option, etc.), it can obtain updated information and related information prompts.
  • the node identifier of the node generates an information processing request, and the information processing request may be sent to the terminal device, so that the terminal device may receive the information processing request.
  • step S104 according to the information processing request, the prompt information of the first information prompting node corresponding to the node identifier is processed.
  • the correspondence between the node identifier and the information prompting node may be stored in the terminal device, and the corresponding relationship may be stored in the form of a table, as shown in Table 1.
  • the terminal device may extract the node identifier carried in the node, and the node identifier may be used to search for the information prompt node corresponding to the node identifier from the correspondence relationship shown in Table 1 in the pre-storage, for example, information processing.
  • the node identifier carried in the request is the node 3
  • the information suggesting node corresponding to the node 3 is the option C (that is, the first information prompting node).
  • the prompt information of the first information prompting node may be processed according to the content in the information processing request, for example, the information processing request is to request to delete two prompt information in the first information prompting node.
  • the terminal device may delete the two prompt information in the first information prompting node, and update the number of information prompts of the first information prompting node.
  • the first information prompting node includes five prompt information, and the two prompt information is deleted. After that, the number of information prompts of the first information prompting node becomes 3.
  • the terminal device may set the corresponding prompt information on the first information prompting node, and update the number of information prompts of the first information prompting node.
  • step S106 the target information presentation node having the association relationship with the first information presentation node is acquired, and the information related to the prompt information of the first information presentation node in the target information presentation node is processed.
  • the association relationship may be information indicating that a certain relationship exists between two information prompt nodes, and the association relationship may include a relationship between a subordinate relationship, a membership relationship, and a relationship between the parent node and the child node.
  • the information related to the prompt information may be the information of the upper information prompting node of the first information prompting node, wherein the prompt information of the upper information prompting node of the first information prompting node includes the prompt information of the first information prompting node.
  • the pages of each level in the application have a certain relationship, for example, the A page is the upper page of the B page, and the B page is the next page of the A page. Since the information prompting node can represent the data in a certain page, it can also represent an option in the page, etc., therefore, the information prompting node also has a certain relationship with the page, for example, the information prompting node A is information. The child node of the node B is prompted, and the information prompting node B is the parent node of the information prompting node A.
  • the information prompting node Because there is an association relationship between the information prompting nodes, if the prompt information of a certain information prompting node is processed, the information prompting node that has an associated relationship with the information prompting node may also be affected. For this reason, the recursive algorithm may be used. To eliminate the above effects, please refer to the following related content.
  • the information prompting node usually has a pre-designated location, and for different users, the information prompting node that needs information prompting may be different, so that it is necessary to sort out the association relationship of the corresponding information prompting node for different users.
  • the association relationship between the information prompting nodes may be sent by the server to the terminal device when the user starts the application, or may be actively pulled from the server by the terminal device.
  • the above associations can also be stored in the form of a table, as shown in Table 2.
  • the target information prompting node associated with the option C can be determined to be the option D and the option E by the association relationship shown in Table 2 above.
  • the terminal device also stores related information of the parent node and the child node of each information prompting node. As shown in FIG. 3, according to the above information, the parent node of the option C is selected as the option E, and the child node of the option C is the option D. Therefore, if the first information prompting node is the option C, it indicates that the information processing request request processes the related information in the option C, and there is no related information related to the first information prompting node in the child node option D. The information can be left untreated for the information in option D.
  • the option E is the parent node of the first information prompting node, and the information related to the prompt information of the first information prompting node exists in the option E.
  • the recursive algorithm can be used to execute the target information prompting node (ie, the option E).
  • the first information prompting node performs the corresponding processing operation for the same information processing request, that is, the prompt information of the change in the option C in the target information prompting node is processed, and if two prompt information are verified in the option C, the option E may be The above two prompt information of option C is included. If a prompt message is added to option C, a prompt message may be added to option E.
  • association relationship between the information prompting nodes may also be that when the related data of the information prompting node changes, the terminal device constructs the information prompting relationship between the information prompting nodes through the recursive algorithm, in order to visually embody the information prompting nodes.
  • the relationship relationship can be used to construct a tree structure structure information prompt relationship.
  • the embodiment of the present specification provides an information processing method.
  • the prompt information of the first information prompting node corresponding to the node identifier is processed, at the same time or after Obtaining a target information prompting node that is associated with the first information prompting node, and processing information related to the prompt information of the first information prompting node in the target information prompting node, so that only the first information prompting node is
  • the information processing request may perform corresponding processing on the target information prompting node that is associated with the first information prompting node, so that when the prompt information of the first information prompting node is processed, the associated target information prompting node is also
  • the related information is processed to achieve the purpose of dynamically adjusting the prompt information of the associated information prompting node, without requiring the server to separately instruct the terminal device to perform the change, thereby reducing the time for performing the information prompting, thereby improving the efficiency of the information prompting.
  • the embodiment of the present disclosure provides an information processing method, where the execution body of the method may be a terminal device or a server, where the terminal device may be a device such as a personal computer, or may be moved, such as a mobile phone or a tablet computer.
  • a terminal device which can be a terminal device used by a user.
  • the server may be a stand-alone server or a server cluster composed of multiple servers, and the server may be a background server of an application or a background server of a website (such as a shopping website or a network forum). Wait.
  • the method can be used for the process of prompting the information prompting of the information prompting node to perform the quick update.
  • the terminal device is taken as an example for description.
  • the related content may be processed according to the following content. Narration.
  • the method may specifically include the following steps:
  • step S302 node configuration information of the information prompting node corresponding to the preset user identifier is obtained, where the node configuration information includes location path information of the information prompting node and association information between different information prompting nodes.
  • the user identifier may be a user name, an account number, or the like used by the user when registering or logging in, or may be a device identifier of the terminal device used by the user, such as a MAC (Media Access Control) address of the terminal device, and an IP address. (Internet Protocol, the protocol of the interconnection between networks), etc., and may also be an identifier assigned by the server of the website to the user when registering or logging in to the website through the terminal device, such as a number or a name, which may be determined according to actual conditions. This embodiment of the present specification does not limit this.
  • the location path information may include the location of the information prompting node.
  • the location of the item A may be an application-item A
  • the location of the sub-item 2 may be an application-item A-sub-project 2 or the like.
  • the association information may be related information of the association relationship between the information prompting nodes, and the association relationship may include a subordinate relationship between the information prompting nodes, a membership relationship, a relationship between the parent node and the child node, and the like.
  • the node configuration information may be set in advance according to the actual situation.
  • different node configuration information may be set according to the requirements of different users, for example, the historical operation data of the user is recorded, and the user clicks are determined according to the historical operation data of the user.
  • the type of the data with a large number of times is determined, and the corresponding information prompting node is respectively determined based on the determined type. For example, if the determined type is a news type, the corresponding information prompting node may be determined to be a news or information type node.
  • the location path information in the application and the related information between the different information prompting nodes may be set by the user or the technician according to the actual situation, or may be dynamically adjusted according to the different demand information of the user by the server or the like, and the embodiment of the present specification is This is not limited.
  • the server may obtain the association information between the location path information and the different information prompting nodes (specifically, the user or the technical personnel may input through the corresponding application, or may obtain the result of the server dynamic adjustment, etc.), and the location path may be used.
  • the information and the different information prompting the association information between the nodes to generate the node configuration information, and the node configuration information may be stored corresponding to the user identifier of the user.
  • the terminal device can obtain the generated node configuration information from the server through a preset program interface.
  • the preset program interface may be an RPC (Remote Procedure Call Protocol) interface. Therefore, the terminal device can obtain node configuration information of the information prompting node corresponding to the preset user identifier.
  • the manner in which the terminal device obtains the node configuration information from the server may include multiple types.
  • the following two methods are provided, which may include the following manners 1 and 2.
  • the terminal device pulls the node configuration information of the information prompting node corresponding to the preset user identifier from the server.
  • the terminal device may search for the corresponding node configuration information in the node configuration information pre-stored in the server by using the user identifier, and may use the preset node configuration information to pass the preset program.
  • An interface (such as an RPC interface) is pulled from the server to the terminal device.
  • the terminal device receives the node configuration information of the information prompting node corresponding to the preset user identifier sent by the server.
  • the server when the server sends the data corresponding to the data acquisition request sent by the terminal device to the terminal device, the server may obtain the user identifier in the data acquisition request, and the user identifier may be used from the pre-stored node configuration information.
  • the corresponding node configuration information is searched, and then the found node configuration information is pushed to the program interface of the terminal device, and the terminal device can receive the node configuration information from the program interface.
  • step S304 the information presentation relationship between the information presentation nodes is constructed based on the location information and the different information prompting the association information between the nodes.
  • the information prompt relationship may include an association relationship between the information prompting nodes and the prompt information.
  • the information prompt relationship can be presented in various ways.
  • the information prompt relationship can be presented in the form of a table, wherein the table can include a plurality of different items for recording different information, and information in different items can correspond to each other.
  • the information prompt relationship may also be presented in the form of a tree structure, as shown in FIG. 4, the information prompt relationship of the tree structure, including the root node, option A, option B, option C, option D, option E, and option F, respectively.
  • the options can all be informational nodes.
  • the information prompt relationship is presented in the form of a tree structure.
  • the recursive algorithm has the advantages of clear structure and strong readability, it is easy to use mathematical induction to prove the correctness of the recursive algorithm.
  • the recursive algorithm can easily express the association relationship between the information cue nodes in the database into a tree structure. Therefore, the recursive algorithm can be used to construct the above information cue relationship.
  • the root node is an application
  • the option C and the option E also have corresponding information prompts, so that the information prompting node that needs to prompt the information includes the option E, Option D and option C.
  • the association information between the nodes may be prompted according to different information to establish the tree structure information.
  • the prompt relationship (for the convenience of subsequent description, may be simply referred to as the information prompt relationship tree).
  • the terminal device may extract the content, and prompt the association information between the nodes based on the location path information and different information.
  • the information prompt relationship tree with a certain hierarchical relationship can be gradually built in the cache or the memory until a complete information prompt relationship tree is obtained, so that the information prompting node that needs information prompting is used for subsequent dynamic update.
  • the information prompting node that needs to prompt the information to the user can be clearly understood, or which information prompts the node to have updated information.
  • the information when the information prompting is performed, the information may be implemented in various manners. For example, a red dot may be displayed in a designated area of the corresponding information prompting node, or the updated information may be displayed in a designated area of the corresponding information prompting node.
  • the number such as 15 or 20, or the like, may also display a circle in a designated area of the corresponding information prompting node, and the number of updated information is set in the circle, etc., the embodiment of the present specification does not do how to perform information prompting. limited.
  • the processing of the foregoing step S302 and the step S304 may be triggered when the data or related state of any information prompting node (such as the first information prompting node) of the information prompting node changes, and is executed by calling a preset recursive algorithm.
  • the process of the process that is, the process performed after the step S306, may be the process that the terminal device actively performs by calling the preset recursive algorithm after the server is logged in. This embodiment of the present disclosure does not limit this.
  • the recursive algorithm may be invoked to adjust the first information prompting node, and the relationship with the first information prompting node is associated.
  • the related information of the target information prompting node may specifically include the following steps S306 to S312.
  • step S306 the terminal device receives an information processing request sent by the server.
  • the business party system and the information prompting system can interact by sending event information.
  • the service server can obtain updated data (ie, the first information prompt node)
  • the data of the node corresponding to the updated data and the user identifier may generate event information (ie, an information processing request) through the above information, and then the information processing request may be sent to the server.
  • event information ie, an information processing request
  • the service server 1 corresponding to the service 1 and the service server 2 corresponding to the service 2 can respectively generate corresponding information processing requests and process the information processing request. Sent to the server.
  • the server can detect whether the user corresponding to the user identifier is online. If the user is not online, the information processing request can be cached in the server. If the user is online, the connection between the terminal device and the server can be established. After the message, the server can send the information processing request to the terminal device. The terminal device can receive the information processing request sent by the server.
  • step S308 the terminal device stores the data of the first information prompting node, and performs information prompting at the first information prompting node.
  • the terminal device may store the data of the first information prompting node according to the content structure in the node configuration information, for example, the information corresponding to the data of the first information prompting node may be acquired. Prompting the information of the node (such as the node identifier, etc.), and then searching for the first information prompting node in the node configuration information. If found, the data of the first information prompting node may be stored in the corresponding information prompting node. region. At the same time, information prompting may also be performed at the first information prompting node. For example, a dot is displayed in the upper right corner of the information prompting node as shown in FIG. 6 to indicate that the information prompting node has updated data.
  • the processing may be implemented by a recursive algorithm. For details, refer to the following steps S310 and S312.
  • step S310 a target information prompting node having an association relationship with the first information presenting node is acquired from the information prompting relationship between the pre-built information presenting nodes.
  • the recursive algorithm may be preset in the terminal device. After the terminal device completes the processing of the foregoing step S308, the recursive algorithm may be invoked to complete the subsequent processing.
  • the first information prompt may be searched in the information prompt relationship tree. After the node ID of the node is found, the upper node of the node identifier can be searched from the information prompt relationship tree, and then the upper node of the upper node is searched, and so on, until the previous one is found.
  • the level node is the root node.
  • the terminal device may use all the upper-level information prompting nodes except the first information prompting node corresponding to the found node identifier as the target information prompting node.
  • step S312 based on the prompt information at the first information prompting node, the prompt information at the target information prompting node is updated, and the information prompting is performed at the target information prompting node.
  • step S312 For the processing of the foregoing step S312, refer to the related content of step S106 in the foregoing first embodiment, and details are not described herein again.
  • the number of data may be displayed when the information is prompted, specifically, the number of data of the target information prompting node is obtained; and the number of data of the first information prompting node is increased based on the obtained number of data, and the target information prompting node is obtained.
  • the data of each information prompting node may be verified or modified, and the corresponding processing manner may be various.
  • the following provides an optional processing manner, which may specifically include the following content: the foregoing information processing request includes modification.
  • the first information prompts the data of the node or deletes the data of the first information prompting node; according to the information processing request, processes the data of the first information prompting node, and adjusts whether the information prompting is performed at the first information prompting node, and simultaneously
  • the data of the target information prompting node is processed correspondingly, and whether the information prompting is performed at the target information prompting node is adjusted.
  • the data of the information prompting node (including the first information prompting node and the target information prompting node) needs to be written off
  • the data can be implemented in two ways, that is, through server verification and terminal equipment verification, wherein,
  • the server verification may be: the service server sends an information processing request for deleting the message. After receiving the information processing request, the server may delete the data of the corresponding information prompting node; the terminal device verification may be: the terminal device may send and delete through the program interface.
  • the information processing request of the message thereby verifying the data of the corresponding information prompting node.
  • For the processing of modifying the data of the information prompting node refer to the above-mentioned verification processing, and details are not described herein again.
  • the terminal device may pre-record the number of received information processing requests.
  • the server sends a message prompt request to the terminal device, and the terminal device may process the recorded information request.
  • the number is increased by 1.
  • the server sends an information deletion request to the terminal device, and the terminal device can decrement the number of recorded information processing requests by one.
  • the terminal device clears the number of the received information processing requests.
  • the embodiment of the present specification provides an information processing method.
  • the prompt information of the first information prompting node corresponding to the node identifier is processed, at the same time or after Obtaining a target information prompting node that is associated with the first information prompting node, and processing information related to the prompt information of the first information prompting node in the target information prompting node, so that only the first information prompting node is
  • the information processing request may perform corresponding processing on the target information prompting node that is associated with the first information prompting node, so that when the prompt information of the first information prompting node is processed, the associated target information prompting node is also
  • the related information is processed to achieve the purpose of dynamically adjusting the prompt information of the associated information prompting node, without requiring the server to separately instruct the terminal device to perform the change, thereby reducing the time for performing the information prompting, thereby improving the efficiency of the information prompting.
  • the embodiment of the present disclosure provides an information processing method, which may be jointly performed by a terminal device and a server, where the terminal device may be a device such as a personal computer, or may be a mobile terminal such as a mobile phone or a tablet computer.
  • the server may be a stand-alone server or a server cluster composed of multiple servers, and the server may be a background server of an application or a background server of a website (such as a shopping website or a network forum). Wait.
  • the method can be used in the process of quickly updating the information prompting node that needs to prompt the information, or quickly determining the relationship between the information prompting nodes.
  • the method may specifically include the following steps:
  • step S702 the server acquires node information corresponding to the preset user identifier, where the node information includes related information and predetermined service information between different nodes corresponding to the user identifier.
  • the services or information that different users pay attention to are often different.
  • the services that the user A pays attention to include the clothing, the furniture building materials, the home textile decoration, and the like, and the service that the user B pays attention to.
  • the data of a certain service that is, the predetermined service information
  • the information of the service to which the update data and the update data belong ie, the predetermined service information
  • the related information corresponding to the user identifier may be used to generate the node information, and the node information may be stored corresponding to the user identifier, thereby The server can obtain node information corresponding to the preset user identifier.
  • the foregoing node information may include a preset identifier that is preset in the application, and the control identifier may be a name, an encoding, or the like of the control, for example, a selected control, a financial control, an asset control, or a P100.
  • step S704 the server prompts the association information between the nodes and the predetermined service information according to the different information corresponding to the user identifier, and determines the location path information of the information prompting node that needs to perform the information prompting.
  • the relationship between the different information prompting nodes may be determined based on different information corresponding to the user identifier of the user, and may be determined as shown in FIG. 3 .
  • the information prompting node of the corresponding application may be determined according to the information of the service to which the update data belongs (ie, the predetermined service information). Then, the location information of the one or more information prompting nodes may be determined according to the relationship between the nodes identified by the different information determined above. For example, option D - Option C - Option E in Figure 3, etc.
  • step S706 the server prompts the location path information of the node and the node information according to the information prompting information, and generates node configuration information of the information prompting node corresponding to the preset user identifier.
  • the node configuration information can be obtained through the above steps S702 to S706. Since the content of the user may be different in different periods, the node configuration information needs to be modified and updated in time, so that the information can be provided to the user more accurately.
  • the prompting service provides a processing method for updating the node configuration information, which may include the following steps S708 and S710.
  • step S708 the server acquires the location path information of the predetermined information prompting node and/or the association information with the predetermined information prompting node.
  • the server when the server detects a change in the service that the user is concerned about (for example, the user adds a service that needs attention, the user cancels the attention to a certain service, or the user modifies the related content of the focused service, etc.), the server The predetermined information prompting node corresponding to the corresponding service may be obtained, and the association information with the predetermined information prompting node and/or the location path information of the predetermined information prompting node may be determined, for example, the server may obtain the situation that the user needs to pay attention to the service.
  • a change in the service that the user is concerned about for example, the user adds a service that needs attention, the user cancels the attention to a certain service, or the user modifies the related content of the focused service, etc.
  • the predetermined information corresponding to the service prompts the node, and determines association information with the predetermined information prompting node and/or location path information of the predetermined information prompting node; if the user cancels the attention to a certain service, the server may acquire the service.
  • Corresponding predetermined information prompting node and acquiring, from the node configuration information obtained above, the association information with the predetermined information prompting node and/or the location path information of the predetermined information prompting node; modifying the related content of the focused service for the user Situation, the server can get repaired Content corresponding to the predetermined node information presentation, can be based on the acquired predetermined information presentation node, determining the location information associated with the path information and / or the predetermined node information presentation information presentation between the predetermined node.
  • step S710 the server updates the node configuration information by prompting the location path information of the node and/or the association information with the predetermined information prompting node according to the predetermined information.
  • the server may add the obtained location information of the predetermined information prompting node and the association information with the predetermined information prompting node to the node configuration information obtained in step S706.
  • the updated node configuration information is obtained; if the user cancels the attention to a certain service, the server may prompt the obtained reservation information to the location path information of the node and the node with the predetermined information.
  • the associated information is deleted from the node configuration information obtained in step S706 to update the node configuration information.
  • the server may prompt the location path information of the node according to the obtained predetermined information.
  • the association information with the predetermined information presentation node the corresponding content in the node configuration information obtained in step S706 is adjusted, and the adjusted node configuration information is the updated node configuration information.
  • the node configuration information may include, for example, information prompt aging type (such as persistent or temporary type), information prompt style (such as dots and/or numbers and/or characters, etc.).
  • information prompt aging type such as persistent or temporary type
  • information prompt style such as dots and/or numbers and/or characters, etc.
  • cancellation of the information prompting strategy such as click cancellation or timeout cancellation, etc., may be determined according to the actual situation, and the embodiment of the present specification does not limit this.
  • the node configuration information or the updated node configuration information is mainly used for the processing of the information prompt. Therefore, the following describes how to perform the information prompting based on the node configuration information. For details, refer to the following steps S712 to S724.
  • step S712 the terminal device pulls the node configuration information of the information prompting node corresponding to the preset user identifier from the server.
  • step S714 the server receives an information processing request sent by the service server including the data of the first information prompting node.
  • step S716 the server transmits the above information processing request to the terminal device.
  • step S718 the terminal device prompts the association information between the nodes according to the location path information and the different information, and constructs an information prompt relationship between the information prompting nodes.
  • step S720 the terminal device stores the data of the first information prompting node, and performs information prompting at the first information prompting node.
  • step S718 and the step S720 may be performed at the same time, or the step S720 may be performed first, and then the step S718 is performed, which is not limited in the embodiment of the present specification.
  • step S722 the terminal device acquires the target information prompting node that is associated with the first information prompting node from the information prompting relationship between the pre-built information prompting nodes.
  • step S724 based on the prompt information at the first information prompting node, the prompt information at the target information prompting node is updated, and the information prompting is performed at the target information prompting node.
  • the embodiment of the present specification provides an information processing method.
  • the prompt information of the first information prompting node corresponding to the node identifier is processed, at the same time or after Obtaining a target information prompting node that is associated with the first information prompting node, and processing information related to the prompt information of the first information prompting node in the target information prompting node, so that only the first information prompting node is
  • the information processing request may perform corresponding processing on the target information prompting node that is associated with the first information prompting node, so that when the prompt information of the first information prompting node is processed, the associated target information prompting node is also
  • the related information is processed to achieve the purpose of dynamically adjusting the prompt information of the associated information prompting node, without requiring the server to separately instruct the terminal device to perform the change, thereby reducing the time for performing the information prompting, thereby improving the efficiency of the information prompting.
  • an information processing method provided by an embodiment of the present specification is described in detail in conjunction with a specific application scenario, and the corresponding application scenario is an application scenario of an application information prompt, wherein the application program may be any application program.
  • the information prompt can be in various ways.
  • the dot is displayed on the information prompting node as an example.
  • the inside of the dot can be filled with a certain color, for example, red (may be called red dot) or black (such as As shown in FIG. 2 or FIG.
  • the red dot is taken as an example, and the information prompting node may be an application control in the application, such as a button, a hyperlink, or a picture link, and the node configuration information may be configured as a red dot.
  • Information, information that needs to be prompted for information The location path information of the node may be the location path information of the red dot to be displayed, the information prompt relationship may be a red dot generation tree, and the node information may be red dot information.
  • the embodiment of the present disclosure provides an information processing method, which may be jointly performed by a terminal device and a server, where the terminal device may be a device such as a personal computer, or may be a mobile terminal such as a mobile phone or a tablet computer.
  • the terminal device may be a device such as a personal computer, or may be a mobile terminal such as a mobile phone or a tablet computer.
  • the server can be a stand-alone server or a server cluster consisting of multiple servers, and the server can be a background server for an application.
  • the method may specifically include the following steps:
  • step S802 the server acquires red dot information corresponding to the preset user identifier, where the red dot information includes association information and predetermined service information between different application controls corresponding to the user identifier.
  • step S804 the server determines the location path information of the red dot to be displayed according to the association information between the different application controls corresponding to the user identifier and the predetermined service information.
  • step S806 the server generates red dot configuration information of the application control corresponding to the preset user identifier according to the location path information of the red dot to be displayed and the red dot information.
  • the content of the steps S802 to S806 is the same as the content of the steps S702 to S706 in the third embodiment, and the specific processing of the steps S802 to S806 can be referred to the related content of the above steps S702 to S706. Narration.
  • the red dot configuration information can be obtained through the above steps S802 to S806. Since the user's attention content may be different in different periods, the red dot configuration information needs to be modified and updated in time, so that the user can be more accurately The information prompting service is provided. For this reason, the processing method for updating the red dot configuration information is provided in the embodiment, which may specifically include the following: the server obtains the location path information of the predetermined application control and/or the association with the predetermined application control. The server updates the red dot configuration information according to the location path information of the predetermined application control and/or the association information with the predetermined application control.
  • the red dot configuration information or the updated red dot configuration information is mainly used for the processing of the information prompt. Therefore, the following describes how to perform the information prompting based on the red dot configuration information. For details, refer to the following steps S808 to S820.
  • step S808 after the terminal device establishes a connection with the server, the terminal device pulls the red dot configuration information of the application control corresponding to the preset user identifier from the server.
  • the user can log in to the server through the user name and password, and send a data acquisition request to the server of the application through the terminal device, and the server can send the corresponding data to the terminal device.
  • the terminal device can search for the corresponding node configuration information in the node configuration information pre-stored in the server by using the user identifier, and can use the JSON (JavaScript Object Notation, JavaScript object tag) through the RPC interface by using the found node configuration information.
  • the protocol is pulled from the server to the terminal device.
  • step S810 the server receives an information processing request sent by the service server including the data of the first application control.
  • the business party system and the information prompting system can interact by sending event information.
  • the service server may obtain data of the first application control, an application control identifier of the first application control, and a user identifier, etc., and may generate an information processing request by using the foregoing information. The information processing request can then be sent to the server.
  • step S812 the server transmits the above information processing request to the terminal device.
  • step S814 the terminal device constructs a red dot generation tree according to the location path information and the association information between different application controls based on the predetermined recursive algorithm.
  • the terminal device after the terminal device obtains the red dot configuration information, the content can be extracted, and based on the location path information and the association information between different application controls, the terminal device can be in accordance with the LRU (Least Recently Used) principle.
  • LRU Least Recently Used
  • step S816 the terminal device stores data of the first application control and displays a red dot at the first application control.
  • step S818 the terminal device acquires a target application control that is associated with the first application control from the pre-built red dot generation tree based on a predetermined recursive algorithm.
  • step S820 based on the red dot at the first application control and the predetermined recursive algorithm, the red dot at the target application control is updated, and a red dot is displayed at the target application control.
  • the number of data can be displayed when the information is prompted, specifically, the sum of the data amounts of the sub-controls of the target application control;
  • the predetermined position is used to prompt the information and display the sum of the data quantities of the sub-controls of each level.
  • the data of each service can be written off, modified or added, and the prompt information of the target application control can be processed according to the content of the information processing request, and the red point of the target application control is adjusted.
  • the terminal device clears the number of the recorded prompt information and cancels the display of the red dot.
  • the embodiment of the present specification provides an information processing method.
  • the prompt information of the first information prompting node corresponding to the node identifier is processed, at the same time or after Obtaining a target information prompting node that is associated with the first information prompting node, and processing information related to the prompt information of the first information prompting node in the target information prompting node, so that only the first information prompting node is
  • the information processing request may perform corresponding processing on the target information prompting node that is associated with the first information prompting node, so that when the prompt information of the first information prompting node is processed, the associated target information prompting node is also
  • the related information is processed to achieve the purpose of dynamically adjusting the prompt information of the associated information prompting node, without requiring the server to separately instruct the terminal device to perform the change, thereby reducing the time for performing the information prompting, thereby improving the efficiency of the information prompting.
  • the embodiment of the present specification further provides an information processing apparatus, as shown in FIG. 9.
  • the information processing apparatus includes: a request receiving module 901, a first information processing module 902, and a second information processing module 903, wherein:
  • the request receiving module 901 is configured to receive an information processing request, where the information processing request carries a node identifier
  • the first information processing module 902 is configured to process the prompt information of the first information prompting node corresponding to the node identifier according to the information processing request;
  • the second information processing module 903 is configured to acquire a target information prompting node that is associated with the first information prompting node, and information related to the prompt information of the first information prompting node in the target information prompting node. Process it.
  • the information processing request includes an information prompt request, an information modification request, or an information deletion request.
  • the information processing request is an information prompting request
  • the information prompting request further includes data of the first information prompting node
  • the first information processing module 902 is configured to store data of the first information prompting node, and perform information prompting at the first information prompting node;
  • the second information processing module 903 is configured to update the prompt information at the target information prompting node based on the prompt information at the first information prompting node, and perform information prompting at the target information prompting node.
  • the second information processing module 903 includes:
  • a data quantity obtaining unit configured to acquire a quantity of data of the target information prompting node
  • a data amount and determining unit configured to increase a quantity of data of the first information prompting node on the basis of the obtained quantity of data, and obtain a sum of data numbers of the target information prompting node;
  • a display unit configured to perform information prompting at a predetermined position of the target information prompting node, and display a sum of the quantity of the data.
  • the second information processing module 903 is configured to acquire, from an information prompt relationship between the pre-built information prompting nodes, a target information prompting node that is associated with the first information prompting node.
  • the device further includes:
  • a configuration information obtaining module configured to acquire node configuration information of the information prompting node corresponding to the preset user identifier, where the node configuration information includes location path information of the information prompting node and association information between different information prompting nodes;
  • the information prompt relationship building module is configured to construct an information prompt relationship between the information prompting nodes according to the location path information and the related information between different information prompting nodes.
  • the configuration information acquiring module is configured to pull, from the server, node configuration information of the information prompting node corresponding to the preset user identifier, or the receiving server sends a corresponding user identifier corresponding to the preset user identifier. Information about the node configuration information of the node.
  • the embodiment of the present specification provides an information processing apparatus, when receiving an information processing request carrying a node identifier, processing the prompt information of the first information prompting node corresponding to the node identifier according to the information processing request, at the same time or after Obtaining a target information prompting node that is associated with the first information prompting node, and processing information related to the prompt information of the first information prompting node in the target information prompting node, so that only the first information prompting node is
  • the information processing request may perform corresponding processing on the target information prompting node that is associated with the first information prompting node, so that when the prompt information of the first information prompting node is processed, the associated target information prompting node is also
  • the related information is processed to achieve the purpose of dynamically adjusting the prompt information of the associated information prompting node, without requiring the server to separately instruct the terminal device to perform the change, thereby reducing the time for performing the information prompting, thereby improving the efficiency of the information prompting.
  • the information processing apparatus provided in the embodiment of the present disclosure is based on the same idea.
  • the embodiment of the present specification further provides an information processing apparatus, as shown in FIG.
  • the information processing device may be the terminal device provided by the foregoing embodiment.
  • the information processing device may vary considerably depending on configuration or performance, and may include one or more processors 1001 and memory 1002 in which one or more storage applications or data may be stored.
  • the memory 1002 can be short-lived or persistent.
  • An application stored in memory 1002 may include one or more modules (not shown), each of which may include a series of computer executable instructions in an information processing device.
  • the processor 1001 can be arranged to communicate with the memory 1002 to execute a series of computer executable instructions in the memory 1002 on the information processing device.
  • the information processing device may also include one or more power sources 1003, one or more wired or wireless network interfaces 1004, one or more input and output interfaces 1005, one or more keyboards 1006.
  • the information processing device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and each A module can include a series of computer executable instructions in an information processing device, and configured to be executed by one or more processors.
  • the one or more programs are included for performing the following computer executable instructions:
  • the information processing request includes an information prompt request, an information modification request, or an information deletion request.
  • the information processing request is an information prompting request, where the information prompting request further includes data of the first information prompting node,
  • the executable instructions when executed, can also cause the processor to:
  • the information related to the prompt information of the first information prompting node in the target information prompting node is processed, including:
  • executable instructions when executed, may also cause the processor to:
  • Target Information is presented at a predetermined location of the target information prompting node, and the sum of the amounts of data is displayed.
  • executable instructions when executed, may also cause the processor to:
  • executable instructions when executed, may also cause the processor to:
  • node configuration information of the information prompting node corresponding to the preset user identifier where the node configuration information includes location path information of the information prompting node and association information between different information prompting nodes;
  • executable instructions when executed, may also cause the processor to:
  • the embodiment of the present specification provides an information processing device, when receiving an information processing request carrying a node identifier, processing, according to the information processing request, the prompt information of the first information prompting node corresponding to the node identifier, at the same time or after Obtaining a target information prompting node that is associated with the first information prompting node, and processing information related to the prompt information of the first information prompting node in the target information prompting node, so that only the first information prompting node is
  • the information processing request may perform corresponding processing on the target information prompting node that is associated with the first information prompting node, so that when the prompt information of the first information prompting node is processed, the associated target information prompting node is also
  • the related information is processed to achieve the purpose of dynamically adjusting the prompt information of the associated information prompting node, without requiring the server to separately instruct the terminal device to perform the change, thereby reducing the time for performing the information prompting, thereby improving the efficiency of the information prompting.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • computer readable program code eg, software or firmware
  • examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the system, apparatus, module or unit set forth in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • embodiments of the present specification can be provided as a method, system, or computer program product.
  • one or more embodiments of the present specification can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • one or more embodiments of the present specification can employ a computer program embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer usable program code embodied therein.
  • the form of the product is not limited to disk storage, CD-ROM, optical storage, etc.
  • Embodiments of the present specification are described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present specification. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present specification can be provided as a method, system, or computer program product.
  • one or more embodiments of the present specification can take the form of an entirely hardware embodiment, an entirely software embodiment or a combination of software and hardware.
  • one or more embodiments of the present specification can employ a computer program embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer usable program code embodied therein.
  • the form of the product is not limited to disk storage, CD-ROM, optical storage, etc.
  • One or more embodiments of the present specification can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本说明书实施例公开了一种信息处理方法、装置及设备,该方法包括:接收到信息处理请求,所述信息处理请求中携带有节点标识,依据所述信息处理请求,对节点标识对应的第一信息提示节点的提示信息进行处理,同时或者之后,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理。

Description

一种信息处理方法、装置及设备 技术领域
本申请涉及计算机技术领域,尤其涉及一种信息处理方法、装置及设备。
背景技术
随着终端技术的不断发展,终端设备中安装的应用程序的种类越来越多,应用程序的功能也越来越丰富。而随着应用程序的发展和功能的不断增加,一些功能和内容因为其具有较强的时效性,需要及时以恰当的方式提醒用户,以对用户进行信息提示处理,例如,可以在应用控件(如按键或选项等)的适当位置以红点的方式对用户进行信息提示,以增强用户的粘性。
通常的以红点的方式对用户进行信息提示的技术方案如下:用户通过用户名和密码登录应用程序的后台服务器,登录过程中,应用程序所在的终端设备和服务器之间会建立连接,建立连接成功后,服务器会获取到相应的建链消息,服务器可以将红点数据通过系统的网关发送给终端设备。当用户标识对应的红点数据发生变更时,服务器会将该红点数据推送给终端设备,终端设备在相应的应用控件的适当位置显示一个红点。然而,通过上述方式,每当某一个或多个红点数据发生变更(如红点数据被删除、被修改或增加信息的红点数据等)时,服务器需要对发生变更的红点及其相关红点逐个提供给终端设备进行更新,使得进行信息提示的效率低下,这样就需要提供更快速或者更高效的方案。
发明内容
本说明书实施例的目的是提供一种信息处理方法、装置及设备,以解决现有技术中每当某一个或多个红点数据发生变更时,服务器需要对发生变更的红点及其相关红点逐个提供给终端设备进行更新,从而使得进行信息提示的效率低下的问题。
为解决上述技术问题,本说明书实施例是这样实现的:
本说明书实施例提供的一种信息处理方法,所述方法包括:
接收信息处理请求,所述信息处理请求中携带有节点标识;
根据所述信息处理请求,对所述节点标识对应的第一信息提示节点的提示信息进行 处理;
获取与所述第一信息提示节点存在关联关系的目标信息提示节点,并对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理。
可选地,所述信息处理请求包括信息提示请求、信息修改请求或信息删除请求。
可选地,所述信息处理请求为信息提示请求,所述信息提示请求中还包括所述第一信息提示节点的数据,
所述根据所述信息处理请求,对所述节点标识对应的第一信息提示节点进行信息处理,包括:
存储所述第一信息提示节点的数据,并在所述第一信息提示节点处进行信息提示;
相应的,所述对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理,包括:
基于所述第一信息提示节点处的提示信息,更新所述目标信息提示节点处的提示信息,并在所述目标信息提示节点处进行信息提示。
可选地,所述基于所述第一信息提示节点处的提示信息,更新所述目标信息提示节点处的提示信息,并在所述目标信息提示节点处进行信息提示,包括:
获取所述目标信息提示节点的数据数量;
在获取的数据数量的基础上增加所述第一信息提示节点的数据数量,得到所述目标信息提示节点的数据数量之和;
在所述目标信息提示节点的预定位置进行信息提示,并显示所述数据数量之和。
可选地,所述获取与所述第一信息提示节点存在关联关系的目标信息提示节点,包括:
从预先构建的信息提示节点之间的信息提示关系中获取与所述第一信息提示节点存在关联关系的目标信息提示节点。
可选地,所述方法还包括:
获取与预设的用户标识相应的信息提示节点的节点配置信息,所述节点配置信息中包括所述信息提示节点的位置路径信息和不同信息提示节点间的关联信息;
根据所述位置路径信息和不同信息提示节点间的关联信息,构建所述信息提示节点 之间的信息提示关系。
可选地,所述获取与预设的用户标识相应的信息提示节点的节点配置信息,包括:
从服务器中拉取与预设的用户标识相应的信息提示节点的节点配置信息;或者,
接收服务器发送的与预设的用户标识相应的信息提示节点的节点配置信息。
本说明书实施例提供的一种信息处理装置,所述装置包括:
请求接收模块,用于接收信息处理请求,所述信息处理请求中携带有节点标识;
第一信息处理模块,用于根据所述信息处理请求,对所述节点标识对应的第一信息提示节点的提示信息进行处理;
第二信息处理模块,用于获取与所述第一信息提示节点存在关联关系的目标信息提示节点,并对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理。
可选地,所述信息处理请求包括信息提示请求、信息修改请求或信息删除请求。
可选地,所述信息处理请求为信息提示请求,所述信息提示请求中还包括所述第一信息提示节点的数据,
所述第一信息处理模块,用于存储所述第一信息提示节点的数据,并在所述第一信息提示节点处进行信息提示;
所述第二信息处理模块,用于基于所述第一信息提示节点处的提示信息,更新所述目标信息提示节点处的提示信息,并在所述目标信息提示节点处进行信息提示。
可选地,所述第二信息处理模块,包括:
数据数量获取单元,用于获取所述目标信息提示节点的数据数量;
数据量和确定单元,用于在获取的数据数量的基础上增加所述第一信息提示节点的数据数量,得到所述目标信息提示节点的数据数量之和;
显示单元,用于在所述目标信息提示节点的预定位置进行信息提示,并显示所述数据数量之和。
可选地,所述第二信息处理模块,用于从预先构建的信息提示节点之间的信息提示关系中获取与所述第一信息提示节点存在关联关系的目标信息提示节点。
可选地,所述装置还包括:
配置信息获取模块,用于获取与预设的用户标识相应的信息提示节点的节点配置信息,所述节点配置信息中包括所述信息提示节点的位置路径信息和不同信息提示节点间的关联信息;
信息提示关系构建模块,用于根据所述位置路径信息和不同信息提示节点间的关联信息,构建所述信息提示节点之间的信息提示关系。
可选地,所述配置信息获取模块,用于从服务器中拉取与预设的用户标识相应的信息提示节点的节点配置信息;或者,接收服务器发送的与预设的用户标识相应的信息提示节点的节点配置信息。
本说明书实施例提供的一种信息处理设备,所述信息处理设备包括:
处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
接收信息处理请求,所述信息处理请求中携带有节点标识;
根据所述信息处理请求,对所述节点标识对应的第一信息提示节点的提示信息进行处理;
获取与所述第一信息提示节点存在关联关系的目标信息提示节点,并对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理。
由以上本说明书实施例提供的技术方案可见,本说明书实施例通过在接收到携带有节点标识的信息处理请求时,依据该信息处理请求,对节点标识对应的第一信息提示节点的提示信息进行处理,同时或者之后,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理,这样,仅通过对第一信息提示节点的信息处理请求,就可以对与第一信息提示节点存在关联关系的目标信息提示节点执行相应的处理,使得在对第一信息提示节点的提示信息进行处理时,也将相关联的目标信息提示节点的相关信息进行处理,达到了动态调整相关联的信息提示节点的提示信息的目的,而不需要服务器分别指示终端设备进行变更,减少了进行信息提示的时间,从而提高了信息提示的效率。
附图说明
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本说明书一种信息处理方法实施例;
图2为本说明书一种应用程序的信息提示示意图;
图3为本说明书另一种信息处理方法实施例;
图4为本说明书一种树形结构的信息提示关系的示意图;
图5为本说明书一种数据更新的系统的示意图;
图6为本说明书一种应用程序的信息提示示意图;
图7为本说明书又一种信息处理方法实施例;
图8为本说明书又一种信息处理方法实施例;
图9为本说明书一种信息处理装置实施例;
图10为本说明书一种信息处理设备实施例。
具体实施方式
本说明书实施例提供一种信息处理方法、装置及设备。
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
实施例一
如图1所示,本说明书实施例提供一种信息处理方法,该方法的执行主体可以为终端设备或服务器,其中,该终端设备可以如个人计算机等设备,也可以如手机、平板电脑等移动终端设备,该终端设备可以为用户使用的终端设备。该服务器可以是独立的服 务器,也可以是由多个服务器组成的服务器集群,而且,该服务器可以是某应用程序的后台服务器,也可以是某网站(如购物网站或网络论坛等)的后台服务器等。该方法可以用于对需要进行信息提示的信息提示节点进行快速更新等处理中,本实施例中以终端设备为例进行说明,对于服务器的情况,可以根据下述相关内容处理,在此不再赘述。该方法具体可以包括以下步骤:
在步骤S102中,接收信息处理请求,该信息处理请求中携带有节点标识,该信息处理请求是用于处理信息提示节点处的提示信息的请求。
其中,节点标识可以是由服务器或终端设备为信息提示节点分配的编码、名称等,节点标识用于可以唯一确定相应的信息提示节点的信息,在实际应用中,可以使用不同的字符串作为节点标识。信息提示节点可以是信息的存储节点,并在存储的信息发生变化时,可以在该信息提示节点处进行信息提示的节点,在实际应用中,信息提示节点可以是应用程序中的应用控件,此外,还可以使用相应的字段来表达信息提示节点的属性,例如,“content”字段表示信息提示节点的内容,“style”字段表示信息提示节点进行信息提示时需要显示为数字、文字和红点等中的一种或多种等。信息提示节点的位置可以根据实际需要进行设置,例如,某应用程序的首页面中包括项目A、项目B和项目C三个可选项,其中项目A中包括子项目1和子项目2两个可选项,子项目1中包括数据a和数据b,则信息提示节点可以包括项目A、项目B、项目C、子项目1和子项目2等,当数据a和/或数据b发生变化(如数据被删除、修改或增加新数据等)时,可以在子项目1处进行信息提示,另外,由于项目A是子项目1的上一级信息提示节点,则也可以在项目A处进行信息提示,这样,当用户打开该应用程序的首页面后,会看到项目A处的信息提示,当用户点击项目A可选项进入相应的页面后,又会看到子项目1处的信息提示,当用户点击子项目1可选项进入相应的页面后,可以看到发生变化的数据。提示信息可以是对用户进行提示的信息,提示信息可以包括多种实现方式,例如以文字的形式实现、以数字的形式实现或以文字和数字相结合的形式实现等。信息处理请求可以包括多种对信息进行处理的请求,例如,删除信息的请求或修改信息的请求等,本说明书实施例中的信息处理请求可以是任意请求。
在实施中,终端设备中可以安装有某应用程序,如理财类应用程序或即时通讯应用程序等,当用户启动该应用程序后,终端设备可以从服务器中获取该应用程序的相关数据,其中包括相关页面的数据,如图2所示,终端设备可以显示相关页面,该页面中可以包括多个可选项,每个可选项可以作为一个信息提示节点,如图2中的选项1、选项 2和选项3等。在某一个或多个可选项上可以进行信息提示,进行信息提示的方式可以包括多种,例如在信息提示节点的指定位置显示圆点,且该圆点内部可以某种颜色填充,例如,红色(可称为红点)或黑色等,如图中的选项2、选项3和选项5,或者,圆点内部还可以包括数字和/或文字等。当用户需要查看某可选项中进行信息提示的相关信息时,可以点击该可选项(如选项2),终端设备可以获取相应的页面展示给用户,依此方式,用户最终可以查看到进行信息提示的相关信息,此时,由于信息提示作用已经完成,该应用程序可以将该可选项上的信息提示消除,为此,该应用程序可以获取相关可选项对应的节点标识(如选项2对应的节点标识等)生成信息处理请求,终端设备可以接收到该信息处理请求。
或者,当服务器需要更新某可选项中的信息(包括删除某可选项中的信息、增加某可选项中的信息和修改某可选项中的信息等)时,可以获取更新的信息以及相关信息提示节点的节点标识生成信息处理请求,可以将该信息处理请求发送给终端设备,从而终端设备可以接收到该信息处理请求。
在步骤S104中,根据上述信息处理请求,对上述节点标识对应的第一信息提示节点的提示信息进行处理。
在实施中,终端设备中可以存储有节点标识与信息提示节点之间的对应关系,该对应关系可以表格的形式存储,可以如表1所示。
表1
节点标识 信息提示节点
节点1 选项A
节点2 选项B
节点3 选项C
终端设备获取到信息处理请求后,可以提取其中携带的节点标识,通过该节点标识,可以从预先存储中如表1所示的对应关系中查找该节点标识对应的信息提示节点,例如,信息处理请求中携带的节点标识为节点3,则通过上述表1的对应关系,可以确定节点3对应的信息提示节点为选项C(即第一信息提示节点)。得到第一信息提示节点后,可以根据信息处理请求中的内容对第一信息提示节点的提示信息进行相应的处理,例如,信息处理请求为请求将第一信息提示节点中的两个提示信息删除,则终端设备可以将第一信息提示节点中的上述两个提示信息删除,并更新第一信息提示节点的信息提示 数目,如第一信息提示节点包括5个提示信息,删除上述两个提示信息后,第一信息提示节点的信息提示数目变为3。再例如,信息处理请求为请求对第一信息提示节点进行信息提示,则终端设备可以将相应的提示信息设置在第一信息提示节点上,并更新第一信息提示节点的信息提示数目。
在步骤S106中,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理。
其中,关联关系可以是表征两个信息提示节点之间存在某种联系的信息,关联关系可以包括信息提示节点之间的上下级关系、隶属关系、父节点与子节点的关系等。与提示信息相关的信息可以是第一信息提示节点的上级信息提示节点的信息,其中,第一信息提示节点的上级信息提示节点的提示信息中包含第一信息提示节点的提示信息。
在实施中,应用程序中各个层次的页面之间具有一定的关联关系,例如,A页面为B页面的上一级页面,B页面为A页面的下一级页面等。由于信息提示节点可以代表某个页面中的数据,也可以代表页面中某个可选项等,因此,信息提示节点之间也会与页面一样具有一定的关联关系,例如,信息提示节点A是信息提示节点B的子节点,信息提示节点B是信息提示节点A的父节点等。由于信息提示节点之间存在关联关系,如果对某一个信息提示节点的提示信息进行处理,则与该信息提示节点存在关联关系的信息提示节点也可能会受到影响,为此,可以通过递归算法来消除上述影响,具体参见下述相关内容。
信息提示节点通常具有预先指定的位置,而对于不同的用户,需要进行信息提示的信息提示节点可能不同,这样就需要针对不同的用户,梳理得到相应的信息提示节点的关联关系。信息提示节点的关联关系可以是在用户启动应用程序时,由服务器主动发送给终端设备,也可以由终端设备主动从服务器中拉取。上述关联关系同样可以表格的形式存储,如表2所示。
表2
信息提示节点 相关联的信息提示节点
选项A
选项B 选项F
选项C 选项D和选项E
如果第一信息提示节点为选项C,则通过上述表2所示的关联关系,可以确定与选 项C存在关联关系的目标信息提示节点为选项D和选项E。此外,终端设备中还存储有各信息提示节点的父节点和子节点的相关信息,如图3所示,可以根据上述信息,得到选项C的父节点为选项E,选项C的子节点为选项D,因此,如果第一信息提示节点为选项C,则表明信息处理请求请求处理的是选项C中的相关信息,而对于其子节点选项D中并不存在与第一信息提示节点的提示信息相关的信息,可以不对选项D中的信息做任何处理。而选项E为第一信息提示节点的父节点,选项E中会存在与第一信息提示节点的提示信息相关的信息,此时,可以利用递归算法对目标信息提示节点(即选项E)执行与第一信息提示节点相同的信息处理请求相应的处理操作,即将目标信息提示节点中选项C中发生变化的提示信息进行处理,如选项C中核销了两个提示信息,则可以将选项E中包含的选项C的上述两个提示信息核销,如选项C中增加了一个提示信息,则可以在选项E中增加一个提示信息等。
需要说明的是,信息提示节点的关联关系还可以是在某信息提示节点的相关数据发生变化时,终端设备通过递归算法构建信息提示节点之间的信息提示关系,为了直观体现信息提示节点间的关联关系,可以将构建树形结构的信息提示关系。
本说明书实施例提供一种信息处理方法,通过在接收到携带有节点标识的信息处理请求时,依据该信息处理请求,对节点标识对应的第一信息提示节点的提示信息进行处理,同时或者之后,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理,这样,仅通过对第一信息提示节点的信息处理请求,就可以对与第一信息提示节点存在关联关系的目标信息提示节点执行相应的处理,使得在对第一信息提示节点的提示信息进行处理时,也将相关联的目标信息提示节点的相关信息进行处理,达到了动态调整相关联的信息提示节点的提示信息的目的,而不需要服务器分别指示终端设备进行变更,减少了进行信息提示的时间,从而提高了信息提示的效率。
实施例二
如图3所示,本说明书实施例提供一种信息处理方法,该方法的执行主体可以为终端设备或服务器,其中,该终端设备可以如个人计算机等设备,也可以如手机、平板电脑等移动终端设备,该终端设备可以为用户使用的终端设备。该服务器可以是独立的服务器,也可以是由多个服务器组成的服务器集群,而且,该服务器可以是某应用程序的后台服务器,也可以是某网站(如购物网站或网络论坛等)的后台服务器等。该方法可以用于对需要进行信息提示的信息提示节点进行快速更新等处理中,本实施例中以终端 设备为例进行说明,对于服务器的情况,可以根据下述相关内容处理,在此不再赘述。该方法具体可以包括以下步骤:
在步骤S302中,获取与预设的用户标识相应的信息提示节点的节点配置信息,该节点配置信息中包括该信息提示节点的位置路径信息和不同信息提示节点间的关联信息。
其中,用户标识可以是用户注册时或登录时使用的用户名、账号等,也可以是用户使用的终端设备的设备标识,如终端设备的MAC(Media Access Control,媒体介入控制层)地址、IP(Internet Protocol,网络之间互联的协议)地址等,还可以是用户通过终端设备注册或登录网站时,网站的服务器为该用户分配的标识,如编号或名称等,具体可以根据实际情况确定,本说明书实施例对此不做限定。位置路径信息可以包括信息提示节点的位置,例如,项目A的位置可以为应用程序-项目A,子项目2的位置可以为应用程序-项目A-子项目2等。关联信息可以是信息提示节点间的关联关系的相关信息,关联关系可以包括信息提示节点之间的上下级关系、隶属关系、父节点与子节点的关系等。
在实施中,节点配置信息可以预先根据实际情况设置,在实际应用中可以根据不同用户的需求,设置不同的节点配置信息,例如,记录用户的历史操作数据,根据用户的历史操作数据确定用户点击或查看次数较多的数据所属的类型,基于确定出的类型分别确定相应的信息提示节点,例如,确定出的类型为新闻类,则可以确定相应的信息提示节点为新闻或资讯类的节点。应用程序中的位置路径信息和不同信息提示节点间的关联信息可以由用户或技术人员根据实际情况设定,也可以由服务器等设备根据用户的不同需求信息进行动态调整得到,本说明书实施例对此不做限定。
当用户启动终端设备中安装的某应用程序后,可以使用相应的用户名和密码登录该应用程序的服务器。此时,服务器可以获取上述位置路径信息和不同信息提示节点间的关联信息(具体可以由用户或技术人员通过相应的应用程序输入,也可以获取服务器动态调整的结果等),可以使用上述位置路径信息和不同信息提示节点间的关联信息生成节点配置信息,可以将该节点配置信息与用户的用户标识对应存储。用户登录成功后或得到相应的节点配置信息后,终端设备可以通过预设的程序接口从服务器获取生成的节点配置信息。其中,预设的程序接口可以为RPC(Remote Procedure Call Protocol,远程过程调用协议)接口等。从而,终端设备可以得到与预设的用户标识相应的信息提示节点的节点配置信息。
此外,终端设备从服务器获取节点配置信息的方式可以包括多种,以下提供两种可选的处理方式,具体可以包括以下方式一和方式二。
方式一,终端设备从服务器中拉取与预设的用户标识相应的信息提示节点的节点配置信息。
在实施中,用户通过其用户名和密码登录上述应用程序的服务器后,可以向该应用程序的服务器发送数据获取请求,服务器可以将相应的数据发送给终端设备,终端设备可以显示该数据。此外,为了对各信息提示节点进行信息提示,终端设备可以通过用户标识,在服务器中预先存储的节点配置信息中查找相应的节点配置信息,并可以将查找到的节点配置信息通过预设的程序接口(如RPC接口等),从服务器中拉取到终端设备中。
方式二,终端设备接收服务器发送的与预设的用户标识相应的信息提示节点的节点配置信息。
在实施中,服务器将终端设备发送的数据获取请求对应的数据发送给终端设备的同时或者之后,服务器可以获取数据获取请求中的用户标识,通过该用户标识,可以从预先存储的节点配置信息中查找相应的节点配置信息,然后将查找到的节点配置信息推送至终端设备的程序接口,终端设备可以从该程序接口接收节点配置信息。
在步骤S304中,根据上述位置路径信息和不同信息提示节点间的关联信息,构建信息提示节点之间的信息提示关系。
其中,信息提示关系可以包括各信息提示节点生成提示信息之间的关联关系等。信息提示关系可以通过多种方式展现,例如,信息提示关系可以以表格的形式展现,其中该表格中可以包括多个不同的项目,用于记录不同的信息,不同的项目中的信息可以相互对应。信息提示关系也可以以树形结构的形式展现,如图4为树形结构的信息提示关系,其中包括根节点、选项A、选项B、选项C、选项D、选项E和选项F,上述各选项都可以是信息提示节点。
在实施中,以信息提示关系以树形结构的形式展现为例,考虑到递归算法具有结构清晰、可读性强等优点,而且很容易使用数学归纳法来证明递归算法的正确性,此外,通过递归算法可以很容易的将数据库中的信息提示节点间的关联关系表达成树形结构的形式,因此可以使用递归算法实现上述信息提示关系的构建。如图4所示,如果根节点为应用程序,当选项D中的信息发生变化时,选项C和选项E也会有相应的信息提 示,这样,需要进行信息提示的信息提示节点包括选项E、选项D和选项C。为了全面了解各信息提示节点之间的关系,以及各信息提示节点的位置,而且,也为了方便后续对信息提示节点进行更新,可以根据不同信息提示节点间的关联信息,建立树形结构的信息提示关系(为了后续描述方便,可简称为信息提示关系树),具体地,终端设备获取到节点配置信息后,可以提取中的内容,基于其中的位置路径信息和不同信息提示节点间的关联信息,可以在缓存或内存中逐步构建具有一定层级关系的信息提示关系树,直到得到一棵完整的信息提示关系树,以供后续动态更新需要进行信息提示的信息提示节点使用。
通过树形结构的信息提示关系可以清楚的了解到对该用户需要进行信息提示的信息提示节点,或者,哪些信息提示节点存在更新的信息。其中,在进行信息提示时,可以以多种方式实现,例如,可以在相应的信息提示节点的指定区域显示一个红点,或者,也可以在相应的信息提示节点的指定区域显示更新的信息的数目,如15或20等,或者,也可以在相应的信息提示节点的指定区域显示一个圆圈,在该圈圈中设置有更新的信息的数目等,本说明书实施例对如何进行信息提示不做限定。
上述步骤S302和步骤S304的处理过程,可以是在信息提示节点的中任一信息提示节点(如第一信息提示节点)的数据或相关状态发生变化时触发,并通过调用预设的递归算法执行的处理过程,即在下述在步骤S306之后执行的处理过程,也可以是在登录服务器后,终端设备通过调用预设的递归算法主动执行的处理过程,本说明书实施例对此不做限定。
当信息提示节点的中任一信息提示节点(如第一信息提示节点)的数据或相关状态发生变化时,可以调用递归算法调整第一信息提示节点,以及与第一信息提示节点存在关联关系的目标信息提示节点的相关提示信息,具体可以包括以下步骤S306~步骤S312。
在步骤S306中,终端设备接收服务器发送的信息处理请求。
在实施中,为了降低不同系统之间的耦合,业务方系统与信息提示系统之间可以通过发送事件信息的方式交互。具体地,当某一项或多项业务中存在数据更新(如理财业务中,用户关注的某项理财业务增加了新数据等)时,业务服务器可以获取更新的数据(即第一信息提示节点的数据)、该更新的数据对应的节点标识和用户标识,可以通过上述信息生成事件信息(即信息处理请求),然后,可以将该信息处理请求发送给服务器。例如,如图5所示,当业务1和业务2中都存在数据更新时,业务1对应的业务服 务器1和业务2对应的业务服务器2可以分别生成相应的信息处理请求,并将信息处理请求发送给服务器。
服务器可以检测上述用户标识对应的用户是否在线,如果用户不在线,则可以将该信息处理请求缓存在服务器中,如果用户在线,则可以建立终端设备与服务器之间的连接,在获取到建链消息后,服务器可以将该信息处理请求发送给终端设备。终端设备可以接收到服务器发送的信息处理请求。
在步骤S308中,终端设备存储第一信息提示节点的数据,并在第一信息提示节点处进行信息提示。
在实施中,终端设备接收到第一信息提示节点的数据后,可以按照节点配置信息中的内容结构存储该第一信息提示节点的数据,例如,可以获取第一信息提示节点的数据对应的信息提示节点的信息(如节点标识等),然后,可以在节点配置信息中查找第一信息提示节点,如果查找到,可以将第一信息提示节点的数据存储在与查找到的信息提示节点相应的区域。同时,还可以在第一信息提示节点处进行信息提示,例如,如图6所示的信息提示节点的右上角显示一个圆点,以表明信息提示节点存在更新的数据。
对于与第一信息提示节点相关联的目标信息提示节点的获取,以及对目标信息提示节点进行信息提示的处理可以通过递归算法实现,具体可以参见下述步骤S310和步骤S312。
在步骤S310中,从预先构建的信息提示节点之间的信息提示关系中获取与第一信息提示节点存在关联关系的目标信息提示节点。
在实施中,终端设备中可以预先设置有递归算法,当终端设备完成上述步骤S308的处理后,可以调用上述递归算法完成后续处理,具体地,可以在上述信息提示关系树中查找第一信息提示节点的节点标识,查找到后,可以从信息提示关系树中查找该节点标识的上一级节点,然后,再查找该上一级节点的上一级节点,以此类推,直到查找的上一级节点为根节点为止。终端设备可以将查找到的节点标识对应的第一信息提示节点外的所有上一级信息提示节点作为目标信息提示节点。
在步骤S312中,基于上述第一信息提示节点处的提示信息,更新目标信息提示节点处的提示信息,并在目标信息提示节点处进行信息提示。
上述步骤S312的处理过程可以参见上述实施例一中的步骤S106的相关内容,在此不再赘述。
需要说明的是,还可以在信息提示时显示数据数量,具体地,获取目标信息提示节点的数据数量;在获取的数据数量的基础上增加第一信息提示节点的数据数量,得到目标信息提示节点的数据数量之和;在目标信息提示节点的预定位置进行信息提示,并显示数据数量之和。例如,如图6所示的信息提示节点的右上角显示一个圆点,并可以在圆点中显示该信息提示节点的各级子节点的数据数量之和,如20或30等。
此外,还可以对各信息提示节点的数据进行核销或修改等操作,相应的处理方式可以多种多样,以下提供一种可选的处理方式,具体可以包括以下内容:上述信息处理请求包括修改第一信息提示节点的数据或删除第一信息提示节点的数据;根据该信息处理请求,对第一信息提示节点的数据进行处理,并对第一信息提示节点处是否进行信息提示进行调整,同时,对目标信息提示节点的数据进行相应处理,并对目标信息提示节点处是否进行信息提示进行调整。
在实施中,如果需要对信息提示节点(包括第一信息提示节点和目标信息提示节点)的数据进行核销,可以通过两种方式实现,即通过服务器核销和终端设备核销,其中,通过服务器核销可以为:业务服务器发送删除消息的信息处理请求,服务器接收到该信息处理请求后,可以将相应信息提示节点的数据删除;终端设备核销可以为:终端设备可以通过程序接口发送删除消息的信息处理请求,从而核销相应信息提示节点的数据。对于修改信息提示节点的数据的处理,可以参见上述核销的处理,在此不再赘述。
需要说明的是,终端设备可以预先记录接收到的信息处理请求的数量,每当业务服务器中存在更新的数据时,服务器会向终端设备发送一次信息提示请求,终端设备可以将记录的信息处理请求的数量加1。每当从业务服务器中删除某数据时,服务器会向终端设备发送一次信息删除请求,终端设备可以将记录的信息处理请求的数量减1。当用户点击进行信息提示的信息提示节点时,终端设备将记录接收到的信息处理请求的数量清0。
本说明书实施例提供一种信息处理方法,通过在接收到携带有节点标识的信息处理请求时,依据该信息处理请求,对节点标识对应的第一信息提示节点的提示信息进行处理,同时或者之后,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理,这样,仅通过对第一信息提示节点的信息处理请求,就可以对与第一信息提示节点存在关联关系的目标信息提示节点执行相应的处理,使得在对第一信息提示节点的提示信息进行处理时,也将相关联的目标信息提示节点的相关信息进行处理,达到了动态调整相关联的 信息提示节点的提示信息的目的,而不需要服务器分别指示终端设备进行变更,减少了进行信息提示的时间,从而提高了信息提示的效率。
实施例三
如图7所示,本说明书实施例提供一种信息处理方法,该方法可以由终端设备和服务器共同执行,其中,该终端设备可以如个人计算机等设备,也可以如手机、平板电脑等移动终端设备,该终端设备可以为用户使用的终端设备。该服务器可以是独立的服务器,也可以是由多个服务器组成的服务器集群,而且,该服务器可以是某应用程序的后台服务器,也可以是某网站(如购物网站或网络论坛等)的后台服务器等。该方法可以用于对需要进行信息提示的信息提示节点进行快速更新或信息提示节点间的关系的快速确定等处理中。该方法具体可以包括以下步骤:
在步骤S702中,服务器获取与预设的用户标识相应的节点信息,该节点信息中包括该用户标识对应的不同信息提示节点间的关联信息和预定业务信息。
在实施中,在某应用程序中,不同的用户关注的业务或信息往往不同,例如,购物的应用程序中,用户A关注的业务包括服装、家具建材和家纺家饰等,用户B关注的业务包括数码产品和家用电器等,其中用户关注的业务或信息的获取,可以通过该用户收藏的信息或浏览的历史数据等实现。基于上述内容可知,当某个业务的数据(即预定业务信息)更新时,可以确定更新的数据属于哪一个业务,例如,如果服务器中更新了某手机的销售信息,则可以确定手机所属的业务为数码产品。可以使用更新数据和更新数据所属的业务的信息(即预定业务信息),以及该用户标识对应的不同信息提示节点间的关联信息生成节点信息,并可以将该节点信息与用户标识对应存储,从而,服务器可以获取到与预设的用户标识相应的节点信息。
需要说明的是,上述节点信息可以包括应用程序中预先设置的控件标识,该控件标识可以是控件的名称、编码等,例如,精选控件、理财控件、资产控件或P100等。
在步骤S704中,服务器根据上述用户标识对应的不同信息提示节点间的关联信息和该预定业务信息,确定需要进行信息提示的信息提示节点的位置路径信息。
在实施中,可以基于用户的用户标识对应的不同信息提示节点间的关联信息,确定不同信息提示节点之间的关系,可以如图3所示。可以根据更新数据所属的业务的信息(即预定业务信息),确定相应的应用程序的信息提示节点。然后,可以依据上述确定出的不同信息提示节点之间的关系,确定某一个或多个信息提示节点的位置路径信 息。例如,图3中的选项D-选项C-选项E等。
在步骤S706中,服务器根据需要进行信息提示的信息提示节点的位置路径信息和上述节点信息,生成与预设的用户标识相应的信息提示节点的节点配置信息。
在实际应用中,通过上述步骤S702~步骤S706可以得到节点配置信息,由于用户不同时期的关注内容可能不同,这样就需要对节点配置信息进行及时修改、更新,从而可以更加精准的为用户提供信息提示服务,为此,本实施例中提供一种更新节点配置信息的处理方式,具体可以包括以下步骤S708和步骤S710。
在步骤S708中,服务器获取预定信息提示节点的位置路径信息和/或与该预定信息提示节点间的关联信息。
在实施中,当服务器检测到某用户所关注的业务发生变化(例如,用户增加了需要关注的业务、用户取消了对某业务的关注或用户修改了已关注业务的相关内容等)时,服务器可以获取相应业务对应的预定信息提示节点,确定与该预定信息提示节点间的关联信息和/或预定信息提示节点的位置路径信息,例如,对于用户增加了需要关注的业务的情况,服务器可以获取该业务对应的预定信息提示节点,并确定与该预定信息提示节点间的关联信息和/或预定信息提示节点的位置路径信息;对于用户取消了对某业务的关注的情况,服务器可以获取该业务对应的预定信息提示节点,并从上述得到的节点配置信息中,获取与该预定信息提示节点间的关联信息和/或预定信息提示节点的位置路径信息;对于用户修改了已关注业务的相关内容的情况,服务器可以获取修改的内容对应的预定信息提示节点,可以依据获取的预定信息提示节点,确定与该预定信息提示节点间的关联信息和/或预定信息提示节点的位置路径信息。
在步骤S710中,服务器根据上述预定信息提示节点的位置路径信息和/或与该预定信息提示节点间的关联信息,更新上述节点配置信息。
在实施中,对于用户增加了需要关注的业务的情况,服务器可以将得到的预定信息提示节点的位置路径信息和与该预定信息提示节点间的关联信息添加到上述步骤S706中得到的节点配置信息中,以对节点配置信息进行更新,得到更新后的节点配置信息;对于用户取消了对某业务的关注的情况,服务器可以将得到的预定信息提示节点的位置路径信息和与该预定信息提示节点间的关联信息从上述步骤S706中得到的节点配置信息中删除,以更新该节点配置信息;对于用户修改了已关注业务的相关内容的情况,服务器可以根据得到的预定信息提示节点的位置路径信息和与该预定信息提示节点 间的关联信息,对步骤S706中得到的节点配置信息中的相应内容进行调整,得到调整后的节点配置信息即为更新后的节点配置信息。
需要说明的是,节点配置信息中除了包括上述信息外,还可以包括如信息提示时效类型(如持久型或临时型等)、信息提示样式(如圆点和/或数字和/或文字等)和取消信息提示策略(如点击取消或超时取消等)等,具体可以根据实际情况确定,本说明书实施例对此不做限定。
由于节点配置信息或更新后的节点配置信息主要用于信息提示的处理中,因此,下面将具体说明如何基于节点配置信息进行信息提示,具体可以参见下述步骤S712~步骤S724。
在步骤S712中,终端设备从服务器中拉取与预设的用户标识相应的信息提示节点的节点配置信息。
在步骤S714中,服务器接收业务服务器发送的包括第一信息提示节点的数据的信息处理请求。
在步骤S716中,服务器将上述信息处理请求发送给终端设备。
在步骤S718中,终端设备根据上述位置路径信息和不同信息提示节点间的关联信息,构建该信息提示节点之间的信息提示关系。
在步骤S720中,终端设备存储第一信息提示节点的数据,并在第一信息提示节点处进行信息提示。
上述步骤S718和步骤S720的处理可以是同时执行,也可以是先执行步骤S720,然后再执行步骤S718,本说明书实施例对此不做限定。
在步骤S722中,终端设备从预先构建的信息提示节点之间的信息提示关系中获取与第一信息提示节点存在关联关系的目标信息提示节点。
在步骤S724中,基于上述第一信息提示节点处的提示信息,更新目标信息提示节点处的提示信息,并在目标信息提示节点处进行信息提示。
本说明书实施例提供一种信息处理方法,通过在接收到携带有节点标识的信息处理请求时,依据该信息处理请求,对节点标识对应的第一信息提示节点的提示信息进行处理,同时或者之后,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理,这样, 仅通过对第一信息提示节点的信息处理请求,就可以对与第一信息提示节点存在关联关系的目标信息提示节点执行相应的处理,使得在对第一信息提示节点的提示信息进行处理时,也将相关联的目标信息提示节点的相关信息进行处理,达到了动态调整相关联的信息提示节点的提示信息的目的,而不需要服务器分别指示终端设备进行变更,减少了进行信息提示的时间,从而提高了信息提示的效率。
实施例四
本实施例将结合具体的应用场景,对本说明书实施例提供的一种信息处理方法进行详细的阐述,相应的应用场景为应用程序的信息提示的应用场景,其中,应用程序可以为任意应用程序,信息提示可以有多种方式,本实施例中以在信息提示节点显示圆点为例进行说明,其中的圆点内部可以某种颜色填充,例如,红色(可称为红点)或黑色(如图2或图6所示)等,本实施例中以红点为例,信息提示节点可以为应用程序中的应用控件,如按键、超链接或图片链接等,节点配置信息可以为红点配置信息,需要进行信息提示的信息提示节点的位置路径信息可以为需要显示的红点的位置路径信息,信息提示关系可以为红点生成树,节点信息可以为红点信息。
如图8所示,本说明书实施例提供一种信息处理方法,该方法可以由终端设备和服务器共同执行,其中,该终端设备可以如个人计算机等设备,也可以如手机、平板电脑等移动终端设备,该终端设备可以为用户使用的终端设备。该服务器可以是独立的服务器,也可以是由多个服务器组成的服务器集群,而且,该服务器可以是某应用程序的后台服务器。该方法具体可以包括以下步骤:
在步骤S802中,服务器获取与预设的用户标识相应的红点信息,该红点信息中包括该用户标识对应的不同应用控件间的关联信息和预定业务信息。
在步骤S804中,服务器根据上述用户标识对应的不同应用控件间的关联信息和该预定业务信息,确定需要显示的红点的位置路径信息。
在步骤S806中,服务器根据需要显示的红点的位置路径信息和上述红点信息,生成与预设的用户标识相应的应用控件的红点配置信息。
上述步骤S802~步骤S806的步骤内容分别与上述实施例三中步骤S702~步骤S706的步骤内容相同,步骤S802~步骤S806的具体处理可以参见上述步骤S702~步骤S706的相关内容,在此不再赘述。
在实际应用中,通过上述步骤S802~步骤S806可以得到红点配置信息,由于用 户不同时期的关注内容可能不同,这样就需要对红点配置信息进行及时修改、更新,从而可以更加精准的为用户提供信息提示服务,为此,本实施例中提供一种更新红点配置信息的处理方式,具体可以包括以下内容:服务器获取预定应用控件的位置路径信息和/或与该预定应用控件间的关联信息;服务器根据上述预定应用控件的位置路径信息和/或与该预定应用控件间的关联信息,更新上述红点配置信息。
由于红点配置信息或更新后的红点配置信息主要用于信息提示的处理中,因此,下面将具体说明如何基于红点配置信息进行信息提示,具体可以参见下述步骤S808~步骤S820。
在步骤S808中,终端设备与服务器建立连接后,终端设备从服务器中拉取与预设的用户标识相应的应用控件的红点配置信息。
在实施中,用户可以通过其用户名和密码登陆服务器,并通过终端设备向该应用程序的服务器发送数据获取请求,服务器可以将相应的数据发送给终端设备。此时,终端设备可以通过用户标识,在服务器中预先存储的节点配置信息中查找相应的节点配置信息,并可以将查找到的节点配置信息,通过RPC接口使用JSON(JavaScript Object Notation,JavaScript对象标记)协议,从服务器中拉取到终端设备中。
在步骤S810中,服务器接收业务服务器发送的包括第一应用控件的数据的信息处理请求。
在实施中,为了降低不同系统之间的耦合,业务方系统与信息提示系统之间可以通过发送事件信息的方式交互。具体地,当某一项或多项业务中存在数据更新时,业务服务器可以获取第一应用控件的数据、第一应用控件的应用控件标识和用户标识等,可以通过上述信息生成信息处理请求,然后,可以将该信息处理请求发送给服务器。
在步骤S812中,服务器将上述信息处理请求发送给终端设备。
在步骤S814中,终端设备基于预定的递归算法,根据上述位置路径信息和不同应用控件间的关联信息,构建红点生成树。
在实施中,终端设备获取到红点配置信息后,可以提取中的内容,基于其中的位置路径信息和不同应用控件间的关联信息,可以按照LRU(Least Recently Used,最近最少使用)原则,在缓存中逐步构建具有一定层级关系的红点生成树,以供后续动态更新红点使用。
在实际应用中,可以定义一个数据结构来描述一个红点,并在该数据结构中实 现build(构建或创建)、analyse(分析)和save(保存或存储)等操作。在该数据结构的其它位置可以初始化空的根节点,这样就可以通过该根节点递归的创建和分析以及保持整个红点生成树,具体可以参考下述内容:
Figure PCTCN2018099898-appb-000001
在步骤S816中,终端设备存储第一应用控件的数据,并在第一应用控件处显示红点。
在步骤S818中,终端设备基于预定的递归算法,从预先构建的红点生成树中获取与第一应用控件存在关联关系的目标应用控件。
在步骤S820中,基于上述第一应用控件处的红点和预定的递归算法,更新目标应用控件处的红点,并在目标应用控件处显示红点。
此外,为了能够让用户及时了解各业务中更新的数据数量,可以在进行信息提示时,显示数据数量,具体地,统计目标应用控件的各级子控件的数据数量之和;在目标应用控件的预定位置进行信息提示,并显示其各级子控件的数据数量之和。
此外,还可以对各业务的数据进行核销、修改或增加等操作,可以根据上述信息处理请求的内容,对目标应用控件的提示信息进行处理,并对目标应用控件处是否显示红点进行调整。另外,当用户点击带有红点的应用控件时,终端设备将记录的提示信息的数量清0,并取消该红点的显示。
本说明书实施例提供一种信息处理方法,通过在接收到携带有节点标识的信息处理请求时,依据该信息处理请求,对节点标识对应的第一信息提示节点的提示信息进行处理,同时或者之后,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理,这样,仅通过对第一信息提示节点的信息处理请求,就可以对与第一信息提示节点存在关联关系的目标信息提示节点执行相应的处理,使得在对第一信息提示节点的提示信息进行处理时,也将相关联的目标信息提示节点的相关信息进行处理,达到了动态调整相关联的信息提示节点的提示信息的目的,而不需要服务器分别指示终端设备进行变更,减少了 进行信息提示的时间,从而提高了信息提示的效率。
实施例五
以上为本说明书实施例提供的信息处理方法,基于同样的思路,本说明书实施例还提供一种信息处理装置,如图9所示。
该信息处理装置包括:请求接收模块901、第一信息处理模块902和第二信息处理模块903,其中:
请求接收模块901,用于接收信息处理请求,所述信息处理请求中携带有节点标识;
第一信息处理模块902,用于根据所述信息处理请求,对所述节点标识对应的第一信息提示节点的提示信息进行处理;
第二信息处理模块903,用于获取与所述第一信息提示节点存在关联关系的目标信息提示节点,并对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理。
本说明书实施例中,所述信息处理请求包括信息提示请求、信息修改请求或信息删除请求。
本说明书实施例中,所述信息处理请求为信息提示请求,所述信息提示请求中还包括所述第一信息提示节点的数据,
所述第一信息处理模块902,用于存储所述第一信息提示节点的数据,并在所述第一信息提示节点处进行信息提示;
所述第二信息处理模块903,用于基于所述第一信息提示节点处的提示信息,更新所述目标信息提示节点处的提示信息,并在所述目标信息提示节点处进行信息提示。
本说明书实施例中,所述第二信息处理模块903,包括:
数据数量获取单元,用于获取所述目标信息提示节点的数据数量;
数据量和确定单元,用于在获取的数据数量的基础上增加所述第一信息提示节点的数据数量,得到所述目标信息提示节点的数据数量之和;
显示单元,用于在所述目标信息提示节点的预定位置进行信息提示,并显示所述数据数量之和。
本说明书实施例中,所述第二信息处理模块903,用于从预先构建的信息提示节点之间的信息提示关系中获取与所述第一信息提示节点存在关联关系的目标信息提示节点。
本说明书实施例中,所述装置还包括:
配置信息获取模块,用于获取与预设的用户标识相应的信息提示节点的节点配置信息,所述节点配置信息中包括所述信息提示节点的位置路径信息和不同信息提示节点间的关联信息;
信息提示关系构建模块,用于根据所述位置路径信息和不同信息提示节点间的关联信息,构建所述信息提示节点之间的信息提示关系。
本说明书实施例中,所述配置信息获取模块,用于从服务器中拉取与预设的用户标识相应的信息提示节点的节点配置信息;或者,接收服务器发送的与预设的用户标识相应的信息提示节点的节点配置信息。
本说明书实施例提供一种信息处理装置,通过在接收到携带有节点标识的信息处理请求时,依据该信息处理请求,对节点标识对应的第一信息提示节点的提示信息进行处理,同时或者之后,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理,这样,仅通过对第一信息提示节点的信息处理请求,就可以对与第一信息提示节点存在关联关系的目标信息提示节点执行相应的处理,使得在对第一信息提示节点的提示信息进行处理时,也将相关联的目标信息提示节点的相关信息进行处理,达到了动态调整相关联的信息提示节点的提示信息的目的,而不需要服务器分别指示终端设备进行变更,减少了进行信息提示的时间,从而提高了信息提示的效率。
实施例六
以上为本说明书实施例提供的信息处理装置,基于同样的思路,本说明书实施例还提供一种信息处理设备,如图10所示。
所述信息处理设备可以为上述实施例提供的终端设备。
信息处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器1001和存储器1002,存储器1002中可以存储有一个或一个以上存储应用程序或数据。其中,存储器1002可以是短暂存储或持久存储。存储在存储器1002的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对信息处理设 备中的一系列计算机可执行指令。更进一步地,处理器1001可以设置为与存储器1002通信,在信息处理设备上执行存储器1002中的一系列计算机可执行指令。信息处理设备还可以包括一个或一个以上电源1003,一个或一个以上有线或无线网络接口1004,一个或一个以上输入输出接口1005,一个或一个以上键盘1006。
具体在本实施例中,信息处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对信息处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:
接收信息处理请求,所述信息处理请求中携带有节点标识;
根据所述信息处理请求,对所述节点标识对应的第一信息提示节点的提示信息进行处理;
获取与所述第一信息提示节点存在关联关系的目标信息提示节点,并对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理。
可选地,所述信息处理请求包括信息提示请求、信息修改请求或信息删除请求。
可选地,所述信息处理请求为信息提示请求,所述信息提示请求中还包括所述第一信息提示节点的数据,
所述可执行指令在被执行时,还可以使所述处理器:
存储所述第一信息提示节点的数据,并在所述第一信息提示节点处进行信息提示;
相应的,所述对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理,包括:
基于所述第一信息提示节点处的提示信息,更新所述目标信息提示节点处的提示信息,并在所述目标信息提示节点处进行信息提示。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
获取所述目标信息提示节点的数据数量;
在获取的数据数量的基础上增加所述第一信息提示节点的数据数量,得到所述目标信息提示节点的数据数量之和;
在所述目标信息提示节点的预定位置进行信息提示,并显示所述数据数量之和。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
从预先构建的信息提示节点之间的信息提示关系中获取与所述第一信息提示节点存在关联关系的目标信息提示节点。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
获取与预设的用户标识相应的信息提示节点的节点配置信息,所述节点配置信息中包括所述信息提示节点的位置路径信息和不同信息提示节点间的关联信息;
根据所述位置路径信息和不同信息提示节点间的关联信息,构建所述信息提示节点之间的信息提示关系。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
从服务器中拉取与预设的用户标识相应的信息提示节点的节点配置信息;或者,
接收服务器发送的与预设的用户标识相应的信息提示节点的节点配置信息。
本说明书实施例提供一种信息处理设备,通过在接收到携带有节点标识的信息处理请求时,依据该信息处理请求,对节点标识对应的第一信息提示节点的提示信息进行处理,同时或者之后,获取与第一信息提示节点存在关联关系的目标信息提示节点,并对目标信息提示节点中与第一信息提示节点的提示信息相关的信息进行处理,这样,仅通过对第一信息提示节点的信息处理请求,就可以对与第一信息提示节点存在关联关系的目标信息提示节点执行相应的处理,使得在对第一信息提示节点的提示信息进行处理时,也将相关联的目标信息提示节点的相关信息进行处理,达到了动态调整相关联的信息提示节点的提示信息的目的,而不需要服务器分别指示终端设备进行变更,减少了进行信息提示的时间,从而提高了信息提示的效率。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的 改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实 现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本说明书的实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书的实施例是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于 系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本说明书的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (15)

  1. 一种信息处理方法,所述方法包括:
    接收信息处理请求,所述信息处理请求中携带有节点标识;
    根据所述信息处理请求,对所述节点标识对应的第一信息提示节点的提示信息进行处理;
    获取与所述第一信息提示节点存在关联关系的目标信息提示节点,并对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理。
  2. 根据权利要求1所述的方法,所述信息处理请求包括信息提示请求、信息修改请求或信息删除请求。
  3. 根据权利要求2所述的方法,所述信息处理请求为信息提示请求,所述信息提示请求中还包括所述第一信息提示节点的数据,
    所述根据所述信息处理请求,对所述节点标识对应的第一信息提示节点进行信息处理,包括:
    存储所述第一信息提示节点的数据,并在所述第一信息提示节点处进行信息提示;
    相应的,所述对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理,包括:
    基于所述第一信息提示节点处的提示信息,更新所述目标信息提示节点处的提示信息,并在所述目标信息提示节点处进行信息提示。
  4. 根据权利要求3所述的方法,所述基于所述第一信息提示节点处的提示信息,更新所述目标信息提示节点处的提示信息,并在所述目标信息提示节点处进行信息提示,包括:
    获取所述目标信息提示节点的数据数量;
    在获取的数据数量的基础上增加所述第一信息提示节点的数据数量,得到所述目标信息提示节点的数据数量之和;
    在所述目标信息提示节点的预定位置进行信息提示,并显示所述数据数量之和。
  5. 根据权利要求1所述的方法,所述获取与所述第一信息提示节点存在关联关系的目标信息提示节点,包括:
    从预先构建的信息提示节点之间的信息提示关系中获取与所述第一信息提示节点存在关联关系的目标信息提示节点。
  6. 根据权利要求5所述的方法,所述方法还包括:
    获取与预设的用户标识相应的信息提示节点的节点配置信息,所述节点配置信息中包括所述信息提示节点的位置路径信息和不同信息提示节点间的关联信息;
    根据所述位置路径信息和不同信息提示节点间的关联信息,构建所述信息提示节点之间的信息提示关系。
  7. 根据权利要求6所述的方法,所述获取与预设的用户标识相应的信息提示节点的节点配置信息,包括:
    从服务器中拉取与预设的用户标识相应的信息提示节点的节点配置信息;或者,
    接收服务器发送的与预设的用户标识相应的信息提示节点的节点配置信息。
  8. 一种信息处理装置,所述装置包括:
    请求接收模块,用于接收信息处理请求,所述信息处理请求中携带有节点标识;
    第一信息处理模块,用于根据所述信息处理请求,对所述节点标识对应的第一信息提示节点的提示信息进行处理;
    第二信息处理模块,用于获取与所述第一信息提示节点存在关联关系的目标信息提示节点,并对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理。
  9. 根据权利要求8所述的装置,所述信息处理请求包括信息提示请求、信息修改请求或信息删除请求。
  10. 根据权利要求9所述的装置,所述信息处理请求为信息提示请求,所述信息提示请求中还包括所述第一信息提示节点的数据,
    所述第一信息处理模块,用于存储所述第一信息提示节点的数据,并在所述第一信息提示节点处进行信息提示;
    所述第二信息处理模块,用于基于所述第一信息提示节点处的提示信息,更新所述目标信息提示节点处的提示信息,并在所述目标信息提示节点处进行信息提示。
  11. 根据权利要求10所述的装置,所述第二信息处理模块,包括:
    数据数量获取单元,用于获取所述目标信息提示节点的数据数量;
    数据量和确定单元,用于在获取的数据数量的基础上增加所述第一信息提示节点的数据数量,得到所述目标信息提示节点的数据数量之和;
    显示单元,用于在所述目标信息提示节点的预定位置进行信息提示,并显示所述数据数量之和。
  12. 根据权利要求8所述的装置,所述第二信息处理模块,用于从预先构建的信息提示节点之间的信息提示关系中获取与所述第一信息提示节点存在关联关系的目标信息提示节点。
  13. 根据权利要求12所述的装置,所述装置还包括:
    配置信息获取模块,用于获取与预设的用户标识相应的信息提示节点的节点配置信息,所述节点配置信息中包括所述信息提示节点的位置路径信息和不同信息提示节点间的关联信息;
    信息提示关系构建模块,用于根据所述位置路径信息和不同信息提示节点间的关联信息,构建所述信息提示节点之间的信息提示关系。
  14. 根据权利要求13所述的装置,所述配置信息获取模块,用于从服务器中拉取与预设的用户标识相应的信息提示节点的节点配置信息;或者,接收服务器发送的与预设的用户标识相应的信息提示节点的节点配置信息。
  15. 一种信息处理设备,所述信息处理设备包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
    接收信息处理请求,所述信息处理请求中携带有节点标识;
    根据所述信息处理请求,对所述节点标识对应的第一信息提示节点的提示信息进行处理;
    获取与所述第一信息提示节点存在关联关系的目标信息提示节点,并对所述目标信息提示节点中与所述第一信息提示节点的提示信息相关的信息进行处理。
PCT/CN2018/099898 2017-10-18 2018-08-10 一种信息处理方法、装置及设备 WO2019076113A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710972795.6 2017-10-18
CN201710972795.6A CN107844308A (zh) 2017-10-18 2017-10-18 一种信息处理方法、装置及设备

Publications (1)

Publication Number Publication Date
WO2019076113A1 true WO2019076113A1 (zh) 2019-04-25

Family

ID=61662460

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099898 WO2019076113A1 (zh) 2017-10-18 2018-08-10 一种信息处理方法、装置及设备

Country Status (3)

Country Link
CN (1) CN107844308A (zh)
TW (1) TWI706326B (zh)
WO (1) WO2019076113A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844308A (zh) * 2017-10-18 2018-03-27 阿里巴巴集团控股有限公司 一种信息处理方法、装置及设备
CN109885358A (zh) * 2019-01-10 2019-06-14 珠海金山网络游戏科技有限公司 一种基于树形数据结构的红点表示方法及系统
CN110308912B (zh) * 2019-06-12 2024-06-18 平安科技(深圳)有限公司 一种信息处理方法和相关装置
CN110489416B (zh) * 2019-07-23 2024-02-09 中国平安财产保险股份有限公司 一种基于数据处理的信息存储方法及相关设备
CN111897523B (zh) * 2020-06-29 2024-03-15 北京金茂绿建科技有限公司 一种信息显示方法和装置
CN111898276B (zh) * 2020-08-04 2024-08-09 南方电网数字电网科技(广东)有限公司 架空线路的模型处理方法、装置、计算机设备和介质
CN112230819B (zh) * 2020-11-02 2022-11-25 海南欧珀通讯科技有限公司 信息处理方法、信息处理装置、存储介质与电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077014A (zh) * 2013-03-28 2014-10-01 阿里巴巴集团控股有限公司 一种信息处理的方法和设备
CN105897553A (zh) * 2016-03-28 2016-08-24 阿里巴巴集团控股有限公司 即时通讯应用的邮件发送及提示方法、装置
CN106502709A (zh) * 2016-11-15 2017-03-15 腾讯科技(深圳)有限公司 应用业务提示方法及应用业务提示装置
CN107844308A (zh) * 2017-10-18 2018-03-27 阿里巴巴集团控股有限公司 一种信息处理方法、装置及设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3035179A1 (en) * 2014-12-19 2016-06-22 Thomson Licensing Data processing apparatus and method for rendering a tree structure
CN107292186B (zh) * 2016-03-31 2021-01-12 阿里巴巴集团控股有限公司 一种基于随机森林的模型训练方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077014A (zh) * 2013-03-28 2014-10-01 阿里巴巴集团控股有限公司 一种信息处理的方法和设备
CN105897553A (zh) * 2016-03-28 2016-08-24 阿里巴巴集团控股有限公司 即时通讯应用的邮件发送及提示方法、装置
CN106502709A (zh) * 2016-11-15 2017-03-15 腾讯科技(深圳)有限公司 应用业务提示方法及应用业务提示装置
CN107844308A (zh) * 2017-10-18 2018-03-27 阿里巴巴集团控股有限公司 一种信息处理方法、装置及设备

Also Published As

Publication number Publication date
CN107844308A (zh) 2018-03-27
TW201917571A (zh) 2019-05-01
TWI706326B (zh) 2020-10-01

Similar Documents

Publication Publication Date Title
WO2019076113A1 (zh) 一种信息处理方法、装置及设备
CN107450903B (zh) 一种信息处理方法及装置
TWI748175B (zh) 資料的處理方法、裝置及設備
CN108605008B (zh) 用于路由消息的代理电子邮件服务器
KR20190098752A (ko) 블록체인 기반 데이터 프로세싱 방법 및 디바이스
CN110019080B (zh) 数据访问方法和装置
WO2018045750A1 (zh) 用户的评论数据展现方法、系统、服务器和用户终端
US10659418B1 (en) Managing notifications across services
US10810358B2 (en) Automatic and dynamic generation of customized computer user interface screens
US10944701B2 (en) Systems and methods for channel based communication and engagement through advertising units
US10320937B2 (en) Community notification based on profile update
WO2021023149A1 (zh) 一种动态返回报文的方法和装置
US20190179934A1 (en) Cloud based validation engine
WO2016101811A1 (zh) 一种信息排序方法及装置
JP7167229B2 (ja) 融合関係ネットワークの構築方法、融合関係ネットワークの構築装置、電子デバイス、記憶媒体及びプログラム
US11811718B2 (en) System and method for generating and rendering intent-based actionable content using input interface
CN107247798B (zh) 构建搜索词库的方法和装置
CN109446384B (zh) 用于生成人员组织架构信息的方法和系统
CN110554951B (zh) 一种埋点管理的方法和装置
TW201734775A (zh) 一種應用程式的分類方法和裝置
CN113761565B (zh) 数据脱敏方法和装置
CN117667094A (zh) 菜单配置及显示方法、装置、电子设备和存储介质
US10440144B2 (en) Near real time notifications distribution platform
CN114218590B (zh) 权限配置方法、装置、设备、介质
WO2018121164A1 (zh) 一种用于创建服务号的方法、设备及系统

Legal Events

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

Ref document number: 18869334

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18869334

Country of ref document: EP

Kind code of ref document: A1