Information query method, device and electronic device

The information query method addresses inefficiencies in instant messaging by determining and displaying relevant data sets within sessions, enhancing query efficiency and user experience.

JP2025528872AActive Publication Date: 2025-09-02BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2025509098
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-22
Filing Date
2024-03-20
Publication Date
2025-09-02
Estimated Expiration
2044-03-20

AI Technical Summary

Technical Problem

Existing instant messaging tools face inefficiencies in data querying when large numbers and varied content of data tables are shared, making it inconvenient for users to retrieve relevant information.

Method used

An information query method and apparatus that determines a first information set associated with a session, obtains query results from this set, and displays them within the session, filtering out unnecessary data to enhance query efficiency and user experience.

Benefits of technology

The method narrows the data query scope, improving efficiency and enhancing user experience by filtering out candidate data and focusing on relevant information within instant messaging sessions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025528872000001_ABST
    Figure 2025528872000001_ABST
Patent Text Reader

Abstract

The present disclosure provides an information query method, apparatus, and electronic device, and one specific embodiment of the method includes: determining a first information set having an association relationship with a first session in response to an information query request triggered by a first user in a first session, where the first user is a session member of the first session and the first information set includes information other than the first session; obtaining a query result from the first information set according to the information query request; and displaying the query result in the first session. The embodiment reduces the query scope of data, improves data query efficiency, and enhances user experience.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This application claims priority from a Chinese patent application entitled "Information Query Method, Apparatus and Electronic Device" filed on March 22, 2023, with application number 202310287308.8, the entire contents of which are incorporated herein by reference.

[0002] [Technical field] The present disclosure relates to the field of computer technology, and in particular to information query methods, devices and electronic devices. [Background technology]

[0003] With the development of terminal and network technologies, instant messaging tools have become increasingly applied to people's daily lives and work, allowing them to communicate with friends or group members in instant messaging sessions. Currently, when members in a session need to query and share data, they can usually share the data table to be queried with the session, allowing users to open the data table and query the data. However, if the number and content of the data tables to be shared are too large, it can be inconvenient to query data. Currently, a more efficient information query method is needed. Summary of the Invention

[0004] The present disclosure provides an information query method, apparatus and electronic device.

[0005] According to a first aspect, there is provided an information query method, said method comprising: determining a first information set having an association relationship with a first session in response to an information query request triggered by a first user in a first session, wherein the first user is a session member of the first session and the first information set includes information other than the first session; obtaining a query result from the first information set according to the information query request; and displaying the query results in the first session.

[0006] According to a second aspect, there is provided an information query method, said method comprising: receiving a first query request from a first query interface associated with a first online data table; determining a first query range in the first online data table based on the first query request, the first query range being different from or the same as a second query range, and the second query range being a visible range of the first online data table to the user who sent the first query request; and obtaining query results from the first query range and outputting the query results to the first query interface.

[0007] According to a third aspect, there is provided an information query apparatus, said apparatus comprising: a determination module configured to determine a first set of information having an association relationship with a first session in response to an information query request triggered by a first user in a first session, where the first user is a session member of the first session and the first set of information includes information other than the first session; an retrieval module configured to retrieve query results from the first information set according to the information query request; a display module configured to display the query results in the first session.

[0008] According to a fourth aspect, there is provided an information query apparatus, said apparatus comprising: a receiving module configured to receive a first query request from a first query interface associated with a first online data table; a determination module configured to determine a first query range in the first online data table based on the first query request, the first query range being different from or the same as a second query range, the second query range being a visible range of the first online data table to a user who sent the first query request; and an output module configured to obtain and output query results from the first query range to the first query interface.

[0009] According to a fifth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, realises a method according to either the first or second aspect above.

[0010] According to a sixth aspect, there is provided an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method according to either the first or second aspect is realized.

[0011] It should be understood that the foregoing general and detailed descriptions are merely illustrative and are not restrictive of the present disclosure.

[0012] In order to more clearly describe the technical solutions of the embodiments of this specification, the following briefly introduces the drawings required in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments described in this specification, and those skilled in the art can also obtain other drawings based on these drawings without any creative labor. [Brief explanation of the drawings]

[0013] [Figure 1] FIG. 1 is a schematic diagram of an exemplary system architecture for applying embodiments of the present disclosure. [Figure 2] 1 is a flowchart illustrating an information query method according to an exemplary embodiment of the present disclosure. [Figure 3] FIG. 2 is a schematic diagram illustrating an online data table according to an exemplary embodiment of the present disclosure. [Figure 4] 10 is a flowchart illustrating another information query method according to an exemplary embodiment of the present disclosure. [Figure 5] 1 is a block diagram illustrating an information query method apparatus according to an exemplary embodiment of the present disclosure. [Figure 6] FIG. 10 is a block diagram illustrating another information query method and apparatus according to an exemplary embodiment of the present disclosure. [Figure 7] FIG. 1 is a schematic block diagram of an electronic device according to some embodiments of the present disclosure. [Figure 8] FIG. 1 is a schematic block diagram of another electronic device in accordance with some embodiments of the present disclosure. [Figure 9] FIG. 1 is a schematic diagram of a storage medium according to some embodiments of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0014] In order to help those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the present specification will be clearly and completely described below with reference to the drawings in the examples of the present specification, and it is clear that the described embodiments are only some examples of the present specification, and not all examples. Based on the examples of the present specification, all other examples obtained by those skilled in the art without any creative work shall fall within the protection scope of the present specification.

[0015] In the following description, unless otherwise specified, the same reference numerals in different drawings refer to the same or similar elements. The embodiments described in the following illustrative examples do not represent all embodiments consistent with the present disclosure. These are merely examples of apparatus and methods consistent with some aspects of the present disclosure, as set forth in the claims.

[0016] The terms used in this disclosure are merely for the purpose of describing particular embodiments and are not intended to limit the disclosure. As used in this disclosure, the singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. The term "and / or," as used herein, should also be understood to mean including any and all possible combinations of one or more of the associated listed items.

[0017] In this disclosure, the terms first, second, and third may be used to describe various pieces of information, but it should be understood that such information is not limited to these terms. These terms are used only to distinguish between the same types of information. For example, first information may be referred to as second information, and similarly, second information may be referred to as first information, without departing from the scope of this disclosure. Depending on the context, the word "if" as used herein may be interpreted as "when," "with," or "in response to determining."

[0018] The technical solutions according to the embodiments of the present disclosure may include the following beneficial effects:

[0019] An information query method and apparatus according to an embodiment of the present disclosure determines a first information set having a relation with a first session according to an information query request triggered by a first user in a first session, obtains a query result from the first information set according to the information query request, and displays the query result in the first session, thereby filtering out some candidate data according to the session, reducing the data query range, improving the efficiency of data query, and enhancing the user experience.

[0020] Referring to FIG. 1, FIG. 1 is a schematic diagram of an exemplary system architecture to which embodiments of the present disclosure may be applied.

[0021] As shown in Figure 1, system architecture 100 may include terminal devices 101, 102, a network 103, and a server 104. It should be understood that the number or types of terminal devices, networks, and servers in Figure 1 are merely exemplary. Implementations may have any number or types of terminal devices, networks, and servers as needed.

[0022] Network 103 is configured to provide a medium for a communications link between the terminal equipment and the server, and may include various connection types such as wire, wireless communications links, or fiber optic cables.

[0023] The terminal devices 101, 102 can interact with the server via the network 103 to receive or send requests, information, etc. The terminal devices 101, 102 may be various electronic devices including, but not limited to, smartphones, tablet computers, smart wearable devices, and personal digital assistants.

[0024] The server 104 may process the received data, such as by storing or analyzing it, or may send control commands or requests to terminal devices or other servers. The server may provide a service in response to a user's service request. It is understood that one server may provide one or more services, and the same service may be provided by multiple servers.

[0025] Based on the system architecture shown in FIG. 1 , in an embodiment of the present disclosure, after a user triggers a preset information query request in a session, the terminal device 101 or the terminal device 102 can send the preset information query request to the server 104 via the network 103. After receiving the preset information query request, the server 104 determines an information set having an association relationship with the session, obtains a query result from the information set according to the preset information query request, and returns the query result to the terminal device 101 or the terminal device 102, causing the terminal device 101 or the terminal device 102 to display the query result in the session.

[0026] The present disclosure will now be described in detail with reference to specific examples.

[0027] 2 is a flowchart illustrating an information query method according to an exemplary embodiment, which can be implemented as any terminal device, platform, server, or device cluster having computing and processing capabilities, and includes the following steps:

[0028] As shown in FIG. 2, in step 201, in response to a preset information query request triggered by a first user in a first session, a first information set having an association relationship with the first session is determined.

[0029] In this embodiment, the first session may be a window for transmitting messages between users in an instant message client, and may be a one-way session between two users or a group session between multiple users. A user may log in to an instant message client and then send a message to a friend / group member in the first session. The first user is a session member of the first session. The first user may be an administrator of the first session, a member designated by the administrator of the first session, or any general member of the first session. It should be understood that this embodiment does not limit the specific identification of the first user in the first session.

[0030] In an implementation, the preset information query request triggered by the first user in the first session may be a session message sent by the first user in the first session and including preset characters, and the session message may further include information such as keywords for the query. For example, the preset characters may include characters mentioned in the first application, and the conversation message may include information such as keywords used in the query after mentioning the characters of the first application. Here, the first application may be, for example, an application such as a chat robot.

[0031] In another implementation, the preset information query request triggered by the first user in the first session may be an information query request that triggers a preset control in the first session and is input on a page associated with the preset control. For example, the preset control may be a control for querying information in the session, and the first user may trigger the preset control in the first session to cause the instant messaging client to output a page associated with the preset control. The first user may input an information query request including a keyword on the page associated with the preset control.

[0032] In this embodiment, the data query may be managed by an instant message server corresponding to the instant message client, or by another server connected to the instant message service server. The server for managing the data query stores at least one information set (e.g., the information set may be an online data table), and each information set may correspond to one corresponding object (e.g., each online data table may correspond to an application such as a chat robot, or may correspond to one preset control). The target information set is an information set bound to a corresponding object corresponding to a first session (e.g., a chat robot added in the first session), and includes the first information set (e.g., the first information set may be at least a sub-table in the online data table, and the first information set may be information in some rows or columns of at least a sub-table in the first online data table), and the first information set and the first session have an association relationship.

[0033] It should be noted that the first information set includes information other than the first session, i.e., a query to the first information set in the present disclosure is distinguished from querying messages within a session, and the first information other than the first session may include non-session messages. The first information other than the first session may include, for example, but not limited to, some transaction data that needs to be queried by session members of the first session in daily operations, and these transaction data are stored in other systems than the communication system in which the session exists.

[0034] In some embodiments of the present disclosure, the target information set may further include a second information set, where the first information set is different from or partially the same as the second information set, and the second information set corresponds to a second session, which is different from the first session. For example, the second information set may be a sub-table in an online data table that is different from the first information set. The second information set may include, for example, but is not limited to, a type of transaction data queried by session members of the second session.

[0035] In some embodiments, the target information set may further include configuration information, which may include a correspondence between different sessions and different information sets in the target information set. For example, if session A is associated with information set a, session B is associated with information set b, and session C is associated with information set c, it may be recorded in the configuration information included in the target information set that session A and information set a have a correspondence relationship, session B and information set b have a correspondence relationship, and session C and information set c have a correspondence relationship, and information sets a, b, and c are all information sets in the target information set. The configuration information may further include one or more of configuration information on whether a query result corresponding to a session can be transferred and configuration information on a visibility range of the query result corresponding to the session.

[0036] As shown in FIG. 3, table 301 may be a subtable of an online data table, which records configuration information corresponding to different sessions. The first row of the subtable is called the field name included in the subtable, and the second row and below are configuration records corresponding to different sessions. A configuration record corresponding to any one session can set the data query authority of the session. For example, a field value of a field named "Queryable Data Table ID" can set the subtables that can be queried in the session (i.e., the correspondence between sessions and subtables). A field value of a field named "Result Transferable" can set whether query results can be transferred to other sessions. A field value of a field named "Visible only to the queryer" can set the visibility of query results.

[0037] In some embodiments, when the information set for storing the data to be queried is an online data table, preset permissions are turned on for the online data table. If preset permissions are not turned on for the online data table, only session query permissions for some subtables in the online data table can be set. For example, if session D has query permission for subtable d in the online data table, all session members of session D have query permission for subtable d through session D. If preset permissions are turned on for the online data table, user and session query permissions for some subtables in the online data table can be set. That is, for a subtable, when both the session and the members of the session have query permission for the subtable, the members of the session can query the subtable through the session. If only the session has query permission for the subtable, or if only the members of the session have query permission for the subtable, the members of the session cannot query the subtable through the session. For example, session D has query permission for sub-table d in the online data table, and session E does not have query permission for sub-table d. At the same time, that is, session member L belonging to session D and session E has query permission for sub-table d, and session member K belonging to session D has query permission for sub-table d, then session member L can query sub-table d through session D, but session member L cannot query sub-table d through session E, and session member K cannot query sub-table d through session D either.

[0038] Therefore, after determining the first online data table associated with the preset information query request, it can first be determined whether the first online data table has the preset permission turned on. If the preset permission is turned on, a target identifier can be first obtained, which may include an identifier of the first user of the preset information query request triggered in the first session and an identifier of the first session. Then, based on the target identifier, a sub-table corresponding to the target identifier can be searched from the first online data table to be used as the first information set. If the preset permission is not turned on, permission setting information for the first session is obtained, and a sub-table corresponding to the first session in the first online data table is determined as the first information set based on the permission setting information.

[0039] In step 202, obtain a query result from the first information set according to the information query request, and in step 203, display the query result in the first conversation.

[0040] In this embodiment, the information query request may include, for example, a keyword for the query, and a query result may be obtained from the first information set based on the keyword and displayed in the first session. In one implementation, the query result may be displayed to all session members of the first session. In another implementation, the query result may be displayed to some session members of the first session, where the some session members include the first user of the preset information query request triggered in the first session and at least one other user. In yet another implementation, the query result may be displayed only to the first user of the preset information query request triggered in the first session.

[0041] The information query method according to the present disclosure determines a first information set having an association relationship with a first session based on an information query request triggered by a first user in a first session, obtains a query result from the first information set according to the information query request, and displays the query result in the first session. This eliminates some candidate data according to the session, narrows the data query scope, improves data query efficiency, and enhances user experience. For example, in a scenario where instant messaging sessions are used as the main collaborative communication group, a specific group is typically a communication task group for a specific transaction. For example, if group A is a communication collaboration group selling product B, a data record set X associated with product B can be associated with group A, allowing members of group A to easily query information in data record X in group A.

[0042] 4 is a flowchart illustrating another information query method according to an exemplary embodiment, which can be implemented as any terminal device, platform, server, or device cluster having computing and processing capabilities, and includes the following steps:

[0043] 4, in step 401, a first data query request is received, the first query request is from a first query interface, and the first query interface is associated with a first online data table. In step 402, a first data query range in the first online table is determined based on the first query request.

[0044] In an implementation manner, the first query interface may be located in a first session, and the first query request includes a session identifier of the first session. Determining a first query range in the first online data table based on the first query request includes determining the first query range from the contents of a settings sub-table in the first online data table. The settings sub-table stores a correspondence between the session identifier and the query range.

[0045] For example, the first query interface may be, for example, a first chat robot, which is added as a session member of a first session and associated with a first online data table, in which queried data is stored. The first query request may be a request sent by a user in a message mentioning the first chat robot in the first session, and the first query request may include a session identifier of the first session, a keyword for the query, and the like. Specifically, a setting sub-table in the first online data table stores a correspondence between a session identifier and a data query range. Therefore, the first data query range may be determined by the content of the setting sub-table in the first online data table and the session identifier of the first session included in the first query request. That is, a data query range corresponding to the session identifier of the first session is searched for as the first data query range from the content of the setting sub-table.

[0046] In another implementation, the first query interface is located on a first page, the first query request includes a user identifier of a user who inputs the first query request on the first page, and determining a first query range in the first online data table based on the first query request includes determining the first query range with content in a settings sub-table in the first online data table, where the settings sub-table stores a correspondence between the user identifier and the query range.

[0047] For example, the first page may be a page for querying data, and the first query interface may be a link or a control on the first page. The first query request may be a request input by a user through the first query interface, and the first query request may include a user identifier of the user who input the first query request on the first page. Specifically, a settings subtable in the first online data table stores a correspondence between the user identifier and the data query range. Therefore, the first data query range may be determined by the contents of the settings subtable in the first online data table and the user identifier included in the first query request. That is, the data query range corresponding to the user identifier is searched for as the first data query range from the contents of the settings subtable.

[0048] It should be noted that the first data query range may be different from or the same as the second query range, and the second query range is the visible range of the first online data table to the user who sent the first query request, i.e., the second query range is a data query range that determines the user's authority based on the table itself. The first data query range is a data query range set for a data query request in a specific transaction scenario. For example, User A originally has query authority (i.e., the second query range) for all sub-tables a, b, and c in Online Data Table B, but in a specific transaction operation scenario, User A only needs to query data in Sub-Table a. In this case, the solution described above in the present disclosure can provide User A with a query interface that can query only data in Sub-Table a (the first query range), thereby improving the efficiency of data queries.

[0049] In step 403, the query result is obtained from the first data query range and output to the first query interface.

[0050] In this embodiment, based on the keywords included in the first query request, a query result can be obtained from the first data query range and output to the first query interface.

[0051] According to this embodiment, a first query range in a first online table is determined based on a first query request from a first query interface, and query results are obtained from the first query range and output to the first query interface, thereby eliminating some candidate data as needed, reducing the data query range, improving the efficiency of data queries, and improving the user experience.

[0052] It should be noted that although the above examples describe the operations of the methods according to the embodiments of the present disclosure in a particular order, this does not necessarily require or imply that the operations must be performed in that particular order, or that all operations must be performed to achieve a desired result. In contrast, the order of steps shown in the flowcharts may be changed. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into a single step, and / or a single step may be divided into multiple steps.

[0053] The following is a schematic description of aspects of the present disclosure with reference to complete specific application examples.

[0054] An application scenario may be a process in which a user X queries data through a group session G. Here, the user X is a session member of the group session G, and the session members of the group session G may further include a user Y, etc.

[0055] Specifically, first, user Y may add chat robot R as a session member of group session G. After adding chat robot R as a session member of group session G, the server may create one setting record for group G in online data table r bound to chat robot R. The setting record may include one or more sub-tables associated with group session G in online data table r, and members of group session G may query the one or more sub-tables via group session G, for example, setting sub-table g as the sub-table associated with group session G. Sub-table g stores product sales data for the previous quarter, including information such as product category, product name, sales quantity, and sales price.

[0056] Then, user X can query sub-table g or query data from sub-table g through group session G. For example, if user X wants to query the sales status of science books in the last quarter, he / she may send a message referring to chat robot R in group session G, and the message may specifically be "@chat robot R science books". The terminal device can send an information query request to the server according to the message, and the information query request may include, but is not limited to, the identifier of chat robot R, the identifier of user X, and the identifier of group session G.

[0057] The server can search the online data table r bound to the chat robot R according to the identifier of the group session G, search the online data table r for the setting record created for the group session G based on the identifier of the group session G, and determine the association between the sub-table g in the online data table r and the group session G according to the setting record. In one case (for example, when the online data table r does not have elevated authority turned on), data related to the keyword "science books" can be directly obtained from the sub-table g as a query result, or data of some fields of the data related to the keyword can be used as the query result, and the query result can be returned to the terminal device.

[0058] In another case (for example, when the online data table r has enabled higher authority), it is further determined again according to the identifier of user X whether user X has the authority to query sub-table g. If user X has the authority to query sub-table g, it can again obtain data related to the queried keyword "science books" from sub-table g as the query result, or data of some fields of the data related to the keyword as the query result, and return the query result to the terminal device. After receiving the query result, the terminal device can send a session message including the query result in the group session G via the chat robot R.

[0059] It should be noted that user X is also a member of group session T, and the sub-table associated with group session T in online data table r is sub-table t, and user X can query sub-table t or query data from sub-table t through group session T, but user X cannot query sub-table g or query data from sub-table g through group session T.

[0060] Any session member of the group session G can remove the chat robot R from the session, and after removing the chat robot R from the session, can cancel the association between the sub-table g and the group session G. For example, the setting record created for the group session G in the online data table r can be deleted.

[0061] Corresponding to the above-mentioned embodiment of the information query method, the present disclosure further provides an embodiment of an information query apparatus.

[0062] As shown in FIG. 5, FIG. 5 is a block diagram illustrating an information query device according to an exemplary embodiment of the present disclosure, which may include: a determining module 501, an obtaining module 502, and a displaying module 503.

[0063] Here, the determination module 501 is configured to determine a first information set having an association relationship with the first session in response to an information query request triggered by a first user in a first session, where the first user is a session member of the first session, and the first information set includes information other than the first session.

[0064] The retrieval module 502 is configured to retrieve query results from the first information set according to the information query request.

[0065] The display module 503 is configured to display the query results in the first session.

[0066] In some embodiments, the preset information query request includes a session message sent in the first session and including a preset character, or triggering a preset control in the first session and entering the information query request on a page associated with the preset control.

[0067] In some other embodiments, the first information set belongs to a target information set, the target information set further includes a second information set, the first information set is different from the second information set, and the second information set corresponds to a second session.

[0068] In some other embodiments, the target information set may further include configuration information, and the configuration information may include a correspondence between a session and an information set in the target information set.

[0069] In some other embodiments, the setting information may further include one or more of setting information regarding whether query results corresponding to the session may be transferred, and setting information regarding the visibility range of query results corresponding to the session.

[0070] In some other embodiments, the determination module 501 is configured to, in response to a first user sending an information query message referring to the first application in a first session, determine a target information set associated with the first application, and make all or a portion of the target information set associated with the first application the first information set.

[0071] In some other embodiments, the first application is a chat robot. The display module 503 is configured to send a session message including the query result in the first session by the chat robot.

[0072] In some other embodiments, the target information set associated with the first application is a first online data table, the first information set is at least some sub-tables in the first online data table, or the first information set is information in some rows or columns of at least some sub-tables in the first online data table.

[0073] In some other embodiments, the device may further include an establishment module and a release module (not shown).

[0074] Here, the establishment module is configured to establish an association relationship between the first information set and the first session in response to an operation of adding the first application to the first session.

[0075] The release module releases the association between the first information set and the first session in response to an operation to remove the first application from the first session.

[0076] In some other embodiments, the display module 503 is configured to display the query results to all session members of the first session, or to some session members of the first session, where the some session members include the first user and at least one other user, or to display the query results to the first user.

[0077] In some other embodiments, the determination module 501 is configured to: determine a first online data table associated with the preset information query request; and determine whether the first online data table has a preset authority enabled; if the preset authority is enabled, obtain a target identifier; and search the first online data table for a sub-table corresponding to the target identifier as a first information set, where the target identifier includes an identifier of a first user and an identifier of a first session; if the preset authority is not enabled, obtain authority setting information of the first session; and determine, based on the authority setting information, a sub-table corresponding to the first session in the first online data table as a first information set.

[0078] As shown in FIG. 6, FIG. 6 is a block diagram illustrating an information query device according to an exemplary embodiment of the present disclosure, which may include: a receiving module 601, a determining module 602, and an output module 603.

[0079] Here, the receiving module 601 is configured to receive a first query request from a first query interface associated with a first online data table.

[0080] The determination module 602 is configured to determine a first query range in the first online data table based on the first query request, where the first query range is different from or the same as a second query range, and the second query range is a visible range of the first online data table to the user who sent the first query request.

[0081] The output module 603 is configured to obtain and output query results from the first query range to the first query interface.

[0082] In some other embodiments, the first query interface is located in a first session, and the first query request includes a session identifier of the first session. The determination module 602 is configured to determine the first query range from content in a settings sub-table in the first online data table. The settings sub-table stores a correspondence between the session identifier and the query range.

[0083] In some other embodiments, locating the first query interface in the first session includes the first query interface being a first chat robot and the first chat robot being added as a session member of the first session.

[0084] In some other embodiments, the first query interface is located on a first page, and the first query request includes a user identifier of a user who inputs the first query request on the first page. The determination module 602 is configured to determine the first query range from content in a settings sub-table in the first online data table, where the settings sub-table stores a correspondence between the user identifier and the query range.

[0085] The device embodiments essentially correspond to the method embodiments, so please refer to the description of some of the method embodiments for relevant parts. The device embodiments described above are merely schematic, and the units described as separate components may or may not be physically separated, and the components displayed as units may not be physical units, i.e., they may be located in one place or distributed across multiple network units. Depending on actual needs, some or all of the modules may be selected to achieve the objectives of the technical solutions of the embodiments of the present disclosure. Those skilled in the art can understand and implement them without any creative effort.

[0086] FIG. 7 is a schematic block diagram of an electronic device according to some embodiments of the present disclosure. As shown in FIG. 7, the electronic device 910 includes a processor 911 and a memory 912 and may be used to implement a client or a server. The memory 912 non-temporarily stores computer-executable instructions (e.g., one or more computer program modules). The processor 911 is used to execute the computer-executable instructions, which, when executed by the processor 911, can perform one or more steps of the information query method described above, thereby realizing the information query method described above. The memory 912 and the processor 911 may be connected to each other by a bus system and / or other type of connection mechanism (not shown).

[0087] For example, the processor 911 may be a central processing unit (CPU), a graphics processing unit (GPU), or other type of processing unit having data processing capabilities and / or program execution capabilities. For example, the central processing unit (CPU) may be an X86 or ARM architecture, etc. The processor 911 may be a general-purpose processor or a special-purpose processor, and may control other components in the electronic device 910 to perform desired functions.

[0088] For example, the memory 912 may include any combination of one or more computer program products, which may include various types of computer-readable storage media, such as volatile memory and / or nonvolatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), a hard disk, erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, flash memory, etc. The computer-readable storage medium may store one or more computer program modules, and the processor 911 may execute the one or more computer program modules to implement various functions of the electronic device 910. The computer-readable storage medium may also store various applications and various data, as well as various data used and / or generated by the applications.

[0089] It should be noted that, in the embodiments of the present disclosure, the specific functions and technical effects of the electronic device 910 may refer to the description of the information query method above, and the description will be omitted here.

[0090] FIG. 8 is a schematic block diagram illustrating another electronic device according to some embodiments of the present disclosure. The electronic device 920 is suitable for implementing, for example, an information query method according to embodiments of the present disclosure. The electronic device 920 may be a terminal device or the like, and may be used to implement a client or a server. The electronic device 920 may include, but is not limited to, mobile devices such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), in-car devices (e.g., in-car navigation devices), and wearable electronic devices, as well as fixed devices such as digital TVs, desktop computers, and smart home devices. It should be noted that the electronic device 920 illustrated in FIG. 8 is merely an example and does not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.

[0091] 8, the electronic device 920 may include a processing unit (e.g., a central processor, a graphics processor, etc.) 921, which can perform various appropriate operations and processes in accordance with a program stored in a read-only memory (ROM) 922 or a program loaded from a storage device 928 into a random access memory (RAM) 923. The RAM 923 also stores various programs and data necessary for the operation of the electronic device 920. The processing unit 921, the ROM 922, and the RAM 923 are interconnected by a bus 924. An input / output (I / O) interface 925 is also connected to the bus 924.

[0092] Typically, devices that can be connected to I / O interface 925 include input devices 926, including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 927, including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 928, including, for example, a magnetic tape, hard disk, etc.; and communication devices 929. Communication devices 929 can allow electronic device 920 to communicate wirelessly or via wires with other electronic devices to exchange data. While FIG. 8 illustrates electronic device 920 with a variety of devices, it should be understood that electronic device 920 is not required to implement or include all of the illustrated devices, and electronic device 920 may alternatively implement or include more or fewer devices.

[0093] For example, according to an embodiment of the present disclosure, the information query method may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program including program code for executing the information query method. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device 929, installed from a storage device 928, or installed from a ROM 922. When the computer program is executed by a processing device 921, it may implement limited functionality of the information query method according to an embodiment of the present disclosure.

[0094] 9 is a schematic diagram of a storage medium according to some embodiments of the present disclosure. For example, as shown in FIG. 9, storage medium 930 may be a non-transitory computer-readable storage medium and is used to store non-transitory computer-executable instructions 931. When the non-transitory computer-executable instructions 931 are executed by a processor, the information query method described in the embodiments of the present disclosure can be realized, for example, when the non-transitory computer-executable instructions 931 are executed by a processor, one or more steps of the information query method described above can be performed.

[0095] For example, the storage medium 930 may be applied to the electronic device, and for example, the storage medium 930 may include a memory in the electronic device.

[0096] For example, the storage medium may include a memory card in a smartphone, a storage component in a tablet computer, a hard disk in a personal computer, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a flash memory, or any combination of the above storage media, or may be other applicable storage media.

[0097] For example, the description of the storage medium 930 may refer to the description of the memory in the embodiment of the electronic device, and redundant description will be omitted. The specific functions and technical effects of the storage medium 930 may refer to the description of the information query method above, and description will be omitted here.

[0098] It should be explained that in the context of this disclosure, a computer-readable medium may be a tangible medium and may contain or store a program for use by or in connection with an instruction execution system, device, or apparatus. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a propagating data signal, in baseband or as part of a carrier wave, with computer-readable program code carried therein. Such propagating data signals may take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Furthermore, a computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which is capable of transmitting, propagating, or transmitting a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted over any suitable medium, including, but not limited to, electrical wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.

[0099] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that comply with the general principles of the present disclosure and include common general knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0100] It should be understood that the present invention is not limited to the exact structure described above and shown in the drawings, and that various modifications and variations are possible without departing from the spirit and scope of the present disclosure. The scope of the present disclosure is limited only by the appended claims.

Claims

1. determining a first set of information having an association relationship with a first session in response to an information query request triggered by a first user in a first session, the first user being a session member of the first session, and the first set of information including information other than the first session; obtaining a query result from the first information set according to the information query request; and displaying the query results in the first session.

2. The information query request: a session message transmitted in the first session and including a preset character; Or, an information query request entered on a page associated with the preset control; The method of claim 1 , wherein the page associated with the preset control is a page that triggered the preset control to be output in the first session.

3. 2. The method of claim 1, wherein the first information set belongs to a target information set, the target information set further includes a second information set, the first information set is different from the second information set, and the second information set corresponds to a second session.

4. The target information set further includes configuration information; The method of claim 3 , wherein the configuration information includes a correspondence between a session and an information set in a target information set.

5. The setting information is Configuration information on whether query results corresponding to the session can be transferred; The method of claim 4 , further comprising one or more setting information of a visibility range of a query result corresponding to a session.

6. Determining a first set of information having an association relationship with the first session in response to an information query request triggered by a first user in a first session includes:

2. The method of claim 1, comprising determining a target information set associated with a first application in response to the first user sending an information query message in the first session that refers to the first application, wherein the first information set is all or a portion of the target information set associated with the first application.

7. the first application is a chat robot; The method of claim 6 , wherein displaying the query results in the first session includes sending, by the chat robot, a session message in the first session that includes the query results.

8. the target information set associated with the first application is a first online data table; 7. The method of claim 6, wherein the first set of information is at least a portion of a sub-table in the first online data table, or the first set of information is information in some rows or columns of at least a portion of a sub-table in the first online data table.

9. The method comprises: responsive to adding the first application to the first session, establishing an association relationship between the first information set and the first session; 8. The method of claim 6, further comprising: in response to an operation of removing the first application from the first session, releasing an association between the first information set and the first session.

10. Displaying the query results in the first session includes: displaying the query results to all session members of the first session; Alternatively, displaying the query results to some session members of the first session, the some session members including the first user and at least one other user; Alternatively, the method of claim 1 further comprises presenting the query results to the first user.

11. Determining a first set of information having an association relationship with the first session in response to an information query request triggered by a first user in a first session includes: determining a first online data table associated with the information query request and determining whether the first online data table has a preset permission turned on; When the preset authority is turned on, obtain a target identifier, and search the first online data table for a sub-table corresponding to the target identifier as the first information set, where the target identifier includes an identifier of a first user and an identifier of the first session; 2. The method of claim 1, further comprising: if the preset authority is not turned on, obtaining authority setting information for the first session; and determining, based on the authority setting information, a sub-table in the first online data table corresponding to the first session as the first information set.

12. receiving a first query request from a first query interface associated with a first online data table; determining a first query range in the first online data table based on the first query request, the first query range being different from or the same as a second query range, and the second query range being a visible range of the first online data table to the user who sent the first query request; obtaining query results from a first query range and outputting them to the first query interface; An information query method, including:

13. the first query interface is located in a first session, and the first query request includes a session identifier of the first session; Determining a first query range in the first online data table based on the first query request includes determining the first query range with content in a settings sub-table in the first online data table; The method of claim 12 , wherein the configuration sub-table stores a correspondence between a session identifier and a query range.

14. 14. The method of claim 13, wherein the first query interface being located in a first session includes the first query interface being a first chat robot, and the first chat robot being added as a session member of the first session.

15. the first query interface is located on a first page, and the first query request includes a user identifier of a user who inputs the first query request on the first page; Determining a first query range in the first online data table based on the first query request includes determining the first query range with content in a settings sub-table in the first online data table; The method of claim 12 , wherein the configuration sub-table stores a correspondence between a user identifier and a query range.

16. The method comprises: a determination module for determining a first set of information having an association relationship with a first session in response to an information query request triggered by a first user in a first session, the first user being a session member of the first session, and the first set of information including information other than the first session; an retrieval module for retrieving a query result from the first information set according to the information query request; a display module for displaying the query results in the first session. Information query device.

17. The method comprises: a receiving module for receiving a first query request from a first query interface associated with the first online data table; a determination module for determining a first query range in the first online data table based on the first query request, the first query range being different from or the same as a second query range, the second query range being a visible range of the first online data table to a user who sent the first query request; an output module for obtaining query results from a first query range and outputting them to the first query interface.

18. A computer-readable storage medium having stored thereon a computer program which, when executed on a computer, causes the computer to carry out the method of any one of claims 1 to 15.

19. An electronic device comprising a memory and a processor, wherein the memory stores executable code, and the electronic device implements the method of any one of claims 1 to 15 when the processor executes the executable code.

Citation Information

Patent Citations

  • Dialogue management device, method, and program, and consciousness extraction system

    JP2009193532A

  • Select the next user prompt type

    JP2019530920A

  • Dialogue System

    JP7097460B2