Application sharing processing methods, devices, equipment, storage media and program products
By displaying a sharing control in the instant messaging client and using a machine learning model to determine operation permissions, the target application is shared only to group members with the appropriate permissions, thus solving the problem of poor application sharing security and enabling secure operation of the target application.
Patent Information
- Application Number
- CN202210145294.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-17
- Publication Date
- 2026-06-30
- Estimated Expiration
- 2042-02-17
AI Technical Summary
In instant messaging clients, when an application is shared to a chat group, all members can operate on it, leading to security vulnerabilities.
By displaying the target application to be shared and its sharing control in the instant messaging client, responding to the sharing command, the target application is shared only to group member accounts with operation permissions. The operation permissions are predicted by a machine learning model, and the sharing of the target application is achieved through conversation messages.
It improves the security of application sharing, ensuring that only authorized member accounts can operate the target application, thus preventing unauthorized members from operating it arbitrarily.
Smart Images

Figure CN116668386B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a sharing processing method, apparatus, device, computer-readable storage medium, and computer program product for an application. Background Technology
[0002] With the rapid development of internet technology, instant messaging clients are increasingly favored by users due to their instant messaging and user interactivity. However, a significant security issue arises when sharing applications (such as mini-programs or mini-program application pages) through instant messaging clients, especially when sharing to chat groups. All members of the chat group can operate (e.g., view) the application, leading to poor security in application sharing. Summary of the Invention
[0003] This application provides an application sharing processing method, apparatus, device, computer-readable storage medium, and computer program product, which can improve the security of application sharing.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] This application provides a method for sharing an application, applied to an instant messaging client, wherein the instant messaging client is associated with member accounts of at least one group; the method includes: displaying a target application to be shared and a corresponding sharing control in the instant messaging client; and sharing the target application to the group in response to a sharing instruction triggered by the sharing control, so that member accounts in the group with operation permissions for the target application can operate the target application.
[0006] This application provides a method for sharing an application. The method includes: receiving a sharing request for a target application sent by an instant messaging client, wherein the instant messaging client is associated with at least one group member account; and in response to the sharing request, sharing the target application to the group so that member accounts in the group with operation permissions for the target application can operate the target application.
[0007] This application provides an application sharing processing device, set in an instant messaging client, the instant messaging client being associated with at least one group of member accounts; the device includes: an application display module, used to display the target application to be shared and its corresponding sharing control in the instant messaging client; and an application sharing module, used to share the target application to the group in response to a sharing instruction triggered by the sharing control, so that member accounts in the group with operation permissions for the target application can operate the target application.
[0008] In the above scheme, the application display module is further configured to display the target application to be shared in the session attachment bar of the group associated with the instant messaging client, wherein the target application is associated with a member account that has the operation permission; in response to a trigger operation for the target application, display a preview interface of the target application and display the sharing control in the preview interface; the application sharing module is further configured to filter out target member accounts with the operation permission from the group based on the member accounts with the operation permission associated with the target application; and share the target application to the filtered target member accounts via session messages.
[0009] In the above scheme, before displaying the target application to be shared in the conversation attachment bar of the group associated with the instant messaging client, the device further includes: an application adding module, configured to display at least one candidate application to be added in response to a trigger operation for an application adding entry in the conversation attachment bar; display a details page of the selected target application in response to a selection operation for a target application among the at least one candidate application to be added, and display a permission setting control in the details page; determine the target member account indicated by the permission setting instruction in response to a permission setting instruction triggered based on the permission setting control, and set the target member account as a member account associated with the target application that has the operation permission; and add the target application associated with the target member account to the conversation attachment bar in response to the application adding instruction.
[0010] In the above scheme, the application display module is further configured to, in response to a trigger operation of the mass messaging control of the mass messaging assistant in the instant messaging client, display an attachment addition control in the mass messaging interface; in response to a trigger operation of the attachment addition control, display at least one selectable attachment type; in response to a selection operation of an application type among the at least one attachment type, display at least one added candidate application corresponding to the application type; wherein, the added candidate application is added by the administrator account associated with the group, and the member account with the operation permission of the added candidate application is set by the administrator account; in response to a selection operation of a target application among the at least one added candidate application, display the target application to be shared and the corresponding sharing control.
[0011] In the above scheme, the mass messaging interface displays a mass messaging target selection control, and the device further includes: a mass messaging determination module, used to determine the mass messaging member account that makes the selection based on the mass messaging target selection instruction triggered by the mass messaging target selection control; the application sharing module is further used to share the target application to the mass messaging member account through the mass messaging assistant, so that member accounts with operation permissions for the target application in the mass messaging member account can operate the target application.
[0012] In the above scheme, the device further includes: a prompt sending module, used to send an activation prompt message to the administrator account when there is a member account among the group sending member accounts that does not have the operation permission; wherein, the activation prompt message is used to prompt the administrator account to activate the operation permission for the target application for the member account among the group sending member accounts that does not have the operation permission.
[0013] In the above scheme, the application sharing module is further configured to, in response to a trigger operation on the sharing control, display a sharing preview interface, and display a sharing object selection control and a sending control in the sharing preview interface; in response to a sharing object selection instruction triggered based on the sharing object selection control, display the target member account with the operation permission indicated by the sharing object selection instruction in the sharing preview interface; and in response to a sharing instruction triggered based on the sending control, share the target application to the target member account in the group, so that the target member account can operate the target application.
[0014] In the above scheme, the application sharing module is further configured to, in response to a trigger operation on the sharing object selection control, display an object selection interface and display each member account in the group in the object selection interface; in response to a sharing object selection instruction, control the selected target member account in the group to be in a selected state; in response to a confirmation operation on the selected target member account, confirm the target member account as a member account with the operation permission, close the object selection interface, and display the target member account in the sharing preview interface.
[0015] In the above scheme, the application sharing module is further configured to display recommended member accounts in the group using a first style in the object selection interface, and display other member accounts in the group other than the recommended member accounts using a second style different from the first style; wherein, the first style is used to prompt the user to select the target member account from the recommended member accounts; the recommended member accounts are member accounts that need to have the operation permissions, recommended based on the compatibility between the target application and each member account.
[0016] In the above scheme, the application sharing module is further configured to share the target application to the group via a session message, and display the session message corresponding to the target application in the session interface of the group; wherein, the session message includes the target application and a pointing character, and the pointing character is used to indicate the target member account in the group that has the operation permission.
[0017] In the above scheme, the application sharing module is also used to share the target application to the instant messaging client of a member account in the group that has operation permissions for the target application.
[0018] In the above scheme, the application sharing module is further used to share the target application to the instant messaging clients of each member account in the group; wherein, the target application is in an operable state in the instant messaging client of the member account in the group that has the operation permission, and the target application is in an inoperable state in the instant messaging client of the member account in the group that does not have the operation permission.
[0019] In the above scheme, the application sharing module is further used to obtain the application data of the target application and the account data of each member account in the group; based on the application data and the account data, call a machine learning model to predict the member accounts in the group that need to have operation permissions for the target application, and use the predicted target member accounts as member accounts with the operation permissions; share the target application to the predicted target member accounts.
[0020] This application provides an application sharing processing device, comprising: a request receiving module, configured to receive a sharing request for a target application sent by an instant messaging client, wherein the instant messaging client is associated with at least one group member account; and a request response module, configured to respond to the sharing request by sharing the target application to the group, so that member accounts in the group with operation permissions for the target application can operate the target application.
[0021] In the above scheme, the request response module is further configured to obtain the page metadata of the target application, and encapsulate the message based on the page metadata to obtain the application message corresponding to the target application; and send the application message to the instant messaging client of the member account with the operation permission in the group via a session message; wherein, the application information is used to allow the instant messaging client of the member account with the operation permission of the target application in the group to parse the application message and display the target application when it receives the triggered operation for the application message.
[0022] In the above scheme, the request response module is further configured to respond to the sharing request by obtaining the member account associated with the target application that has the operation permission; based on the member account associated with the target application that has the operation permission, filtering out the target member account with the operation permission of the target application from the group; and sharing the target application to the target member account in the group so that the target member account can operate the target application.
[0023] In the above scheme, the request response module is further configured to respond to the sharing request by obtaining the application data of the target application and the account data of each member account in the group; based on the application data and the account data, calling a machine learning model to predict the member accounts in the group that need to have operation permissions for the target application, and determining the predicted target member accounts as member accounts with the operation permissions; sharing the target application to the target member accounts in the group so that the target member accounts can operate the target application.
[0024] This application provides an electronic device, including:
[0025] Memory, used to store executable instructions;
[0026] The processor, when executing executable instructions stored in the memory, implements the application sharing processing method provided in the embodiments of this application.
[0027] This application provides a computer-readable storage medium storing executable instructions for inducing a processor to execute and implement the sharing processing method of the application provided in this application.
[0028] This application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implement the sharing processing method of the application provided in this application.
[0029] The embodiments of this application have the following beneficial effects:
[0030] By applying the embodiments of this application, when sharing a target application in an instant messaging client, the target application is shared with the group associated with the instant messaging client. Since only member accounts in the group with operation permissions for the target application can operate the target application, the unauthorized operation of the target application by member accounts in the group is prevented when sharing the target application, thereby improving the security of target application sharing. Attached Figure Description
[0031] Figure 1 A schematic diagram of the architecture of the sharing processing system 100 provided in the embodiments of this application;
[0032] Figure 2 This is a schematic diagram of the structure of the electronic device 500 provided in the embodiments of this application;
[0033] Figure 3 A flowchart illustrating the sharing processing method for the application provided in this embodiment of the application;
[0034] Figure 4 A schematic diagram of the display interface of the target application provided in the embodiments of this application;
[0035] Figure 5 A schematic diagram of the display interface of the target application provided in the embodiments of this application;
[0036] Figure 6 Add schematic diagrams to illustrate the applications provided in the embodiments of this application;
[0037] Figure 7 A schematic diagram of the display interface of the target application provided in the embodiments of this application;
[0038] Figure 8 This is a schematic diagram illustrating the selection of group messaging targets provided in an embodiment of this application;
[0039] Figure 9 This is a schematic diagram of object selection provided for an embodiment of this application;
[0040] Figure 10 This is a schematic diagram of application sharing provided for an embodiment of this application;
[0041] Figure 11 A flowchart illustrating the sharing processing method for the application provided in this embodiment of the application;
[0042] Figure 12 A schematic diagram of the system architecture for the sharing processing method of the application provided in the embodiments of this application;
[0043] Figure 13 A flowchart illustrating the application configuration method provided in this application embodiment;
[0044] Figure 14 This is a schematic diagram illustrating the storage of application configuration information provided in an embodiment of this application.
[0045] Figure 15 A flowchart illustrating the application display method provided in this application embodiment;
[0046] Figure 16 A flowchart illustrating the sharing method of the application provided in this embodiment of the application;
[0047] Figure 17 A flowchart illustrating the sharing method of the application provided in this embodiment of the application;
[0048] Figure 18 A schematic diagram of the structure of the sharing processing device for the application provided in the embodiments of this application;
[0049] Figure 19 This is a schematic diagram of the structure of the sharing processing device for the application provided in the embodiments of this application. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0051] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0053] In the implementation of this application, the collection and processing of relevant data should strictly comply with the requirements of relevant laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.
[0054] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0055] 1) An instant messaging client is an application running on a terminal for sending and receiving internet messages and other services in real time. It is software that users need to download and install on their terminal (e.g., a smartphone or computer) to use. The instant messaging client involved in this application may be a computer program that provides internet social services to group users and is associated with at least one group member account.
[0056] 2) In response, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0057] 3) Groups refer to instant messaging organizations composed of members of a company or department. Members can log in to the instant messaging client and use the corresponding functions as members of the group.
[0058] 4) An application, also known as a mini-program or web program, is a program developed using a front-end-oriented language (such as JavaScript) that provides services within a Hyper Text Markup Language (HTML) page. It is downloaded by a client (such as a browser or any client with an embedded browser engine) via a network (such as the internet) and interpreted and executed within the client's browser environment, saving the step of installation on the client side. For example, a mini-program can be downloaded and run in an instant messaging client to provide confirmation services for notification messages.
[0059] See Figure 1 , Figure 1 This is a schematic diagram of the architecture of the application sharing processing system 100 provided in the embodiments of this application. To support an exemplary application, the architecture includes: a first terminal 200-1, a second terminal 200-2, a third terminal 200-3, and a server 300. The first terminal 200-1 is the terminal on the sharing side of the target application, and the second terminal 200-2 and the third terminal 200-3 are the terminals on the receiving side of the target application. The terminals can be various types of user terminals such as smartphones, tablets, in-vehicle terminals, and smart wearable devices.
[0060] In some embodiments, the first terminal 200-1, the second terminal 200-2, and the third terminal 200-3 implement the application sharing method provided in this embodiment of the invention by running a computer program. The computer program can be a native program or software module in an operating system; it can be a local application (APP), i.e., a program that needs to be installed in the operating system to run; it can also be a mini-program, i.e., a program that only needs to be downloaded to a browser environment to run; or it can be an instant messaging mini-program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module, or plugin. For example, the first terminal 200-1, the second terminal 200-2, and the third terminal 200-3 all run an instant messaging client 400, and the server 300 is the backend server corresponding to the instant messaging client 400. Specifically, the instant messaging client 400 can be a computer program that provides internet social services to enterprise users.
[0061] In practical applications, the instant messaging client 400 running on the first terminal 200-1 displays the target application to be shared and its corresponding sharing control. In response to the sharing command triggered by the sharing control, it sends a sharing request for the target application to the server 300. The server 300 responds to the sharing request, determines the member account in the group associated with the instant messaging client 400 that has the operation permission for the target application, and shares the target application to the terminal corresponding to the member account with the operation permission, such as the second terminal 200-2 and the third terminal 200-3 (instant messaging clients) corresponding to the member account with the operation permission, so that the member account with the operation permission can operate the target application. Since only the member account in the group with the operation permission for the target application can operate the target application, the security of sharing the target application is improved by preventing member accounts in the group without the operation permission from arbitrarily operating the target application.
[0062] The embodiments of this application can be implemented with the help of cloud technology, which refers to a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or local area network to realize the computation, storage, processing, and sharing of data.
[0063] As an example, server 300 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms, but it is not limited to these.
[0064] See Figure 2 , Figure 2 This is a schematic diagram of the structure of the electronic device 500 provided in the embodiments of this application. In practical applications, the electronic device 500 can be... Figure 1 The first terminal 200-1, the second terminal 200-2, the third terminal 200-3, or the server 300 are electronic devices. Figure 1 Taking the first terminal 200-1 shown as an example, an electronic device implementing the sharing processing method of the application in the embodiments of this application will be described. Figure 2 The illustrated electronic device 500 includes at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to implement communication between these components. In addition to a data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2The general labeled all buses as Bus System 540.
[0065] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0066] User interface 530 includes one or more output devices 531 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0067] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices physically located away from the processor 510.
[0068] The memory 550 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 550 described in this application embodiment is intended to include any suitable type of memory.
[0069] In some embodiments, memory 550 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.
[0070] Operating system 551 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;
[0071] The network communication module 552 is used to reach other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.
[0072] Presentation module 553 is used to enable the presentation of information (e.g., user interface for operating peripheral devices and displaying content and information) via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with user interface 530.
[0073] The input processing module 554 is used to detect and translate one or more user inputs or interactions from one or more input devices 532.
[0074] In some embodiments, the sharing processing device for the application provided in this application can be implemented in software. Figure 2 A sharing processing device 555 for an application stored in memory 550 is shown. It can be software in the form of programs and plug-ins, including the following software modules: application display module 5551 and application sharing module 5552. These modules are logical and can therefore be arbitrarily combined or further split according to the functions they implement. The functions of each module will be described below.
[0075] In other embodiments, the application sharing processing device provided in this application embodiment can be implemented in hardware. As an example, the application sharing processing device provided in this application embodiment can be a processor in the form of a hardware decoding processor, which is programmed to execute the application sharing processing method provided in this application embodiment. For example, the processor in the form of a hardware decoding processor can be one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0076] Based on the above description of the application sharing processing system provided in the embodiments of this application, the sharing processing method of the application provided in the embodiments of this application will be described below. In actual implementation, this method can be... Figure 1 The first terminal 200-1, the second terminal 200-2, the third terminal 200-3, or the server 300 shown can be implemented individually, or can be implemented by... Figure 1 The first terminal 200-1, the second terminal 200-2, the third terminal 200-3, and the server 300 are shown working together. The following will combine... Figure 1 and Figure 3 , Figure 3This is a flowchart illustrating the sharing processing method for the application provided in the embodiments of this application. Figure 1 The first terminal 200-1 shown is used as an example to illustrate the sharing processing method of the application provided in the embodiments of this application.
[0077] In step 101, the target application to be shared and the corresponding sharing control are displayed in the instant messaging client of the first terminal;
[0078] In step 102, in response to a sharing instruction triggered by a sharing control, the target application is shared to the group associated with the instant messaging client, so that member accounts in the group with operation permissions for the target application can operate the target application.
[0079] As an example, steps 101 and 102 are applied to an instant messaging client, and the terminal corresponding to the instant messaging client is... Figure 1 The first terminal 200-1 in the context is an instant messaging client associated with at least one group member account. The group can be the company to which the member account belongs. The users of the member accounts are employees or managers within the company or other organizations. Each employee in the company can have a member account and log in to the instant messaging client's group through their respective member account. The target application here can be any application to be shared within the instant messaging client or any application page of any application.
[0080] In some embodiments, displaying the target application to be shared and its corresponding sharing control in the instant messaging client in step 101 can be achieved as follows: displaying the target application to be shared in the session attachment bar of the group associated with the instant messaging client, wherein the target application is associated with a member account with operation permissions; in response to a trigger operation on the target application, displaying a preview interface of the target application, and displaying the sharing control in the preview interface; correspondingly, sharing the target application to the group associated with the instant messaging client in step 102 can be achieved as follows: filtering out target member accounts with operation permissions from the group based on the member accounts with operation permissions associated with the target application; sharing the target application to the filtered target member accounts via session messages, so that the target member accounts can operate the target application.
[0081] In practical applications, given that an instant messaging client is associated with at least one group of member accounts, which has a specific organizational structure, the member accounts with the corresponding operation permissions for the target application can be determined based on the organizational structure and the attribute characteristics of the target application (such as the member types with operation permissions set when the target application is created).
[0082] As an example, see Figure 4 , Figure 4This is a schematic diagram of the display interface of the target application provided in this application embodiment. In the session attachment bar 401 of the group associated with the instant messaging client, the target application 402 to be shared is directly displayed. In response to the trigger operation for the target application 402, a preview interface of the target application 402 is displayed, wherein the preview interface displays the application page of the target application 402 and a sharing control 403. In response to the trigger operation for the sharing control 403, a sharing instruction for the target application is received. In response to the sharing instruction, based on the pre-set member accounts with operation permissions associated with the target application, target member accounts with operation permissions are filtered from the group. For example, each member account associated with the group is matched with the member account with operation permissions associated with the target application. The successfully matched target member account in the group is taken as the member account with operation permissions for the target application. The target application is then shared to the instant messaging client of the target member account. When the instant messaging client of the target member account receives the trigger operation for the target application, the target application is displayed for the target member account to operate.
[0083] As an example, see Figure 5 , Figure 5 This is a schematic diagram of the display interface of the target application provided in this application embodiment. The target application to be shared can also be indirectly displayed in the group's session attachment bar. For example, in response to the trigger operation of the attachment addition entry 500, multiple types of session attachment entries are displayed for selection. In response to the trigger operation of the application attachment entry 501 among the multiple types of session attachment entries, the session attachment bar is displayed, and the applications historically used by the instant messaging client (corresponding to the currently logged-in member account) and the applications already added to the session attachment bar are displayed in the session attachment bar, i.e., added candidate applications, such as the target application 502. In response to the trigger operation of the target application 502, the preview interface of the target application 502 is displayed, wherein the preview interface displays the application page of the target application 502 and the sharing control 503. In response to the trigger operation of the sharing control 503, a sharing instruction for the target application is received, and in response to the sharing instruction, the target application is shared to the instant messaging client of the member account in the group that has operation permissions for the target application, so that when the instant messaging client of the target member account receives the trigger operation for the target application, the target application is displayed for the target member account to operate.
[0084] It should be noted that the added candidate applications displayed in the conversation attachment bar of the instant messaging client on the first terminal can be dynamically changed. For example, in addition to applications used or added by the currently logged-in member account, the added candidate applications can also be applications used by other member accounts in the group associated with the instant messaging client and applications added to the conversation attachment bar, in order to establish commonalities with other member accounts in the group. In addition, based on the conversation messages in the group conversation interface, the added candidate applications associated with the conversation messages can be prioritized and displayed in the conversation attachment bar. This makes it easier for users to find the applications they need to share most quickly from the added candidate applications, thereby improving the efficiency of application sharing.
[0085] In some embodiments, before displaying the target application to be shared in the conversation attachment bar of a group associated with an instant messaging client, the target application can be added to the group's conversation attachment bar in the following manner: in response to a triggering operation for adding an application entry in the conversation attachment bar, at least one candidate application to be added is displayed; in response to a selection operation for the target application among the at least one candidate application to be added, the details page of the selected target application is displayed, and a permission setting control is displayed on the details page; in response to a permission setting instruction triggered based on the permission setting control, the target member account indicated by the permission setting instruction is determined, and the target member account is set as the member account with operation permissions associated with the target application; in response to an application adding instruction, the target application associated with the target member account is added to the conversation attachment bar.
[0086] As an example, see Figure 6 , Figure 6To illustrate the application provided in this application embodiment, in response to a trigger operation on the attachment addition entry 600, multiple types of selectable session attachment entries are displayed. In response to a trigger operation on the application attachment entry 601 among the multiple types of session attachment entries, a session attachment bar is displayed, showing applications historically used by the instant messaging client (corresponding to the currently logged-in member account), applications already added to the session attachment bar, and an application addition entry 602 for adding new applications. In response to a trigger operation on the application addition entry 602, multiple selectable candidate applications to be added are displayed. In response to a selection operation on the target application 603 among the multiple candidate applications to be added, the details page of the selected target application 603 is displayed, and the application page of the target application is displayed on the details page. A switching control for switching the display of the application page is provided (e.g., the homepage of the target application is currently displayed on the details page; in response to a trigger operation on the "Contract" switching control, the current details page can be switched). The homepage displayed in the middle switches to the contract page), and a permission setting control 604 for setting the operation permissions of the target application. In response to the trigger operation of the permission setting control 604, each member account in the selectable group is displayed. In response to the selection operation of the target member account in the group, the permission setting instruction is received, and in response to the permission setting instruction, the association relationship between each member account in the selected target group or the target member account in the selected target group and the target application is established. That is, each member account in the selected target group or the target member account in the selected target group is used as the member account with operation permissions associated with the target application set by the permission setting instruction. The details page also displays an application adding control 605 for adding the target application to the session attachment bar. After the permission settings are made, in response to the trigger operation of the application adding control 605, the application adding instruction is received, and in response to the application adding instruction, the target application associated with the target member account is added to the session attachment bar.
[0087] In some embodiments, displaying the target application to be shared and its corresponding sharing control in the instant messaging client in step 101 can be achieved as follows: In response to a trigger operation on the mass messaging control of the mass messaging assistant in the instant messaging client, an attachment addition control is displayed in the mass messaging interface; in response to a trigger operation on the attachment addition control, at least one attachment type is displayed for selection; in response to a selection operation on the application type among the at least one attachment type, at least one added candidate application of the corresponding application type is displayed; wherein, the added candidate applications are added by the administrator account associated with the group, and the member accounts with operation permissions for the added candidate applications are set by the administrator account; in response to a selection operation on the target application among the at least one added candidate application, the target application to be shared and its corresponding sharing control are displayed.
[0088] As an example, see Figure 7 , Figure 7 This is a schematic diagram of the display interface of the target application provided in this application embodiment. In response to a trigger operation on the mass messaging control 701 in the mass messaging assistant, a mass messaging interface 702 is displayed. The mass messaging interface 702 displays an attachment addition control 703. In response to a trigger operation on the attachment addition control 703, multiple selectable attachment types are displayed, such as photo types, video types, and application types. In response to a selection operation on an application type 704, at least one added candidate application is displayed. In response to a selection operation on a target application 705 among the at least one added candidate application, the application page of the target application 705 to be shared and the corresponding sharing control 706 are displayed. In this application embodiment, the added candidate applications are added by the administrator associated with the instant messaging client. The member accounts with operation permissions for each added candidate application are also set by the administrator. When sharing an added candidate application, it is necessary to determine whether the receiving member account belongs to a member account set by the administrator with the corresponding operation permissions for the added candidate application. Only member accounts belonging to the administrator with the corresponding operation permissions for the added candidate application can operate the received added candidate application, thus improving the security of application sharing.
[0089] In some embodiments, the mass messaging interface displays a mass messaging target selection control. The instant messaging client of the first terminal can also respond to the mass messaging target selection instruction triggered by the mass messaging target selection control and determine the mass messaging member account that is instructed to select the mass messaging target. Correspondingly, the first terminal can also share the target application to the group in the following way: through the mass messaging assistant, share the target application to the mass messaging member account so that the member account with the operation permission of the target application can operate the target application.
[0090] As an example, see Figure 8 , Figure 8This is a schematic diagram of the mass mailing target selection provided in this application embodiment. The mass mailing interface 801 displays a mass mailing target selection control 802. In response to the trigger operation of the mass mailing target selection control 802, at least one candidate group or at least one candidate member account is displayed for selection. In response to the mass mailing selection instruction for the target group or target candidate member account, all member accounts in the selected target group or the selected target candidate member account are used as the mass mailing member account selected by the mass mailing target selection instruction. The target application is then shared to the determined mass mailing member account through the mass mailing assistant. Since the member account with operation permission for the target application is set by the administrator, it is necessary to determine whether the mass mailing member account (recipient) belongs to the member account set by the administrator with operation permission for the target application when mass mailing. Only the member account that belongs to the member account set by the administrator with operation permission for the target application can operate the received target application, thereby improving the security of application sharing.
[0091] In some embodiments, when there are member accounts among the group-sending member accounts that do not have operation permissions for the target application, the first terminal can also send an activation prompt message to the administrator account. The activation prompt message is used to prompt the administrator account to grant operation permissions for the target application to the member accounts among the group-sending member accounts that do not have operation permissions. Here, when the sender (or sharer) of the target application needs to share the target application to member accounts that do not have operation permissions, they can promptly report to the administrator account, such as by sending an activation prompt message. This allows the administrator account to update and adjust the member accounts with operation permissions for the target application in a timely manner based on the activation prompt message, improving applicability.
[0092] In some embodiments, in step 102, in response to a sharing instruction triggered by a sharing control, sharing the target application to the group can be achieved as follows: in response to a triggering operation on the sharing control, a sharing preview interface is displayed, and a sharing object selection control and a send control are displayed in the sharing preview interface; in response to a sharing object selection instruction triggered by the sharing object selection control, the target member account with operation permissions indicated by the sharing object selection instruction is displayed in the sharing preview interface; in response to a sharing instruction triggered by the send control, the target application is shared to the target member account in the group, so that the target member account can operate the target application.
[0093] In some embodiments, the above-mentioned response to a sharing object selection instruction triggered by a sharing object selection control, displaying the target member account with the operation permission indicated by the sharing object selection instruction in the sharing preview interface, can also be implemented in the following ways: responding to a triggering operation on the sharing object selection control, displaying an object selection interface and showing each member account in the group in the object selection interface; responding to a sharing object selection instruction, controlling the selected target member account in the group to be in a selected state; responding to a confirmation operation on the selected target member account, confirming the target member account as a member account with operation permission, closing the object selection interface, and displaying the target member account in the sharing preview interface.
[0094] As an example, see Figure 9 , Figure 9 This is a schematic diagram of object selection provided in an embodiment of this application. In response to a trigger operation on the sharing control 901, a sharing preview interface 902 is displayed, and a sharing object selection control 903 is displayed in the sharing preview interface 902. In response to a trigger operation on the sharing object control 903, an object selection interface 904 is displayed, and the accounts of each member in the group are displayed in the object selection interface 904. In response to a selection operation on a target member account, a corresponding sharing object selection instruction is received, that is, the target member account is the member account selected by the sharing object selection instruction. In response to a confirmation operation on the selected target member account, the target member account is confirmed as a member account with operation permissions for the target application, and the object selection interface 904 is closed. The selected target member account is displayed in the sharing preview interface 902. In response to a trigger operation on the send control, the target application is shared to the group so that the selected target member account can operate the target application.
[0095] Using the above methods, if the target application is not associated with a pre-set member account that has the necessary permissions, then when sharing the target application, the member account with the necessary permissions can be set, and the application can be shared to the set member account, ensuring the security of the target application sharing. Of course, if the target application is already associated with a pre-set member account that has the necessary permissions, and when selecting a sharing recipient when sharing the target application, the system can further determine whether the selected target member account is a pre-set member account with the necessary permissions, thus ensuring that the target application is shared to the selected target member account with the necessary permissions, thereby improving the security of the target application sharing.
[0096] In some embodiments, the above-mentioned display of each member account in the group in the object selection interface can be implemented in the following way: in the object selection interface, a first style is used to display the recommended member account in the group, and a second style different from the first style is used to display other member accounts in the group besides the recommended member account; wherein, the first style is used to prompt the selection of the target member account from the recommended member account; the recommended member account is a member account that requires operation permissions and is recommended based on the compatibility between the target application and each member account.
[0097] Here, when selecting sharing partners, the instant messaging client in the first terminal can recommend member accounts based on the compatibility between the target application to be shared and the member accounts in the group associated with the instant messaging client (e.g., the compatibility between the application associated with the target application and the identity or position of the member account; for example, the compatibility of a financial statement application with finance personnel is higher than that with R&D personnel). Member accounts that meet the compatibility threshold will be selected as recommended member accounts. When displaying recommended member accounts, a different display method can be used compared to other member accounts in the group, such as displaying a recommendation tag in the recommended member account section. Figure 9 In the group, recommended member accounts are marked with a "recommended" tag, while other non-recommended member accounts are not marked (e.g., *). Alternatively, recommended member accounts may be highlighted while other member accounts are displayed in grayscale to indicate to the user that the recommended member account is the one that most needs the necessary permissions to access the target application. Additionally, recommended member accounts can be displayed sequentially from highest to lowest compatibility for the user to choose from. This makes it easier for users to find the member account that most needs the necessary permissions to share the target application, improving both sharing security and efficiency.
[0098] In some embodiments, the above-mentioned sharing of the target application to the target member account in the group can be achieved in the following way: sharing the target application to the group via a session message, and displaying the session message corresponding to the target application in the group's session interface; wherein, the session message includes the target application and a pointing character, the pointing character being used to indicate the target member account in the group that has operation permissions.
[0099] Here, it is necessary to obtain the page metadata of the target application (such as application identifier, page path, page icon, version number, page icon such as logo, etc.), and encapsulate the message based on the page metadata to obtain the application message corresponding to the target application. When sending the application message corresponding to the target application to the group via session messaging, the application message can be sent together with the directional character used to indicate the target member account with operation permissions in the group as a session message to the session interface. When the instant messaging client of each member account in the group receives the session message, it can parse the page metadata of the target application according to the message type, and render the application message card based on the page metadata for display in the session interface. Since the directional character is used to indicate the target member account with operation permissions in the group, it can provide a reminder to the target member account.
[0100] As an example, see Figure 10 , Figure 10 This application sharing illustration shows that after determining the target member accounts (A, B, and C) with operation permissions for the target application, in response to the sharing instruction for the target application, the target application is shared to the group via a session message. Each member account's instant messaging client in the group can display a session message in the session interface, including the application message card corresponding to the target application and a directional character, such as "xx application card," "@A," "B," or "C." This directional character prompts the target member account with operation permissions to receive the corresponding session message and operate the target application. Thus, the user does not need to manually input the "@" directional character; the directional character is displayed in the session interface to remind the target member account with operation permissions. This improves application sharing security while simplifying the operation steps and thus increasing operational efficiency.
[0101] In some embodiments, sharing the target application to the group in step 102 can be achieved as follows: sharing the target application to the instant messaging client of a member account in the group that has the operation permission for the target application. That is, the target application is only shared to the instant messaging client of the member account in the group that has the operation permission for the target application, and not to the instant messaging client of the member account in the group that does not have the operation permission. In other words, when the instant messaging client in the first terminal shares the target application to the group, the received target application is only displayed in the group session interface of the instant messaging client of the member account that has the operation permission for the target application, while the target application is not displayed in the group session interface of the instant messaging client of the member account that does not have the operation permission for the target application. This avoids harassing the member account in the group that does not have the operation permission for the target application, and improves the security of target application sharing while improving the targeting of target application sharing.
[0102] In some embodiments, sharing the target application to the group in step 102 can be achieved by sharing the target application to the instant messaging clients of each member account in the group; wherein the target application is in an operable state in the instant messaging clients of member accounts with operation permissions in the group, and in an inoperable state in the instant messaging clients of member accounts without operation permissions in the group.
[0103] Here, when sharing a target application, it can be shared to the instant messaging clients of each member's account in the group. Although the received target application will be displayed in the group chat interface of each member's instant messaging client, the target application is operable in the instant messaging client of the member account with operation permission in the group, while it is in an inoperable state in the instant messaging client of the member account without operation permission in the group. That is, only the member account with operation permission in the group can operate the received target application. For example, the member account with operation permission can open the target application display page by clicking the application message card of the target application in the group chat interface, and can view and edit the corresponding application page. However, the member account without operation permission in the group cannot operate the target application. That is, when the member account without operation permission clicks the target application displayed in the group chat interface, it cannot open the target application display page, let alone view or edit the corresponding application page. In this way, when sharing a target application, it is possible to prevent the member account without operation permission in the group from arbitrarily operating the target application, thereby improving the security of application sharing.
[0104] In some embodiments, sharing the target application to the group in step 102 can be achieved as follows: obtaining application data of the target application and account data of each member account in the group; based on the application data and account data, calling a machine learning model to predict the member accounts in the group that need to have operation permissions for the target application, and using the predicted target member accounts as member accounts with operation permissions; sharing the target application to the predicted target member accounts.
[0105] The machine learning model is trained using training sample data (data from application samples and data from each member sample in the group) and labels indicating whether each member sample in the group needs to have the corresponding application sample's operation permissions (1 indicates that the member sample needs to have the corresponding application sample's operation permissions, and 0 indicates that the member sample does not need to have the corresponding application sample's operation permissions). In practical applications, if the target application is not associated with any pre-set member accounts that have operation permissions for the target application, when sharing the target application, the instant messaging client in the first terminal responds to the sharing command for the target application, obtains the application data of the target application (such as the application scenario of the target application, the page data displayed on the application page, etc.) and the account data of each member account in the group (such as the member account's identity or position, etc.), and calls the machine learning model to predict the member accounts in the group that need to have operation permissions for the target application. This makes the prediction results more accurate, and thus automatically shares the target application to the target member accounts in the group that need to have operation permissions for the target application, without requiring the user to manually select the member accounts to be shared with. This improves the intelligence and efficiency of sharing while also enhancing the security of sharing the target application.
[0106] It is understood that, in the embodiments of this application, the data related to member accounts, application data of target applications, etc., are essentially user-related data. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0107] In some embodiments, the sharing processing method provided in this application is applied to the server corresponding to the instant messaging client. See [link to relevant documentation]. Figure 11 , Figure 11 A flowchart illustrating the sharing processing method for the application provided in this application embodiment, the method comprising:
[0108] In step 201, the server receives a sharing request for the target application sent by an instant messaging client, which is associated with at least one group member account.
[0109] Among them, the instant messaging client is the instant messaging client running on the first terminal on the sharing side of the target application. The instant messaging client in the first terminal responds to the sharing instruction triggered by the sharing control of the sharer for the target application, generates and sends a sharing request for the target application to the server, so that the server can share the target application based on the sharing request.
[0110] In step 202, in response to the sharing request, the target application is shared to the group associated with the instant messaging client, so that member accounts in the group with operation permissions for the target application can operate the target application.
[0111] In some embodiments, the server may share the target application to a group associated with the instant messaging client in the following manner: obtain the page metadata of the target application, encapsulate the message based on the page metadata to obtain the application message corresponding to the target application; send the application message to the instant messaging client of the member account in the group that has the operation permission through a session message; wherein, the application information is used so that when the instant messaging client of the member account in the group that has the operation permission for the target application receives the application message trigger operation, it can parse the application message and display the target application.
[0112] The sharing request carries the application identifier of the target application to be shared. Based on the application identifier, the page metadata of the target application (such as page path, page icon, page icon such as logo, etc.) is obtained. The page metadata is then used to encapsulate a message to obtain the application message corresponding to the target application. This application message can be sent via session messaging to the instant messaging client of a member account in the group that has the operation permission for the target application. When the instant messaging client of the member account in the group receives the session message, it parses the page metadata of the target application according to the message type and renders the application message card based on the page metadata for display in the session interface. The application message corresponding to the target application is not shared to the instant messaging client of a member account in the group that does not have the operation permission. That is, when the instant messaging client in the first terminal shares the target application to the group, the received application message corresponding to the target application is only displayed in the group session interface of the instant messaging client of the member account that has the operation permission for the target application. The application message of the target application is not displayed in the group session interface of the instant messaging client of the member account that does not have the operation permission for the target application. This avoids harassing the member account in the group that does not have the operation permission for the target application. This improves the security of target application sharing and enhances the targeting of target application sharing.
[0113] Of course, in practical applications, when sharing a target application, the server can also share the target application's message to the instant messaging clients of each member account in the group. That is, the received target application message card will be displayed in the group chat interface of each member's instant messaging client. However, the target application message card is operable in the instant messaging client of a member account with operation permissions in the group, but inoperable in the instant messaging client of a member account without operation permissions. Only member accounts with operation permissions can operate the received target application. For example, a member account with operation permissions can open the target application's display page by clicking the target application's message card in the group chat interface, and can view and edit the corresponding application page. Member accounts without operation permissions cannot operate the target application; they cannot open the target application's display page, nor can they view or edit the corresponding application page. This prevents unauthorized operation of the target application by member accounts in the group when sharing it, thus improving the security of application sharing.
[0114] In some embodiments, the server may respond to a sharing request by sharing a target application to a group in the following manner: in response to the sharing request, obtaining a member account with operation permissions associated with the target application; based on the member account with operation permissions associated with the target application, filtering out a target member account with operation permissions for the target application from the group; and sharing the target application with the target member account in the group so that the target member account can operate the target application.
[0115] Here, when a target application is associated with a pre-configured member account that has the necessary permissions to operate on that application, the server, when sharing the target application, filters out the target member account with the necessary permissions from the groups associated with the instant messaging client. For example, it matches each member account associated with the group with the member account associated with the target application that has the necessary permissions. The target member account that successfully matches in the group is considered the member account with the necessary permissions to operate on the target application, and the target application is shared to the instant messaging client of the target member account. When the instant messaging client of the target member account receives a trigger operation for the target application, it displays the target application for the target member account to operate. In this way, the target application is only shared to member accounts with the necessary permissions in the group, and not to member accounts in the group that do not have the necessary permissions. This avoids harassing member accounts in the group who do not have the necessary permissions to operate on the target application, improving both the security and the targeting of the target application sharing.
[0116] In some embodiments, the server may respond to a sharing request and share the target application to the group in the following manner: in response to the sharing request, obtain the application data of the target application and the account data of each member account in the group; based on the application data and account data, call a machine learning model to predict the member accounts in the group that need to have operation permissions for the target application, and determine the predicted target member accounts as member accounts with operation permissions; share the target application to the target member accounts in the group so that the target member accounts can operate the target application.
[0117] The machine learning model is trained using training sample data (data from application samples and data from each member sample in the group) and labels indicating whether each member sample in the group needs to have the corresponding application sample's operation permissions (1 indicates that the member sample needs to have the corresponding application sample's operation permissions, and 0 indicates that the member sample does not need to have the corresponding application sample's operation permissions). In practical applications, if the target application is not associated with any pre-set member accounts that have operation permissions for the target application, when sharing the target application, the instant messaging client in the first terminal responds to the sharing command for the target application, obtains the application data of the target application (such as the application scenario of the target application, the page data displayed on the application page, etc.) and the account data of each member account in the group (such as the member account's identity or position, etc.), and calls the machine learning model to predict the member accounts in the group that need to have operation permissions for the target application. This makes the prediction results more accurate, and thus automatically shares the target application to the target member accounts in the group that need to have operation permissions for the target application, without requiring the user to manually select the member accounts to be shared with. This improves the intelligence and efficiency of sharing while also enhancing the security of sharing the target application.
[0118] The following describes an exemplary application of the embodiments of this application in a real-world application scenario. In related technologies, during daily instant messaging (IM) communication in instant messaging clients, sharing a target application (such as a mini-program) with other members often requires exiting the IM system, opening the mini-program, using third-party tools to obtain the mini-program's information, and then attaching it to the message system for dissemination. This has a high barrier to entry and low application sharing efficiency. Moreover, after sharing the mini-program to a group, all member accounts in the group can operate the mini-program, resulting in poor sharing security. Therefore, the embodiments of this application provide an application sharing processing method, aiming to reduce the cost of using and disseminating mini-programs in instant messaging clients and improve the sharing efficiency and security of applications.
[0119] In practical applications, instant messaging clients are associated with at least one group member account and an administrator account. The group can be the company to which the member account belongs, and the user of the member account is the employee in the group. The user of the administrator account can be the manager in the group. Before sharing the target application, the administrator account usually needs to add and configure frequently used applications so that the member account can use them in group chats or mass messaging assistants. For example, in group chats or mass messaging assistants, the member account can share previously used applications or applications that have been configured and added by the administrator to other member accounts.
[0120] See Figure 12 , Figure 12 This is a schematic diagram of the system architecture for the application sharing processing method provided in this application embodiment. The architecture includes an instant messaging client and a server. The instant messaging client mainly provides users with interactive operation capabilities, including: 1) obtaining application configuration information and providing personalized configuration interaction for users; 2) using the application's page metadata obtained from the server to download application data packages for user use; 3) providing application messaging capabilities to support the propagation of applications within the instant messaging system. The server mainly provides data storage and logical computing capabilities, including: 1) an application configuration server for storing group application configurations, user personalized configurations, and application page metadata; 2) an application data server for storing application data packages for downloading or updating applications; and 3) a message server for providing instant messaging services and supporting the propagation and dissemination of applications within messages.
[0121] The following section will describe the application sharing method provided in this application embodiment from aspects such as application configuration, configuration storage, and application usage. See also... Figure 13 , Figure 13 This is a flowchart illustrating an application configuration method provided in an embodiment of this application. The method includes:
[0122] In step 301, the application list of the instant messaging client displays the candidate applications that have been added and the application addition entry for adding new applications.
[0123] The added candidate applications include those added by member accounts associated with the instant messaging client and those added by administrator accounts.
[0124] In step 302, the instant messaging client responds to the trigger operation for adding an entry for an application by displaying multiple candidate applications to be added.
[0125] In step 303, in response to the selection operation of a target application among multiple candidate applications to be added, the details page of the selected target application is displayed, and the application page and application addition control of the target application are displayed on the details page.
[0126] The application addition control is implemented by customizing the target application's bottom operation floating window (such as a bar) and adding custom bottom functions by injecting JavaScript, so that the target application can be added to the application list through the application addition control displayed at the bottom.
[0127] In step 304, it is determined whether the target application's application page supports sharing. If the target application's application page supports sharing, step 305 is executed; if the target application's application page does not support sharing, step 306 is executed.
[0128] In step 305, the page metadata of the application page is obtained by calling the page sharing interface.
[0129] In step 306, the page metadata of the application page is obtained by taking a screenshot of the application page of the target application.
[0130] In step 307, after obtaining the page metadata of the application page, the application add control can be activated, that is, the add page function button at the bottom can be activated.
[0131] In step 308, in response to the triggering operation of adding controls to the application, an editing interface for editing the target application is displayed so that the pages of the target application can be edited in the editing interface, such as renaming the application, in order to obtain the corresponding configuration metadata. The configuration metadata is the data after editing the page metadata of the application page. If the pages of the target application are not edited, the configuration metadata is equivalent to the page metadata.
[0132] In step 309, in response to the determination operation for the configuration metadata, the configuration metadata is submitted to the server so that the server adds the corresponding application page of the target application to the application list based on the configuration metadata.
[0133] Additionally, when configuring the target application, you can also configure member accounts with operation permissions for the target application. This establishes an association between the target application and member accounts with operation permissions. When sharing the target application to a group, although the received target application will be displayed in the group chat interface of each member's instant messaging client, the target application will be operable in the instant messaging client of the member account with operation permissions in the group, while it will be in an inoperable state in the instant messaging client of the member account without operation permissions in the group. In other words, only member accounts with operation permissions in the group can operate the application. When a target application is received, authorized member accounts can open the target application's display page by clicking the application's message card in the group chat interface. They can then view and edit the application page. However, authorized member accounts cannot operate the target application. In other words, when an authorized member account clicks the target application displayed in the group chat interface, it cannot open the target application's display page, nor can it view or edit the application page. This prevents unauthorized member accounts from arbitrarily operating the target application when sharing it, thus improving the security of application sharing.
[0134] Using the above method, the personalized configuration metadata of each application can be stored on the server, and any application page of any application can be added to the application list. See also Figure 14 , Figure 14 This is a schematic diagram illustrating the storage of application configuration information provided in this application embodiment. For each group or enterprise, the application personalized configuration metadata stored on the server mainly targets applications used by the current member account (individual) or applications used by other member accounts (such as colleagues in the enterprise). The application configuration metadata used by other member accounts is filtered from statistics on applications used by other member accounts, including a target number of applications with high usage frequency (e.g., 30). The application configuration metadata used by the current member account comes from applications used by the current member account itself, including a target number of applications used most recently (e.g., 60). During storage, the server stores applications used by the current member account or applications used by other member accounts in a first-in, first-out queue.
[0135] See Figure 15 , Figure 15This is a flowchart illustrating the application display method provided in this application embodiment. The method includes: in step 401, the instant messaging client responds to a click operation on the target application by obtaining the target application's configuration metadata (such as application identifier, page path, page icon, version number, page icon, etc.) based on the application identifier; in step 402, it checks the relevant interface capabilities and permissions required by the application and calls the relevant interfaces to download the application data package, such as downloading the corresponding version of the application data package based on the version number; if it is the first download, it downloads the complete data package; otherwise, it downloads the incremental data package; in step 403, it performs page rendering based on the application data package to obtain the application page of the target application for display.
[0136] The sharing method provided in this application embodiment can be applied to group chat scenarios. See [link to relevant documentation]. Figure 16 , Figure 16 A flowchart illustrating the sharing method for the application provided in this application embodiment, the method comprising:
[0137] In step 501, at least one candidate application to be shared is displayed in the session attachment bar of the group associated with the instant messaging client. The candidate applications are applications that the instant messaging client has used in the past and applications that have been added to the session attachment bar.
[0138] In step 502, in response to the selection operation of a target application among at least one candidate application, a preview interface of the target application is displayed, wherein the preview interface displays the application page of the added target application and a share control.
[0139] The sharing control is activated by injecting JavaScript.
[0140] In step 503, in response to the trigger operation on the sharing control, it is determined whether the application page is a configured application page. If the application page is a configured application page, step 504 is executed; if the application page is not a configured application page, step 505 is executed.
[0141] In step 504, the configuration metadata of the application page is obtained and used as metadata for message encapsulation.
[0142] In step 505, the page metadata of the application page is obtained and used as metadata for message encapsulation.
[0143] In step 506, message encapsulation processing is performed based on metadata to obtain the application message corresponding to the target application.
[0144] In step 507, the application message corresponding to the target application is sent to the group via a session message.
[0145] In the mass messaging assistant scenario, the application sharing method provided in this application embodiment supports sending notification messages carrying the target application to multiple different member accounts or different groups, which can greatly improve the efficiency of enterprise information communication and information collection. However, regardless of whether the application sharing method provided in this application embodiment is applied to a group chat scenario or a mass messaging assistant scenario, it adopts the form of rich text messages, using messages as the carrier of the application, and sharing the application through the IM system. See [link to relevant documentation]. Figure 17 , Figure 17 This is a flowchart illustrating the sharing method of the application provided in this application embodiment. Taking the collaborative implementation of the sharing method of the application provided in this application embodiment by the instant messaging client and server in the first terminal (sharing party) and the instant messaging client in the second terminal (receiving party) as an example, the method includes:
[0146] In step 601, the instant messaging client in the first terminal responds to the sharing instruction for the target application and obtains the page metadata of the target application;
[0147] In step 602, the instant messaging client in the first terminal performs message encapsulation processing based on page metadata to obtain the application message corresponding to the target application.
[0148] In step 603, the instant messaging client in the first terminal sends a sharing request carrying application messages to the server.
[0149] In step 604, the server responds to the sharing request by sharing the application message to the instant messaging client in the second terminal, so that the application message is displayed in the instant messaging client in the second terminal.
[0150] In step 605, the instant messaging client in the second terminal parses the application message, obtains the corresponding page metadata, and renders and displays the application message card based on the page metadata.
[0151] In step 606, the instant messaging client in the second terminal responds to the click operation on the application message card and displays the application page corresponding to the target application.
[0152] It should be noted that in practical applications, when sending application messages corresponding to a target application, the application message can be sent only to member accounts in the group that have operation permissions for the target application. Alternatively, although the application message is sent to the group to be displayed in the instant messaging clients of each member account, the application message should be operable in the instant messaging client of the member account with operation permissions, but in an inoperable state in the instant messaging client of the member account without operation permissions. For example, a member account with operation permissions can open the target application display page by clicking the application message card of the target application in the group conversation interface, and can view and edit the corresponding application page. However, a member account in the group without operation permissions cannot operate the target application. That is, when a member account without operation permissions clicks the target application displayed in the group conversation interface, it cannot open the target application display page, let alone view or edit the corresponding application page. In this way, when sharing a target application, it is possible to prevent member accounts in the group without operation permissions from arbitrarily operating the target application, which can improve the security of application sharing.
[0153] The above methods can reduce the cost of using and spreading mini-programs in instant messaging clients, and improve the sharing efficiency and security of applications.
[0154] The following description continues to illustrate the exemplary structure of the sharing processing device 555 provided in the embodiments of this application as a software module. In some embodiments, this device is located in an instant messaging client, see [link to relevant documentation]. Figure 18 , Figure 18 This is a schematic diagram of the structure of the sharing processing device for the application provided in the embodiments of this application, stored in... Figure 2 The software modules in the sharing processing device 555 for the application of the medium memory 550 may include:
[0155] Application display module 5551 is used to display the target application to be shared and the corresponding sharing control in the instant messaging client; application sharing module 5552 is used to share the target application to the group in response to a sharing instruction triggered by the sharing control, so that member accounts in the group with operation permissions for the target application can operate the target application.
[0156] In some embodiments, the application display module is further configured to display a target application to be shared in the session attachment bar of the group associated with the instant messaging client, wherein the target application is associated with a member account having the operation permission; in response to a trigger operation for the target application, display a preview interface of the target application and display the sharing control in the preview interface; the application sharing module is further configured to filter out target member accounts with the operation permission from the group based on the member accounts with the operation permission associated with the target application; and share the target application to the filtered target member accounts via session messages.
[0157] In some embodiments, before displaying the target application to be shared in the session attachment bar of the group associated with the instant messaging client, the device further includes: an application adding module, configured to display at least one candidate application to be added in response to a triggering operation for an application adding entry in the session attachment bar; display a details page of the selected target application in response to a selection operation for a target application among the at least one candidate application to be added, and display a permission setting control in the details page; determine the target member account indicated by the permission setting instruction in response to a permission setting instruction triggered based on the permission setting control, and set the target member account as a member account associated with the target application that has the operation permission; and add the target application associated with the target member account to the session attachment bar in response to the application adding instruction.
[0158] In some embodiments, the application display module is further configured to, in response to a trigger operation on the mass messaging control of the mass messaging assistant in the instant messaging client, display an attachment addition control in the mass messaging interface; in response to a trigger operation on the attachment addition control, display at least one selectable attachment type; in response to a selection operation on the application type among the at least one attachment type, display at least one added candidate application corresponding to the application type; wherein the added candidate application is added by the administrator account associated with the group, and the member account with the operation permission of the added candidate application is set by the administrator account; in response to a selection operation on the target application among the at least one added candidate application, display the target application to be shared and the corresponding sharing control.
[0159] In some embodiments, the mass messaging interface displays a mass messaging target selection control, and the device further includes: a mass messaging determination module, configured to determine the mass messaging member account that makes the selection based on the mass messaging target selection instruction triggered by the mass messaging target selection control; the application sharing module is further configured to share the target application to the mass messaging member account through the mass messaging assistant, so that member accounts with operation permissions for the target application in the mass messaging member account can operate the target application.
[0160] In some embodiments, the device further includes: a prompt sending module, configured to send an activation prompt message to the administrator account when there is a member account among the group-sending member accounts that does not have the operation permission; wherein the activation prompt message is configured to prompt the administrator account to activate the operation permission for the target application for the member account among the group-sending member accounts that does not have the operation permission.
[0161] In some embodiments, the application sharing module is further configured to, in response to a trigger operation on the sharing control, display a sharing preview interface, and display a sharing object selection control and a send control in the sharing preview interface; in response to a sharing object selection instruction triggered based on the sharing object selection control, display the target member account with the operation permission indicated by the sharing object selection instruction in the sharing preview interface; and in response to a sharing instruction triggered based on the send control, share the target application to the target member account in the group, so that the target member account can operate the target application.
[0162] In some embodiments, the application sharing module is further configured to, in response to a trigger operation on the sharing object selection control, display an object selection interface and display each member account in the group in the object selection interface; in response to a sharing object selection instruction, control the selected target member account in the group to be in a selected state; in response to a confirmation operation on the selected target member account, confirm the target member account as a member account with the operation permission, close the object selection interface, and display the target member account in the sharing preview interface.
[0163] In some embodiments, the application sharing module is further configured to display recommended member accounts in the group using a first style in the object selection interface, and display other member accounts in the group other than the recommended member accounts using a second style different from the first style; wherein, the first style is used to prompt the user to select the target member account from the recommended member accounts; the recommended member account is a member account that needs to have the operation permission, recommended based on the compatibility between the target application and each member account.
[0164] In some embodiments, the application sharing module is further configured to share the target application to the group via a session message, and display the session message corresponding to the target application in the session interface of the group; wherein the session message includes the target application and a pointing character, the pointing character being used to indicate the target member account in the group that has the operation permission.
[0165] In some embodiments, the application sharing module is further configured to share the target application to an instant messaging client of a member account in the group that has operation permissions for the target application.
[0166] In some embodiments, the application sharing module is further configured to share the target application to the instant messaging clients of each member account in the group; wherein the target application is in an operable state in the instant messaging client of the member account in the group that has the operation permission, and the target application is in an inoperable state in the instant messaging client of the member account in the group that does not have the operation permission.
[0167] In some embodiments, the application sharing module is further configured to obtain application data of the target application and account data of each member account in the group; based on the application data and the account data, call a machine learning model to predict the member accounts in the group that need to have operation permissions for the target application, and use the predicted target member accounts as member accounts with the operation permissions; share the target application to the predicted target member accounts.
[0168] See Figure 19 , Figure 19 This is a schematic diagram of the structure of the application sharing processing device provided in the embodiments of this application. The application sharing processing device 19 provided in the embodiments of this application includes: a request receiving module 1901, used to receive a sharing request for a target application sent by an instant messaging client, wherein the instant messaging client is associated with at least one group member account; and a request response module 1902, used to respond to the sharing request and share the target application to the group, so that member accounts in the group with operation permissions for the target application can operate the target application.
[0169] In some embodiments, the request-response module is further configured to obtain page metadata of the target application, and encapsulate a message based on the page metadata to obtain an application message corresponding to the target application; and send the application message to the instant messaging client of a member account in the group that has the operation permission via a session message; wherein, the application information is used to allow the instant messaging client of the member account in the group that has the operation permission for the target application to parse the application message and display the target application when it receives a triggered operation for the application message.
[0170] In some embodiments, the request response module is further configured to, in response to the sharing request, obtain a member account associated with the target application that has the operation permission; based on the member account associated with the target application that has the operation permission, filter out a target member account with the operation permission of the target application from the group; and share the target application to the target member account in the group so that the target member account can operate the target application.
[0171] In some embodiments, the request response module is further configured to respond to the sharing request by obtaining application data of the target application and account data of each member account in the group; based on the application data and the account data, calling a machine learning model to predict the member accounts in the group that need to have operation permissions for the target application, and determining the predicted target member accounts as member accounts with the operation permissions; sharing the target application to the target member accounts in the group so that the target member accounts can operate the target application.
[0172] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the sharing processing method described in this application embodiment.
[0173] This application provides a computer-readable storage medium storing executable instructions. When these executable instructions are executed by a processor, they cause the processor to execute the sharing processing method of the application provided in this application, for example... Figure 3 The method shown.
[0174] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.
[0175] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0176] As an example, executable instructions may, but do not necessarily, correspond to files in the file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code sections).
[0177] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0178] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A sharing processing method of an application, characterized by, The method is applied to an instant messaging client, which is associated with at least one group member account; the method includes: In response to a triggered operation that adds an application entry to the session attachment bar of the group associated with the instant messaging client, at least one candidate application to be added is displayed; In response to a selection operation for a target application among the at least one candidate applications to be added, a details page for the selected target application is displayed, and a permission setting control is displayed on the details page; In response to a permission setting instruction triggered by the permission setting control, the target member account indicated by the permission setting instruction is determined, and the target member account is designated as the member account with operation permissions associated with the target application. In response to the application addition command, the target application associated with the target member account is added to the session attachment bar; The instant messaging client displays the target application to be shared and the corresponding sharing control; In response to a sharing command triggered by the sharing control, the target application is shared to the instant messaging clients of each member account in the group, so that member accounts in the group with operation permissions for the target application can operate the target application; wherein, the target application is in an operable state in the instant messaging clients of member accounts in the group with operation permissions, and the target application is in an inoperable state in the instant messaging clients of member accounts in the group without operation permissions.
2. The method of claim 1, wherein, The instant messaging client displays the target application to be shared and the corresponding sharing control, including: The target application to be shared is displayed in the session attachment bar of the group associated with the instant messaging client. The target application is associated with a member account that has the operation permission. In response to a trigger operation targeting the target application, a preview interface of the target application is displayed, and the sharing control is displayed in the preview interface; The instant messaging client that shares the target application to each member account in the group includes: Based on the member accounts with the operation permissions associated with the target application, filter out the target member accounts with the operation permissions from the group; The target application is shared to the instant messaging client of the selected target member account via session messaging.
3. The method of claim 1, wherein, The instant messaging client displays the target application to be shared and the corresponding sharing control, including: In response to a trigger operation on the mass messaging control of the mass messaging assistant in the instant messaging client, an attachment addition control is displayed in the mass messaging interface; In response to a triggering operation that adds a control to the attachment, at least one attachment type is displayed for selection; In response to the selection operation of the application type among the at least one attachment types, at least one added candidate application corresponding to the application type is displayed; wherein, the added candidate application is added by the administrator account associated with the group, and the member account with the operation permission of the added candidate application is set by the administrator account; In response to a selection operation for a target application among the at least one added candidate applications, the target application to be shared and its corresponding sharing control are displayed.
4. The method as described in claim 3, characterized in that, The mass messaging interface displays a mass messaging target selection control, and the method further includes: In response to a mass mailing object selection instruction triggered by the mass mailing object selection control, determine the mass mailing member account selected by the mass mailing object selection instruction; The instant messaging client that shares the target application to each member account in the group includes: The target application is shared to the instant messaging client of the group messaging member account through the group messaging assistant, so that member accounts with operation permissions for the target application can operate the target application.
5. The method as described in claim 4, characterized in that, The method further includes: When there is a member account among the group messaging member accounts that does not have the operation permission, an activation prompt message is sent to the administrator account; The activation prompt message is used to prompt the administrator account to activate the operation permissions for the target application for member accounts among the group sending member accounts that do not have the operation permissions.
6. The method as described in claim 1, characterized in that, The instant messaging client that responds to a sharing instruction triggered based on the sharing control and shares the target application to each member account in the group includes: In response to a trigger operation on the sharing control, a sharing preview interface is displayed, and a sharing object selection control and a send control are displayed in the sharing preview interface; In response to a sharing object selection instruction triggered by the sharing object selection control, the target member account with the operation permission indicated by the sharing object selection instruction is displayed in the sharing preview interface; In response to a sharing command triggered by the sending control, the target application is shared to the instant messaging client of the target member account in the group, so that the target member account can operate the target application.
7. The method as described in claim 6, characterized in that, The step of responding to a sharing object selection instruction triggered by the sharing object selection control, and displaying the target member account with the operation permission indicated by the sharing object selection instruction in the sharing preview interface, includes: In response to a trigger operation on the sharing object selection control, an object selection interface is displayed, and the accounts of each member in the group are displayed in the object selection interface; In response to a sharing object selection command, the selected target member account in the group is controlled to be in a selected state; In response to the confirmation operation for the selected target member account, the target member account is confirmed as a member account with the operation permission, the object selection interface is closed, and the target member account is displayed in the sharing preview interface.
8. The method as described in claim 7, characterized in that, The process of displaying the accounts of each member in the group in the object selection interface includes: In the object selection interface, the recommended member accounts in the group are displayed using a first style, and other member accounts in the group other than the recommended member accounts are displayed using a second style different from the first style. The first style is used to prompt the user to select the target member account from the recommended member accounts; the recommended member account is a member account that needs to have the operation permission, recommended based on the compatibility between the target application and each member account.
9. The method as described in claim 6, characterized in that, The instant messaging client that shares the target application with the target member's account in the group includes: The target application is shared to the group via conversation messages, and the conversation message corresponding to the target application is displayed in the group's conversation interface; The session message includes the target application and a pointing character, which indicates the target member account in the group that has the operation permission.
10. The method as described in claim 1, characterized in that, The instant messaging client that shares the target application to each member account in the group includes: Share the target application to an instant messaging client of a member account in the group that has operating permissions for the target application.
11. The method as described in claim 1, characterized in that, The instant messaging client that shares the target application to each member account in the group includes: Obtain application data of the target application and account data of each member account in the group; Based on the application data and the account data, a machine learning model is invoked to predict the member accounts in the group that need to have the operation permissions of the target application, and the predicted target member accounts are taken as the member accounts that have the operation permissions. Share the target application to the instant messaging client of the predicted target member account.
12. A sharing processing device for an application, characterized in that, The device is configured in an instant messaging client, which is associated with at least one group member account; the device includes: The application adding module is configured to, in response to a triggered operation of an application adding entry in the session attachment bar of the group associated with the instant messaging client, display at least one candidate application to be added; in response to a selection operation of a target application among the at least one candidate application to be added, display a details page of the selected target application and display a permission setting control in the details page; in response to a permission setting instruction triggered based on the permission setting control, determine the target member account indicated by the permission setting instruction and set the target member account as the member account with operation permissions associated with the target application; and in response to an application adding instruction, add the target application associated with the target member account to the session attachment bar. The application display module is used to display the target application to be shared and the corresponding sharing control in the instant messaging client; The application sharing module is used to share the target application to the instant messaging clients of each member account in the group in response to a sharing instruction triggered by the sharing control, so that member accounts in the group with operation permissions for the target application can operate the target application; wherein, the target application is in an operable state in the instant messaging clients of member accounts in the group with operation permissions, and the target application is in an inoperable state in the instant messaging clients of member accounts in the group without operation permissions.
13. The apparatus according to claim 12, characterized in that, The application display module is also used to display the target application to be shared in the session attachment bar of the group associated with the instant messaging client, wherein the target application is associated with a member account that has the operation permission; In response to a trigger operation targeting the target application, a preview interface of the target application is displayed, and the sharing control is displayed in the preview interface; The application sharing module is also used to filter out target member accounts with the operation permissions from the group based on the member accounts associated with the target application that have the operation permissions. The target application is shared to the instant messaging client of the selected target member account via session messaging.
14. The apparatus according to claim 12, characterized in that, The application display module is also used to display an attachment addition control in the mass messaging interface in response to a trigger operation on the mass messaging control of the mass messaging assistant in the instant messaging client. In response to a triggering operation that adds a control to the attachment, at least one attachment type is displayed for selection; In response to the selection operation of the application type among the at least one attachment types, at least one added candidate application corresponding to the application type is displayed; wherein, the added candidate application is added by the administrator account associated with the group, and the member account with the operation permission of the added candidate application is set by the administrator account; In response to a selection operation for a target application among the at least one added candidate applications, the target application to be shared and its corresponding sharing control are displayed.
15. The apparatus according to claim 14, characterized in that, The mass messaging interface displays a mass messaging target selection control; the device also includes: The bulk messaging determination module is used to determine the bulk messaging member account indicated by the bulk messaging object selection instruction triggered based on the bulk messaging object selection control in response to the bulk messaging object selection instruction. The application sharing module is also used to share the target application to the instant messaging client of the group messaging member account through the group messaging assistant, so that member accounts with operation permissions for the target application in the group messaging member account can operate the target application.
16. An electronic device, characterized in that, include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the sharing processing method of the application as described in any one of claims 1 to 11.
17. A computer-readable storage medium, characterized in that, It stores executable instructions for implementing the sharing processing method of the application as described in any one of claims 1 to 11 when executed by a processor.
18. A computer program product comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement the sharing processing method of the application as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Chart sharing method and related equipment thereof
CN112163398A