Method, device and equipment for switching contacts in batch in enterprise-level social app

By setting up information record tables and callback interfaces in third-party service systems, batch switching of service specialists' contacts in enterprise-level social apps is realized, solving cumbersome problems in the existing technology, and improving efficiency and convenience.

CN119961023AActive Publication Date: 2025-05-09QIAN JIN NETWORK INFORMATION TECH SHANGHAI LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510060266.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-09
Estimated Expiration
2045-01-15

AI Technical Summary

Technical Problem

The existing enterprise-level social app background lacks the function of batch switching contacts, which leads to the administrator requiring the administrator to operate one by one when employees are transferred, which is very cumbersome.

Method used

By setting up an information record table in the third-party service system and setting up a callback interface for batch information relaying with the enterprise-level social app, the corresponding relationship between the service specialist and the employee is updated, and the contact relationship in the enterprise-level social app is batch updated through the third-party service system.

Benefits of technology

It realizes batch switching of service specialist contacts in enterprise-level social apps, improves the speed of service personnel contact switching, simplifies the operation process, and provides higher convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119961023A_ABST
    Figure CN119961023A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for switching contacts in batches in an enterprise-level social app, electronic equipment and a storage medium. The method comprises the steps that the method is achieved based on an enterprise-level social app and a third-party service system, a callback interface used for returning information in batches is arranged between the third-party service system and the enterprise-level social app, and the third-party service system comprises an information record table; the information record table comprises the following information: service specialist account information and a specialist identifier (oprid) registered in a third-party service system, organization structure information and an organization structure identifier (orgid) of an enterprise, employee information and an employee identifier (empid) in an organization structure, an identity identifier (unionid) obtained after an employee binds a personal social app account to an enterprise-level social app, and an identity identifier (unionid) obtained after the employee binds the personal social app account to the enterprise-level social app. And providing a corresponding relationship between the service specialist of the third-party service and the employee for the employee. According to the embodiment of the invention, the contacts can be quickly switched in batches.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method, device, electronic device, computer-readable storage medium, and computer program product for batch switching of contacts in an enterprise-level social app. Background Art

[0002] In order to communicate with the service objects in a timely manner, the service personnel in the enterprise will use the enterprise-level social app to add the service objects as contacts. Since each service personnel will be responsible for the services of multiple members of an organization in the company or the entire organization, the service personnel will have many contacts in the enterprise-level social app. In the prior art, when an employee of a certain account is transferred, the contacts under it need to be assigned to multiple contact persons. However, the background of the enterprise-level social app currently does not have the function of switching multiple contacts specified under a certain account. The administrator needs to switch one by one in the background management page of the enterprise WeChat, which requires multiple operations and is very cumbersome. Summary of the invention

[0003] In view of this, embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for batch switching of contacts in an enterprise-level social app, which are used to solve at least one technical problem.

[0004] The present application embodiment provides a method for batch switching contacts in an enterprise-level social app, characterized in that the method is implemented based on an enterprise-level social app and a third-party service system, and a callback interface for batch transmission of information is provided between the third-party service system and the enterprise-level social app, wherein the third-party service system includes an information record table, and the information record table includes the following information: service specialist account information and specialist identifier oprid registered in the third-party service system, organizational structure information and organizational structure identifier orgid of the enterprise, employee information and employee identifier empid in the organizational structure, identity identifier unionid obtained after the employee binds the personal social app account to the enterprise-level social app, and the corresponding relationship between the service specialist who provides third-party services to the employee and the employee; the enterprise-level social app includes a registered service specialist account and specialist identifier userid, a registered enterprise employee account and employee identifier external_userid, and a friend relationship between the service specialist and the corresponding employee; the method includes: when one or more service specialists who provide third-party services to the employee change, the third-party service system updates the corresponding relationship between the service specialist and the employee in the information record table; the third-party service system obtains the new corresponding employee corresponding to the changed employee according to the updated information record table. The third-party service system obtains the oprid of the service specialist and determines the userid of the new service specialist in the enterprise-level social app according to the oprid of the new service specialist; the third-party service system obtains the unionids of the multiple employees who have undergone the change according to the updated information record table, and divides the multiple unionids into multiple sets, the unionids in each set corresponding to the same old service specialist, and determines the corresponding empid set according to the employee information in each unionid set, and obtains multiple first-category empid sets; the third-party service system determines the unionid set of employees corresponding to each old service specialist according to the external_userid of the friend employees of each old service specialist in the enterprise-level social app, and determines the corresponding multiple empid sets according to the employee information in each unionid set, and obtains multiple second-category empid sets; the third-party service system determines the external_userid corresponding to one or more employee information belonging to both the first-category empid set and the second-category empid set, and updates the corresponding relationship of the one or more employee information in the enterprise-level social app to the new service specialist through the external_userid, completing the batch switching of the friend employees of the new and old service specialists.

[0005] Optionally, according to the method of the embodiment of the present application, the enterprise-level social app determines the external_userid corresponding to one or more employee information according to one or more employee information that belongs to both the first category empid set and the second category empid set, and updates the correspondence of the one or more employee information to a new service specialist through the external_userid, including: obtaining the intersection of each corresponding first category empid set and second category empid set to obtain multiple empid intersections; determining the corresponding one or more unionids according to one or more empids in each empid intersection, and determining the corresponding one or more external_userids according to the one or more unionids; determining one or more employee information that has undergone the change according to the one or more external_userids; updating the correspondence of the one or more employees that have undergone the change corresponding to each empid intersection to the userid corresponding to the new service specialist, so as to establish a friend relationship between the new service specialist and the corresponding employee.

[0006] Optionally, according to the method of the embodiment of the present application, the method further includes: the enterprise-level social app stores the obtained one or more external_userids in a message queue, and updates the multiple external_userids in batches to the userid of the new service specialist by calling the message queue.

[0007] Optionally, according to the method of the embodiment of the present application, the change includes one or more of the following multiple change items: enterprise change, employee organization change, employee change.

[0008] Optionally, according to the method of an embodiment of the present application, the personal information of an employee registering for an enterprise-level social app includes a mobile phone number, the mobile phone number is bound to the employee's external_userid in the enterprise-level social app, and the third-party service system locates the employee's empid based on the mobile phone number.

[0009] The embodiment of the present application provides a device for batch switching of contacts in an enterprise-level social app, wherein the device is implemented based on the enterprise-level social app and a third-party service system, wherein a callback interface for batch transmission of information is provided between the third-party service system and the enterprise-level social app, wherein the third-party service system includes an information record table, wherein the information record table includes the following information: service specialist account information and specialist identifier oprid registered in the third-party service system, organizational structure information and organizational structure identifier orgid of the enterprise, employee information and employee identifier empid in the organizational structure, identity identifier unionid obtained by the employee after binding the personal social app account to the enterprise-level social app, and, The corresponding relationship between the service specialist who provides third-party services to employees and the employees; the enterprise-level social app includes a registered service specialist account and a specialist identifier userid, a registered enterprise employee account and an employee identifier external_userid, and a friend relationship between the service specialist and the corresponding employee; the device includes an update module, which is used for the third-party service system to update the corresponding relationship between the service specialist and the employee in the information record table when one or more service specialists who provide third-party services to employees change; a first acquisition module, which is used for the third-party service system to obtain the oprid of the new service specialist corresponding to the changed employee according to the updated information record table, and determining the userid of the new service specialist in the enterprise-level social app according to the oprid of the new service specialist; a second acquisition module, for the third-party service system to obtain the unionids of the multiple employees who have undergone the change according to the updated information record table, and divide the multiple unionids into multiple sets, the unionids in each set corresponding to the old service specialists are the same, and determine the corresponding empid set according to the employee information in each unionid set, and obtain multiple first-category empid sets; a first determination module, for the third-party service system to obtain the external_u serid, determine the unionid set of employees corresponding to each old service specialist, and determine the corresponding multiple empid sets according to the employee information in each unionid set, and obtain multiple second-category empid sets; the second determination module is used for the third-party service system to determine the external_userid corresponding to one or more employee information according to one or more employee information that belongs to both the first-category empid set and the second-category empid set, and update the corresponding relationship of the one or more employee information in the enterprise-level social app to the new service specialist through the external_userid, thereby completing the batch switching of the friend employees of the new and old service specialists.

[0010] An embodiment of the present application provides an electronic device, which includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the method described above are implemented.

[0011] An embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the method described above are implemented.

[0012] An embodiment of the present application provides a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the steps of the method described above are implemented.

[0013] The embodiments of the present application can realize batch switching of service specialist contacts in an enterprise-level social app by recording the correspondence between the identifications of employees and service specialists in an information recording table set in a third-party service system, and by a batch information callback interface set between the third-party service system and the enterprise-level social app, thereby improving the speed of switching service personnel contacts and providing convenience for service personnel to use the enterprise-level social app. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following briefly introduces the drawings in the embodiments of the present application.

[0015] Figure 1 It is a schematic diagram of the system architecture of an embodiment of the present application.

[0016] Figure 2 It is a flowchart of a method for batch switching of contacts in an enterprise-level social app according to an embodiment of the present application.

[0017] Figure 3 It is a schematic diagram of a processing process for batch switching of contacts in an enterprise-level social app according to an embodiment of the present application.

[0018] Figure 4 This is another schematic diagram of a process for batch switching of contacts in an enterprise-level social app according to an embodiment of the present application.

[0019] Figure 5 It is a structural block diagram of an apparatus for batch switching of contacts in an enterprise-level social app according to an embodiment of the present application.

[0020] Figure 6 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that the purpose of providing these embodiments is to make the principles and spirit of the present application clearer and more thorough, so that those skilled in the art can better understand and implement the principles and spirit of the present application. The exemplary embodiments provided herein are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments herein, all other embodiments obtained by ordinary technicians of the art without creative work are within the scope of protection of this application.

[0022] Embodiments of the present application relate to terminal devices and / or servers. Those skilled in the art will appreciate that the embodiments of the present application may be implemented as a system, apparatus, device, method, computer-readable storage medium, or computer program product. Therefore, the present disclosure may be specifically implemented in at least one of the following forms: complete hardware, complete software, or a combination of hardware and software. According to the embodiments of the present application, the present application seeks protection for a method, apparatus, electronic device, computer-readable storage medium, and computer program product for batch switching of contacts in an enterprise-level social app. Figure 1 A schematic diagram of a system architecture of an embodiment of the present application is shown. Figure 1 As shown, the system includes a terminal device 102 and a server 104. Among them, the terminal device 102 may include at least one of the following: a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart TV, various wearable devices, an augmented reality AR device, a virtual reality VR device, etc. A client can be installed on the terminal device 102. For example, the client can be a client that specifically performs a specific function (such as an application app), or a client with multiple application applets (different functions) embedded in it, or a client logged in through a browser. The user can operate on the terminal device 102. For example, the user can open the client installed on the terminal device 102 and input instructions through the client operation, or the user can open the browser installed on the terminal device 102 and input instructions through the browser operation. After the terminal device 102 receives the instruction input by the user, the request information containing the instruction is sent to the server 104. After receiving the request information, the server 104 performs corresponding processing and then returns the processing result information to the terminal device 102. The user instruction is completed through a series of data processing and information interaction.

[0023] In this document, terms such as first, second, third, etc. are only used to distinguish one entity (or operation) from another entity (or operation), but not to require or imply any order or relationship between these entities (or operations).

[0024] Figure 2The flowchart of the method for batch switching contacts in an enterprise-level social app of an embodiment of the present application is shown. The method for batch switching contacts in an enterprise-level social app is implemented based on the enterprise-level social app and a third-party service system. A callback interface for batch transmission of information is provided between the third-party service system and the enterprise-level social app, wherein:

[0025] The third-party service system includes an information record table, which includes the following information: service specialist account information and specialist identifier oprid registered in the third-party service system, enterprise organizational structure information and organizational structure identifier orgid, employee information and employee identifier empid in the organizational structure, identity identifier unionid obtained by employees after binding their personal social app accounts to enterprise-level social apps, and the corresponding relationship between service specialists who provide third-party services to employees and employees;

[0026] The enterprise-level social app includes the registered service specialist account and specialist identification userid, the registered enterprise employee account and employee identification external_userid, the binding of external_userid and unionid, and the friendship relationship between the service specialist and the corresponding employee;

[0027] The method comprises the following steps:

[0028] S101: When one or more service specialists providing third-party services to employees are changed, the third-party service system updates the corresponding relationship between the service specialists and employees in the information record table;

[0029] S102: The third-party service system obtains the oprid of the new service specialist corresponding to the changed employee according to the updated information record table, and determines the userid of the new service specialist in the enterprise-level social app according to the oprid of the new service specialist;

[0030] S103: The third-party service system obtains the unionids of multiple employees that have changed according to the updated information record table, and divides the multiple unionids into multiple sets. The unionids in each set correspond to the same old service specialists, and determines the corresponding empid set according to the employee information in each unionid set, thereby obtaining multiple first-category empid sets.

[0031] S104: The third-party service system determines the unionid sets of employees corresponding to each old service specialist according to the external_userid of the friend employees in the enterprise-level social app of each old service specialist, and determines the corresponding multiple empid sets according to the employee information in each unionid set, thereby obtaining multiple second-category empid sets;

[0032] S105: The third-party service system determines the external_userid corresponding to the one or more employee information according to the one or more employee information belonging to both the first empid set and the second empid set, and updates the corresponding relationship of the one or more employee information in the enterprise-level social app to the new service specialist through the external_userid, thereby completing the batch switching of the friend employees of the new and old service specialists.

[0033] In the embodiments of the present application, enterprise-level social apps refer to social software used between employees within an enterprise or organization, such as WeChat for Enterprise, Feishu, DingTalk, etc. A third-party service system refers to the software that a third party relies on to provide various outsourcing services to an enterprise. The third-party service system stores the organizational structure information of the service object of the service specialist, the organizational structure identifier orgid, the employee information in the organizational structure and the employee identifier empid, as well as the identity information and identifier of the service specialist, wherein these information and the corresponding relationship are stored in the information record table of the third-party service system. A service specialist refers to a staff member specially assigned to provide services to an enterprise and its employees by a third-party service tool.

[0034] Employees in an enterprise can use their personal social software accounts to log in to the enterprise-level social app, and after binding to the enterprise-level social app, they can obtain the identity identifier UnionID.

[0035] For ease of understanding, Table 1 shows a first information record table in an embodiment of the present application;

[0036] Table 1

[0037]

[0038]

[0039] The first information record table records the employee's name, employee phone number, employee's organization, organization ID orgid, employee ID empid, hro_userid corresponding to the employee's HRO system account generated in the HRO system when the employee logs in to the HRO system applet, unionid generated when the employee uses personal social software to log in to the enterprise-level social app, service specialist name and service specialist ID oprid.

[0040] It should be noted that, in the information record table shown in Table 1, the employee name and employee telephone number can be obtained by inviting the employee to use personal social software to log in to the mini-program set up by the third-party service system in the personal social software and fill in the corresponding content.

[0041] In addition, the service specialist's account in the third-party service system can also be bound to the enterprise WeChat account, and the corresponding relationship can be stored in the third-party service system. Table 2 shows an information record table that records the corresponding relationship between the service specialist's account in the third-party service system and the enterprise-level social app account.

[0042] Table 2

[0043] Name of Commissioner oprid userid Zhang Yi oprid 1 userid 1 Zhang Er oprid 2 userid 2 Zhang San oprid 3 userid 3 Zhang Si oprid 4 userid 4

[0044] Table 2 records the name of the specialist, the specialist's account oprid in the third-party service system, and the specialist's account userid in the enterprise-level social app that is bound to the account.

[0045] When the service specialist corresponding to an employee changes, the relationship between the service specialist and the employee in the information record table also changes. For example, as shown in Table 1, service specialist Zhang Yi resigns, the service specialists corresponding to Li Yi and Li Wu are adjusted to Zhang Er, and the service specialist corresponding to Li San is adjusted to Zhang Si. Therefore, the first information record table is updated as follows:

[0046] Table 3

[0047]

[0048] The second information record table is updated to Table 4:

[0049] Table 4

[0050] Name of Commissioner oprid userid Zhang Er oprid 2 userid 2 Zhang San oprid 3 userid 3 Zhang Si oprid 4 userid 4

[0051] The third-party service system can obtain the oprids of the new service specialists Zhang Si and Zhang Er according to the updated second information table, and then obtain the corresponding userids according to the oprids.

[0052] The third-party service system also needs to obtain the unionid of the employee whose service specialist is changed in the information record table. Since the old service specialist corresponding to the changed service specialist is different, it is necessary to divide one or more unionids corresponding to the same old service specialist into a set, and then obtain the corresponding empid set according to the unionid set in each set. This empid set is called the first-class empid set, and each empid in the empid set corresponds to each unionid in the unionid set.

[0053] For example, according to the corresponding contents of Table 3 and Table 4, the unionid corresponding to Li Yi is unionid1, the unionid corresponding to Li San is unionid3, and the unionid corresponding to Li Wu is unionid5. Since the old service specialists corresponding to Li Yi and Li Wu are the same, namely Zhang Yi, their unionids are divided into a set: (unionid1 and unionid5), and the corresponding empid set is (empid1 and empid5). The old service specialist corresponding to Li San is Zhang San, so the obtained empid set is (empid3), and both empids are first-category empid sets.

[0054] The third-party service system also needs to pull the external_userid of each old service specialist's friend employee in the enterprise-level social app through the callback interface, and then request the employee's unionid from the enterprise-level social app based on the external_userid, and finally obtain the unionid set of different old service specialists, and then obtain the corresponding empid set based on the unionid set.

[0055] For example, according to Zhang Yi's contact information in the enterprise-level social app, Zhang Yi's corresponding contact is Li Yi (because some information record tables record that Zhang Yi has two corresponding employees, Li Yi and Li Wu, but Zhang Yi only added Li Yi as a friend, so Zhang Yi's friend employee is only Li Yi), and Zhang San's corresponding friend employee is Li San. Then the enterprise-level social app calls back Li Yi's external_userid1 and Li San's external_userid3 to the third-party service system, and then requests the corresponding unionid from the enterprise-level social app based on their respective external_userids, and finally obtains two second-category empid sets, namely: (empid1) and (empid3);

[0056] Finally, the third-party service system determines the external__userid of the employees whose service specialists are changed and added by the old service specialist based on the first and second sets, and then switches the external__userid to the corresponding userid of the new service specialist, thereby completing the batch switching of the friend employees of the old and new service specialists.

[0057] The embodiments of the present application can realize batch switching of service specialist contacts in an enterprise-level social app by recording the correspondence between the identifications of employees and service specialists in an information recording table set in a third-party service system, and by a batch information callback interface set between the third-party service system and the enterprise-level social app, thereby improving the speed of switching service personnel contacts and providing convenience for service personnel to use the enterprise-level social app.

[0058] In some embodiments of the present application, optionally, the enterprise-level social app determines external_userid corresponding to one or more employee information according to one or more employee information belonging to both the first type empid set and the second type empid set, and updates the corresponding relationship of the one or more employee information to a new service specialist through external_userid, including:

[0059] Calculate the intersection of each corresponding first-category empid set and second-category empid set to obtain multiple empid intersections;

[0060] Determine one or more corresponding unionids according to one or more empids in the intersection of each empid, and determine one or more corresponding external_userids according to one or more unionids;

[0061] According to one or more external_userids, determine one or more changed employee information;

[0062] The corresponding relationship of one or more changed employees corresponding to the intersection of each empid is updated to the userid corresponding to the new service specialist, so as to establish a friend relationship between the new service specialist and the corresponding employee.

[0063] For example, the first type of empid set corresponding to the old service specialist Zhang Yi is (empid1 and empid5), and the first type of empid set corresponding to the old service specialist Zhang San is (empid3); the second type of empid set obtained according to the friends of the old service specialist Zhang Yi in the enterprise-level social app is (empid1), and the second type of empid set obtained according to the friends of the old service specialist Zhang San in the enterprise-level social app is (empid3). The first type of empid set and the second type of empid set corresponding to Zhang Yi are: (empid1), and the first type of empid set and the second type of empid set corresponding to Zhang San are: (empid3), and then the corresponding unionid1 is obtained according to empid1, and then the third-party service system requests the external_userid1 corresponding to unionid1 from the enterprise-level social app, and switches the external_userid1 and the corresponding employee information to the userid of Zhang Er through the callback interface; similarly, the external_userid1 and the corresponding employee information corresponding to empid3 are switched to the userid of Zhang Si.

[0064] In addition, Table 1 only shows one embodiment of the present application. In other embodiments of the present application, an organization may have only one service specialist. For example, taking the embodiment shown in Table 1 as an example, the service specialist of Organization A may be Zhang Yi, and the service specialists corresponding to Li Yi and Li Er of Organization A are both Zhang Yi. The service specialist of Organization B may be Zhang Er, and the service specialists corresponding to Li San, Li Si and Li Wu of Organization B are all Zhang Er. If the service specialist of Organization A is changed from Zhang Yi to Zhang San, then Zhang San's account in WeChat Enterprise can still be determined first, and then the unionid set is determined based on the external_userid of Zhang Yi's friends in WeChat Enterprise, and then the corresponding empid set is determined; in this way, the intersection of the empid set and the empid set corresponding to Li Yi and Li Er is calculated to obtain the intersection of the empid sets, and then the external_userid corresponding to the employee in the intersection is switched to Zhang San's userid.

[0065] In some embodiments of the present application, optionally, the enterprise-level social app stores the obtained one or more external_userids in a message queue, and updates multiple external_userids in batches to the userid of the new service specialist by calling the message queue.

[0066] Figure 3 A schematic diagram of a process of batch switching contacts in an enterprise-level social app in an embodiment of the present application is shown. In this embodiment, the enterprise-level social app is WeChat for Enterprise, and the third-party service system is an HRO system, such as Figure 3 As shown, the HRO system has an intranet system, a C-end system and a message queue mq. The HRO system is connected to the enterprise WeChat backend through the C-end system, and information is transmitted between the two through a callback interface. Among them, in this embodiment, there are four triggering conditions for information changes in the information record table in the HRO intranet system, namely, employee organization modification, enterprise modification, organization corresponding specialist modification, operator (a general term for service specialists and service specialists' persons in charge, where the person in charge is also a type of service specialist, but the position is higher than that of ordinary service specialists) modification. Among them, the two trigger conditions of employee organization modification, enterprise modification, and organization corresponding specialist modification are activated to change the service specialist corresponding to the employee in the information record table, and then the message of the change in the correspondence between the employee and the service specialist is stored in the message queue mq. However, the two trigger conditions of organization corresponding specialist modification and operator modification are that the organization corresponding specialist has been modified, because in the HRO intranet system, the modification of the organization corresponding specialist only needs to be done through the operation page result, and the operation page can be modified by multiple organizations or operators. Therefore, to modify the organization corresponding service specialist or operator change, it is also necessary to batch switch the correspondence between each employee and service specialist in the information record table, for example, use Excel to batch switch the service specialists corresponding to the same organization in the information record table. Finally, the service specialist corresponding to the employee in the information record table is changed, and the message is also stored in mq. The C-end system of HRO acts as a message consumer, obtains the message in the message queue mq, and switches the external_userid of the employee whose corresponding service specialist has changed to the corresponding new service specialist userid in the enterprise WeChat according to the obtained message, completing the switching process.

[0067] Optionally, according to some embodiments of the present application, the change includes one or more of the following change items: enterprise change, employee organization change, service specialist change, wherein the service specialist change includes ordinary service specialist change and service specialist person in charge change.

[0068] According to some embodiments of the present application, optionally, the personal information of an employee registering for an enterprise-level social app includes a mobile phone number, the mobile phone number is bound to the employee's external_userid in the enterprise-level social app, and the third-party service system locates the employee's empid based on the mobile phone number.

[0069] In an embodiment of the present application, the third-party service system can set up a mini-program in the employee's personal social app and remind the employee to fill in his or her name and mobile phone number. Because the mobile phone number corresponding to each employee is unique, the above-mentioned steps of using unionid to obtain empid or external_userid can be changed to using the mobile phone number to obtain these two information.

[0070] The above describes the implementation methods and advantages of the embodiments of the present application through multiple embodiments. The following describes the specific processing process of the embodiments of the present application in detail with reference to specific examples.

[0071] Figure 4 FIG. 1 is another schematic diagram of a process for batch switching of contacts in an enterprise-level social app according to an embodiment of the present application. Figure 4 As shown, in this embodiment, batch switching of contacts in the enterprise-level social app includes the pre-stage, employee login and internal account switching, and the switching process involves the intranet system (third-party service system) end, the employee self-service system end (the third-party service system is set in the employee's personal social app applet) and the enterprise WeChat (enterprise-level social app) backend end. In the pre-stage, the following needs to be done in the intranet system: bind the employee specialist intranet account (oprid) to the enterprise WeChat, create the organizational structure relationship in the customer, create the employee specialist account oprid on the customer / organization, create the employee's empid information, and the corresponding customer and organization.

[0072] For the employee login process, the employee's empid and unionid are bound in the intranet system, and the employee logs in to the self-service system to fill in personal information.

[0073] During the internal account switching phase, the triggering conditions for updating the information recorded in the intranet system include: employees modifying the organization (changing the organization identifier org), employees switching billing customers (changing customers), specialists in the organization modifying accounts (switching the corresponding service specialists' oprid), and batch switching of operator accounts. After that, the enterprise WeChat interface is called to switch contacts, completing the batch switching of friend employees in the enterprise-level social app.

[0074] Corresponding to the method embodiment of the present application, the present application also provides a device for batch switching contacts in an enterprise-level social app, Figure 5 1 is a structural block diagram of an apparatus for batch switching contacts in an enterprise-level social app according to an embodiment of the present application. Figure 5 As shown, the device 100 for batch switching contacts in an enterprise-level social app is implemented based on the enterprise-level social app and a third-party service system. A callback interface for batch returning information is provided between the third-party service system and the enterprise-level social app, wherein:

[0075] The third-party service system includes an information record table, which includes the following information: service specialist account information and specialist identifier oprid registered in the third-party service system, the enterprise's organizational structure information and organizational structure identifier orgid, employee information and employee identifier empid in the organizational structure, the identity identifier unionid obtained by the employee after binding the personal social app account to the enterprise-level social app, and the corresponding relationship between the service specialist who provides third-party services to the employee and the employee;

[0076] The enterprise-level social app includes a registered service specialist account and specialist identifier userid, a registered enterprise employee account and employee identifier external_userid, and a friend relationship between the service specialist and the corresponding employee;

[0077] The device 100 comprises:

[0078] An updating module 110, configured to cause the third-party service system to update the corresponding relationship between the service specialists and the employees in the information record table when one or more service specialists providing third-party services to the employees are changed;

[0079] The first acquisition module 120 is used for the third-party service system to obtain the oprid of the new service specialist corresponding to the changed employee according to the updated information record table, and determine the userid of the new service specialist in the enterprise-level social app according to the oprid of the new service specialist;

[0080] The second acquisition module 130 is used for the third-party service system to acquire the unionids of the multiple employees who have undergone the change according to the updated information record table, and divide the multiple unionids into multiple sets, the unionids in each set corresponding to the same old service specialists, and determine the corresponding empid set according to the employee information in each unionid set, to obtain multiple first-category empid sets;

[0081] The first determination module 140 is used for the third-party service system to determine the unionid set of employees corresponding to each old service specialist according to the external_userid of the friend employee in the enterprise-level social app of each old service specialist, and determine the corresponding multiple empid sets according to the employee information in each unionid set to obtain multiple second-category empid sets;

[0082] The second determination module 150 is used for the third-party service system to determine the external_userid corresponding to the one or more employee information that belongs to both the first type empid set and the second type empid set, and to update the correspondence between the one or more employee information in the enterprise-level social app to the new service specialist through the external_userid, thereby completing the batch switching of the friend employees of the new and old service specialists.

[0083] The electronic device in the embodiment of the present application may be a user terminal device, a server, other computing devices, or a cloud server. Figure 6 It is a schematic diagram of the hardware structure of an electronic device of an embodiment of the present application. The electronic device may include a processor 601 and a memory 602 storing computer program instructions. When the processor 601 executes the computer program instructions, it implements the process or function of any of the above-mentioned embodiments.

[0084] Specifically, the processor 601 may include a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application. The memory 602 may include a large-capacity memory for data or instructions. For example, the memory 602 may be at least one of the following: a hard disk drive (HDD), a read-only memory (ROM), a random access memory (RAM), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, a universal serial bus (USB) drive or other physical / tangible memory storage device. For another example, the memory 602 may include a removable or non-removable (or fixed) medium. For another example, the memory 602 may be inside or outside the integrated gateway disaster recovery device. The memory 602 may be a non-volatile solid-state memory. In other words, the memory 602 usually includes a tangible (non-transitory) computer-readable storage medium (such as a memory device) encoded with computer-executable instructions, and when the software is executed (such as executed by one or more processors), the operation described in the method of the embodiment of the present application can be performed. The processor 601 implements the process or function of any method in the above embodiments by reading and executing the computer program instructions stored in the memory 602.

[0085] In one example, Figure 6The electronic device shown may also include a communication interface 603 and a bus 610. Among them, the processor 601, the memory 602, and the communication interface 603 are connected through the bus 610 and complete the communication between each other. The communication interface 603 is mainly used to realize the communication between each module, device, unit and / or device in the embodiment of the present application. The bus 610 includes hardware, software or both, and can couple the components of the online data traffic billing device to each other. For example, the bus may include at least one of the following: an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-end bus (FSB), a hypertransport (HT) interconnect, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnect, a low pin count (LPC) bus, a memory bus, a micro channel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable buses. The bus 610 may include one or more buses. Although the embodiments of the present application describe or illustrate a specific bus, the embodiments of the present application may consider any suitable bus or interconnection method.

[0086] In combination with the method in the above embodiments, an embodiment of the present application also provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the process or function of any method in the above embodiments is implemented.

[0087] In addition, an embodiment of the present application further provides a computer program product, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the process or function of any one of the methods in the above embodiments is implemented.

[0088] The above exemplarily describes the flowcharts and / or block diagrams of the methods, devices, systems and computer program products of the embodiments of the present application, and describes the relevant various aspects. It should be understood that each box or combination thereof in the flowchart and / or block diagram can be implemented by computer program instructions, or by dedicated hardware that performs a specified function or action, or by a combination of dedicated hardware and computer instructions. For example, these computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to form a machine that enables these instructions executed by such a processor to enable the implementation of the functions / actions specified in each box or combination thereof in the flowchart and / or block diagram. Such a processor can be a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.

[0089] The functional blocks shown in the structured block diagram of the embodiment of the present application can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc.; when implemented in software, it is a program or code segment used to perform the required task. The program or code segment can be stored in a memory, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0090] It should be noted that the present application is not limited to the specific configurations and processes described above or shown in the figures. The above is only a specific implementation mode of the present application. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the described system, device, module or unit can refer to the corresponding process in the method embodiment without further description. It should be understood that the scope of protection of the present application is not limited to this. Any technician familiar with the technical field can think of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and these modifications or substitutions should be included in the scope of protection of the present application.

Claims

1. A method for batch switching contacts in an enterprise-level social app, characterized in that: The method is implemented based on an enterprise-level social app and a third-party service system. A callback interface for batch transmission of information is provided between the third-party service system and the enterprise-level social app, wherein: The third-party service system includes an information record table, which includes the following information: service specialist account information and specialist identifier oprid registered in the third-party service system, the enterprise's organizational structure information and organizational structure identifier orgid, employee information and employee identifier empid in the organizational structure, the identity identifier unionid obtained by the employee after binding the personal social app account to the enterprise-level social app, and the corresponding relationship between the service specialist who provides third-party services to the employee and the employee; The enterprise-level social app includes a registered service specialist account and specialist identifier userid, a registered enterprise employee account and employee identifier external_userid, and a friend relationship between the service specialist and the corresponding employee; The method comprises: When one or more service specialists providing third-party services to employees are changed, the third-party service system updates the corresponding relationship between the service specialists and employees in the information record table; The third-party service system obtains the oprid of the new service specialist corresponding to the changed employee according to the updated information record table, and determines the userid of the new service specialist in the enterprise-level social app according to the oprid of the new service specialist; The third-party service system obtains the unionids of the multiple employees who have undergone the change according to the updated information record table, and divides the multiple unionids into multiple sets, the unionids in each set corresponding to the same old service specialists, and determines the corresponding empid set according to the employee information in each unionid set, to obtain multiple first-category empid sets; The third-party service system determines the unionid sets of employees corresponding to each old service specialist according to the external_userid of the friend employees in the enterprise-level social app of each old service specialist, and determines the corresponding multiple empid sets according to the employee information in each unionid set, thereby obtaining multiple second-category empid sets; The third-party service system determines the external_userid corresponding to one or more employee information that belongs to both the first and second empid sets, and updates the corresponding relationship of the one or more employee information in the enterprise-level social app to the new service specialist through the external_userid, thereby completing the batch switching of friend employees of the new and old service specialists.

2. The method according to claim 1, characterized in that The enterprise-level social app determines external_userids corresponding to one or more employee information belonging to both the first empid set and the second empid set according to the one or more employee information, and updates the corresponding relationship of the one or more employee information to a new service specialist through external_userid, including: Calculate the intersection of each corresponding first-category empid set and second-category empid set to obtain multiple empid intersections; Determine one or more corresponding unionids according to one or more empids in the intersection of each empid, and determine one or more corresponding external_userids according to one or more unionids; According to one or more external_userids, determine one or more employee information that has undergone the change; The corresponding relationship of one or more employees who have undergone the change and corresponding to each empid intersection is updated to the userid corresponding to the new service specialist, so as to establish a friend relationship between the new service specialist and the corresponding employee.

3. The method according to claim 1, characterized in that The method further comprises: The enterprise-level social app stores the obtained one or more external_userids in the message queue, and updates the multiple external_userids in batches to the userid of the new service specialist by calling the message queue.

4. The method according to claim 1, characterized in that: The change includes one or more of the following change items: enterprise change, employee organization change, and service specialist change.

5. The method according to claim 1, characterized in that The personal information of employees registering for the enterprise-level social app includes a mobile phone number, which is bound to the employee's external_userid in the enterprise-level social app. The third-party service system locates the employee's empid based on the mobile phone number.

6. A device for batch switching contacts in an enterprise-level social app, characterized in that: The device is implemented based on an enterprise-level social app and a third-party service system. A callback interface for batch transmission of information is provided between the third-party service system and the enterprise-level social app, wherein: The third-party service system includes an information record table, which includes the following information: service specialist account information and specialist identifier oprid registered in the third-party service system, the enterprise's organizational structure information and organizational structure identifier orgid, employee information and employee identifier empid in the organizational structure, the identity identifier unionid obtained by the employee after binding the personal social app account to the enterprise-level social app, and the corresponding relationship between the service specialist who provides third-party services to the employee and the employee; The enterprise-level social app includes a registered service specialist account and specialist identifier userid, a registered enterprise employee account and employee identifier external_userid, and a friend relationship between the service specialist and the corresponding employee; The device comprises: An updating module, configured to cause the third-party service system to update the corresponding relationship between the service specialists and the employees in the information record table when one or more service specialists providing third-party services to the employees are changed; The first acquisition module is used for the third-party service system to obtain the oprid of the new service specialist corresponding to the changed employee according to the updated information record table, and determine the userid of the new service specialist in the enterprise-level social app according to the oprid of the new service specialist; The second acquisition module is used for the third-party service system to acquire the unionids of the multiple employees who have undergone the change according to the updated information record table, and divide the multiple unionids into multiple sets, the unionids in each set corresponding to the same old service specialists, and determine the corresponding empid set according to the employee information in each unionid set, to obtain multiple first-category empid sets; The first determination module is used for the third-party service system to determine the unionid sets of employees corresponding to each old service specialist according to the external_userid of the friend employees of each old service specialist in the enterprise-level social app, and to determine the corresponding multiple empid sets according to the employee information in each unionid set, so as to obtain multiple second-category empid sets; The second determination module is used for the third-party service system to determine the external_userid corresponding to one or more employee information that belongs to both the first type empid set and the second type empid set, and update the correspondence between the one or more employee information in the enterprise-level social app to the new service specialist through the external_userid, thereby completing the batch switching of the friend employees of the new and old service specialists.

7. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; when the electronic device executes the computer program instructions, the method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

9. A computer program product, characterized in that It comprises computer program instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data synchronization method and system

    CN112800134A

  • Method, device and equipment for quickly remarking employee information and storage medium

    CN117808426A

  • Cross-system information collaborative change method and device and multi-system business service platform

    CN118233477A

  • Contact person processing method and device, equipment, storage medium and program product

    CN118779866A

  • Systems, apparatus, methods and computer-readable storage media for facilitating management of social media information for communication devices

    US20110087705A1