An interaction method and related apparatus

CN116996466BActive Publication Date: 2026-08-07TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-07-29
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

然而,目前尚未有能够解决上述需求的相关技术

Benefits of technology

[0023] As can be seen from the above technical solution, a platform-type mini-program includes multiple objects used to provide services to users. When a user account has an interaction need with the first object, the user account can obtain the first interaction message. This first interaction message carries the program identifier of the platform-type mini-program and the first object identifier assigned to the first object by the platform-type mini-program. Since the program identifier can identify which platform-type mini-program the first interaction message is related to, and the first object identifier can locate which object under the platform-type mini-program the first interaction message involves, when the first account identifier bound to the program identifier and the first object identifier is determined according to the binding relationship, the first account identifier can accurately indicate the first object that needs to receive the first interaction message for the platform-type mini-program. Thus, based on the first account identifier, the first interaction message can be sent to the first object through the platform-type mini-program, thereby realizing the specified interaction between the user account and any object under the platform-type mini-program and improving the interaction efficiency of the platform-type mini-program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116996466B_ABST
    Figure CN116996466B_ABST
Patent Text Reader

Abstract

The application discloses an interactive method and related device, a platform type applet includes a plurality of objects for providing services for users, when a first interactive message of a user account is acquired, the first interactive message can be acquired through voice technology, and carries a program identifier of the platform type applet and a first object identifier of a first object, since the program identifier can identify which platform type applet the first interactive message is related to, the first object identifier can locate which object under the platform type applet the first interactive message involves, therefore, when a first account identifier bound with the program identifier and the first object identifier is determined in a binding relationship, the first account identifier can accurately indicate the first object of the platform type applet receiving the first interactive message, so that the first interactive message is sent to the first object through the platform type applet, and specified interaction of the user account and any object under the platform type applet is realized, and the interactive efficiency of the platform type applet is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, and in particular to an interactive method and related apparatus. Background Technology

[0002] A mini program is an application that can be used without downloading or installing it. It generally needs to be launched using an application's program environment to provide services to users.

[0003] With the development of mini-program technology, platform-type mini-programs have emerged that can integrate multiple objects. These multiple objects can provide services to users based on a single platform-type mini-program. For example, a platform-type mini-program can integrate entities with similar functions or similar businesses. Users can access the platform-type mini-program and choose the services that suit their needs from these entities, thereby reducing the cost for users to switch between different mini-programs.

[0004] For platform-based mini-programs that integrate multiple objects to provide services, users have a need to interact with a specific object within the mini-program. However, there is currently no technology that can solve this need. Summary of the Invention

[0005] To address the aforementioned technical issues, this application provides an interaction method and related apparatus that enables specified interactions between user accounts and any object within a platform-based mini-program, thereby improving the interaction efficiency of the platform-based mini-program.

[0006] The embodiments of this application disclose the following technical solutions:

[0007] On one hand, embodiments of this application provide an interaction method, the method comprising:

[0008] Obtain the first interaction message of the user account for the first object in the platform-type mini program. The first object is one of multiple objects included in the platform-type mini program. The first interaction message carries the program identifier of the platform-type mini program and the first object identifier of the first object. The first object identifier is assigned to the first object by the platform-type mini program.

[0009] Based on the program identifier and the first object identifier, determine the first account identifier that is bound to the program identifier and the first object identifier from the binding relationship used to identify the platform-type mini-program and the plurality of objects;

[0010] Based on the first account identifier, the first interactive message from the user account is sent to the first object through the platform-type mini-program.

[0011] On the other hand, embodiments of this application provide an interactive device, which includes an acquisition unit, a determination unit, and a sending unit:

[0012] The acquisition unit is used to acquire a first interaction message of a user account for a first object in a platform-type mini-program. The first object is one of a plurality of objects included in the platform-type mini-program. The first interaction message carries the program identifier of the platform-type mini-program and the first object identifier of the first object. The first object identifier is assigned to the first object by the platform-type mini-program.

[0013] The determining unit is configured to determine, based on the program identifier and the first object identifier, a first account identifier bound to the program identifier and the first object identifier from the binding relationship used to identify the platform-type mini-program and the plurality of objects;

[0014] The sending unit is configured to send the first interactive message from the user account to the first object via the platform-type mini-program based on the first account identifier.

[0015] In one possible implementation, the acquisition unit is further configured to acquire the user account's session initiation request for the first object, the session initiation request including the program identifier and the first object identifier;

[0016] The determining unit is further configured to determine, based on the program identifier and the first object identifier, a first account identifier bound to the program identifier and the first object identifier from the binding relationship;

[0017] The sending unit is further configured to initiate a request for the session and return the first account identifier to the user account, which is used to instruct the user account to display a session interface for the first object, wherein the session title of the session interface is determined based on the program identifier and the first account identifier.

[0018] In one possible implementation, the first interactive message is sent through the session interface.

[0019] In one possible implementation, the multiple objects are entities belonging to the same service domain.

[0020] In one possible implementation, the platform-type mini-program further includes a main object that is distinct from the plurality of objects. The main object is the object that provides the platform-type mini-program, and the acquisition unit is further used to acquire the third interaction message of the user account to the main object.

[0021] The third interactive message carries the program identifier;

[0022] The sending unit is also configured to send a third interactive message to the main object based on the program identifier.

[0023] As can be seen from the above technical solution, a platform-type mini-program includes multiple objects used to provide services to users. When a user account has an interaction need with the first object, the user account can obtain the first interaction message. This first interaction message carries the program identifier of the platform-type mini-program and the first object identifier assigned to the first object by the platform-type mini-program. Since the program identifier can identify which platform-type mini-program the first interaction message is related to, and the first object identifier can locate which object under the platform-type mini-program the first interaction message involves, when the first account identifier bound to the program identifier and the first object identifier is determined according to the binding relationship, the first account identifier can accurately indicate the first object that needs to receive the first interaction message for the platform-type mini-program. Thus, based on the first account identifier, the first interaction message can be sent to the first object through the platform-type mini-program, thereby realizing the specified interaction between the user account and any object under the platform-type mini-program and improving the interaction efficiency of the platform-type mini-program. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A schematic diagram of an interactive scenario provided in an embodiment of this application;

[0026] Figure 2 A flowchart illustrating an interactive method provided in an embodiment of this application;

[0027] Figure 3 This application provides a schematic diagram of a session interface display for a first object in a platform-type mini-program.

[0028] Figure 4 A schematic diagram of a session interface provided in an embodiment of this application;

[0029] Figure 5 This application provides a schematic diagram of a session interface display for the main object of a platform-type mini-program.

[0030] Figure 6 A schematic diagram of an interactive scenario provided in an embodiment of this application;

[0031] Figure 7 A device structure diagram of an interactive device provided in an embodiment of this application.

[0032] Figure 8 A structural diagram of a terminal device provided in an embodiment of this application;

[0033] Figure 9 This is a structural diagram of a server provided in an embodiment of this application. Detailed Implementation

[0034] The embodiments of this application will now be described with reference to the accompanying drawings.

[0035] For platform-type mini-programs that integrate multiple objects, it is difficult for users to communicate conveniently and directly with a particular object when using its services. This results in the technology being unable to meet users' needs for interacting with a specific object within the platform-type mini-program.

[0036] To this end, embodiments of this application provide an interaction method and related apparatus that enable specified interactions between user accounts and any object within a platform-based mini-program, thereby improving the interaction efficiency of the platform-based mini-program.

[0037] The interaction method provided in this application can be implemented using a computer device, which can be a terminal device or a server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. Terminal devices include, but are not limited to, mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, and aircraft. Terminal devices and servers can be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitations on this connection.

[0038] The solutions provided in this application can relate to voice technology in artificial intelligence. Artificial intelligence (AI) is the theory, methods, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. Artificial intelligence also studies the design principles and implementation methods of various intelligent machines, enabling them to have the functions of perception, reasoning, and decision-making.

[0039] Key technologies in speech technology include automatic speech recognition, speech synthesis, and voiceprint recognition. Enabling computers to hear, see, speak, and feel is the future direction of human-computer interaction, with speech being one of the most promising methods.

[0040] For example, the various interactive messages involved in this application can be obtained through voice recognition technology.

[0041] It is understood that in the specific implementation of this application, data such as user account identifiers may be involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent must be obtained separately, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0042] Figure 1 This is a schematic diagram of an interactive scenario provided in an embodiment of this application, using server 100 as an example of the aforementioned computer device for illustration.

[0043] Server 100 is used to configure platform-based mini-programs (e.g. Figure 1 The application shown in the figure (refrigeration equipment circle in City A) provides data processing services and can also be used to provide data processing services for mini program a (platform mini program). Mini program a integrates four objects, namely refrigeration enterprise 1, refrigeration enterprise 2, refrigeration enterprise 3 and refrigeration enterprise 4. The user account runs the application with mini program a through terminal device 200 and opens the homepage of mini program a through the program environment of the application, as shown in 21. When the user account has a consultation need for the service of refrigeration enterprise 2, it can send a first interactive message to refrigeration enterprise 2 through terminal device 200. The first interactive message carries the program identifier of the platform mini program (i.e. mini program a) and the first object identifier (i.e. refrigeration enterprise 2) assigned to the platform mini program.

[0044] When server 100 receives the first interactive message, it determines the first account identifier bound to the program identifier and the first object identifier from the pre-established binding relationship based on the program identifier and the first object identifier carried by the message.

[0045] Since the program identifier can identify which platform-type mini-program the first interactive message is related to, and the first object identifier can locate which object under the platform-type mini-program the first interactive message involves, the determined first account identifier can accurately indicate to the platform-type mini-program that the recipient of the first interactive message is refrigeration company 2. Therefore, based on the first account identifier, the platform-type mini-program can send the first interactive message to refrigeration company 2. For example, employees of refrigeration company 2 can obtain the first interactive message through terminal device 300 and promptly understand the user account's consultation needs.

[0046] This enables specified interactions between user accounts and any object within the platform-based mini-program, improving the interaction efficiency of the platform-based mini-program.

[0047] Figure 2 A flowchart of an interactive method provided in this application embodiment is illustrated, using a server as an example of the aforementioned computer device. The method includes:

[0048] S201: Get the first interaction message of the user account for the first object in the platform-type mini program.

[0049] As mentioned earlier, mini-programs need to utilize the application's program environment to launch and provide services to users. For example, users can launch a corresponding mini-program through the drop-down menu of a social media app. Mini-programs include platform-type mini-programs, which contain multiple objects that can leverage the platform-type mini-program to provide services to users.

[0050] In other words, platform-type mini-programs essentially serve as a virtual platform for these multiple entities, allowing them to conveniently provide services to users without having to develop or purchase their own mini-programs, simply by leveraging the platform provided by the platform-type mini-program.

[0051] This application does not limit the types of multiple objects included in the platform-type mini-program. For example, the types of multiple objects may include at least one of users, enterprises, studios, clubs, etc. The types of multiple objects may be the same or different.

[0052] Since the main function of platform-type mini-programs is to integrate multiple objects to provide unified services to users, if these multiple objects have the same service area, such as all providing photography services or all providing refrigeration equipment services, users who access the platform-type mini-program can easily compare services among different objects, thereby increasing the likelihood that users can select an object that meets their service needs from the platform-type mini-program.

[0053] Therefore, in one possible implementation, the multiple objects are entities belonging to the same service domain. For example, they are all businesses providing photography services. Thus, when users access the platform-type mini-program, they can effectively compare the services offered by different entities and select the appropriate entity to obtain the service. This service domain-specific integration can improve the integration effect of the platform-type mini-program and enhance access efficiency.

[0054] Before users obtain services from a certain object through a platform-based mini-program, they generally have interactive needs for the service in order to understand the specific service content and details of each object. For this purpose, it is necessary to be able to send the first interactive message to the first object in the platform-based mini-program through the user account.

[0055] As mentioned earlier, platform-type mini-programs require the application's program environment to launch. The user account mentioned in this embodiment refers to the user's account within the application. After logging into the application with this user account, the user accesses the platform-type mini-program through the application's mini-program interface. After accessing the platform-type mini-program, a first interactive message can be sent to the first object based on the mini-program's displayed content.

[0056] In this step, the first object is one of multiple objects included in the platform-type mini-program. Users can select from these multiple objects using their user accounts to determine the first object to interact with. On the service interface of the first object, users can trigger interactive controls using their user accounts to send a first interactive message to the first object, which the server can then receive.

[0057] The first interactive message can be various interactive content sent by the user account to the first object, such as text content, images, links, videos, emoticons, etc. This application does not limit the type of the first interactive message. When the first interactive message is text content, the server can obtain it through a physical keyboard, virtual keyboard, or handwriting tablet, or it can convert the user's input speech through speech recognition technology.

[0058] In addition, the first interactive message also carries the program identifier of the platform-type mini-program and the first object identifier of the first object.

[0059] The platform identifier (platform_account) identifies which platform-based mini-program the first interactive message is associated with. This identifier can be an ID or the name of the platform-based mini-program, such as "Photography Directory" or "A City Refrigeration Equipment Circle". Optionally, since the first interactive message is sent through a platform-based mini-program, this platform identifier can be obtained when it is sent.

[0060] The first object identifier (sub_id) is assigned by the server to the first object within the platform-type mini-program. It serves to uniquely identify the first object within the application environment of the platform-type mini-program. By carrying the first object identifier in the first interaction message, the server can locate which object within the platform-type mini-program the first interaction message relates to.

[0061] It is important to note that the same object can be added to more than one platform-based mini-program. For example, if object 'a' is added to both platform-based mini-program 1 and platform-based mini-program 2, the server can assign two object identifiers to object 'a' to better distinguish its relationship with both. For instance, object identifier 1 can be assigned to object 'a' for platform-based mini-program 1, and object identifier 2 can be assigned to object 'a' for platform-based mini-program 2. In other words, based on the number of platform-based mini-programs an object is added to, this object can have one or more object identifiers. Alternatively, the server may assign only one object identifier to the aforementioned object 'a', which is not limited in this application.

[0062] S202: Based on the program identifier and the first object identifier, determine the first account identifier that is bound to the program identifier and the first object identifier from the binding relationship used to identify the platform-type mini-program and the plurality of objects.

[0063] The server can retrieve the binding relationships corresponding to each platform-type mini-program in the application, including the binding relationships of platform-type mini-programs involved in S201. This binding relationship is used to identify the relationship between the platform-type mini-program and the objects included in the platform-type mini-program. For the first object, this binding relationship identifies the binding relationship between the program identifier, the first object identifier, and the first account identifier. The program identifier is used to identify the platform-type mini-program, and the first object identifier and the first account identifier are used to identify the first object. The binding relationship between the three identifies the first object under the platform-type mini-program.

[0064] Because a platform-based mini-program essentially creates a small platform within the application's program environment, and this platform contains multiple independent objects, the platform-based mini-program acts as the representative of these objects and interacts with the application. Furthermore, the objects within the platform-based mini-program also require a server.

[0065] Thus, for objects within a platform-based mini-program, there is an internal and an external concept: externally, the relationship between the object and the application; internally, the relationship between the object and the platform-based mini-program. Therefore, in this embodiment, to clarify the internal and external relationships of objects, the platform-based mini-program is assigned two identifiers: the aforementioned object identifier and the account identifier.

[0066] Among them, the object identifier used externally is used to allow the server to locate the first object in the application's program environment, while the account identifier used internally is used to allow the platform-type mini-program to locate the first object from multiple objects.

[0067] For the first object, its corresponding first account identifier (sub_account) is used to uniquely identify the first object among the multiple objects included in the platform-type mini program. This account identifier can be an ID type identifier or the object name of the first object in the platform-type mini program, such as "Photographer Xiao Wang", "XX Photography Studio", "Refrigeration Equipment Company A", etc.

[0068] S203: Based on the first account identifier, send the first interactive message from the user account to the first object through a platform-type mini-program.

[0069] As mentioned earlier, the first account identifier serves to uniquely identify the first object within the platform-based mini-program. Therefore, after the server determines the first account identifier through the aforementioned binding relationship, it can push the first interaction message to the main system of the platform-based mini-program, simultaneously carrying the first account identifier. Through the internal indication function of the first account identifier, the platform-based mini-program can accurately send the first interaction message to the first object based on the first account identifier. This achieves the specified interaction between the user account and a specific object within the platform-based mini-program.

[0070] The first interactive message can be a service detail inquiry made by a user to the first object through their user account, such as what the details of a certain service are, whether it contains the content the user needs, or what the specific parameters of the products involved in a certain service are.

[0071] The employees or owners of the first target can understand the user account's interaction needs based on the first interactive message sent by the platform-type mini program, and can respond accordingly. The response process can be found in the following embodiments, which will not be repeated here.

[0072] Therefore, it can be seen that a platform-type mini-program includes multiple objects used to provide services to users. When a user account has an interaction need with the first object, it can obtain the user account's first interaction message. This first interaction message carries the program identifier of the platform-type mini-program and the first object identifier assigned to the first object by the platform-type mini-program. Since the program identifier can identify which platform-type mini-program the first interaction message is related to, and the first object identifier can locate which object under the platform-type mini-program the first interaction message involves, when the first account identifier bound to the program identifier and the first object identifier is determined according to the binding relationship, the first account identifier can accurately indicate the first object that needs to receive the first interaction message for the platform-type mini-program. Thus, based on the first account identifier, the first interaction message can be sent to the first object through the platform-type mini-program, thereby realizing the specified interaction between the user account and any object under the platform-type mini-program and improving the interaction efficiency of the platform-type mini-program.

[0073] The following is a further explanation based on the binding relationship.

[0074] In one possible implementation, the binding relationship is determined in the following way:

[0075] S11: Assign object identifiers for the platform-type mini-program to each of the multiple objects.

[0076] S12: Establish the binding relationship based on the program identifier, the account identifiers corresponding to the multiple objects, and the object identifier.

[0077] This binding relationship can be established and maintained by the aforementioned server, and invoked when user accounts and objects in platform-type mini-programs interact, in order to complete the forwarding of interactive messages.

[0078] The server can assign object identifiers to multiple objects included in a platform-based mini-program. As mentioned earlier, an object identifier uniquely identifies an object within the application environment of the platform-based mini-program. There is a one-to-one correspondence between the object identifier and the object.

[0079] The account identifiers corresponding to these multiple objects can be provided to the server by the platform-type mini-program, and the server can also obtain these account identifiers through other means. This application does not limit this.

[0080] Once the server obtains the program identifier of the platform-type mini-program, the object identifier of each object, and the account identifier, it can establish a corresponding binding relationship for each platform-type mini-program based on the subordinate relationship between the platform-type mini-program and the object, as well as the association between the object and the object identifier and the account identifier.

[0081] In the binding relationship corresponding to the platform-type mini program, each object of the platform-type mini program can be set with a corresponding binding entry. For example, the first object has a first binding entry, which includes the program identifier, the first account identifier and the first object identifier, which is equivalent to establishing a binding relationship between these three.

[0082] A binding entry in a binding relationship can be represented in the following format:

[0083] platform_account<—>(sub_account, sub_id)

[0084] Through this embodiment, the server can determine the corresponding binding relationship for all platform-type mini-programs deployed in the application, and the binding relationship can cover all existing objects in the platform-type mini-program, thus improving the accuracy of the binding relationship.

[0085] For platform-based mini-programs, the integrated objects and which objects are integrated can be managed. This means that even after a binding relationship is established, the objects included in a platform-based mini-program may change. To prevent these changed objects from failing to accurately retrieve the first interaction message sent by the user account, in one possible implementation, the method further includes:

[0086] S21: When the second object is added to the platform-type mini-program, a second object identifier for the platform-type mini-program is assigned to the second object.

[0087] S22: Generate a second binding entry for the second object based on the program identifier, the second object identifier, and the second account identifier of the second object.

[0088] S23: Update the second binding entry to the binding relationship.

[0089] The second object can be an object other than the multiple objects mentioned in S201, that is, an object newly added to the platform mini-program after the binding relationship has been determined by S12.

[0090] The server joins the platform-type mini-program based on the second object and assigns a second object identifier specific to the platform-type mini-program to the second object, thereby uniquely identifying the second object within the application environment of the platform-type mini-program.

[0091] By adding a second object to a platform-type mini-program (relative to the moment the binding relationship is determined), the server can promptly generate a corresponding second binding entry and update it in the binding relationship of the platform-type mini-program, effectively improving the coverage of the binding relationship and thus enhancing the efficiency of targeted interaction between user accounts and objects in the platform-type mini-program.

[0092] In this application embodiment, in addition to the user account being able to send a first interactive message to the first object in the platform-type mini-program, the first object can also send a second interactive message to the user account. The second interactive message can be a return based on the first interactive message, or it can be actively sent by the first object to the user account. This application does not limit this.

[0093] In one possible implementation, based on the foregoing embodiments, the method further includes:

[0094] S31: Obtain the second interaction message of the first object on the user account through the platform-type mini-program, wherein the second interaction message carries the first account identifier of the first object.

[0095] S32: Based on the first account identifier, determine the program identifier and the first object identifier that are bound to the first account identifier from the binding relationship.

[0096] S33: Based on the program identifier and the first object identifier, send the second interactive message from the first object to the user account.

[0097] The aforementioned sending of the first interactive message from the user account to the first object in the platform-type mini-program can be regarded as an upward interactive behavior of the user, while sending of the second interactive message from the first object in the platform-type mini-program to the user account can be regarded as a downward interactive behavior of the object.

[0098] When the first object receives the first interaction message from the user account or determines that the user account is ready to receive the first object's service, the first object can send a second interaction message to the user account.

[0099] The second interactive message can be various interactive content sent by the first object to the user account, such as text content, images, links, videos, emoticons, etc. This application does not limit the type of the second interactive message. When the second interactive message is text content, the server can obtain it through a physical keyboard, virtual keyboard, or handwriting tablet, or it can convert the voice input by the first object through speech recognition technology.

[0100] In order to accurately send the second interactive message to the user account by leveraging the aforementioned binding relationship, and to ensure that the user account clearly identifies the message as being sent by the first object under the platform-type mini-program, the second interactive message needs to carry the first account identifier of the first object.

[0101] When the server obtains the second interactive message from the platform-type mini-program system, it can search in the maintained binding relationship based on the first account identifier to determine the program identifier and the first object identifier that are bound to the first account identifier, and send the second interactive message to the user account according to the program identifier and the first object identifier.

[0102] When a user account receives a second interactive message, it can determine that the message originates from the platform-type mini-program corresponding to the program identifier and is sent by the first object identifier, based on the program identifier and the first object identifier. For example, when a user account interacts with the first object in a platform-type mini-program through a conversation interface, the second interactive message will be displayed in that conversation interface based on the program identifier and the first object identifier, and will not be displayed in other conversation interfaces opened by the user account, such as the conversation interface with the second object in the platform-type mini-program or the conversation interface corresponding to other platform-type mini-programs.

[0103] The second interactive message can be a response to the first interactive message, such as service details including a, b, c, etc., which do not include the content the user needs, or specific product parameters such as d, e, f, etc. It can also be a service already confirmed by the user account to the first recipient, such as "Please confirm your shipping address" or "Please remember to pay the balance on time."

[0104] Therefore, the binding relationship allows any object within a platform-based mini-program to interact specifically with the user account accessing the mini-program, improving interaction efficiency and streamlining the interaction process. Furthermore, the platform-based mini-program or its objects do not need to develop the aforementioned interaction process; they can directly obtain this targeted interaction function from the application's server, thereby reducing the development costs of the platform-based mini-program or its objects.

[0105] To facilitate interaction between user accounts and the first object in the platform-type mini-program, this application embodiment provides a method for performing the above-mentioned interaction through a session interface.

[0106] Therefore, in one possible implementation, the method further includes:

[0107] S41: Obtain the user account's session initiation request for the first object, the session initiation request including the program identifier and the first object identifier;

[0108] S42: Based on the program identifier and the first object identifier, determine the first account identifier that is bound to the program identifier and the first object identifier from the binding relationship;

[0109] S43: Initiate a request for the session and return the first account identifier to the user account to instruct the user account to display a session interface for the first object. The session title of the session interface is determined based on the program identifier and the first account identifier.

[0110] To accurately retrieve the session initiation request sent by the user account, the server can set a corresponding session control in the object interface of the first object in the platform-type mini-program. When the user account triggers the session control, the server can retrieve the session initiation request in S41. Since the session initiation request is triggered in the object interface of the first object, it can carry the program identifier of the platform-type mini-program and the identifier of the first object.

[0111] Based on the binding relationship, the server can determine the first account identifier that is bound to the program identifier and the first object identifier carried in the session initiation request, and return the user account. Thus, the user account can display a session interface for the first object based on the known program identifier and the first account identifier obtained from the server. The session title of the session interface is determined according to the program identifier and the first account identifier, thereby prompting the user from a display perspective that the session interface is related to the first object in the platform-type mini-program.

[0112] For example Figure 3 The images show various interfaces displayed by a terminal device (such as the aforementioned terminal device 200) through a user account.

[0113] When a user accesses the platform-type mini-program "Refrigeration Equipment Circle in City A" through the user account "Xiao Wang", the homepage of the platform-type mini-program "Refrigeration Equipment Circle in City A" can be displayed (as shown in section a). It lists four companies: Refrigeration Company 1, Refrigeration Company 2, Refrigeration Company 3, and Refrigeration Company 4. By touching the row of Refrigeration Company 2, the user can enter the service page of Refrigeration Company 2. Refrigeration Company 2 provides four types of refrigeration equipment, namely Refrigeration Equipment 1, Refrigeration Equipment 2, Refrigeration Equipment 3, and Refrigeration Equipment 4, as well as a "Service Consultation" control.

[0114] Users can initiate a session by touching the "Service Inquiry" control (as shown in section b). This triggers a session interface (as shown in section c) for Refrigeration Company 2, based on the server's returned first account identifier, "Refrigeration Company 2." The session title includes the first account identifier "Refrigeration Company 2" and the program identifier "Refrigeration Equipment Circle in City A," indicating that the session is for Refrigeration Company 2 within the platform-based mini-program "Refrigeration Equipment Circle in City A." Furthermore, users can send a first interactive message through this session interface, such as "Do you offer free shipping?", which will then be displayed in the session interface.

[0115] As described in the foregoing embodiments, the session interface can be used exclusively for interaction between user accounts and the first object in the platform-type mini-program. Therefore, in one possible implementation, the first interaction message is sent through the session interface.

[0116] In other words, after initiating a request through a session, a session interface for the first object can be displayed on the terminal device corresponding to the user account. The user can input the first interactive message on this session interface using their user account, and then send the first interactive message to the server by triggering a send control. The server can then obtain the first interactive message through the aforementioned S201. The user account can conveniently achieve specified interactions with the first object in the platform-type mini-program through this session interface, improving interaction efficiency.

[0117] Correspondingly, on the first object side, the terminal device of the first object used to receive the first interactive message can also display a session interface for the user account, so as to display the first interactive message and send the second interactive message through the session interface. The display and sending logic can refer to the processing logic on the user account side, which will not be elaborated here.

[0118] Both the aforementioned first and second interactive messages can be displayed in the session interface to ensure message integrity throughout the entire interaction process.

[0119] For example Figure 4 As shown, when employee account Xiao Li receives the first interactive message "Does it include shipping?" from user account Xiao Zhang, employee account Xiao Li can send a second interactive message "Free shipping!" to user account Xiao Zhang. The second interactive message "Free shipping!" sent by employee account Xiao Li, as well as the first interactive message "Does it include shipping?" previously sent by user account Xiao Zhang, can be displayed in the conversation interface corresponding to the user account.

[0120] In this embodiment of the application, in addition to targeted message interaction with the first object in the platform-type mini-program, targeted interaction with at least two objects in the platform-type mini-program can also be performed simultaneously.

[0121] In one possible implementation, the method further includes:

[0122] S51: Obtain the fourth interaction message of the user account for at least two objects in the platform-type mini program.

[0123] The fourth interactive message carries the program identifier and the object identifiers corresponding to the at least two objects respectively.

[0124] S52: Based on the program identifier and the object identifiers corresponding to the at least two objects respectively, determine from the binding relationship the account identifiers corresponding to the at least two objects that are bound to the program identifier and the object identifiers corresponding to the at least two objects respectively.

[0125] S53: Based on the account identifiers corresponding to the at least two objects respectively, send the fourth interactive message from the user account to the at least two objects through the platform-type mini-program.

[0126] In some scenarios, when users access platform-based mini-programs, they may have a need to interact with some or all of the services provided by multiple objects at the same time, such as wanting to compare the service details between different objects.

[0127] Interacting with each object one by one requires a significant operational cost for the user, and the interaction content for each object may be largely similar, resulting in a large number of repetitive operations. Therefore, this application provides a scheme to initiate at least two interactions simultaneously. That is, a user can send a fourth interaction message to at least two of multiple objects simultaneously through their user account, thereby greatly reducing the number of operations required by the user in the above scenario and also reducing the system's response resource consumption.

[0128] For example, a user account can simultaneously send a fourth interactive message, such as "Does it include free shipping?", to 5 out of 10 objects in a platform-type mini-program, instead of sending the aforementioned interactive message to each object sequentially, thus significantly reducing operational costs.

[0129] When the server receives the fourth interaction message, since this message carries object identifiers corresponding to the at least two objects, it can determine the account identifiers corresponding to the at least two objects from the binding relationship corresponding to the platform-type mini-program, based on the object identifiers corresponding to the at least two objects, according to the aforementioned processing of the binding relationship. Then, it instructs the platform-type mini-program to send the fourth interaction message from the user account to the at least two objects using the determined account identifiers. The specific processing logic can be found in the aforementioned embodiments and will not be repeated here.

[0130] To facilitate users in accurately identifying at least two of the aforementioned objects from multiple objects within a platform-based mini-program, in one possible implementation, prior to S51, the method further includes:

[0131] S50a: Obtain the user account's multi-object selection operation for the multiple objects.

[0132] S50b: Determine at least two objects from the plurality of objects according to the multi-object selection operation.

[0133] In other words, when a user needs to select some or all of multiple objects as at least two objects, they can perform a multi-object selection operation through their user account for targeted selection. For each selected object, the user account can simultaneously send the same fourth interaction message to it.

[0134] It should be noted that when the embodiments corresponding to S51-S53 are combined with the aforementioned conversational interface scheme, after sending the fourth interactive message, the fourth interactive message can be displayed on the terminal device where the user account is located through the same number of conversational interfaces as at least two objects, and different conversational interfaces correspond to different objects. Alternatively, a single conversational interface can be used for split-screen display, with one split-screen corresponding to one object. This application does not limit this aspect.

[0135] This application, through the above embodiments, focuses on illustrating how a user account can selectively interact with a first object or at least two objects among the multiple objects included in a platform-type mini-program when accessing the mini-program.

[0136] In addition to interacting with objects included in the platform-type mini-program, user accounts can also interact with the main object of the platform-type mini-program.

[0137] The main object is the object that provides the platform-type mini-program, that is, the object that purchases and develops the platform-type mini-program. The main object can perform the aforementioned object management on the objects included in the platform-type mini-program, such as adding or removing objects.

[0138] In other words, the main object is the parent object of the multiple objects included in the platform-type mini-program, and the multiple objects are child objects of the main object.

[0139] When users access a platform-based mini-program through their user accounts, they may have interaction needs with objects within the mini-program, as well as with the main object of the mini-program. This could include questions about using the mini-program, or questions about services provided by the main object itself through the mini-program.

[0140] Therefore, in one possible implementation, the method further includes:

[0141] S61: Obtain the third interaction message of the user account for the main object, the third interaction message carrying the program identifier.

[0142] S62: Send a third interaction message to the main object according to the program identifier.

[0143] The program identifier serves to uniquely identify a platform-type mini-program within the application's application environment. By using the program identifier carried in the third interaction message, the server can pinpoint which platform-type mini-program within the application's application environment the third interaction message relates to.

[0144] Therefore, the server can send a third interaction message to the main object of the specified platform mini-program based on the program identifier. The main object can understand the user account's needs through the third interaction message, thereby realizing the interaction between the user account and the main object of the platform mini-program.

[0145] For example Figure 5 The images show various interfaces displayed by a terminal device (such as the aforementioned terminal device 200) through a user account.

[0146] When a user accesses the platform-type mini-program "Refrigeration Equipment Circle in City A" through the user account "Xiao Wang", the homepage of the platform-type mini-program "Refrigeration Equipment Circle in City A" can be displayed (as shown in section a). It lists four companies: Refrigeration Company 1, Refrigeration Company 2, Refrigeration Company 3, and Refrigeration Company 4. By touching the row of the main object "Refrigeration Equipment Circle in City A", the user can enter the service page of the main object "Refrigeration Equipment Circle in City A". The service page of the main object "Refrigeration Equipment Circle in City A" provides explanatory menus such as "Join Us", "Joining Conditions", and "Business Introduction", as well as a "Service Consultation" control.

[0147] Users can initiate a session request to the server for the main object "Refrigeration Equipment Circle in City A" by touching the "Service Inquiry" control (as shown in section b). This will display a session interface for the main object "Refrigeration Equipment Circle in City A" (as shown in section c). The session title of this interface includes the program identifier "Refrigeration Equipment Circle in City A," indicating that the session interface is for the platform-type mini-program "Refrigeration Equipment Circle in City A." Furthermore, users can also send third-party interactive messages through this session interface, such as the text message "Can my company join?" and the link message "X Company Business Introduction Homepage."

[0148] Next, through Figure 6This application provides a comprehensive description of the interaction scheme for the user account with respect to the first object among multiple objects included in a platform-based mini-program. Figure 6 In this context, the forwarding module serves as a functional module for forwarding interactive messages on the aforementioned server. The interactive system is an internal system of the platform-type mini-program for the multiple objects it includes.

[0149] In this scenario, the platform-type mini-program consists of two pairs, namely the first object and the second object. The program identifier of the platform-type mini-program is platform_account, and the account identifiers of the first object and the second object are sub_account1 and sub_account2, respectively.

[0150] When the first object and the second object are added to the platform-type mini program, the server assigns object identifiers to the platform-type mini program respectively. The object identifiers of the first object and the second object are sub_id1 and sub_id2 respectively.

[0151] Based on the allocation of object identifiers, binding entries between the first object and the second object and the platform-type mini program can be established and updated in the corresponding binding relationship of the platform-type mini program. The format of each binding entry in the binding relationship is: platform_account<—>(sub_account, sub_id).

[0152] Step 1. User uplink: Input

[0153] Once a user account accesses a platform-based mini-program, it can send interactive messages to the first object within the platform-based mini-program.

[0154] Based on this step, the user account sends the first interaction message to the forwarding module, carrying platform_account+sub_id1.

[0155] The forwarding module finds the bound sub_account1 by using platform_account+sub_id1 based on the previously established binding relationship.

[0156] Step 2. User Uplink: Output

[0157] The forwarding module sends the first interaction message carrying sub_account1 to the interactive system of the platform-type mini-program.

[0158] The interaction system determines that the first interaction message is for the first object in the platform-type mini-program based on sub_account1, and sends the first interaction message to the first object, such as the employee account of the first object.

[0159] The employee account of the first object can return a second interaction message to the user account based on the first interaction message. The second interaction message carries its own account identifier sub_account1.

[0160] Step 3. Employee Departure: Enter

[0161] The platform-based mini-program's interaction system sends this second interaction message to the forwarding module.

[0162] Based on the previously established binding relationship, the forwarding module finds the bound platform_account+sub_id1 through sub_account1.

[0163] Step 4. Employee Departure: Output

[0164] The forwarding module sends a second interaction message carrying platform_account+sub_id1 to the user account. The user account can then obtain feedback from the first object based on this second interaction message.

[0165] In the foregoing Figures 1-6 Based on the corresponding embodiments, this application also provides an interactive device. Figure 7 This is a device structure diagram of an interactive device provided in an embodiment of this application. The interactive device 700 includes an acquisition unit 701, a determination unit 702, and a sending unit 703.

[0166] The acquisition unit 701 is used to acquire a first interaction message of a user account for a first object in a platform-type mini-program. The first object is one of a plurality of objects included in the platform-type mini-program. The first interaction message carries the program identifier of the platform-type mini-program and the first object identifier of the first object. The first object identifier is assigned to the first object by the platform-type mini-program.

[0167] The determining unit 702 is configured to determine, based on the program identifier and the first object identifier, a first account identifier bound to the program identifier and the first object identifier from the binding relationship used to identify the platform-type mini-program and the plurality of objects;

[0168] The sending unit 703 is used to send the first interactive message from the user account to the first object through the platform-type applet based on the first account identifier.

[0169] In one possible implementation, the determining unit is further configured to:

[0170] Assign object identifiers specific to the platform-type mini-program to each of the multiple objects;

[0171] The binding relationship is established based on the program identifier, the account identifiers corresponding to the plurality of objects, and the object identifier. The first binding entry for the first object in the binding relationship includes the program identifier, the first account identifier, and the first object identifier.

[0172] In one possible implementation, the determining unit is further configured to:

[0173] When a second object is added to the platform-type mini-program, a second object identifier for the platform-type mini-program is assigned to the second object;

[0174] A second binding entry for the second object is generated based on the program identifier, the second object identifier, and the second account identifier of the second object;

[0175] Update the second binding entry to the binding relationship.

[0176] In one possible implementation, the acquisition unit is further configured to acquire a second interaction message of the first object on the user account through the platform-type mini-program, wherein the second interaction message carries the first account identifier of the first object;

[0177] The determining unit is further configured to determine, based on the first account identifier, the program identifier and the first object identifier bound to the first account identifier from the binding relationship;

[0178] The sending unit is further configured to send the second interactive message from the first object to the user account based on the program identifier and the first object identifier.

[0179] In one possible implementation, the acquisition unit is further configured to acquire the user account's session initiation request for the first object, the session initiation request including the program identifier and the first object identifier;

[0180] The determining unit is further configured to determine, based on the program identifier and the first object identifier, a first account identifier bound to the program identifier and the first object identifier from the binding relationship;

[0181] The sending unit is further configured to initiate a request for the session and return the first account identifier to the user account, which is used to instruct the user account to display a session interface for the first object, wherein the session title of the session interface is determined based on the program identifier and the first account identifier.

[0182] In one possible implementation, the first interactive message is sent through the session interface.

[0183] In one possible implementation, the multiple objects are entities belonging to the same service domain.

[0184] In one possible implementation, the platform-type mini-program further includes a main object that is distinct from the plurality of objects. The main object is the object that provides the platform-type mini-program, and the acquisition unit is further used to acquire the third interaction message of the user account to the main object.

[0185] The third interactive message carries the program identifier;

[0186] The sending unit is also configured to send a third interactive message to the main object based on the program identifier.

[0187] Therefore, it can be seen that a platform-type mini-program includes multiple objects used to provide services to users. When a user account has an interaction need with the first object, it can obtain the user account's first interaction message. This first interaction message carries the program identifier of the platform-type mini-program and the first object identifier assigned to the first object by the platform-type mini-program. Since the program identifier can identify which platform-type mini-program the first interaction message is related to, and the first object identifier can locate which object under the platform-type mini-program the first interaction message involves, when the first account identifier bound to the program identifier and the first object identifier is determined according to the binding relationship, the first account identifier can accurately indicate the first object that needs to receive the first interaction message for the platform-type mini-program. Thus, based on the first account identifier, the first interaction message can be sent to the first object through the platform-type mini-program, thereby realizing the specified interaction between the user account and any object under the platform-type mini-program and improving the interaction efficiency of the platform-type mini-program.

[0188] This application also provides a computer device, which is the computer device described above, and may include a terminal device or a server. The aforementioned interactive device may be configured in the computer device. The computer device will now be described in conjunction with the accompanying drawings.

[0189] If the computer device is a terminal device, please refer to Figure 8 As shown, this application provides a terminal device, taking a mobile phone as an example:

[0190] Figure 8 This diagram illustrates a partial structural representation of a mobile phone related to the terminal device provided in this embodiment. (Reference) Figure 8The mobile phone includes components such as a radio frequency (RF) circuit 1410, a memory 1420, an input unit 1430, a display unit 1440, a sensor 1450, an audio circuit 1460, a Wi-Fi module 1470, a processor 1480, and a power supply 1490. Those skilled in the art will understand that... Figure 8 The mobile phone structure shown does not constitute a limitation on the mobile phone and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0191] The following is combined Figure 8 A detailed introduction to each component of a mobile phone:

[0192] The RF circuit 1410 can be used to receive and transmit signals during information transmission or calls. In particular, it receives downlink information from the base station and processes it with the processor 1480; in addition, it transmits uplink data to the base station.

[0193] The memory 1420 can be used to store software programs and modules. The processor 1480 executes various mobile phone functions and data processing by running the software programs and modules stored in the memory 1420. The memory 1420 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 1420 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0194] The input unit 1430 can be used to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 1430 may include a touch panel 1431 and other input devices 1432.

[0195] The display unit 1440 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 1440 may include a display panel 1441.

[0196] The mobile phone may also include at least one sensor 1450, such as a light sensor, a motion sensor, and other sensors.

[0197] Audio circuitry 1460, speaker 1461, and microphone 1462 provide an audio interface between the user and the mobile phone.

[0198] WiFi is a short-range wireless transmission technology. Through the WiFi module 1470, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access.

[0199] The processor 1480 is the control center of the mobile phone. It connects to various parts of the mobile phone through various interfaces and lines. It performs various functions of the mobile phone and processes data by running or executing software programs and / or modules stored in the memory 1420 and calling data stored in the memory 1420.

[0200] The mobile phone also includes a power supply 1490 (such as a battery) that powers the various components.

[0201] The steps performed by the terminal device in the above embodiments can be based on Figure 8 The structure shown is implemented.

[0202] If the computer device is a server, this application embodiment also provides a server; please refer to [link to relevant documentation]. Figure 9 As shown, Figure 9 This is a structural diagram of a server 1500 provided in an embodiment of this application. The server 1500 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 1522 (e.g., one or more processors) and a memory 1532, and one or more storage media 1530 (e.g., one or more mass storage devices) for storing application programs 1542 or data 1544. The memory 1532 and storage media 1530 can be temporary or persistent storage. The program stored in the storage media 1530 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the server. Furthermore, the CPU 1522 may be configured to communicate with the storage media 1530 and execute the series of instruction operations in the storage media 1530 on the server 1500.

[0203] Server 1500 may also include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input / output interfaces 1558, and / or one or more operating systems 1541, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM etc.

[0204] In this embodiment, the processor 1522 included in the terminal device also has the following functions:

[0205] Obtain the first interaction message of the user account for the first object in the platform-type mini program. The first object is one of multiple objects included in the platform-type mini program. The first interaction message carries the program identifier of the platform-type mini program and the first object identifier of the first object. The first object identifier is assigned to the first object by the platform-type mini program.

[0206] Based on the program identifier and the first object identifier, determine the first account identifier that is bound to the program identifier and the first object identifier from the binding relationship used to identify the platform-type mini-program and the plurality of objects;

[0207] Based on the first account identifier, the first interactive message from the user account is sent to the first object through the platform-type mini-program.

[0208] In addition, this application embodiment also provides a storage medium for storing a computer program for executing the method provided in the above embodiment.

[0209] This application also provides a computer program product including instructions that, when run on a computer, cause the computer to perform the methods provided in the above embodiments.

[0210] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium can be at least one of the following media: read-only memory (ROM), RAM, magnetic disk, or optical disk, etc., and other media capable of storing program code.

[0211] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the solution in this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0212] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Moreover, based on the implementation methods provided in the above aspects, this application can be further combined to provide more implementation methods. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An interaction method, characterized in that, The method includes: Obtain the first interaction message of the user account for the first object in the platform-type mini program. The first object is one of multiple objects included in the platform-type mini program. The first interaction message carries the program identifier of the platform-type mini program and the first object identifier of the first object. The first object identifier is assigned to the first object by the platform-type mini program. Based on the program identifier and the first object identifier, determine the first account identifier that is bound to the program identifier and the first object identifier from the binding relationship used to identify the platform-type mini-program and the plurality of objects; Based on the first account identifier, the first interactive message from the user account is sent to the first object through the platform-type mini-program.

2. The method according to claim 1, characterized in that, The binding relationship is determined in the following way: Assign object identifiers specific to the platform-type mini-program to each of the multiple objects; The binding relationship is established based on the program identifier, the account identifiers corresponding to the plurality of objects, and the object identifier. The first binding entry for the first object in the binding relationship includes the program identifier, the first account identifier, and the first object identifier.

3. The method according to claim 2, characterized in that, The method further includes: When a second object is added to the platform-type mini-program, a second object identifier for the platform-type mini-program is assigned to the second object; A second binding entry for the second object is generated based on the program identifier, the second object identifier, and the second account identifier of the second object; Update the second binding entry to the binding relationship.

4. The method according to claim 1, characterized in that, The method further includes: The platform-type mini-program obtains the second interactive message of the first object for the user account, and the second interactive message carries the first account identifier of the first object. Based on the first account identifier, determine the program identifier and the first object identifier bound to the first account identifier from the binding relationship; Based on the program identifier and the first object identifier, the second interactive message from the first object is sent to the user account.

5. The method according to claim 1, characterized in that, The method further includes: Obtain the user account to initiate a session request for the first object, the session request including the program identifier and the first object identifier; Based on the program identifier and the first object identifier, determine the first account identifier that is bound to the program identifier and the first object identifier from the binding relationship; A request is initiated for the session, and the first account identifier is returned to the user account to instruct the user account to display a session interface for the first object. The session title of the session interface is determined based on the program identifier and the first account identifier.

6. The method according to claim 5, characterized in that, The first interactive message was sent through the session interface.

7. The method according to any one of claims 1-6, characterized in that, The multiple objects mentioned are entities belonging to the same service domain.

8. The method according to claim 1, characterized in that, The platform-type mini-program also includes a main object distinct from the plurality of objects, wherein the main object is the object that provides the platform-type mini-program, and the method further includes: Obtain the third interaction message of the user account to the main object, wherein the third interaction message carries the program identifier; A third interaction message is sent to the main object based on the program identifier.

9. The method according to claim 1, characterized in that, The method further includes: Obtain the fourth interaction message of the user account for at least two objects in the platform-type mini-program, the fourth interaction message carrying the program identifier and the object identifiers corresponding to the at least two objects respectively; Based on the program identifier and the object identifiers corresponding to the at least two objects respectively, determine the account identifiers corresponding to the at least two objects that are bound to the program identifier and the object identifiers corresponding to the at least two objects respectively from the binding relationship; Based on the account identifiers corresponding to the at least two objects, the fourth interactive message from the user account is sent to the at least two objects through the platform-type mini-program.

10. The method according to claim 9, characterized in that, Before obtaining the fourth interaction message of the user account for at least two objects in the platform-type mini-program, the method further includes: Obtain the user account's multi-object selection operation for the multiple objects; The at least two objects are determined from the plurality of objects according to the multi-object selection operation.

11. An interactive device, characterized in that, The device includes an acquisition unit, a determination unit, and a transmission unit: The acquisition unit is used to acquire a first interaction message of a user account for a first object in a platform-type mini-program. The first object is one of a plurality of objects included in the platform-type mini-program. The first interaction message carries the program identifier of the platform-type mini-program and the first object identifier of the first object. The first object identifier is assigned to the first object by the platform-type mini-program. The determining unit is configured to determine, based on the program identifier and the first object identifier, a first account identifier bound to the program identifier and the first object identifier from the binding relationship used to identify the platform-type mini-program and the plurality of objects; The sending unit is configured to send the first interactive message from the user account to the first object via the platform-type mini-program based on the first account identifier.

12. The apparatus according to claim 11, characterized in that, The determining unit is further configured to: Assign object identifiers specific to the platform-type mini-program to each of the multiple objects; The binding relationship is established based on the program identifier, the account identifiers corresponding to the plurality of objects, and the object identifier. The first binding entry for the first object in the binding relationship includes the program identifier, the first account identifier, and the first object identifier.

13. A computer device, characterized in that, The computer device includes a processor and memory: The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the method described in any one of claims 1-10 according to the instructions in the program code.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program for performing the method according to any one of claims 1-10.

15. A computer program product comprising instructions that, when run on a computer, cause the computer to perform the method of any one of claims 1-10.

Citation Information

Patent Citations

  • Method and device for achieving services based on applet

    CN111770184A

  • Data processing method and device, equipment and storage medium

    CN112150256A