Information query method, device and electronic equipment

By determining the information collection associated with the session in the session of the instant messaging tool, the query scope is narrowed, the problem of low query efficiency caused by too many data tables is solved, and the user experience is improved.

CN116226499BActive Publication Date: 2024-09-17BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310287308.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-09-17
Estimated Expiration
2043-03-22

AI Technical Summary

Technical Problem

In a session of an instant messaging tool, when there are too many data tables and contents to be queried, the data query efficiency will be low and the user experience will be poor.

Method used

By triggering information query requests in the session, the information collection associated with the session is determined, thereby narrowing the query scope, obtaining and displaying query results, and improving query efficiency.

Benefits of technology

By narrowing the scope of data query, the efficiency of data query and user experience are improved, allowing users to obtain the required information in the session more conveniently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116226499B
    Figure CN116226499B
Patent Text Reader

Abstract

The present disclosure provides an information query method, device and electronic device, and a specific implementation of the method includes: in response to an information query request triggered by a first user in a first session, determining a first information set associated with the first session; wherein the first user is a session member of the first session, and the first information set includes information outside the first session; according to the information query request, obtaining a query result from the first information set; and displaying the query result in the first session. This implementation narrows the query scope of data, improves the efficiency of data query, and also improves user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an information query method, device and electronic equipment. Background Art

[0002] With the continuous development of terminal technology and network technology, instant messaging tools are increasingly used in people's lives and work. People can communicate with friends or group members in the conversation of instant messaging tools. At present, if members in a conversation need to query and share data, they can usually share the data table to be queried to the conversation, and the user can open the data table to query the data. However, if the number and content of the data tables to be shared are too large, it will bring inconvenience to the query of the data. At present, a more efficient and convenient method of information query is needed. Summary of the invention

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

[0004] According to a first aspect, there is provided an information query method, the method comprising:

[0005] In response to an information query request triggered by a first user in a first session, determining a first information set associated with the first session; wherein the first user is a session member of the first session, and the first information set includes information outside the first session;

[0006] According to the information query request, obtaining a query result from the first information set;

[0007] The query result is displayed in the first session.

[0008] According to a second aspect, there is provided an information query method, the method comprising:

[0009] Receiving a first query request; the first query request comes from a first query interface, and the first query interface is associated with a first online data table;

[0010] Based on the first query request, determining a first query range in the first online data table; 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 a user who sends the first query request;

[0011] The query result is obtained from the first query scope and output to the first query interface.

[0012] According to a third aspect, an information query device is provided, the device comprising:

[0013] a determination module, configured to determine, in response to an information query request triggered by a first user in a first session, a first information set associated with the first session; wherein the first user is a session member of the first session, and the first information set includes information outside the first session;

[0014] An acquisition module, configured to acquire a query result from the first information set according to the information query request;

[0015] A display module is used to display the query result in the first session.

[0016] According to a fourth aspect, an information query device is provided, the device comprising:

[0017] A receiving module, configured to receive a first query request; the first query request comes from a first query interface, and the first query interface is associated with a first online data table;

[0018] 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 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 a user who sends the first query request;

[0019] The output module is used to obtain the query result from the first query scope and output it to the first query interface.

[0020] According to a fifth aspect, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspect or the second aspect is implemented.

[0021] According to a sixth aspect, an electronic device is provided, 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, the method described in any one of the first aspect or the second aspect is implemented.

[0022] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0023] The embodiments of the present disclosure provide an information query method and device, which determines a first information set associated with the first session through an information query request triggered by a first user in a first session, obtains query results from the first information set according to the information query request, and displays the query results in the first session. In this way, some candidate data can be excluded according to the session, which narrows the query scope of the data, improves the efficiency of data query, and improves the user experience.

[0024] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0026] Figure 1 is a schematic diagram of an exemplary system architecture for applying an embodiment of the present disclosure;

[0027] Figure 2 is a flow chart of an information query method according to an exemplary embodiment of the present disclosure;

[0028] Figure 3 is a schematic diagram of an online data table according to an exemplary embodiment of the present disclosure;

[0029] Figure 4 is a flow chart of another information query method according to an exemplary embodiment of the present disclosure;

[0030] Figure 5 is a block diagram of an information query method device according to an exemplary embodiment of the present disclosure;

[0031] Figure 6 is a block diagram of another information query method device according to an exemplary embodiment of the present disclosure;

[0032] Figure 7 is a schematic block diagram of an electronic device provided by some embodiments of the present disclosure;

[0033] Figure 8 is a schematic block diagram of another electronic device provided by some embodiments of the present disclosure;

[0034] Fig. 9 is a schematic diagram of a storage medium provided in some embodiments of the present disclosure. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0036] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.

[0037] The terms used in this disclosure are only for the purpose of describing specific embodiments and are not intended to limit the disclosure. The singular forms of "a", "the" and "the" used in this disclosure are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0038] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0039] See also Figure 1 , is a schematic diagram of an exemplary system architecture for applying an embodiment of the present disclosure.

[0040] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, a network 103 and a server 104. It should be understood that Figure 1 The number or type of terminal devices, networks, and servers in the embodiment are merely illustrative. Any number or type of terminal devices, networks, and servers may be provided as required.

[0041] The network 103 is used to provide a medium for communication links between terminal devices and servers. The network 103 may include various connection types, such as wired or wireless communication links or optical fiber cables.

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

[0043] The server 104 can store, analyze, and process the received data, and can also send control commands or requests to terminal devices or other servers. The server can provide services in response to user service requests. It is understood that a server can provide one or more services, and the same service can also be provided by multiple servers.

[0044] based on Figure 1 In the system architecture shown, in the embodiment of the present disclosure, after the user triggers a preset information query request in a session, the terminal device 101 or the terminal device 102 can send a preset information query request to the server 104 through the network 103. After receiving the above preset information query request, the server 104 can determine an information set associated with the session, and obtain a query result from the information set according to the above preset information query request, and return the query result to the terminal device 101 or the terminal device 102, so that the terminal device 101 or the terminal device 102 displays the query result in the session.

[0045] The present disclosure will be described in detail below in conjunction with specific embodiments.

[0046] Figure 2 The flowchart of an information query method according to an exemplary embodiment is shown. The execution subject of the method can be implemented as any terminal device, platform, server or device cluster with computing and processing capabilities. The method includes the following steps:

[0047] like Figure 2 As shown, in step 201, in response to a preset information query request triggered by a first user in a first session, a first information set associated with the first session is determined.

[0048] In this embodiment, the first session may be a window for transmitting messages between users in an instant messaging client. The first session may be a single chat session between two users or a group session between multiple users. After logging into the instant messaging client, the user may send messages to friends / group members 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 common member of the first session. It is understood that this embodiment does not limit the specific identity of the first user in the first session.

[0049] In one implementation, the preset information query request triggered by the first user in the first conversation may be a conversation message including preset characters sent by the first user in the first conversation, and the conversation message may also include information such as keywords used for query. For example, the preset characters may include characters that mention the first application, and the conversation message may be the characters that mention the first application plus information such as keywords used for query. The first application may be, for example, an application such as a chat robot.

[0050] In another implementation, the preset information query request triggered by the first user in the first session may also be an information query request inputted in a page associated with a preset control triggered in the first session. For example, the preset control may be a control for querying information in a session, and the first user may trigger the preset control in the first session, so that the instant messaging client outputs the page associated with the preset control. The first user may input an information query request including a keyword in the page associated with the preset control.

[0051] In this embodiment, the query of data can be managed by the instant messaging server corresponding to the instant messaging client, or by other servers connected to the instant messaging server. In the server for managing data query, at least one information set is stored (for example, the information set can be an online data table), and each information set corresponds to a corresponding object (for example, each online data table can correspond to an application such as a chat robot, or can correspond to a preset control). The target information set is an information set bound to the corresponding object corresponding to the first session (for example, a chat robot added in the first session), and the target information set includes a first information set (for example, the first information set can be at least a part of the sub-table in the online data table, and the first information set can also be information in some rows or columns of at least a part of the sub-table in the first online data table), and the first information set has an association relationship with the first session.

[0052] It should be noted that the first information set includes information outside the first session, that is, the query on the first information set in the present disclosure is different from the query on the messages in the session, and the information outside the first session may include non-session messages. The information outside the first session may include, for example, but is not limited to, some business data that the session members of the first session need to query in their daily work, and these business data are stored in other systems other than the communication system where the session is located.

[0053] In some embodiments of the present disclosure, the target information set may further include a second information set, the first information set is different from the second information set, or is partially the same as the second information set, the second information set corresponds to the second session, and the second session is different from the first session. For example, the second information set may be a subtable 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 certain type of business data for query by session members of the second session, etc.

[0054] In some embodiments, the target information set may also include configuration information, which may include the correspondence between different sessions and different information sets in the target information set. For example, 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. Then, it can be recorded in the configuration information included in the target information set that session A has a correspondence with information set a, session B has a correspondence with information set b, and session C has a correspondence with information set c, 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 the following: configuration information on whether the query result corresponding to the session can be forwarded, and configuration information on the visible range of the query result corresponding to the session.

[0055] like Figure 3 As shown, table 301 may be a subtable in an online data table, and the subtable records configuration information corresponding to different sessions, wherein the first row of the subtable is the field name included in the subtable, and from the second row onwards are configuration records corresponding to different sessions. The data query permission of any session may be set through the configuration record corresponding to the session. For example, the subtable that can be queried in the session (i.e., the correspondence between the session and the subtable) may be set through the field value of the field whose field name is "queryable data table ID". Whether the query results can be forwarded to other sessions may be set through the field value of the field whose field name is "results can be forwarded". The visible range of the query results may be set through the field value of the field whose field name is "visible only to the queryer", etc.

[0056] In some embodiments, if the information set used to store the data to be queried is an online data table, the preset permissions can be enabled in advance for the online data table. When the preset permissions are not enabled for the online data table, only the query permissions for the session to some sub-tables in the online data table are set. For example, if session D has the query permission for sub-table d in the online data table, then all session members of session D have the query permission for sub-table d through session D. When the preset permissions are enabled for the online data table, the query permissions for some sub-tables in the online data table can be set for the user and the session. That is, for a sub-table, when the session and the members of the session have the query permission for the sub-table, the members of the session can query the sub-table through the session. However, when only the session has the query permission for the sub-table, or only the members of the session have the query permission for the sub-table, the members of the session cannot query the sub-table through the session. For example, session D has the query permission for sub-table d in the online data table, while session E does not have the query permission for sub-table d. At the same time, session member L, which belongs to both session D and session E, has the query permission for sub-table d, while session member K, which belongs to session D, does not have the 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.

[0057] Therefore, after determining the first online data table associated with the preset information query request, it can be determined whether the above preset permission is enabled in the first online data table. If the above preset permission is enabled, the target identifier can be obtained first, and the target identifier can include the identifier of the first user of the above preset information query request triggered in the first session and the identifier of the first session. Then, based on the target identifier, the subtable corresponding to the target identifier can be searched from the first online data table as the first information set. If the preset permission is not enabled, the permission configuration information of the first session is obtained, and based on the permission configuration information, the subtable corresponding to the first session in the first online data table is determined as the first information set.

[0058] In step 202, according to the information query request, a query result is obtained from the first information set, and in step 203, the query result is displayed in the first session.

[0059] In this embodiment, the above-mentioned information query request may include, for example, a keyword for query, and a query result may be obtained from the first information set based on the keyword, and the query result may be 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 also be displayed to some session members of the first session, wherein the some session members include the first user who triggered the above-mentioned preset information query request in the first session and at least one other user. In yet another implementation, the query result may also be displayed only to the first user who triggered the above-mentioned preset information query request in the first session.

[0060] The present disclosure provides an information query method, which determines a first information set associated with the first session through an information query request triggered by a first user in a first session, obtains query results from the first information set according to the information query request, and displays the query results in the first session. In this way, some candidate data can be excluded according to the session, which narrows the query scope of the data, improves the efficiency of data query, and improves the user experience. For example, in a scenario where an instant messaging session group is used as the main collaborative communication, a specific group is usually used as a communication work group for a specific business. For example, group A is used as a communication and collaboration group for selling product B. Then, a data record set X related to product B can be associated with group A, so that members in group A can easily query the information in data record X in group A.

[0061] Figure 4 The flowchart of another information query method according to an exemplary embodiment is shown. The execution subject of the method can be implemented as any terminal device, platform, server or device cluster with computing and processing capabilities, and the method includes the following steps:

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

[0063] In one implementation, the first query interface may be located in the first session, and the first query request includes a session identifier of the first session. Based on the first query request, determining the first query range in the first online data table includes: determining the first query range through the content of the configuration subtable in the first online data table. The configuration subtable stores the corresponding relationship between the session identifier and the query range.

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

[0065] In another implementation, the first query interface is located in the first page, the first query request includes a user identifier of a user who inputs the first query request in the first page, and based on the first query request, determining the first query range in the first online data table includes: determining the first query range through the content of a configuration subtable in the first online data table. The configuration subtable stores a correspondence between the user identifier and the query range.

[0066] For example, the first page may be a page for querying data, and the first query interface may be a link or a control in 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 a user who inputs the first query request in the first page. Specifically, the configuration 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 content of the configuration 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 from the content of the configuration subtable as the first data query range.

[0067] It should be noted that the first data query range may be different from or the same as the second query range. The second query range is the visible range of the first online data table to the user who sends the first query request, that is, the second query range refers to the data query range determined based on the table itself for the user's authority. The first data query range is a data query range configured to meet the data query needs in a specific business scenario. For example, user A originally has query permissions for subtables a, b, and c in the online data table B (that is, the second query range), but in a specific business work scenario, user A only needs to query the data in subtable a. In this case, through the aforementioned solution of the present disclosure, a query interface can be configured for user A, through which only the data in subtable a (the first query range) can be queried, thereby improving the efficiency of data query.

[0068] In step 403, query results are obtained from the first data query range and output to the first query interface.

[0069] In this embodiment, based on the keyword carried in the first query request, the query result can be obtained from the first data query range and output to the first query interface.

[0070] Due to this embodiment, the first query range in the first online form is determined through the first query request from the first query interface, the query result is obtained from the first query range, and is output to the first query interface, so that some candidate data can be excluded as needed, the query range of the data is narrowed, the efficiency of data query is improved, and the user experience is improved.

[0071] It should be noted that although the operations of the method of the disclosed embodiment are described in a specific order in the above embodiments, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flowchart can change the order of execution. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution.

[0072] The present disclosure is schematically illustrated below in conjunction with a complete and specific application example.

[0073] The application scenario may be: a process in which user X queries data through a group session G. User X is a session member of the group session G, and the session members of the group session G may also include user Y and the like.

[0074] Specifically, first, user Y can 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 can create a configuration record for group G in the online data table r bound to chat robot R. One or more subtables associated with group session G in the online data table r can be set in the configuration record, and members of group session G can query the one or more subtables through group session G. For example, subtable g can be set as a subtable associated with group session G. Subtable g, for example, stores product sales data of the previous quarter, and the product sales data may include information such as product category, product name, sales quantity, and sales price.

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

[0076] The server can find the online data table r bound to the chat robot R according to the identifier of the group session G, find the configuration record created for the group session G from the online data table r based on the identifier of the group session G, and determine the association of the subtable g in the online data table r with the group session G according to the configuration record. In one case (for example, the case where the online data table r does not have advanced permissions enabled), the data related to the keyword "popular science books" can be directly obtained from the subtable g as the query result according to the query keyword, or the data of some fields in the data related to the keyword can be used as the query result, and the query result is returned to the terminal device.

[0077] In another case (for example, when the online data table r has advanced permissions enabled), it is also possible to determine whether user X has the permission to query sub-table g based on the user X's identifier. If user X has the permission to query sub-table g, then based on the query keyword "popular science books", data related to the keyword is obtained from sub-table g as the query result, or data of some fields in the data related to the keyword is used as the query result, and the query result is returned to the terminal device. After receiving the query result, the terminal device can send a session message containing the query result in the group session G through the chat robot R.

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

[0079] Any session member of the group session G can remove the chat robot R from the session. After the chat robot R is removed from the session, the association between the sub-table g and the group session G can be removed. For example, the configuration record created for the group session G in the online data table r can be deleted.

[0080] Corresponding to the aforementioned information query method embodiment, the present disclosure also provides an embodiment of an information query device.

[0081] like Figure 5 As shown, Figure 5 is a block diagram of an information query device according to an exemplary embodiment of the present disclosure. The device may include: a determination module 501, an acquisition module 502 and a display module 503.

[0082] The determination module 501 is used to determine a first information set associated with the first session in response to an information query request triggered by the first user in the first session. The first user is a session member of the first session, and the first information set includes information outside the first session.

[0083] The acquisition module 502 is used to acquire the query result from the first information set according to the above information query request.

[0084] The display module 503 is used to display the query result in the first session.

[0085] In some implementations, the preset information query request includes: a session message including preset characters sent in the first session. Alternatively, a preset control is triggered in the first session, and the information query request is input in a page associated with the preset control.

[0086] In some other implementations, the first information set belongs to a target information set, the target information set also includes a second information set, the first information set is different from the second information set, and the second information set corresponds to the second session.

[0087] In some other implementations, the target information set also includes configuration information, and the configuration information may include: a correspondence between the session and the information set in the target information set.

[0088] In other implementations, the configuration information may also include one or more of the following: configuration information on whether the query result corresponding to the session can be forwarded, and configuration information on the visible range of the query result corresponding to the session.

[0089] In other embodiments, the determination module 501 is configured to: determine a target information set associated with the first application in response to the first user sending an information query message mentioning the first application in the first session, and use all or part of the target information set associated with the first application as the first information set.

[0090] In some other implementations, the first application is a chatbot. The presentation module 503 is configured to: send a session message containing the query result in the first session through the chatbot.

[0091] In other embodiments, the target information set associated with the first application is a first online data table. The first information set is at least part of a subtable in the first online data table, or the first information set is information in some rows or columns of at least part of a subtable in the first online data table.

[0092] In some other implementations, the device may further include: an establishment module and a release module (not shown in the figure).

[0093] The establishing module is used 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.

[0094] The releasing module is used to release the association between the first information set and the first session in response to the operation of removing the first application from the first session.

[0095] In some other embodiments, the display module 503 is configured to: display the query result to all session members of the first session. Alternatively, display the query result to some session members of the first session, wherein the some session members include the first user and at least one other user. Alternatively, display the query result to the first user.

[0096] In other embodiments, the determination module 501 is configured to: determine the first online data table associated with the preset information query request, and determine whether the preset permission is enabled in the first online data table. If the preset permission is enabled, obtain the target identifier, and search the subtable corresponding to the target identifier from the first online data table as the first information set, where the target identifier includes the identifier of the first user and the identifier of the first session. If the preset permission is not enabled, obtain the permission configuration information of the first session, and determine the subtable corresponding to the first session in the first online data table as the first information set based on the permission configuration information.

[0097] like Figure 6 As shown, Figure 6 6 is a block diagram of an information query device according to an exemplary embodiment of the present disclosure. The device may include: a receiving module 601, a determining module 602 and an output module 603.

[0098] The receiving module 601 is used to receive a first query request, the first query request comes from a first query interface, and the first query interface is associated with a first online data table.

[0099] The determination module 602 is used 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 sends the first query request.

[0100] The output module 603 is used to obtain the query result from the first query scope and output it to the first query interface.

[0101] In some other embodiments, the first query interface is located in the 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 through the content in the configuration subtable in the first online data table. The configuration subtable stores the corresponding relationship between the session identifier and the query range.

[0102] In some other implementations, the first query interface being located in the first conversation includes: the first query interface being a first chat robot, and the first chat robot being added as a conversation member of the first conversation.

[0103] In some other embodiments, the first query interface is located in the first page, and the first query request includes a user identifier of a user who inputs the first query request in the first page. The determination module 602 is configured to: determine the first query range through the content in the configuration subtable in the first online data table. The configuration subtable stores the corresponding relationship between the user identifier and the query range.

[0104] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment scheme of the present disclosure. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0105] Figure 7 A schematic block diagram of an electronic device provided in some embodiments of the present disclosure. Figure 7 As shown, the electronic device 910 includes a processor 911 and a memory 912, which can be used to implement a client or a server. The memory 912 is used to store computer executable instructions (e.g., one or more computer program modules) non-transiently. The processor 911 is used to run the computer executable instructions, and when the computer executable instructions are run by the processor 911, one or more steps in the information query method described above can be executed, thereby implementing the information query method described above. The memory 912 and the processor 911 can be interconnected through a bus system and / or other forms of connection mechanisms (not shown).

[0106] For example, the processor 911 may be a central processing unit (CPU), a graphics processing unit (GPU), or other forms of processing units 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 dedicated processor, and may control other components in the electronic device 910 to perform desired functions.

[0107] For example, the memory 912 may include any combination of one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disk read-only memory (CD-ROM), USB memory, flash memory, etc. One or more computer program modules may be stored on the computer-readable storage medium, and the processor 911 may run one or more computer program modules to implement various functions of the electronic device 910. Various applications and various data, as well as various data used and / or generated by the application, etc. may also be stored in the computer-readable storage medium.

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

[0109] Figure 8A schematic block diagram of another electronic device provided for some embodiments of the present disclosure. The electronic device 920 is, for example, suitable for implementing the information query method provided in the embodiments of the present disclosure. The electronic device 920 may be a terminal device, etc., and may be used to implement a client or a server. The electronic device 920 may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. It should be noted that Figure 8 The electronic device 920 shown is only an example and does not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0110] like Figure 8 As shown, the electronic device 920 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 921, which can perform various appropriate actions and processes according to 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. In the RAM 923, various programs and data required for the operation of the electronic device 920 are also stored. The processing device 921, the ROM 922, and the RAM 923 are connected to each other via a bus 924. An input / output (I / O) interface 925 is also connected to the bus 924.

[0111] Typically, the following devices may be connected to the I / O interface 925: an input device 926 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 927 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 928 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 929. The communication device 929 may allow the electronic device 920 to communicate with other electronic devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 920 is shown to have various devices, but it should be understood that it is not required to implement or possess all of the devices shown, and the electronic device 920 may alternatively implement or possess more or fewer devices.

[0112] For example, according to an embodiment of the present disclosure, the above-mentioned information query method can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the above-mentioned information query method. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 929, or installed from the storage device 928, or installed from the ROM 922. When the computer program is executed by the processing device 921, the functions defined in the information query method provided in the embodiment of the present disclosure can be implemented.

[0113] Fig. 9 A schematic diagram of a storage medium provided in some embodiments of the present disclosure. Fig. 9 As shown, the storage medium 930 may be a non-transitory computer-readable storage medium for storing 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 embodiment of the present disclosure may be implemented. For example, when the non-transitory computer-executable instructions 931 are executed by a processor, one or more steps in the information query method described above may be executed.

[0114] For example, the storage medium 930 may be applied to the above-mentioned electronic device. For example, the storage medium 930 may include a memory in the electronic device.

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

[0116] For example, the description of the storage medium 930 can refer to the description of the memory in the embodiment of the electronic device, and the repeated parts are not repeated. The specific functions and technical effects of the storage medium 930 can refer to the description of the information query method above, and are not repeated here.

[0117] It should be noted that in the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer-readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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 the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by an instruction execution system, device or device or used in combination with it. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0118] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0119] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An information query method, the method comprising: In response to an information query request triggered by a first user in a first session, determining a first information set associated with the first session; wherein the first user is a session member of the first session, and the first information set includes information outside the first session; According to the information query request, obtaining a query result from the first information set; Displaying the query result in the first session; Among them, the first information set belongs to a target information set, the target information set also 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; wherein the target information set is a first online data table; the target information set is associated with a first application; the information query request includes content that mentions the first application; the target information set also includes configuration information; the configuration information includes: a correspondence between a session and an information set in the target information set.

2. The method according to claim 1, wherein: The information query request includes: A conversation message including preset characters sent in the first conversation; or, A preset control is triggered in the first session, and an information query request is input in a page associated with the preset control.

3. The method according to claim 1, wherein: The configuration information also includes one or more of the following: Configuration information on whether the query results corresponding to the session can be forwarded; Configuration information about the visible scope of the query results corresponding to the session.

4. The method according to claim 1, wherein: The step of determining, in response to an information query request triggered by a first user in a first session, a first information set associated with the first session includes: In response to the first user sending an information query message mentioning a first application in the first session, a target information set associated with the first application is determined, and all or part of the target information set associated with the first application is used as a first information set.

5. The method according to claim 4, wherein: The first application is a chatbot; The presenting the query result in the first conversation includes: sending a conversation message including the query result in the first conversation by the chat robot.

6. The method according to claim 4, wherein: The first information set is at least part of the sub-tables in the first online data table, or the first information set is information in part of the rows or columns of at least part of the sub-tables in the first online data table.

7. The method according to claim 4 or 5, wherein: The method further comprises: In response to the operation of adding the first application to the first session, establishing an association relationship between the first information set and the first session; In response to an operation of removing the first application from the first session, the association between the first information set and the first session is released.

8. The method according to claim 1, wherein: The displaying the query result in the first session includes: Displaying the query result to all session members of the first session; Alternatively, displaying the query result to some session members of the first session, wherein the some session members include the first user and at least one other user; Alternatively, the query result is displayed to the first user.

9. The method according to claim 1, wherein: The determining, in response to an information query request triggered by a first user in a first session, a first information set associated with the first session includes: Determine a first online data table associated with the information query request, and determine whether a preset permission is enabled for the first online data table; If the preset permission is enabled, a target identifier is obtained, and a subtable corresponding to the target identifier is searched from the first online data table as the first information set; the target identifier includes an identifier of the first user and an identifier of the first session; If the preset permission is not enabled, permission configuration information of the first session is obtained, and based on the permission configuration information, a subtable corresponding to the first session in the first online data table is determined as the first information set.

10. An information query method, the method comprising: receiving a first query request; The first query request comes from a first query interface, and the first query interface is associated with a first online data table; Based on the first query request, determining a first query range in the first online data table; The first query scope is different from or the same as a second query scope, and the second query scope is a visible scope of the first online data table to a user who sends the first query request; Obtaining query results from the first query scope and outputting them to the first query interface; The first query interface is located in a first session, and the first query request includes a session identifier of the first session; The determining, based on the first query request, a first query range in the first online data table includes: determining the first query range through content in a configuration subtable in the first online data table; The configuration subtable stores the corresponding relationship between the session identifier and the query scope.

11. The method according to claim 10, wherein: The first query interface being located 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.

12. The method according to claim 10, wherein: The first query interface is located in a first page, and the first query request includes a user identifier of a user who inputs the first query request in the first page; The determining, based on the first query request, a first query range in the first online data table includes: determining the first query range through content in a configuration subtable in the first online data table; The configuration subtable stores the corresponding relationship between the user identifier and the query range.

13. An information query device, comprising: a determination module, configured to determine, in response to an information query request triggered by a first user in a first session, a first information set associated with the first session; wherein the first user is a session member of the first session, and the first information set includes information outside the first session; An acquisition module, configured to acquire a query result from the first information set according to the information query request; A display module, configured to display the query result in the first session; Among them, the first information set belongs to a target information set, the target information set also 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; wherein the target information set is a first online data table; the target information set is associated with a first application; the information query request includes content that mentions the first application; the target information set also includes configuration information; the configuration information includes: a correspondence between a session and an information set in the target information set.

14. An information query device, comprising: A receiving module, configured to receive a first query request; The first query request comes from a first query interface, and the first query interface is 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 scope is different from or the same as a second query scope, and the second query scope is a visible scope of the first online data table to a user who sends the first query request; An output module, used to obtain query results from the first query scope and output them to the first query interface; 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 is configured to: determine the first query range through the content in a configuration subtable in the first online data table; the configuration subtable stores a correspondence between the session identifier and the query range.

15. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 12.

16. An electronic device comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Cited By

  • Information query method and apparatus, and electronic device

    EP4685670A1

  • Information query method and apparatus, and electronic device

    WO2024193586A1