Data processing method, device and equipment and readable storage medium
By obtaining the association between object collections in collaborative office scenarios, establishing target shared applications and binding licensed accounts, the problem of inefficiency caused by the independence of account management in collaborative office is solved, enabling non-perceptual application use and improving efficiency. Collaborative office efficiency and application experience.
Patent Information
- Application Number
- CN202310203160.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-27
AI Technical Summary
In collaborative office scenarios, each enterprise manages accounts independently, resulting in low collaborative office efficiency and poor application experience.
By obtaining the association between object collections, a target shared application is established, and the permitted account list is bound to members based on the account allocation request to achieve imperceptible application use.
It improves the efficiency of account acquisition and collaborative working, and improves the application experience.
Smart Images

Figure CN118552139A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, equipment and readable storage medium. Background Art
[0002] In many scenarios, there are multiple sets of objects that need to work together. For example, in an office scenario, there are multiple companies working together. Efficient collaborative work can be achieved through cross-group collaboration. The current collaborative work method is for companies to manage their own accounts separately, and the account management of each company is independent of each other. Therefore, when multiple companies work together through shared applications, each company needs to purchase an account corresponding to the shared application for collaborative work and manage its own account independently, which reduces the efficiency of collaborative work and thus reduces the application usage experience. Summary of the invention
[0003] The embodiments of the present application provide a data processing method, apparatus, device and readable storage medium, which can improve the efficiency of collaborative office and enhance the application usage experience.
[0004] In a first aspect, the present application provides a data processing method, comprising:
[0005] Acquire an association relationship between the first object set and the second object set, and establish a target shared application between the first object set and the second object set in a target interactive application based on the association relationship;
[0006] receiving an account allocation request sent by the target sharing application; the account allocation request includes a permitted account list and an identifier of the second object set, the permitted account list includes N permitted accounts to be allocated that have permission to use the target sharing application, the N permitted accounts to be allocated are obtained by the first object set from the target sharing application, and N is a positive integer;
[0007] Determining, based on the identifier of the second object set, a second object set corresponding to the N license accounts to be allocated;
[0008] Based on the N to-be-allocated permission accounts, binding is performed with members in the second object set, so that the members in the second object set have the authority to use the target shared application.
[0009] In a second aspect, the present application provides a data processing device, including:
[0010] An application creation unit, configured to obtain an association relationship between the first object set and the second object set, and to establish a target shared application between the first object set and the second object set in a target interactive application based on the association relationship;
[0011] a request receiving unit, configured to receive an account allocation request sent by the target sharing application; the account allocation request includes a permitted account list and an identifier of the second object set, the permitted account list includes N permitted accounts to be allocated that have permission to use the target sharing application, the N permitted accounts to be allocated are obtained by the first object set from the target sharing application, and N is a positive integer;
[0012] An account allocation unit, configured to determine a second object set corresponding to the N to-be-allocated license accounts based on an identifier of the second object set;
[0013] The account binding unit is used to bind the N to-be-allocated permission accounts with the members in the second object set so that the members in the second object set have the authority to use the target shared application.
[0014] In a third aspect, the present application provides a computer device, including a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the above-mentioned data processing method.
[0015] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded and executed by a processor so that a computer device having the processor executes the above-mentioned data processing method.
[0016] In a fifth aspect, the present application provides a computer program product or a computer program, which includes computer instructions, and the computer instructions can implement the above-mentioned data processing method when executed by a processor.
[0017] In an embodiment of the present application, by obtaining the association relationship between the first object set and the second object set, a target shared application between the first object set and the second object set can be established in the target interactive application based on the association relationship. Then, when receiving the account allocation request sent by the target shared application, the second object set corresponding to the licensed account list can be determined based on the identifier of the second object set; the licensed account to be allocated in the licensed account list is bound to the members in the second object set, so that the members in the second object set have the authority to use the target shared application. Since the licensed account list is uniformly obtained by the first object set from the target shared application, the second object set does not need to be obtained from the target shared application, which can improve the efficiency of account acquisition. Furthermore, since the second object set does not need to manually bind the members in the second object set when obtaining the licensed account list, and the second object set can realize the imperceptible use of the target shared application, the efficiency of collaborative office can be improved, and the application usage experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 is a schematic diagram of a network architecture of a data processing system provided in an embodiment of the present application;
[0020] Figure 2 It is a scenario schematic diagram of a data processing method provided in an embodiment of the present application;
[0021] Figure 3 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0022] Figure 4 This is a schematic diagram of a scenario of dividing a license account table provided in an embodiment of the present application;
[0023] Figure 5 It is a flowchart of another data processing method provided in an embodiment of the present application;
[0024] Figure 6 This is a schematic diagram of a management scenario of a license account provided in an embodiment of the present application;
[0025] Figure 7 It is a schematic diagram of the composition structure of a data processing device provided in an embodiment of the present application;
[0026] Figure 8 It is a schematic diagram of the composition structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] The technical solution of the present application can be applied to scenarios where multiple clusters work together, for example, it can be applied to scenarios where upstream and downstream clusters work together, or it can also be applied to other scenarios of collaborative work. A cluster can refer to a collection of objects, each of which can include one or more objects, such as an enterprise or an institution or other organization. By determining the association relationship between multiple clusters, a shared application can be created for multiple clusters with an association relationship, and then a list of licensed accounts can be determined for each cluster, and the licensed account list can be bound to the members in the corresponding cluster, so that the bound members have the right to use the shared application. The technical solution of the present application can also be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc.
[0029] The embodiments of the present application involve data related to object information (such as the identifier of the second object set, a list of permitted accounts, etc.). When the embodiments of the present application are applied to specific products or technologies, it is necessary to obtain the permission or consent of the object, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. The object may refer to a user of a terminal device or a computer device, such as a member of the first object set, a member of the second object set, a developer of a target sharing application, etc.
[0030] See also Figure 1 , Figure 1 is a schematic diagram of a network architecture of a data processing system provided in an embodiment of the present application, such as Figure 1 As shown, the computer device can interact with the terminal device for data, and the number of the terminal devices can be one or at least two. For example, when the number of the terminal devices is multiple, the terminal devices can include terminal device 101a, terminal device 101b and terminal device 101c, etc. Among them, the computer device 102 can create a target shared application in the target interactive application based on the association relationship between the first object set and the second object set; receive the account allocation request sent by the target shared application, so as to determine the second object set corresponding to the licensed account list. Further, the computer device 102 can bind with the members in the second object set based on the licensed account list, so that the members in the second object set have the right to use the target shared application. Optionally, the members in the second object set can use the terminal device 101a, and the target shared application can be run on the terminal device 101a, then the members in the second object set have the right to use the target shared application, so that the use results of the target shared application can be displayed on the terminal device 101a.
[0031] It is understandable that the computer devices mentioned in the embodiments of the present application include but are not limited to terminal devices or servers. In other words, the computer device can be a server or a terminal device, or it can be a system composed of a server and a terminal device. Among them, the terminal device mentioned above can be an electronic device, including but not limited to mobile phones, tablet computers, desktop computers, laptop computers, PDAs, vehicle-mounted devices, intelligent voice interaction devices, augmented reality / virtual reality (AR / VR) devices, helmet displays, wearable devices, smart speakers, smart home appliances, aircraft, digital cameras, cameras and other mobile Internet devices (mobile internet device, MID) with network access capabilities. Among them, the server mentioned above can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, vehicle-road collaboration, content distribution networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0032] For further information, see Figure 2 , Figure 2 is a scenario diagram of a data processing method provided in an embodiment of the present application; for example, Figure 2 As shown, Figure 2 The association relationship between the first object set and the second object set in the example may refer to the upstream and downstream relationship between the upstream enterprise and the downstream enterprise, the first object set may refer to the upstream enterprise, and the second object set may refer to the downstream enterprise. The following is an explanation of the application sharing process between the upstream and downstream enterprises: Figure 2 As shown in 2a of FIG. 1 , the administrator of the upstream enterprise can click the “association relationship” module in the “work management” module in the target interactive application; further, as Figure 2 As shown in 2b of FIG. 1 , click the “Create Association Relationship” module in the “Association Relationship” module to create an association relationship between upstream and downstream enterprises (i.e., upstream and downstream relationship). Figure 2 As shown in 2c in FIG, the upstream enterprise can click the “relationship collaboration” module in the target interactive application; further, as Figure 2As shown in 2d in FIG. 1 , the administrator of the upstream enterprise can also click the "Share Application with Associated Object Set" module to share the target shared application with the downstream enterprise. Exemplarily, the "Work Management" module can be, for example, a "Workbench" module, the "Association Relationship" module can be, for example, an "Upstream and Downstream" module, the "Create Association Relationship" module can be, for example, a "Create Upstream and Downstream" module, the "Relationship Collaboration" module can be, for example, an "Upstream and Downstream Collaboration" module, and the "Share Application with Associated Object Set" module can be, for example, a "Share Application with Upstream and Downstream" module.
[0033] Furthermore, the upstream enterprise may also obtain a list of licensed accounts including at least one licensed account to be allocated in the target sharing application, and the target sharing application may interact with the target interactive application for data. For example, the target sharing application may send an account allocation request to the target interactive application, and the target interactive application may determine the downstream enterprise corresponding to the licensed account list when obtaining the account allocation request. The target interactive application may bind with members of the downstream enterprise based on the licensed account list. Figure 2 As shown in 2e in the figure, the logo of the shared application can also be displayed in the interface corresponding to the "Work Management" module of the target interactive application. When a click instruction of a bound member in a downstream enterprise for the target shared application is detected, the interface content corresponding to the target shared application can be displayed. The downstream enterprise does not need to obtain the list of licensed accounts and manually bind members to the list of licensed accounts. The license acquisition process and member binding process are imperceptible to the downstream enterprise. The bound members of the downstream enterprise can directly use the functions in the target shared application by clicking the logo of the target shared application in "Work Management".
[0034] For further information, see Figure 3 , Figure 3 is a flow chart of a data processing method provided in an embodiment of the present application; Figure 3 As shown, the data processing method can be applied to a computer device, and the data processing method includes but is not limited to the following steps:
[0035] S101, obtaining an association relationship between a first object set and a second object set, and establishing a target shared application between the first object set and the second object set in a target interactive application based on the association relationship.
[0036] In an embodiment of the present application, the association relationship between the first object set and the second object set may include, but is not limited to, cooperative relationships such as supply chain cooperative relationships, production and marketing cooperative relationships, technical cooperative relationships, and the like. For example, the set composed of objects in the upstream of the cooperative relationship can be called the first object set, that is, the upstream object set, and can also be called upstream enterprises; the set composed of objects in the downstream of the cooperative relationship can be called the second object set, that is, the downstream object set, and can also be called downstream enterprises. Upstream and downstream relationships can be used to connect enterprises and their suppliers, distributors, platform merchants and other business groups to achieve collaborative office. By creating upstream and downstream relationships, various needs of enterprises and government-enterprises in management, communication, collaboration, and business chains can be met.
[0037] Among them, the target sharing application can be an application provided by a third-party service provider that can be used through a simple authorization operation, such as a cloud application. The target sharing application can be convenient for administrators or members of the target interactive application to use. The target sharing application can be integrated in the target interactive application for use. Optionally, the target sharing application can include but is not limited to Hypertext Markup Language 5 (HTML5) (hereinafter referred to as "H5"), a mini-program (an application that can be used without downloading and installing) or a native application (Native APP). The first object set and the second object set can use the target sharing application for collaborative office work.
[0038] Optionally, the first object set can create an association relationship between the first object set and the second object set in the target interactive application by triggering an association relationship creation instruction in the target interactive application. For example, the first object set can click on the "Association Relationship" module in the "Work Management" module in the target interactive application, and click on the "Create Association Relationship" module in the "Association Relationship" module to create an association relationship (such as an upstream and downstream relationship) between the first object set and the second object set. Further, the first object set can click on the "Relationship Collaboration" module in the target interactive application, and further click on the "Share Application with Associated Object Set" module to share the target shared application with the second object set. When the computer device detects that the first object set clicks on the "Share Application with Associated Object Set" module, it establishes a target shared application between the first object set and the second object set. Optionally, the target shared application can also be displayed in the "Work Management" module in the target interactive application, so that members of the first object set and the second object set can enter the target shared application from the "Work Management" module in the target interactive application, thereby improving the efficiency of application entry.
[0039] Among them, the target interactive application can be run on a computer device, and the target interactive application can be used for social interaction. For example, the first object set and the second object set can use the target interactive application to chat or share applications or other social interactions. Multiple shared applications can be run in the target interactive application, and the target interactive application can open interfaces to shared applications corresponding to multiple third-party service providers to achieve mutual calls between the target interactive application and the shared application, and meet the usage requirements of each object set in each application scenario. In order to ensure that the developer corresponding to the shared application can correctly and normatively use the interface of the target interactive application, the target interactive application can issue an interface call license to the developer of the shared application. After obtaining the call license and being authorized by the administrator of the target interactive application, the developer of the shared application can bind the license account activation code to the member in the object set that needs to use the target shared application to activate the ability to call the interface of the target interactive application based on the member, so that the member has the authority to use the target shared application in the target interactive application.
[0040] In an optional implementation, the second object set may also create an association relationship between the first object set and the second object set by triggering an association relationship creation instruction in the target interactive application. Taking the association relationship as an upstream and downstream relationship as an example, the downstream enterprise may also click on the "Association Relationship" module in the "Work Management" module in the target interactive application, and click on the "Create Association Relationship" module in the "Association Relationship" module to create an upstream and downstream relationship. In other words, the upstream and downstream relationship may be created by the upstream enterprise, or by the downstream enterprise, or by other methods, and the embodiment of the present application does not limit the method of creating the upstream and downstream relationship.
[0041] S102: Receive an account allocation request sent by a target sharing application.
[0042] In the embodiment of the present application, the account allocation request may include a list of licensed accounts and an identifier of a second object set, wherein the list of licensed accounts includes N licensed accounts to be allocated that have the permission to use the target shared application, and the N licensed accounts to be allocated are obtained from the target shared application by the first object set, where N is a positive integer. The identifier of the second object set may include, but is not limited to, the name of the second object set, the number of the second object set, the authentication code of the second object set, and the like.
[0043] In a specific implementation, the first object set may obtain at least one license account to be allocated from the target shared application, and the method of obtaining the at least one license account to be allocated may include but is not limited to purchase, lease or other methods. Any one of the at least one license account to be allocated has the permission to use the target shared application. By allocating the license account to be allocated to members of any object set, the members of the arbitrary object set have the permission to use the target shared application. After the first object set obtains the license account to be allocated from the target shared application, it can specify to which object set the license account to be allocated is allocated, for example, to the second object set. When the target shared application sends an account allocation request to the computer device, the account allocation request may include the license account list and the identifier of the second object set, so that it can be known which member of which object set the license account list is for use.
[0044] That is, the first object set may purchase or rent a permission account list from a user of the target shared application, and designate the permission account list for use by the second object set, and the permission account list may be subsequently allocated to the second object set.
[0045] Optionally, the account allocation request may also include an identifier of the first object set, and the second object set corresponding to the allocation of the licensed account list may be subsequently determined in combination with the identifier of the first object set, the licensed account list, and the identifier of the second object set, so that it can be known from which object set the licensed account list is obtained and to which member of the object set the licensed account list is used. The identifier of the first object set may include but is not limited to the name of the first object set, the number of the first object set, the authentication code of the first object set, and so on. For example, when there are multiple associated object sets in the second object set, it can be determined from which object set of the multiple associated object sets the licensed account list is obtained based on the identifier of the first object set, thereby improving the accuracy of collaborative office.
[0046] S103: Determine, based on the identifier of the second object set, a second object set corresponding to the N license accounts to be allocated.
[0047] In the embodiment of the present application, since the account allocation request includes the identifier of the second object set, the second object set corresponding to the permitted account list can be determined based on the identifier of the second object set. By determining the second object set corresponding to the permitted account list, it is equivalent to establishing an association relationship between the permitted account list and the second object set. Then, the permitted account list can be bound to the members in the second object set, so that the members in the second object set have the authority to use the target shared application, and the members in the second object set can use the functions in the target shared application.
[0048] Optionally, the computer device may call the sharing interface of the target interactive application to determine the second object set corresponding to the licensed account list based on the identifier of the second object set, that is, determine the second object set corresponding to N licensed accounts to be allocated. The first object set may purchase the licensed account list from the designated user of the target sharing application. The designated user of the target sharing application may include but is not limited to the platform administrator of the target sharing application, the developer of the target sharing application, or the service provider of the target sharing application, etc. The designated user of the target sharing application may trigger an allocation instruction in the internal system to generate an account allocation request. The computer device may call the sharing interface of the target interactive application to determine the second object set corresponding to the licensed account list based on the identifier of the second object set, and then allocate or issue N licensed accounts to be allocated to the second object set corresponding to the identifier of the second object set.
[0049] Optionally, the target shared application may also be an application corresponding to the first object set, such as an application developed by the first object set, an application purchased by the first object set, etc. Then the designated user of the target shared application may also be a designated user in the first object set. The first object set may obtain the target shared application, and thus provide the licensed account list corresponding to the target shared application to the second object set for use, thereby achieving collaborative work.
[0050] S104: Binding the N to-be-allocated permission accounts with the members in the second object set, so that the members in the second object set have the authority to use the target shared application.
[0051] In one possible scenario, for members in the second object set that are bound to the licensed account list, the logo of the target shared application can be displayed in the work management module of their target interactive application, and the members in the second object set that are bound to the licensed account list can use the target shared application by clicking the logo of the target shared application in the work module of the target interactive application. For members in the second object set that are not bound to the licensed account list, the logo of the target shared application may not be displayed in the work management module of their target interactive application. Therefore, there is no need to adjust the interface corresponding to the work management of the target interactive application corresponding to the members in the second object set that are not bound to the licensed account list, which can save data processing efficiency.
[0052] In another possible scenario, for all members in the second object set, the logo of the target shared application can be displayed in the working module of their target interactive application, and all members in the second object set can enter the target shared application by clicking the logo of the target shared application in the working module of the target interactive application. For members in the second object set that are bound to the permitted account list, they have the authority to use the target shared application after entering the target shared application; for members in the second object set that are not bound to the permitted account list, they do not have the authority to use the target shared application after entering the target shared application. By adjusting the display interface of the target interactive application corresponding to all members in the second object set, there is no need to consider the binding status of each member, and the accuracy of data processing can be improved.
[0053] In an embodiment of the present application, if the number of license accounts to be allocated in the license account list is equal to the total number of members in the second object set, a license account to be allocated can be bound to each member in the second object set, so that each member in the second object set has the authority to use the target shared application.
[0054] If the number of licensed accounts to be allocated in the licensed account list is less than the total number of members in the second object set, for example, the number of licensed accounts to be allocated in the licensed account list is N, then each of the N members in the second object set may be bound to a licensed account to be allocated, so that the N members in the second object set have the authority to use the target shared application. It is understandable that when a member is bound to a licensed account to be allocated in the licensed account list, it means that the member can use the target shared application in the target interactive application, that is, has the authority to use the target shared application.
[0055] In the present application embodiment, Figure 2 As shown in 2e, after the permission account list is bound to the members in the second object set, the members in the second object set have the authority to use the target shared application, and the logo of the target shared application can be displayed in the target interface of the target interactive application. The target page can be a "work management" page or other page in the target interactive application. When a click operation of the member in the second object set bound to the permission account list on the logo of the target shared application displayed in the target interface of the target interactive application is detected, the target shared application is entered and the initial page of the target shared application is displayed.
[0056] Optionally, the licensed account to be allocated in the licensed account list may include multiple license types, and the permissions or functions corresponding to different license types may be different. For example, the licensed account list may include a basic license type or an interoperable license type. The basic license type may mean that a message can be sent when accessing the target interactive application, and the interoperable license type may mean that the interface information of other interactive applications needs to be called to communicate with other interactive applications, such as obtaining contacts in other interactive applications. If the licensed account to be allocated is a basic license type, the functions corresponding to the interoperable license type cannot be used when using the target shared application, for example, the interface information of other interactive applications cannot be called. Correspondingly, different types of accounts to be allocated can be bound to the same member in the second object set. For example, member 1 in the second object set can be bound to a licensed account to be allocated of a basic license type, and can also be bound to a licensed account to be allocated of an interoperable license type. By binding the members in the second object set to the corresponding licensed accounts to be allocated, the members in the second object set have the authority to use different functions of the target shared application, avoiding unauthorized use of the corresponding functions, and improving the security of application use.
[0057] In some possible implementations, members in the second object set may have the authority to use the target shared application when the following conditions are met: the first object set shares the target shared application with the second object set, i.e., the target shared application is established between the first object set and the second object set; the licensed account to be allocated in the licensed account list obtained by the first object set is in an inactive state (i.e., the licensed account to be allocated is not bound to any member); the licensed account to be allocated in the licensed account list obtained by the first object set is not allocated to other object sets other than the second object set; the number of licensed accounts to be allocated in the licensed account list is less than or equal to twice the upper limit of the number of members in the address book associated with the second object set. The address book associated with the second object set may include members of the second object who need to use the target shared application. It is understandable that when any of the above conditions is not met, members in the second object do not have the authority to use the target shared application.
[0058] Optionally, the target interactive application can allocate a list of licensed accounts to the interface corresponding to the second object set. If the allocation of the licensed account list is successful, the licensed account list can be account activated and bound to the members in the second object set, so that the bound members have the authority to use the target shared application. Among them, the developer of the target shared application can pass in fields to the target interactive application, and the target interactive application can output fields to the designated user of the target shared application. The passed in fields may include but are not limited to the identifier of the first object set, the identifier of the second object set, and the licensed account list. The output field may include the licensed account list and the allocation result for the licensed account list. For example, the allocation result may include whether the allocation of the licensed account list to the second object set is successful. If successful, the licensed account list can be account activated, so that the corresponding members in the second object set have the authority to use the target shared application. If unsuccessful, the licensed account list can be allocated to the second object set again.
[0059] In one embodiment, the target interactive application may also include an object management page, and the object management page in the target interactive application may be adjusted to increase the corresponding number of licenses (i.e., license accounts) in the object management page. The object management page includes the identifier of the object set, the number of licenses obtained (i.e., the number of licenses obtained by the first object set), and the number of licenses used (i.e., the number of licenses used by the first object set). Optionally, for the first object set, if there is an interface license assigned to the second object set, that is, the first object has obtained a list of license accounts, then a field "number of licenses assigned to the second object set x1" is added after the "number of licenses obtained" and before the "number of licenses used" of the first object set, where x1 represents the number of license accounts in the list of license accounts assigned to the second object set, and a prompt message "the license assigned to the second object set can only be activated and used by the second object set" may be further added after the field. For the second object set, if there are interface licenses allocated by the first object set, a field "Number of licenses from the first object set x2" is added after the "Number of licenses obtained" and before the "Number of licenses used", where x2 represents the number of license accounts allocated by the first object set to the second object set. A prompt message "Number of licenses allocated from the first object set" may also be added after the field.
[0060] In one embodiment, the target interactive application may further include a license export function, and the "license export" function in the account management in the target interactive application may also be adjusted. Specifically, when exporting licenses, for the first object set, all license accounts acquired by the first object set are displayed, and for the second object set, the license accounts acquired by the second object set plus the license accounts allocated by the first object set are displayed.
[0061] If any object set has a license account assigned to the second object set or a license account assigned from the first object set, a column of "upstream and downstream allocation information" can be added to the exported license account table. If any object set does not have a license account assigned to the second object set and a license account assigned from the first object set, this column will not be added. The first object set is the upstream enterprise of any object set, and the second object set is the downstream enterprise of any object set.
[0062] Optionally, for the license account assigned to the second object set, when the first object set exports the license account list corresponding to the first object set, the "upstream and downstream allocation information" of the license account displays "allocated to the second object set (identifier of the second object set)". For the license account assigned from the first object set, when the second object set exports the license account list of the second object set, the "upstream and downstream allocation information" of the license account displays "licenses assigned from the first object set (identifier of the first object set)", so that the license account allocation situation can be quickly checked, which is convenient for the first object set to manage the license account.
[0063] Optionally, when adjusting the licensed account list, such as adding a new licensed account, the upstream and downstream allocation information of the licensed account can be added to the licensed list, including the identifier of the first object set (the identifier of the upstream enterprise), the identifier of the second object set (the identifier of the downstream enterprise), and so on.
[0064] Optionally, the calculation of the license account expansion step can also be adjusted. For the interface call license account assigned by the first object set to the second object set, the ownership of the license account still belongs to the first object set. When calculating the ladder for license expansion in the first object set, the account assigned to the second object set can also be counted as the starting ladder of the first object set. If the license expansion is performed on the second object set, the interface call license account assigned by the first object set to the second object set is not calculated when calculating the starting ladder.
[0065] For example, when the first object set obtains Q licensed accounts, the digital delivery resources corresponding to each licensed account are the first quantity. When the first object obtains Q licensed accounts, the digital delivery resources corresponding to MQ licensed accounts are the second quantity. Q is a positive integer, M is a positive integer greater than Q, and the first quantity is greater than the second quantity. For example, after the first object set allocates the Q licensed accounts it has purchased to the second object set, it still needs to purchase MQ licensed accounts, and it can pay the second quantity of digital delivery resources. After the second object set obtains the Q licensed accounts allocated by the first object set, if it needs to purchase P licensed accounts, where P is a positive integer less than Q, it can pay the first quantity of digital delivery resources, that is, when downstream enterprises purchase licensed accounts, they do not need to calculate the licensed accounts allocated by upstream enterprises.
[0066] In one embodiment, the license account list of the shared application used by the first object set can be added to the total list of license accounts. If the first object set uses multiple shared applications and multiple license accounts are obtained for each shared application, the total list of license accounts can be divided into multiple license account lists (sub-tables) to reduce data storage pressure and facilitate subsequent account searches, thereby improving search efficiency.
[0067] Specifically, the initial data volume for the first object set can be obtained, and the initial data volume of the first object set includes the sum of the number of identifiers of multiple shared applications of the first object set, the number of identifiers of the second object set corresponding to the multiple shared applications, and the number of shared licensed accounts corresponding to the multiple shared applications; if the initial data volume of the first object set is less than the quantity threshold, a total list of licensed accounts is generated based on the identifiers of the multiple shared applications of the first object set, the identifiers of the second object set corresponding to the multiple shared applications, and the shared licensed accounts corresponding to the multiple shared applications; the newly added data volume corresponding to the first object set is obtained, and if the sum of the newly added data volume and the initial data volume is greater than the quantity threshold, the total list of licensed accounts is divided based on the identifiers of the shared applications to obtain a list of licensed accounts corresponding to the identifiers of the multiple shared applications.
[0068] Among them, the initial data volume may refer to the current data volume of the first object set. If the initial data volume of the first object set is less than the quantity threshold, it means that the data volume of the licensed accounts stored in the total list of licensed accounts is small, and the licensed accounts of multiple shared applications used by the first object set can be stored in the total list of licensed accounts. The newly added data volume may refer to the amount of data subsequently acquired based on the current moment. If the sum of the amount of data between the newly added data volume and the initial data volume is greater than the quantity threshold, it means that the number of licensed accounts that need to be stored in the total list of licensed accounts is large, which may cause data storage pressure and inconvenience in account search. The total list of licensed accounts can be divided into multiple sub-tables (licensed account lists), thereby reducing the data storage pressure in the table and improving data search efficiency.
[0069] Furthermore, when determining the second object set corresponding to the N licensed accounts to be allocated, the licensed account list corresponding to the target shared application can be determined from the licensed account list corresponding to the identifiers of the multiple shared applications based on the identifier of the second object set, and the N licensed accounts to be allocated in the licensed account list corresponding to the target shared application are determined to the second object set. In other words, by dividing the original table (with a large amount of data) into multiple sub-tables (with a small amount of data), when determining the licensed accounts to be allocated corresponding to the second object set, it is only necessary to query from the sub-table with a small amount of data, without querying the entire original table, which can improve the efficiency of account query.
[0070] Optionally, when performing table partitioning, the total list of licensed accounts can be partitioned according to the identifier of the first object set. Since the amount of data supported by a single key-value pair storage is limited, and according to business analysis, the first object set generally uses shared applications provided by multiple developers, the original table (total list of licensed accounts) can be partitioned to obtain multiple small tables (lists of licensed accounts). For example, the original table can be divided into multiple small tables according to the identifier of the shared application, or the data can be divided into multiple small tables according to the identifier of the developer company of the shared application, or the original table can be divided into multiple small tables according to other partitioning rules, thereby improving the account reading and writing performance. Optionally, the original table can be divided into multiple different small tables based on middleware or other table partitioning tools, and the partitioning tool is not limited in the embodiment of the present application.
[0071] Optionally, see Figure 4 , Figure 4 This is a scenario diagram of the division of a licensed account table provided in an embodiment of the present application, wherein the storage business layer can read and write the total list of licensed accounts (original table), and the original table may include the licensed accounts of all shared applications used by the first object set. By dividing the original table according to the identifier of the shared application, multiple licensed account lists (sub-tables) can be obtained, that is, a list of licensed accounts corresponding to each shared application. Among them, the sub-tables may include the identifier of the shared application, the identifier of the licensed account, the identifier of the member corresponding to the licensed account, account transfer records (for example, after member 1 leaves, the corresponding licensed account is transferred to member 2), and so on.
[0072] Furthermore, by dividing to obtain multiple permission account lists, the permission account list corresponding to the target shared application can be determined from the permission account lists corresponding to the identifiers of multiple shared applications, thereby allocating the permission account list corresponding to the target shared application to the second object set.
[0073] In an optional implementation, a sub-table can be directly generated based on the amount of data in the first object set, without dividing the main table, which can reduce the amount of data processing. Specifically, if the amount of data in the first object set is less than the quantity threshold, a license account list is generated based on the identifiers of multiple shared applications in the first object set, the identifiers of the second object set corresponding to the multiple shared applications, and the shared license accounts corresponding to the multiple shared applications; if the amount of data in the first object set is greater than or equal to the quantity threshold, the identifier of each shared application is obtained, and a license account list corresponding to each shared application is generated based on the identifier of each shared application, the identifier of the second object set corresponding to each shared application, and the shared license account corresponding to each shared application. By determining the amount of data in the first object set, when the amount of data in the first object set is small, a license account list is directly generated, and when the amount of data in the first object set is large, a sub-table corresponding to each shared application is directly generated, thereby reducing the data storage pressure in the table and facilitating subsequent table search.
[0074] In an embodiment of the present application, for a designated user of a shared application, such as a developer, it is only necessary to connect to the administrator of the upstream enterprise, without having to connect to both the administrator of the upstream enterprise and each member of the downstream enterprise, which can save connection costs. Upstream enterprises with upstream and downstream relationships can uniformly obtain (such as purchase) the license account list that the upstream enterprise and the corresponding downstream enterprise need to use, and assign the license account list to the corresponding downstream enterprise. The developer of the target shared application only needs to connect with the upstream enterprise, and the connection cost will not increase due to the increase in the upstream and downstream scales (for example, an increase in the number of downstream enterprises). In addition, since all license account lists can be stored in the upstream enterprise, the upstream enterprise can uniformly manage the license account lists of the upstream and downstream, and the account management cost will not increase due to the increase in the upstream and downstream scales, which can save resource consumption.
[0075] In an embodiment of the present application, by obtaining the association relationship between the first object set and the second object set, a target shared application between the first object set and the second object set can be established in the target interactive application based on the association relationship. Then, when receiving an account allocation request sent by the target shared application, a licensed account list can be allocated to the second object set based on the identifier of the second object set; based on the licensed account to be allocated in the licensed account list, the members in the second object set are bound to enable the members in the second object set to have the authority to use the target shared application. Since the licensed account list is uniformly obtained by the first object set from the target shared application, the second object set does not need to be obtained from the target shared application, which can improve the efficiency of account acquisition. Furthermore, since the second object set does not need to manually bind the members in the second object set when obtaining the licensed account list, and the second object set can realize the imperceptible use of the target shared application, the efficiency of collaborative office can be improved, and the application usage experience can be improved.
[0076] Optional, see Figure 5 , Figure 5 is a flow chart of another data processing method provided in an embodiment of the present application. The data processing method can be applied to a computer device; Figure 5 As shown, the data processing method includes but is not limited to the following steps:
[0077] S201, obtaining an association relationship between a first object set and a second object set, and establishing a target shared application between the first object set and the second object set in a target interactive application based on the association relationship.
[0078] S202: Receive an account allocation request sent by a target sharing application, and determine a second object set corresponding to N permitted accounts to be allocated based on an identifier of the second object set.
[0079] S203: Binding the N to-be-allocated permission accounts with the members in the second object set, so that the members in the second object set have the authority to use the target shared application.
[0080] In the embodiment of the present application, the specific implementation of steps S201 to S203 can refer to the implementation of the above-mentioned steps S101 to S104, which will not be repeated here.
[0081] In one implementation, the first object set can manually select members to be bound in the second object set. Specifically, an account binding request sent by the first object set can be obtained; the account binding request includes the identifiers of the N members to be assigned accounts in the second object set; a correspondence between the identifiers of the N members to be assigned accounts and the N licensed accounts to be assigned is established, and based on the correspondence, the N members to be assigned accounts are bound to the N licensed accounts to be assigned, with one licensed account to be assigned corresponding to one member.
[0082] In this manner, the first object set can select which members in the second object set to bind, and the first object set can bind N licensed accounts to be allocated to N members in the second object set by sending an account binding request including the identifiers of the N members in the second object set to be allocated accounts to the target interactive application. When establishing the correspondence between the identifiers of the N members to be allocated accounts and the N licensed accounts to be allocated, the correspondence between the identifiers of the N members and the N licensed accounts to be allocated can be randomly established, and the identifier of one member corresponds to one licensed account to be allocated. Alternatively, the member level of the N members in the second object set to be allocated accounts can be further obtained, and the correspondence between the identifiers of the N members to be allocated accounts and the N licensed accounts to be allocated is established based on the member level. If the member level is high, the correspondence between the licensed account to be allocated can be established first, and if the member level is low, the correspondence between the licensed account to be allocated can be established later, and so on. By establishing a correspondence between the identifiers of the N members to be assigned accounts and the N licensed accounts to be assigned, the N members to be assigned accounts can be bound to the N licensed accounts to be assigned based on the correspondence, and the bound members have the authority to use the target shared application.
[0083] In one implementation, the first object set can send an account binding request to the target sharing application. The designated user of the target sharing application can determine that N members in the second object set need to be bound based on the account binding request, and send a binding instruction to the computer device. The account instruction carries the identifiers of the N members in the second object set to which accounts are to be allocated. Based on the binding instruction, the N members in the second object set to which accounts are to be allocated can be bound to the N licensed accounts to be allocated.
[0084] In the embodiment of the present application, since the first object set can specify which members in the second object set need to be bound, the binding of the corresponding members can be realized, and the bound members in the second object set are unaware, and can directly click on the target shared application to use it, thereby improving the efficiency of application use. Since the second object set does not need to manually obtain and bind accounts, the efficiency of collaborative office work can be improved, and the application use experience can be improved.
[0085] In another implementation, the members to be bound in the second object set can be automatically bound. Specifically, the click operation of the i-th member in the second object set on the target shared application can be detected; the i-th member is the member of the first N clicked target shared applications in the second object set, i is a positive integer; one of the N to-be-allocated license accounts is selected and bound to the i-th member, until the first N clicked target shared applications in the second object set are bound to the N to-be-allocated license accounts.
[0086] Among them, the first N members of the second object set who click on the target shared application may refer to the first N members of the target shared application who click on the list of allocated licensed accounts. That is to say, when it is detected that a member clicks on the target shared application, it can be determined whether the member is a member of the second object set. If it is a member of the second object set, the member can be bound to any one of the licensed accounts to be allocated in the licensed account list, thereby binding the first N members of the target shared application who click on the second object set to the N licensed accounts to be allocated. It is imperceptible to the members of the second object set. When any one of the first N members in the second object set clicks on the target shared application, the member has the authority to use the target shared application by automatically binding the licensed account to it. Since the second object set does not need to manually obtain and bind accounts, it can improve the efficiency of collaborative office and improve the application usage experience.
[0087] In one embodiment, the licensed account list may also include the calling period of the target shared application. When it is detected that the licensed account list is about to expire, the licensed account list may be renewed to increase the usage period of the target shared application. Specifically, an expiration reminder message for the licensed account list may be sent to the first object set; the expiration reminder message is used to remind the first object set that the usage rights of the target shared application are about to expire; a renewal request for the target shared application from the first object set is obtained, and the calling period of the target shared application is adjusted based on the renewal request; and the licensed account list is updated based on the adjusted calling period of the target shared application.
[0088] In an embodiment of the present application, when it is detected that the licensed account list is about to expire, by sending a prompt message for the licensed account list to the first object set, the first object set can perform corresponding operations, such as renewing the licensed account list, thereby extending the call period for the target shared application. Furthermore, the call period in the licensed account list can be adjusted to achieve data synchronization for easy management. The licensed account list in the second object set can also be further adjusted to ensure data consistency of the licensed account lists in the two object sets.
[0089] In one embodiment, the permitted account list may also include the calling period of the target shared application. When it is detected that the time for the second object set to use the target shared application has expired, the permitted account list may be renewed to increase the usage period of the target shared application. Specifically, when a use request for the target shared application sent by a member of the second object set is obtained, the usage time corresponding to the use request may be detected; if the use time exceeds the calling period of the target shared application, an expiration prompt message is sent to the target object set, and the expiration prompt message is used to indicate that the calling period for the target shared application is expired; a renewal request for the target shared application from the target object set is obtained, the calling period of the target shared application is adjusted based on the renewal request, and the usage result corresponding to the use request is returned to the members of the second object set; and the permitted account list is updated based on the adjusted calling period of the target shared application.
[0090] In an embodiment of the present application, the target object set is a first object set or a second object set. When the calling period of the target shared application expires, members of the second object set do not have the authority to use the target shared application. The first object set or the second object set can adjust the usage period of the target shared application, such as performing a renewal operation, thereby increasing the calling period of the target shared application. After adjusting the calling period of the target shared application, the usage result corresponding to the usage request can be further returned to the members of the second object set; the usage result can include but is not limited to a renewal success message and the application usage of the target shared application. By adjusting the calling period of the target shared application, the normal use of the target shared application can be achieved, avoiding the unusability of the target shared application due to expiration, thereby improving the user experience.
[0091] S204: Obtain a recovery instruction for the first object set with respect to the permitted account list.
[0092] Among them, the recovery instruction can be used to recover the licensed account list obtained by the first object set from the target shared application. After the licensed account list obtained by the first object set from the target shared application is recovered, the members bound to the licensed account list do not have the permission to use the target shared application. Optionally, when it is detected that the first object set initiates a refund operation for the licensed account list, the recovery instruction of the first object set for the licensed account list is obtained, and the licensed account list obtained by the first object set can be recovered. In one implementation, the target shared application can obtain the recovery instruction of the first object set for the licensed account list, and the target shared application can send a recovery request for the licensed account list to the computer device, and the computer device can recover the licensed account list.
[0093] In an optional implementation, at least one of the to-be-allocated accounts in the licensed account list may also correspond to an account recovery period, which may include but is not limited to an account purchase period, a period set by the first object set, an association period between the first object set and the second object set, etc. The account purchase period may refer to the period when the account purchased by the first object set expires, the period set by the first object set may refer to the period when the licensed account is used by the second object set, the association period between the first object set and the second object set may refer to the cooperation period between the first object set and the second object set, etc.
[0094] When at least one of the to-be-allocated accounts in the licensed account list includes an account recovery period, a recovery instruction may be triggered based on the account recovery period, and the N to-be-allocated licensed accounts in the licensed account list may be recovered based on the recovery instruction. Triggering the recovery instruction based on the account recovery period may mean that when the current time meets the account recovery period, the recovery instruction is automatically triggered, and when the account recovery period is met, the account may be automatically recovered, thereby improving the efficiency of account management.
[0095] Optionally, a recovery instruction sent by the first object set may also be obtained, and the N to-be-allocated licensed accounts in the licensed account list may be recovered based on the recovery instruction. The first object set may recover the licensed account list in advance by sending a recovery instruction. The first object set may determine whether to recover the licensed account list in advance according to demand. For example, when the cooperation between the first object set and the second object set is abnormally terminated, terminated in advance, or the cooperation is suspended, the licensed account list may be recovered to avoid the second object set from continuing to use it, thereby causing losses to the first object set.
[0096] Specifically, the first object set can stop cooperating with the second object set, and the first object set can send a recovery instruction, and then recover the account license list corresponding to the second object set based on the recovery instruction. Alternatively, when the licensed account list includes an account recovery period, for example, the account recovery period can be an associated period, then when the associated period is met, the recovery instruction can be automatically triggered to recover the licensed account list. The period range corresponding to the associated period can be within the period range corresponding to the calling period of the target shared application. For example, if the period range corresponding to the calling period of the target shared application is February 1, 2023 to March 1, 2023, then the period range corresponding to the associated period can be February 1, 2023 to February 20, 2023. After the expiration of the associated period, and within the calling period of the target shared application, the licensed account list can be automatically recovered.
[0097] Further, after the licensed account list is recovered, when an update account allocation request sent by the target shared application is received, the third object set corresponding to the N to-be-allocated license lists can be determined based on the identifier of the third object set, and the members in the third object set can be bound based on the N to-be-allocated license lists, so that the members in the third object set have the authority to use the target shared application. The account allocation request includes the licensed account list and the identifier of the third object set, and the third object set and the second object set can be different object sets, for example, different enterprises.
[0098] That is to say, when the cooperation between the first object set and the second object set ends, the first object set can reclaim the license account list corresponding to the second object set, and when the license account in the license account list has not expired, the license account list can be assigned to another object set for binding, thereby realizing the cooperation between the first object set and the third object set and avoiding resource waste. For example, if the first object set and the second object set have a short-term cooperation, when the cooperation ends, the first object set can reclaim the license account assigned to the second object set, and assign the purchased and unexpired license account to another object set for use according to strategic needs, avoiding resource waste.
[0099] S205: based on the recovery instruction, stop determining the second object set corresponding to the license account to be allocated in the license account list, and release the binding between the license accounts in the license account list that are bound to the members in the second object set.
[0100] Among them, since the second object set corresponding to the licensed account list can be determined when the account allocation request sent by the target shared application is received, thereby realizing the allocation of N licensed accounts to be allocated to the second object set, when the recovery instruction of the first object set for the licensed account list is obtained, it is possible to stop determining the second object set corresponding to the licensed accounts to be allocated in the licensed account list, and release the binding between the licensed accounts in the licensed account list that are bound to the members in the second object set.
[0101] For example, if some of the licensed accounts in the licensed account list are bound to members in the second object set, then these licensed accounts are unbound, and for the licensed accounts in the licensed account list that are not bound to members in the second object set, the second object set corresponding to the licensed accounts to be allocated in the licensed account list is no longer determined, that is, the remaining licensed accounts in the licensed account list are no longer bound to the members in the second object set. For example, if the first object set initiates a refund operation for the licensed account list before the licensed account list expires, then the licensed account list obtained by the first object set can be recycled, and the licensed account list in the second object set can also be recycled, that is, the second object set corresponding to the licensed accounts to be allocated is stopped from being determined, and the licensed accounts in the licensed account list that are bound to the members in the second object set are unbound. By recycling the licensed account list when it is not needed, resource consumption can be reduced.
[0102] Optionally, see Figure 6 , Figure 6 : This is a schematic diagram of a management scenario of a licensed account provided by an embodiment of the present application, wherein the first object set can obtain a licensed account list from a target shared application. For example, if the licensed account list includes licensed account 1 to licensed account N, the first licensed account list corresponding to the first object set can include licensed account 1 to licensed account N. Further, the first object set can share licensed account 1 in the licensed account list to the second object set, and the second licensed account list corresponding to the second object set can include licensed account 1. By binding member 1 in the second object set with licensed account 1, the update status of the second licensed account list corresponding to the second object set is realized. The update status can be used to indicate that licensed account 1 is bound to member 1 in the second object set. The second object set can send the update status of licensed account 1 to the first object set, so that the first object set can manage the licensed account shared with the second object set. Further, when licensed account 1 is about to expire, the second object set can renew licensed account 1 to increase the usage period of licensed account 1, that is, to increase the calling period of the target shared application.
[0103] It is understandable that this is an example of sharing license account 1 in the license account list with members in the second object set. The sharing method and renewal method of other license accounts in the license account list can refer to the processing method of license account 1, and no further explanation is given here. In addition, the first object set can also initiate a refund operation, then the first license account list corresponding to the first object set can be recovered, and the second license account list shared with the second object set will also be recovered.
[0104] In an embodiment of the present application, by obtaining the association relationship between the first object set and the second object set, a target shared application between the first object set and the second object set can be established in the target interactive application based on the association relationship. Then, when receiving the account allocation request sent by the target shared application, the second object set corresponding to the licensed account list can be determined based on the identifier of the second object set; the licensed account to be allocated in the licensed account list is bound to the members in the second object set, so that the members in the second object set have the authority to use the target shared application. Since the licensed account list is uniformly obtained by the first object set from the target shared application, the second object set does not need to be obtained from the target shared application, which can improve the efficiency of account acquisition. Furthermore, since the second object set does not need to manually bind the members in the second object set when obtaining the licensed account list, and the second object set can realize the imperceptible use of the target shared application, the efficiency of collaborative office can be improved, and the application usage experience can be improved.
[0105] The method of the embodiment of the present application is introduced above, and the device of the embodiment of the present application is introduced below.
[0106] See also Figure 7 , Figure 7 : is a schematic diagram of the composition structure of a data processing device provided in an embodiment of the present application. The above data processing device can be deployed on a computer device; the data processing device can be used to execute the corresponding steps in the data processing method provided in an embodiment of the present application. The data processing device 70 includes:
[0107] The application creation unit 701 is used to obtain an association relationship between the first object set and the second object set, and to establish a target shared application between the first object set and the second object set in a target interactive application based on the association relationship;
[0108] The request receiving unit 702 is configured to receive an account allocation request sent by the target sharing application; the account allocation request includes a permitted account list and an identifier of the second object set, the permitted account list includes N permitted accounts to be allocated that have permission to use the target sharing application, the N permitted accounts to be allocated are obtained by the first object set from the target sharing application, and N is a positive integer;
[0109] An account allocation unit 703, configured to determine a second object set corresponding to the N to-be-allocated license accounts based on the identifier of the second object set;
[0110] The account binding unit 704 is used to bind the N to-be-allocated permission accounts with the members in the second object set, so that the members in the second object set have the authority to use the target shared application.
[0111] Optionally, the account binding unit 704 is specifically used to:
[0112] Acquire an account binding request sent by the first object set; the account binding request includes identifiers of N members in the second object set to be assigned accounts;
[0113] A correspondence between the identifiers of the N members to be assigned accounts and the N licensed accounts to be assigned is established, and based on the correspondence, the N members to be assigned accounts are bound to the N licensed accounts to be assigned, with one licensed account to be assigned corresponding to one member.
[0114] Optionally, the account binding unit 704 is specifically used to:
[0115] Detecting a click operation of an i-th member in the second object set on a target shared application; the i-th member is the first N members in the second object set that click on the target shared application, and i is a positive integer;
[0116] One of the N license accounts to be allocated is selected and bound to the i-th member, until the first N members of the second object set who click on the target shared application are bound to the N license accounts to be allocated.
[0117] Optionally, the permitted account list includes a calling period of the target shared application; the data processing device 70 further includes a period adjustment unit 705, which is used to:
[0118] Sending an expiration reminder message for the permitted account list to the first object set; the expiration reminder message is used to remind the first object set that the use permission of the target shared application is about to expire;
[0119] Obtaining a renewal request of the first object set for the target shared application, and adjusting a calling period of the target shared application based on the renewal request;
[0120] The permitted account list is updated based on the adjusted calling period of the target shared application.
[0121] Optionally, the permitted account list includes a calling period of the target shared application; the period adjustment unit 705 is further used to:
[0122] When a use request for the target shared application sent by a member in the second object set is obtained, detecting a use time corresponding to the use request;
[0123] If the usage time exceeds the calling period of the target shared application, an expiration prompt message is sent to the target object set; the expiration prompt message is used to indicate that the calling period for the target shared application is expired, and the target object set is the first object set or the second object set;
[0124] Obtaining a renewal request of the target object set for the target shared application, adjusting a calling period of the target shared application based on the renewal request, and returning a usage result corresponding to the usage request to members in the second object set;
[0125] The permitted account list is updated based on the adjusted calling period of the target shared application.
[0126] Optionally, the data processing device 70 further includes an account recovery unit 706, which is used to:
[0127] Obtaining a recovery instruction of the first object set for the permitted account list;
[0128] Based on the recovery instruction, the determination of the second object set corresponding to the to-be-allocated license account in the license account list is stopped, and binding between the license accounts in the license account list that are bound to members in the second object set is released.
[0129] Optionally, the data processing device 70 further includes a table partitioning unit 707, configured to:
[0130] Acquire an initial data volume for the first object set, where the initial data volume of the first object set includes the sum of the number of identifiers of multiple shared applications of the first object set, the number of identifiers of the second object set corresponding to the multiple shared applications, and the number of shared license accounts corresponding to the multiple shared applications;
[0131] If the initial data volume of the first object set is less than the quantity threshold, generating a total list of licensed accounts based on the identifiers of the multiple shared applications of the first object set, the identifiers of the second object set corresponding to the multiple shared applications, and the shared licensed accounts corresponding to the multiple shared applications;
[0132] The amount of newly added data corresponding to the first object set is obtained. If the sum of the amount of newly added data and the initial amount of data is greater than the quantity threshold, the total list of licensed accounts is divided based on the identifier of the shared application to obtain a list of licensed accounts corresponding to the identifiers of multiple shared applications. The account allocation unit 703 is specifically used to:
[0133] Based on the identifier of the second object set, a license account list corresponding to the target shared application is determined from the license account list corresponding to the identifiers of the multiple shared applications, and N to-be-allocated license accounts in the license account list corresponding to the target shared application are determined to the second object set.
[0134] It should be noted that Figure 7 For the contents not mentioned in the corresponding embodiments, please refer to the description of the method embodiments, which will not be repeated here.
[0135] In an embodiment of the present application, by obtaining the association relationship between the first object set and the second object set, a target shared application between the first object set and the second object set can be established in the target interactive application based on the association relationship. Then, when receiving the account allocation request sent by the target shared application, the second object set corresponding to the licensed account list can be determined based on the identifier of the second object set; the licensed account to be allocated in the licensed account list is bound to the members in the second object set, so that the members in the second object set have the authority to use the target shared application. Since the licensed account list is uniformly obtained by the first object set from the target shared application, the second object set does not need to be obtained from the target shared application, which can improve the efficiency of account acquisition. Furthermore, since the second object set does not need to manually bind the members in the second object set when obtaining the licensed account list, and the second object set can realize the imperceptible use of the target shared application, the efficiency of collaborative office can be improved, and the application usage experience can be improved.
[0136] See also Figure 8 , Figure 8 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 8 As shown, the computer device may include: a processor 801 and a memory 802. Optionally, the computer device may also include a network interface or a power supply module. The processor 801 and the memory 802 may exchange data.
[0137] The processor 801 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0138] The above-mentioned network interface may include an input device and / or an output device. For example, the input device may be a control panel, a microphone, a receiver, etc., and the output device may be a display screen, a transmitter, etc., which are not listed here one by one.
[0139] The memory 802 may include a read-only memory and a random access memory, and provide program instructions and data to the processor 801. A portion of the memory 802 may also include a non-volatile random access memory. When the processor 801 calls the program instruction, it is used to execute:
[0140] Acquire an association relationship between the first object set and the second object set, and establish a target shared application between the first object set and the second object set in the target interactive application based on the association relationship;
[0141] receiving an account allocation request sent by the target sharing application; the account allocation request includes a permitted account list and an identifier of the second object set, the permitted account list includes N permitted accounts to be allocated that have permission to use the target sharing application, the N permitted accounts to be allocated are obtained by the first object set from the target sharing application, and N is a positive integer;
[0142] Allocating the second object set corresponding to the N to-be-allocated license accounts based on the identifier of the second object set;
[0143] Based on the N permission accounts to be allocated, binding is performed with members in the second object set, so that the members in the second object set have the authority to use the target shared application.
[0144] Optionally, when the program instructions are executed by the processor, other steps of the method in the above embodiment may also be implemented, which will not be described in detail here.
[0145] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, which includes program instructions, which, when executed by a computer, cause the computer to execute the method of the aforementioned embodiment, and the computer may be part of the computer device mentioned above. As an example, the program instructions may be deployed on a computer device for execution, or deployed on multiple computer devices located at one location for execution, or, executed on multiple computer devices distributed at multiple locations and interconnected by a communication network, and multiple computer devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain network.
[0146] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction, and when the computer instruction is executed by a processor, some or all of the steps in the above method can be implemented. For example, the computer instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device performs the steps performed in the embodiments of the above methods.
[0147] Those skilled in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0148] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A data processing method, characterized in that: The method comprises: Acquire an association relationship between a first object set and a second object set, and establish a target shared application between the first object set and the second object set in a target interactive application based on the association relationship; receiving an account allocation request sent by the target sharing application; the account allocation request includes a permitted account list and an identifier of the second object set, the permitted account list includes N permitted accounts to be allocated that have permission to use the target sharing application, the N permitted accounts to be allocated are obtained by the first object set from the target sharing application, and N is a positive integer; Determining, based on the identifier of the second object set, a second object set corresponding to the N license accounts to be allocated; Binding is performed based on the N to-be-allocated permission accounts and members in the second object set, so that the members in the second object set have the authority to use the target shared application.
2. The method according to claim 1, characterized in that The step of binding the N license accounts to be allocated with members in the second object set includes: Acquire an account binding request sent by the first object set; the account binding request includes identifiers of N members in the second object set to be assigned accounts; A correspondence between the identifiers of the N members to be assigned accounts and the N licensed accounts to be assigned is established, and based on the correspondence, the N members to be assigned accounts are bound to the N licensed accounts to be assigned, with one licensed account to be assigned corresponding to one member.
3. The method according to claim 1, characterized in that The step of binding the N license accounts to be allocated with members in the second object set includes: Detecting a click operation of an i-th member in the second object set on a target shared application; the i-th member is the first N members in the second object set that click on the target shared application, and i is a positive integer; Select one of the N license accounts to be allocated and bind it to the i-th member, until the first N members of the click target sharing application in the second object set are bound to the N license accounts to be allocated.
4. The method according to any one of claims 1 to 3, characterized in that: The permitted account list includes a calling period of the target shared application; the method further includes: Sending an expiration reminder message for the permitted account list to the first object set; the expiration reminder message is used to remind the first object set that the use permission of the target shared application is about to expire; Acquire a renewal request of the first object set for the target shared application, and adjust a calling period of the target shared application based on the renewal request; The permitted account list is updated based on the adjusted calling period of the target shared application.
5. The method according to any one of claims 1 to 3, characterized in that: The permitted account list includes a calling period of the target shared application; the method further includes: When a use request for the target shared application sent by a member of the second object set is obtained, detecting a use time corresponding to the use request; If the usage time exceeds the calling period of the target shared application, an expiration prompt message is sent to the target object set; the expiration prompt message is used to indicate that the calling period for the target shared application is expired, and the target object set is the first object set or the second object set; Acquire a renewal request of the target object set for the target shared application, adjust a calling period of the target shared application based on the renewal request, and return a usage result corresponding to the usage request to members in the second object set; The permitted account list is updated based on the adjusted calling period of the target shared application.
6. The method according to claim 1, characterized in that After binding the N license accounts to be allocated with members in the second object set, the method further includes: Obtaining a reclaim instruction of the first object set for the permitted account list; Based on the reclaim instruction, the determination of the second object set corresponding to the to-be-allocated license account in the license account list is stopped, and binding between the license accounts in the license account list that are bound to members in the second object set is released.
7. The method according to claim 1, characterized in that The method further comprises: Acquire an initial data volume for the first object set, where the initial data volume of the first object set includes the sum of the number of identifiers of multiple shared applications of the first object set, the number of identifiers of the second object set corresponding to the multiple shared applications, and the number of shared license accounts corresponding to the multiple shared applications; If the initial data volume of the first object set is less than the quantity threshold, generating a total list of license accounts based on the identifiers of multiple shared applications of the first object set, the identifiers of the second object set corresponding to the multiple shared applications, and the shared license accounts corresponding to the multiple shared applications; Acquire the amount of newly added data corresponding to the first object set, and if the sum of the amount of newly added data and the initial amount of data is greater than the quantity threshold, divide the total list of licensed accounts based on the identifiers of the shared applications to obtain a list of licensed accounts corresponding to the identifiers of multiple shared applications; The determining, based on the identifier of the second object set, the second object set corresponding to the N to-be-allocated license accounts includes: Based on the identifier of the second object set, a license account list corresponding to the target shared application is determined from the license account lists corresponding to the identifiers of the multiple shared applications, and N to-be-allocated license accounts in the license account list corresponding to the target shared application are determined to the second object set.
8. A data processing device, characterized in that: The device comprises: an application creation unit, configured to obtain an association relationship between the first object set and the second object set, and to establish a target shared application between the first object set and the second object set in a target interactive application based on the association relationship; a request receiving unit, configured to receive an account allocation request sent by the target sharing application; the account allocation request includes a permitted account list and an identifier of the second object set, the permitted account list includes N permitted accounts to be allocated that have permission to use the target sharing application, the N permitted accounts to be allocated are obtained by the first object set from the target sharing application, and N is a positive integer; An account allocation unit, configured to determine a second object set corresponding to the N license accounts to be allocated based on the identifier of the second object set; An account binding unit is used to bind the N to-be-allocated license accounts with members in the second object set so that the members in the second object set have the authority to use the target shared application.
9. A computer device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having a processor executes the method according to any one of claims 1 to 7.
11. A computer program product, characterized in that The computer program product comprises computer instructions, which implement the method according to any one of claims 1 to 7 when executed by a processor.
