Message reply method and device based on enterprise micro friend migration and medium

By counting and filtering the number of QQ code scans and the total number of users of QQ account, the intelligent migration and message forwarding of QQ account are realized, which solves the problem of low efficiency of QQ account reply after being blocked in the existing technology and improves the user experience.

CN120066820APending Publication Date: 2025-05-30SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510170531.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-17
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing enterprise micro-message reply method is relatively inefficient, especially after the enterprise micro-invoice is blocked, the user process is affected, resulting in poor user experience.

Method used

By counting the number of scan codes of the same scan code user for the same merchant in different scenarios within the preset time period, multiple scan codes are determined, and the total number of users has reached the threshold according to the channel code sequence, filtering the next Qiwei account to add the user until the total number of users has not reached the threshold, adding the user to these Qiwei accounts, and forwarding the message request to multiple Qiwei accounts, and replying to the message through the same virtual account.

Benefits of technology

It improves the efficiency of message reply, reduces user process interruptions caused by Qiwei Account being blocked, and improves users' overall experience in Qiwei Account consultation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066820A_ABST
    Figure CN120066820A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of message communication, and discloses a message reply method and device based on enterprise micro friend migration and a medium, and the method comprises the steps: determining a plurality of enterprise micro numbers corresponding to the same merchant according to the number of scanned codes, and screening the enterprise micro number of the next added user from the plurality of enterprise micro numbers when the total number of users in the enterprise micro numbers reaches a number threshold value, a plurality of enterprise micro numbers of which the total number of users does not reach the number threshold value are screened out from the plurality of verified enterprise micro numbers; when the total number of the users in each of the plurality of screened enterprise wechat numbers does not reach a number threshold value, adding the same code scanning user to the plurality of screened enterprise wechat numbers; and when the same code scanning user is added to the screened enterprise wechat numbers one by one, forwarding a message request of the same code scanning user to the plurality of enterprise wechat numbers, and replying a message to the same code scanning user according to the same virtual number corresponding to the forwarded plurality of enterprise wechat numbers. According to the invention, the message reply efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of message communication, and particularly to a message reply method, device and medium based on enterprise WeChat friend migration. Background Art

[0002] With the rapid development of Internet businesses, the daily marketing of enterprise WeChat accounts has become a new operation front for enterprise WeChat. Enterprises attract users by offering incentives such as coupons for following and adding users, guiding users to become enterprise WeChat users. Through the enterprise WeChat account channel, daily interactions with users are carried out to improve user stickiness and increase user activity, achieving the purpose of enterprise business conversion. To improve the user experience, it is necessary to reply to messages according to different enterprise WeChat accounts during the enterprise user addition process.

[0003] The existing enterprise WeChat message reply is based on the corresponding enterprise WeChat account added by the user. In practical applications, during the operation of enterprise WeChat accounts, there may be a situation where an enterprise WeChat account is blocked, and it may be necessary to replace it and add users again for daily chat operations. Users perceive that they are chatting with different enterprise WeChat accounts, resulting in a poor overall perception experience, and thus the efficiency of message reply is relatively low. Summary of the Invention

[0004] The present invention provides a message reply method, device and medium based on enterprise WeChat friend migration, and its main purpose is to solve the problem of the efficiency of message reply.

[0005] To achieve the above object, a message reply method based on enterprise WeChat friend migration provided by the present invention includes:

[0006] Count the number of scans of enterprise WeChat accounts of the same merchant in different scenarios by the same scanned user within a preset time period;

[0007] Determine multiple enterprise WeChat accounts corresponding to the same merchant according to the number of scans and the total number of enterprise WeChat placements corresponding to all scenarios, extract the channel codes corresponding to each enterprise WeChat account among the multiple enterprise WeChat accounts, and sequentially verify whether the total number of users in each enterprise WeChat account reaches a preset quantity threshold according to the order of the channel codes;

[0008] When the total number of users in the verified enterprise WeChat account reaches the preset quantity threshold, screen the next enterprise WeChat account for adding users among the multiple enterprise WeChat accounts according to the preset user migration conditions and the order of the channel codes until multiple enterprise WeChat accounts with the total number of users not reaching the preset quantity threshold are screened out among the verified multiple enterprise WeChat accounts;

[0009] When the total number of users in each of the screened multiple enterprise WeChat accounts does not reach the preset quantity threshold, add the same scanned user to the screened multiple enterprise WeChat accounts;

[0010] When the same code-scanning user is added to multiple enterprise WeChat numbers selected, forward the message requests of the same code-scanning user to the multiple enterprise WeChat numbers, and reply to the same code-scanning user with messages according to the same virtual number corresponding to the multiple forwarded enterprise WeChat numbers.

[0011] Optionally, the step of counting the code-scanning quantity of the same code-scanning user for the same merchant in different scenarios within a preset time period includes:

[0012] Obtain the code-scanning user identifier, code-scanning time, and code-scanning scenario of the same code-scanning user corresponding to the enterprise WeChat numbers of the same merchant in different scenarios;

[0013] Generate a code-scanning three-dimensional group with the code-scanning user identifier, the code-scanning time, and the code-scanning scenario corresponding to the same code-scanning user;

[0014] Count all the code-scanning three-dimensional groups corresponding to the same code-scanning user, and perform time screening on all the counted code-scanning three-dimensional groups within a preset time period to obtain the code-scanning three-dimensional groups within the preset time period;

[0015] Perform scenario screening on the code-scanning three-dimensional groups within the preset time period, and count the total number of the corresponding code-scanning user identifiers in the code-scanning three-dimensional groups after scenario screening;

[0016] Use the total number of the code-scanning user identifiers as the code-scanning quantity corresponding to the same code-scanning user.

[0017] Optionally, the step of determining multiple enterprise WeChat numbers corresponding to the same merchant according to the code-scanning quantity and the total enterprise WeChat placement quantity corresponding to all scenarios includes:

[0018] Obtain the total enterprise WeChat placement quantity corresponding to the same merchant within a preset time period in different scenarios;

[0019] When the code-scanning quantity is less than or equal to the total enterprise WeChat placement quantity, use the total enterprise WeChat placement quantity as the quantity of the first enterprise WeChat numbers corresponding to the same merchant, and determine multiple enterprise WeChat numbers corresponding to the same merchant according to the quantity of the first enterprise WeChat numbers;

[0020] When the code-scanning quantity is greater than the total enterprise WeChat placement quantity, use the code-scanning quantity as the quantity of the second enterprise WeChat numbers corresponding to the same merchant, and determine multiple enterprise WeChat numbers corresponding to the same merchant according to the quantity of the second enterprise WeChat numbers.

[0021] Optionally, the step of sequentially verifying whether the total number of users in each enterprise WeChat number reaches a preset quantity threshold according to the order of the channel codes includes:

[0022] Arrange each enterprise WeChat number in ascending order according to the channel codes;

[0023] Count the total number of real-time users in each enterprise WeChat number one by one according to the arranged enterprise WeChat numbers within a preset time period;

[0024] Calculate the quantity difference between the total number of real-time users in each enterprise WeChat number and a preset quantity threshold;

[0025] Judge whether the total number of users in each enterprise WeChat number reaches the preset quantity threshold in turn according to the quantity difference.

[0026] Optionally, the screening of the next enterprise WeChat number to add users among the multiple enterprise WeChat numbers according to the preset user migration conditions and the order of the channel codes includes:

[0027] Extract the user addition quantity condition and the user addition frequency condition in the preset user migration conditions;

[0028] Count the number of added users in each enterprise WeChat number within a preset time period, and calculate the user addition frequency of each enterprise WeChat number within a preset time period;

[0029] Select, in the order of the channel codes, the enterprise WeChat numbers among the multiple enterprise WeChat numbers whose added user quantity meets the user addition quantity condition and whose user addition frequency meets the user addition frequency condition as the target enterprise WeChat numbers;

[0030] Collect all the target enterprise WeChat numbers into an enterprise WeChat number set. When the number of enterprise WeChat numbers in the enterprise WeChat number set is greater than a preset target threshold, select the enterprise WeChat number with the least number of added users in the enterprise WeChat number set as the next enterprise WeChat number to add users;

[0031] When the number of enterprise WeChat numbers in the enterprise WeChat number set is equal to the preset quantity threshold, use the target enterprise WeChat number as the next enterprise WeChat number to add users.

[0032] Optionally, the adding of the same scanned code user to the multiple screened enterprise WeChat numbers one by one includes:

[0033] Verify the user information of the same scanned code user, and determine the enterprise WeChat identifier corresponding to each enterprise WeChat number among the multiple screened enterprise WeChat numbers according to the verified user information;

[0034] Add the verified same scanned code user to the user list of each enterprise WeChat number corresponding to the enterprise WeChat identifier through a preset adding interface one by one;

[0035] Query whether the same scanned code user exists in the user list. When the same scanned code user exists in the user list, display the same scanned code user in the user list.

[0036] Optionally, the forwarding of the message request of the same scanned code user to multiple enterprise WeChat numbers includes:

[0037] Extract multiple added enterprise WeChat IDs corresponding to the same code-scanning user;

[0038] Create multiple message transmission channels between the same code-scanning user and the multiple added enterprise WeChat IDs;

[0039] Transmit the message request of the same code-scanning user to a preset message routing;

[0040] Forward the message request in the message routing to the multiple added enterprise WeChat IDs through the multiple message transmission channels.

[0041] Optionally, replying to the same code-scanning user according to the same virtual number corresponding to the multiple forwarded enterprise WeChat IDs includes:

[0042] Perform semantic analysis on the user message of the same code-scanning user;

[0043] Send the semantically analyzed user message to the multiple forwarded enterprise WeChat IDs, and select the enterprise WeChat ID with the highest understanding value for the semantically analyzed user message among the multiple forwarded enterprise WeChat IDs;

[0044] When there are multiple enterprise WeChat IDs with the highest understanding value, arbitrarily select one of the enterprise WeChat IDs as the enterprise WeChat ID for message reply to the same code-scanning user;

[0045] Reply to the same code-scanning user through the same virtual number corresponding to the selected enterprise WeChat ID.

[0046] To solve the above problems, the present invention also provides an electronic device, and the electronic device includes:

[0047] At least one processor; and,

[0048] A memory communicatively connected to the at least one processor; wherein,

[0049] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned message reply method based on enterprise WeChat friend migration.

[0050] To solve the above problems, the present invention also provides a computer-readable storage medium, and at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is executed by a processor in an electronic device to implement the above-mentioned message reply method based on enterprise WeChat friend migration.

[0051] In the embodiments of the present invention, in the process of iterative development of services, for the scenario where an enterprise needs to add users through an enterprise WeChat account and conduct subsequent operations, an efficient and fast powder-adding link can be provided, reducing the workload of landing page delivery in the entire powder-adding process, reducing the user process caused by the blocking of the enterprise WeChat account, and improving the overall experience of users consulting on the enterprise WeChat account. Therefore, the message reply method, device, and medium based on enterprise WeChat friend migration proposed by the present invention can solve the problem of low efficiency in message reply. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 FIG. is an architecture diagram of a message reply method based on enterprise WeChat friend migration provided by an embodiment of the present invention;

[0053] Figure 2 FIG. is a flowchart of a message reply method based on enterprise WeChat friend migration provided by an embodiment of the present invention;

[0054] Figure 3 FIG. is a schematic structural diagram of an electronic device for implementing the message reply method based on enterprise WeChat friend migration provided by an embodiment of the present invention.

[0055] The implementation, functional features, and advantages of the objectives of the present invention will be further described in conjunction with the embodiments with reference to the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0056] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0057] An embodiment of the present application provides a message reply method based on enterprise WeChat friend migration. The execution subject of the message reply method based on enterprise WeChat friend migration includes, but is not limited to, at least one of an electronic device such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the message reply method based on enterprise WeChat friend migration can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to: a single server, a server cluster, a cloud server, or a cloud server cluster, etc. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.

[0058] Referring to Figure 1 shown, FIG. is an architecture diagram of a message reply method based on enterprise WeChat friend migration provided by an embodiment of the present invention, including an enterprise WeChat account management module, an enterprise WeChat account routing module, a user management module, and a message routing module, where

[0059] The enterprise WeChat account management module mainly maintains enterprise WeChat accounts to avoid the need to repeatedly launch the activity landing page during activity promotion due to the full capacity of the users of the launched enterprise WeChat account.

[0060] The enterprise WeChat account routing module means that the landing page of the promotion is bound to the channel code (a code generated by the background system configuration to identify the channel, which is a string of numbers). The input of the enterprise WeChat account routing is the channel code, and the output is the corresponding enterprise WeChat account (it will be verified in sequence. If the number of users of the corresponding enterprise WeChat account is full, it will automatically output the next enterprise WeChat account that meets the user migration conditions). In this way, during the promotion process, there is no need to frequently change the promotion landing page due to the upper limit of adding users to the enterprise WeChat account.

[0061] The user management module means that the landing page for adding fans to the enterprise WeChat account can be launched in different scenarios, and users can scan the code and add it multiple times. This module mainly maintains how many enterprise WeChat accounts a user can add (to prevent a certain enterprise WeChat account from being blocked, it will be difficult for the users who have added this enterprise WeChat account to add it back. Therefore, it is best for users to add multiple enterprise WeChat accounts, but it is not appropriate to add too many, otherwise the enterprise WeChat account will send repeated marketing messages). This module mainly cooperates with the enterprise WeChat account routing to manage which type of users are added to which enterprise WeChat account.

[0062] The message routing module means that after a user adds multiple enterprise WeChat accounts, they can chat with the enterprise WeChat accounts. This module mainly ensures that when a user sends a message, the backend server does not directly migrate the chat link to the enterprise WeChat account, but forwards the message through the message routing method. On the front-end user interface, the user does not perceive which specific enterprise WeChat account is chatting with him in the current session, but chats with him in the form of a virtual number, and the user does not perceive frequent switching of chat customer service.

[0063] Refer to Figure 2 As shown, it is a schematic flowchart of the message reply method based on enterprise WeChat friend migration provided by an embodiment of the present invention. In this embodiment, the message reply method based on enterprise WeChat friend migration includes:

[0064] S1. Count the number of scans of the enterprise WeChat accounts of the same scanning user for the same merchant in different scenarios within a preset time period.

[0065] In the embodiments of the present invention, each enterprise WeChat number corresponds to an enterprise WeChat number landing page, and the enterprise WeChat number landing page refers to promoting a specific web page in the enterprise WeChat through a QR code. This web page contains the enterprise's products, services, activities or other information, which is used to attract users to click and enter the page for browsing, understanding or participation. The investment landing page for adding fans to the enterprise WeChat number can be placed in different scenarios (such as restaurant ordering, commodity services, etc.). Users can scan the QR code multiple times to add. One user can add multiple enterprise WeChat numbers, which can prevent a certain enterprise WeChat number from being blocked. For the users who have added this enterprise WeChat number, it will be more difficult to add it back. Therefore, it is best for users to add multiple enterprise WeChat numbers, but it is not appropriate to add too many, otherwise the enterprise WeChat number will send repeated marketing messages.

[0066] Specifically, computer statements with data scraping functions (such as Java statements, Python statements, etc.) can be used to obtain the QR code scanning users of the enterprise WeChat number landing page in different placement scenarios from a pre-stored storage area, where the storage area includes but is not limited to databases and blockchains.

[0067] In the embodiments of the present invention, the number of QR code scans refers to the number of times a user scans a QR code or barcode in different scenarios within a specific time period. If an enterprise has multiple sub-brands or different business departments, it may be necessary for users to scan the QR code multiple times to add multiple enterprise WeChat numbers for separate publicity, promotion and communication.

[0068] In the embodiments of the present invention, the statistics of the number of QR code scans of the enterprise WeChat number of the same QR code scanning user for the same merchant in different scenarios within a preset time period includes:

[0069] Obtain the QR code scanning user identifier, QR code scanning time and QR code scanning scenario of the same QR code scanning user corresponding to the enterprise WeChat number of the same merchant in different scenarios;

[0070] Generate a QR code three-dimensional group from the QR code scanning user identifier, the QR code scanning time and the QR code scanning scenario corresponding to the same QR code scanning user;

[0071] Count all the QR code three-dimensional groups corresponding to the same QR code scanning user, and perform time screening on all the counted QR code three-dimensional groups within the preset time period to obtain the QR code three-dimensional groups within the preset time period;

[0072] Perform scenario screening on the QR code three-dimensional groups within the preset time period, and count the total number of the corresponding QR code scanning user identifiers in the QR code three-dimensional groups after scenario screening;

[0073] Use the total number of the QR code scanning user identifiers as the number of QR code scans corresponding to the same QR code scanning user.

[0074] Specifically, the API provided by WeCom is used to obtain the data of the scanning user identification ID, scanning time, and scanning scenario of the same scanning user corresponding to the WeCom account number. A three-dimensional group is generated for the scanning user identification, scanning time, and scanning scenario corresponding to the same scanning user. This can be a data structure containing user identification, time, and scenario. Time filtering is performed on all scanning three-dimensional groups within a preset time period to obtain the scanning three-dimensional groups within the preset time period, and the scanning data that meets the preset time range is filtered; among the scanning three-dimensional groups within the preset time, the scanning three-dimensional groups in different scenarios are filtered out, and the scanning three-dimensional groups in different scenarios are separated. For each filtered scenario, the total number of corresponding scanning user identifications in this scenario is counted, which can be obtained by counting or removing duplicates from the scanning three-dimensional groups in each scenario. The total number of counted scanning user identifications is used as the scanning number corresponding to the same scanning user.

[0075] Exemplarily, based on the scanning users corresponding to the WeCom account number, three fields of the scanning user ID, scanning time, and scanning scenario of the same scanning user under the WeCom account number can be extracted. The scanning time corresponding to the same scanning user is filtered according to the start time of the custom time period and the end time of the time period, and the three-dimensional groups within the preset time period are filtered out. Then, the three-dimensional groups within the preset time period are further filtered, and the scanning times with the same scenario are filtered out, leaving only the three-dimensional groups corresponding to the same scanning user within the preset time period and without the same scenario. The total number of scanning user IDs in the filtered three-dimensional groups is counted, and the total number of scanning user IDs is used as the scanning number corresponding to the same scanning user under different scenarios of the WeCom account number.

[0076] Furthermore, based on the scanning times of the same scanning user, it can be ensured that the scanning number matches the actual scanning situation, so as to better meet user needs and optimize the marketing effect. By dynamically adjusting the number of added WeCom account numbers, you can make more effective use of resources and improve the efficiency of marketing activities.

[0077] S2. Determine multiple WeCom account numbers corresponding to the same merchant according to the scanning number and the total WeCom placements corresponding to all scenarios, extract the channel codes corresponding to each WeCom account number among the multiple WeCom account numbers, and sequentially verify whether the total number of users in each WeCom account number reaches a preset quantity threshold according to the order of the channel codes.

[0078] In one of the actual application scenarios of the present invention, the QR code of a fixed enterprise WeChat account is placed on the activity page by an enterprise. This QR code is bound to a fixed enterprise WeChat number. When the number of users added to the enterprise WeChat number reaches the limit, the current placement page cannot be used, and it is necessary to replace the placement page link, increasing the placement cost. Moreover, the enterprise WeChat number may be blocked by the WeChat official. If the enterprise WeChat number is blocked, it will be difficult to add users again later, and continuous operation cannot be carried out. Therefore, each enterprise merchant corresponds to multiple enterprise WeChat numbers.

[0079] In an embodiment of the present invention, by comparing the number of scans of the same scanned user with the enterprise WeChat numbers placed by the merchant in different scenarios, the number of enterprise WeChat numbers required by the same merchant can be determined. And if the number of scans of one enterprise WeChat number in a certain merchant is greater than that of other enterprise WeChat numbers, then this enterprise WeChat number is regarded as the main enterprise WeChat number, and other enterprise WeChat numbers with fewer scan times are added to the list of the main enterprise WeChat number.

[0080] In an embodiment of the present invention, determining multiple enterprise WeChat numbers corresponding to the same merchant according to the number of scans and the total number of enterprise WeChat placements corresponding to all scenarios includes:

[0081] Obtaining the total number of enterprise WeChat placements corresponding to the same merchant in different scenarios within a preset time period;

[0082] When the number of scans is less than or equal to the total number of enterprise WeChat placements, taking the total number of enterprise WeChat placements as the number of the first enterprise WeChat numbers corresponding to the same merchant, and determining multiple enterprise WeChat numbers corresponding to the same merchant according to the number of the first enterprise WeChat numbers;

[0083] When the number of scans is greater than the total number of enterprise WeChat placements, taking the number of scans as the number of the second enterprise WeChat numbers corresponding to the same merchant, and determining multiple enterprise WeChat numbers corresponding to the same merchant according to the number of the second enterprise WeChat numbers.

[0084] Specifically, for each merchant, count the total number of enterprise WeChat promotions in different scenarios. That is, group the enterprise WeChat accounts and scenarios to calculate the total number of enterprise WeChat promotions. Compare the obtained scan code quantity with the total number of enterprise WeChat promotions. That is, within different scenarios, within a preset time period, the promotion scenarios corresponding to the same merchant include advertising spaces, offline activities, online cooperation channels, and online web activities. If the promotion scenarios only include advertising spaces, offline activities, online cooperation channels, and online web activities, the corresponding number of promotion scenarios is 4. And the same scan code user can conduct scan code activities in different promotion scenarios. Then, add up the scan code times of the same scan code user in different promotion scenarios as the scan code quantity, and compare the size between the scan code quantity and the original number of promotion scenarios. If the scan code quantity is less than the total number of enterprise WeChat promotions, it means that the same scan code user did not conduct scan codes in all four promotion scenarios, or only conducted scan codes in two or three of them, or even did not conduct scan codes in each promotion scenario. If the scan code quantity is equal to the number of promotion scenarios, it means that the same scan code user conducted scan code activities in all four promotion scenarios. At this time, the added quantity of the enterprise WeChat account can be determined to be the number of promotion scenarios, that is, the number of the first enterprise WeChat accounts is four at this time. If the scan code quantity is greater than the number of promotion scenarios, it means that the user conducted a scan code on an enterprise WeChat account not included in the promotion scenarios. For example, if the user obtained the enterprise WeChat account through someone else's recommendation, then the scan code quantity corresponding to the same scan code user is greater than the number of promotion scenarios. Then, the recommendation by others should also be regarded as a scenario for adding an enterprise WeChat account, and the scan code quantity should be used as the number of the second enterprise WeChat accounts. Thus, multiple enterprise WeChat accounts of the same merchant can be determined according to the number of the first enterprise WeChat accounts or the number of the second enterprise WeChat accounts.

[0085] Furthermore, in order to avoid, during the activity promotion process, having to repeatedly promote the activity landing page because the user limit of the promoted enterprise WeChat accounts is reached. In the historical solution, the promoted landing page was directly bound to a fixed enterprise WeChat account, and each enterprise WeChat account generated a promoted landing page. Due to the upper limit of the number of added users of the enterprise WeChat account, it was necessary to frequently change the promoted landing page, increasing the promotion cost.

[0086] In the embodiment of the present invention, the channel code is bound to the promoted landing page. The channel code is an identifier configured by the background system to represent the encoding of different channels, which is a string of numbers. First, define a dictionary of background system identifiers, where the key is the channel code and the value is the identifier generated by the background system. Then, when traversing the enterprise WeChat account data dictionary, determine whether the channel code corresponding to the enterprise WeChat account exists in the background system identifier dictionary. If it exists, store the enterprise WeChat account and the corresponding background system identifier in the channel code data dictionary, so that the background system identifier corresponding to each enterprise WeChat account can be output.

[0087] In an embodiment of the present invention, extracting the channel code corresponding to each enterprise WeChat number among the multiple enterprise WeChat numbers includes: extracting the mapping relationship between each enterprise WeChat number and the channel code in the channel code data dictionary; generating a channel code query statement according to the mapping relationship; and querying the channel code corresponding to each enterprise WeChat number according to the channel code query statement.

[0088] Specifically, the enterprise WeChat number data dictionary data includes enterprise WeChat number data = {Enterprise WeChat number A: Channel code A, Enterprise WeChat number B: Channel code B, Enterprise WeChat number C: Channel code C, Enterprise WeChat number D: Channel code D}; the channel code data dictionary includes channel code data = {Channel code A: Identifier A, Channel code B: Identifier B, Channel code C: Identifier C, Channel code D: Identifier D}. Then, according to the channel code data dictionary, extract the mapping relationship between each enterprise WeChat number and the channel code, such as for qwh, channel in enterprise WeChat number.items(): print(qwh, ":", channel), and generate and query the channel code query statement according to the mapping relationship, such as query statement = fSELECT * FROM table name WHERE channel code = {channel}.

[0089] Further, when binding the landing page for delivery to the channel code, it will determine whether the number of users in each enterprise WeChat number has reached the upper limit through the enterprise WeChat number routing, and manage which type of users are added to which enterprise WeChat number. For example, the input of the enterprise WeChat number routing is the channel code, and the output is the corresponding enterprise WeChat number (it will be verified in sequence to determine whether the number of users in the corresponding enterprise WeChat number is full). In this way, during the delivery process, there is no need to frequently change the landing page for delivery due to the upper limit of adding users to the enterprise WeChat number.

[0090] In an embodiment of the present invention, when the landing page for delivery is bound to the channel code, it is possible to verify whether the number of users in each enterprise WeChat number has reached the upper limit according to the channel code, and there is no need to frequently change the landing page for delivery due to the upper limit of adding users to the enterprise WeChat number.

[0091] In an embodiment of the present invention, the step of sequentially verifying whether the total number of users in each enterprise WeChat number has reached a preset quantity threshold according to the order of the channel codes includes:

[0092] Arranging each enterprise WeChat number in ascending order according to the channel code;

[0093] Sequentially counting the real-time total number of users in each enterprise WeChat number within a preset time period according to the arranged enterprise WeChat numbers;

[0094] Calculating the quantity difference between the real-time total number of users in each enterprise WeChat number and the preset quantity threshold;

[0095] Sequentially determining whether the total number of users in each enterprise WeChat number has reached the preset quantity threshold according to the quantity difference.

[0096] Specifically, obtain the channel codes corresponding to each enterprise WeChat account number and sort them in ascending order; according to business requirements and marketing strategies, a preset quantity threshold for each channel can be set. For example, the threshold can be determined based on the promotion effects of different channels and the scale of the target audience groups, and is generally set to 500. Then, according to the enterprise WeChat account number or the channel code, query the number of users in each enterprise WeChat account through the API interface provided by Enterprise WeChat, and calculate the difference between the total number of real-time users in each enterprise WeChat account and the preset quantity threshold. Determine whether the total number of users in each enterprise WeChat account reaches the preset quantity threshold based on the obtained difference. If the difference is greater than or equal to zero, it means that the total number of users reaches or exceeds the preset threshold; otherwise, it means that the expected value is not reached.

[0097] Furthermore, according to whether the total number of users in each enterprise WeChat account reaches the preset quantity threshold, if the number of users in the corresponding enterprise WeChat account is full, the next enterprise WeChat account that meets the user migration conditions will be automatically output, so as to manage which type of users are added to which enterprise WeChat account.

[0098] S3. When the total number of users in the verified enterprise WeChat account reaches the preset quantity threshold, screen the next enterprise WeChat account to add users from the multiple enterprise WeChat accounts according to the preset user migration conditions and the order of the channel codes until multiple enterprise WeChat accounts with the total number of users not reaching the preset quantity threshold are screened out from the verified multiple enterprise WeChat accounts.

[0099] In the embodiment of the present invention, when the total number of users in the currently verified enterprise WeChat account reaches the upper limit of the total number of users in the enterprise WeChat account, that is, the number of users in the corresponding enterprise WeChat account is full, the enterprise WeChat account routing will automatically output the next enterprise WeChat account that meets the user migration conditions, so that there is no need to frequently change the landing page for delivery due to the upper limit of adding users to the enterprise WeChat account.

[0100] In the embodiment of the present invention, the screening of the next enterprise WeChat account to add users from the multiple enterprise WeChat accounts according to the preset user migration conditions and the order of the channel codes includes:

[0101] Extract the user addition quantity condition and the user addition frequency condition in the preset user migration conditions;

[0102] Count the number of added users in each enterprise WeChat account within a preset time period, and calculate the user addition frequency of each enterprise WeChat account within the preset time period;

[0103] Select, from the multiple enterprise WeChat accounts in the order of the channel codes, the enterprise WeChat accounts whose added user quantity meets the user addition quantity condition and whose user addition frequency meets the user addition frequency condition as the target enterprise WeChat accounts;

[0104] Collect all target enterprise WeChat IDs into an enterprise WeChat ID set. When the number of enterprise WeChat IDs in the enterprise WeChat ID set is greater than a preset target threshold, select the enterprise WeChat ID with the fewest added users in the enterprise WeChat ID set as the next enterprise WeChat ID to which users will be added;

[0105] When the number of enterprise WeChat IDs in the enterprise WeChat ID set is equal to the preset quantity threshold, use the target enterprise WeChat ID as the next enterprise WeChat ID to which users will be added.

[0106] Specifically, the user addition quantity condition and the user addition frequency condition are important indicators for the user migration condition. For example, the user addition quantity condition is that the number of users of the enterprise WeChat ID is less than 100 at this time, and the user addition frequency condition is that the number of users added to the enterprise WeChat ID within one hour is 5. Then, it is necessary to count the number of added users and the user addition frequency in each enterprise WeChat ID within a period of time (such as one hour, two hours, three hours, etc.). Obtain the user list of each enterprise WeChat ID through the API interface of Enterprise WeChat. For each enterprise WeChat ID, traverse its user list and check whether the addition timestamp of each user is within the preset timestamp range, record the number of users that meet the timestamp condition, and use it as the number of added users of this enterprise WeChat ID. Calculate the user addition frequency based on the number of added users and the preset timestamp range. If the timestamp range is two hours and the number of added users is 10, then the user addition frequency is 10 / 2 until the user lists of all enterprise WeChat IDs are traversed.

[0107] Specifically, for each enterprise WeChat ID, judge whether its number of added users meets the preset user addition quantity condition, and at the same time judge whether its user addition frequency meets the preset user addition frequency condition, that is, the number of added users is less than or equal to the user addition quantity condition and the user addition frequency is less than or equal to the user addition frequency condition. Find the enterprise WeChat ID that meets both the number of added users and the user addition frequency conditions as the target enterprise WeChat ID, and add it to the enterprise WeChat ID set. Then traverse all enterprise WeChat IDs. If no qualified enterprise WeChat ID is found after traversing all enterprise WeChat IDs, it is necessary to return and prompt an error display; if there are multiple enterprise WeChat IDs in the enterprise WeChat ID set, select the enterprise WeChat ID with the fewest added users in the enterprise WeChat ID set as the next enterprise WeChat ID. If there is only one enterprise WeChat ID in the enterprise WeChat ID set, use this enterprise WeChat ID as the next enterprise WeChat ID selected for adding users.

[0108] Further, when the number of users in the enterprise WeChat account reaches a preset threshold, it is necessary to screen the next enterprise WeChat account for adding users, and screen out all eligible enterprise WeChat accounts in the order of channel codes (A, B, C). For example, if the total number of users in enterprise WeChat account A reaches the threshold, the total number of users in enterprise WeChat account B does not reach the threshold, and the total number of users in enterprise WeChat account C does not reach the threshold, then all enterprise WeChat accounts are screened according to the user migration conditions and the order of channel codes, and enterprise WeChat accounts B and C are screened out.

[0109] S4. When the total number of users in each of the multiple screened enterprise WeChat accounts does not reach the preset threshold, add the same scanned code user to each of the multiple screened enterprise WeChat accounts one by one.

[0110] In the embodiment of the present invention, when the number of users in the enterprise WeChat account does not reach the preset threshold, it means that this user can be directly added to this enterprise WeChat account.

[0111] In the embodiment of the present invention, adding the same scanned code user to each of the multiple screened enterprise WeChat accounts includes:

[0112] Verify the user information of the same scanned code user, and determine the enterprise WeChat identifier corresponding to each enterprise WeChat account among the multiple screened enterprise WeChat accounts according to the verified user information;

[0113] Add the verified same scanned code user to the user list of the enterprise WeChat account corresponding to each enterprise WeChat identifier one by one through a preset addition interface;

[0114] Query whether the same scanned code user exists in the user list. When the same scanned code user exists in the user list, display the same scanned code user in the user list.

[0115] Specifically, during the scanning process, obtain relevant information of the scanned code user, such as user ID, name, and phone number, and then perform identity verification, compliance review, and other verifications on the information of the scanned code user to ensure its legality and compliance. Obtain the enterprise WeChat identifier (such as the ID of the enterprise WeChat account) of the verified enterprise WeChat account through the management interface or API of the enterprise WeChat account, and then call the API interface of the enterprise WeChat to send a request to add the verified scanned code user to the user list of the enterprise WeChat account corresponding to the enterprise WeChat identifier, and confirm the result of the addition operation. Check the returned API response or query the user list of the enterprise WeChat account to ensure that the scanned code user is successfully added to the user list of the verified enterprise WeChat account, that is, confirm whether the scanned code user exists through the user list interface or screen of the enterprise WeChat account, and display the information of the user in the user list.

[0116] Furthermore, after a user adds multiple enterprise WeChat numbers, they can chat with the enterprise WeChat numbers. However, if the corresponding enterprise WeChat number of the user is blocked, the user may need to replace the enterprise WeChat number and add the user again for daily chat operations. The user perceives that they are chatting with different enterprise WeChat numbers, and the overall perception experience is poor. Therefore, it is necessary to add the user to different enterprise WeChat numbers.

[0117] S5. When the same scanned code user is added to multiple screened enterprise WeChat numbers, forward the message request of the same scanned code user to multiple enterprise WeChat numbers, and reply to the same scanned code user with a message according to the same virtual number corresponding to the multiple forwarded enterprise WeChat numbers.

[0118] In the embodiment of the present invention, after a user adds multiple enterprise WeChat numbers and can chat with the enterprise WeChat numbers, when the user sends a message, the backend server does not directly migrate the chat link with the enterprise WeChat number, but forwards the message through the message routing method and transfers it to the corresponding enterprise WeChat numbers that have added this user (only one fixed enterprise WeChat number corresponds to one session).

[0119] In the embodiment of the present invention, the forwarding of the message request of the same scanned code user to multiple enterprise WeChat numbers includes:

[0120] Extract the multiple added enterprise WeChat numbers corresponding to the same scanned code user;

[0121] Create multiple message transmission channels between the same scanned code user and the multiple added enterprise WeChat numbers;

[0122] Transmit the message request of the same scanned code user to a preset message routing;

[0123] Forward the message request in the message routing to the multiple added enterprise WeChat numbers through the multiple message transmission channels.

[0124] Specifically, after the same scanned code user sends a message, according to the identification information of the scanned code user, extract the multiple enterprise WeChat numbers corresponding to the scanned code user, that is, the enterprise WeChat numbers added by the scanned code user. For each target enterprise WeChat number, create a corresponding message transmission channel or session, which is implemented by calling the relevant interfaces of Enterprise WeChat to ensure that a corresponding message transmission channel is created for each enterprise WeChat number. Send the received message request of the scanned code user to the message routing of Enterprise WeChat, use the API interface provided by Enterprise WeChat to transmit the message request to the message routing, and obtain the corresponding conversation ID. Use the obtained conversation ID and the message transmission channels corresponding to each enterprise WeChat number to transmit the message request in the message routing to the multiple enterprise WeChat numbers, that is, call the message sending interface of Enterprise WeChat one by one to send the message to each enterprise WeChat number.

[0125] Further, through message routing, it is transferred to the corresponding enterprise WeChat numbers of different users added with this user (only one fixed enterprise WeChat number corresponds to one session). At the perceptual level, the user chats with a fixed enterprise WeChat number in multiple sessions (it may be a virtual number), and does not perceive that different customer service seats reply to messages each time, improving the user experience.

[0126] In the embodiment of the present invention, message forwarding is performed by means of message routing. In the front-end user interface, it is not perceived which specific enterprise WeChat number is sending messages to him in the current session, but chats with him in the form of a virtual number, and the user does not perceive that the chat customer service is frequently switched.

[0127] In the embodiment of the present invention, replying to the same scanned code user with the same virtual number corresponding to multiple forwarded enterprise WeChat numbers includes:

[0128] Performing semantic analysis on the user messages of the same scanned code user;

[0129] Sending the user messages after semantic analysis to multiple forwarded enterprise WeChat numbers, and selecting the enterprise WeChat number with the highest understanding value for the user messages after semantic analysis among the multiple forwarded enterprise WeChat numbers;

[0130] When there are multiple enterprise WeChat numbers with the highest understanding value, arbitrarily select the enterprise WeChat number as the enterprise WeChat number for replying messages to the same scanned code user;

[0131] Replying to the same scanned code user with the same virtual number corresponding to the selected enterprise WeChat number.

[0132] Specifically, all enterprise WeChat numbers correspond to the same virtual number. When replying to user messages, messages are replied to the user through the same virtual number, and the user does not perceive which enterprise WeChat number replied. When selecting an enterprise WeChat number to reply to user messages, first, natural language processing (NLP) is used to perform semantic analysis on the messages of the scanned code user, such as text classification, sentiment analysis, etc., to perform semantic analysis on the messages of the scanned code user to understand its meaning and intention, and send the message meaning obtained through semantic analysis to all enterprise WeChat numbers, and obtain their understanding values for this message meaning. By comparing these understanding values, select the enterprise WeChat number with the highest understanding value as the source for replying messages. Among them, pre-trained text classification models, such as BERT, RoBERTa, XLNet, etc., can be used to encode and classify the message meaning, input the message meaning into these models, and then obtain the classification results or probability scores output by each model to reflect the understanding value of the enterprise WeChat number for the message meaning, or determine its understanding value through manual feedback at the back end of the enterprise WeChat number.

[0133] Specifically, when there are multiple enterprise WeChat IDs with the highest understanding values, any one of them can be randomly selected as the source for replying to messages. When there is only one enterprise WeChat ID with the highest understanding value, the only enterprise WeChat is selected to reply to the messages of the scanned users. Then, according to the virtual number corresponding to the selected enterprise WeChat ID, a message is replied to the scanned user through the message sending interface.

[0134] In the embodiment of the present invention, for the scenario where an enterprise needs to add users through enterprise WeChat IDs and conduct subsequent operations during the iterative development of business, an efficient and fast powder-adding link can be provided, reducing the workload of landing page placement in the entire powder-adding process, reducing the user process caused by the blocking of enterprise WeChat IDs, and improving the overall experience of users consulting on enterprise WeChat IDs. Therefore, the message reply method, device, and medium based on enterprise WeChat friend migration proposed by the present invention can solve the problem of low efficiency in message reply.

[0135] As Figure 3 shown, it is a schematic structural diagram of an electronic device for implementing the message reply method based on enterprise WeChat friend migration provided by an embodiment of the present invention.

[0136] The electronic device may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a message reply program based on enterprise WeChat friend migration.

[0137] Among them, the processor 10 may be composed of integrated circuits in some embodiments. For example, it may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same or different functions, including a combination of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control core (Control Unit) of the electronic device, connecting various components of the entire electronic device through various interfaces and lines, and by running or executing programs or modules stored in the memory 11 (such as executing a message reply program based on enterprise WeChat friend migration, etc.), and calling data stored in the memory 11, to execute various functions of the electronic device and process data.

[0138] The memory 11 at least includes one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 can be an internal storage unit of the electronic device in some embodiments, such as the mobile hard disk of the electronic device. The memory 11 can also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. equipped on the electronic device. Further, the memory 11 can also include both the internal storage unit and the external storage device of the electronic device. The memory 11 can be used not only to store application software installed in the electronic device and various types of data, such as the code of the message reply program based on the migration of enterprise WeChat friends, etc., but also to temporarily store the data that has been output or will be output.

[0139] The communication bus 12 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. The bus is set to realize the connection and communication between the memory 11 and at least one processor 10, etc.

[0140] The communication interface 13 is used for the communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface can include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), and is usually used to establish a communication connection between this electronic device and other electronic devices. The user interface can be a display, an input unit (such as a keyboard), and optionally, the user interface can also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display can be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. Among them, the display can also be appropriately referred to as a display screen or a display unit, and is used to display the information processed in the electronic device and to display a visual user interface.

[0141] Only an electronic device with components is shown in the figure. Those skilled in the art can understand that the structure shown in the figure does not constitute a limitation on the electronic device, and it may include fewer or more components than shown in the figure, or combine some components, or have different component arrangements.

[0142] For example, although not shown, the electronic device may further include a power source (such as a battery) for supplying power to each component. Preferably, the power source can be logically connected to the at least one processor 10 through a power management device, so as to implement functions such as charge management, discharge management, and power consumption management through the power management device. The power source may also include any components such as one or more DC or AC power sources, a recharge device, a power failure detection circuit, a power converter or inverter, and a power status indicator. The electronic device may also include various sensors, a Bluetooth module, a Wi-Fi module, etc., which will not be elaborated here.

[0143] It should be understood that the above embodiments are only for illustration purposes and are not limited by this structure in the scope of the patent application.

[0144] The message reply program based on enterprise WeChat friend migration stored in the memory 11 of the electronic device is a combination of multiple instructions. When running in the processor 10, it can implement:

[0145] Count the number of scans of the enterprise WeChat accounts of the same scanning user for the same merchant in different scenarios within a preset time period;

[0146] Determine multiple enterprise WeChat accounts corresponding to the same merchant according to the number of scans and the total number of enterprise WeChat placements corresponding to all scenarios, extract the channel codes corresponding to each enterprise WeChat account among the multiple enterprise WeChat accounts, and sequentially verify whether the total number of users in each enterprise WeChat account reaches a preset quantity threshold according to the order of the channel codes;

[0147] When the total number of users in the verified enterprise WeChat account reaches the preset quantity threshold, screen the next enterprise WeChat account for adding users among the multiple enterprise WeChat accounts according to the preset user migration conditions and the order of the channel codes until multiple enterprise WeChat accounts with the total number of users not reaching the preset quantity threshold are screened out among the verified multiple enterprise WeChat accounts;

[0148] When the total number of users in each of the screened multiple enterprise WeChat accounts does not reach the preset quantity threshold, add the same scanning user to the screened multiple enterprise WeChat accounts one by one;

[0149] When the same scanning user is added to the screened multiple enterprise WeChat accounts, forward the message request of the same scanning user to the multiple enterprise WeChat accounts, and reply to the same scanning user according to the same virtual number corresponding to the forwarded multiple enterprise WeChat accounts.

[0150] Specifically, for the specific implementation method of the above instructions by the processor 10, reference may be made to the description of the relevant steps in the corresponding embodiments of the accompanying drawings, which will not be elaborated here.

[0151] Further, if the modules / units integrated in the electronic device are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM, Read-Only Memory).

[0152] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor of an electronic device, it can implement:

[0153] Count the number of scans of the enterprise WeChat numbers of the same scanning user for the same merchant in different scenarios within a preset time period;

[0154] Determine multiple enterprise WeChat numbers corresponding to the same merchant according to the number of scans and the total number of enterprise WeChat placements corresponding to all scenarios, extract the channel codes corresponding to each enterprise WeChat number among the multiple enterprise WeChat numbers, and sequentially verify whether the total number of users in each enterprise WeChat number reaches a preset quantity threshold according to the order of the channel codes;

[0155] When the total number of users in the verified enterprise WeChat numbers reaches the preset quantity threshold, screen the next enterprise WeChat number to add users among the multiple enterprise WeChat numbers according to the preset user migration conditions and the order of the channel codes until multiple enterprise WeChat numbers with the total number of users not reaching the preset quantity threshold are screened out among the verified multiple enterprise WeChat numbers;

[0156] When the total number of users in each of the multiple screened enterprise WeChat numbers does not reach the preset quantity threshold, add the same scanning user one by one to the multiple screened enterprise WeChat numbers;

[0157] When the same scanning user is added to the multiple screened enterprise WeChat numbers, forward the message request of the same scanning user to the multiple enterprise WeChat numbers, and reply to the same scanning user with a message according to the same virtual number corresponding to the multiple forwarded enterprise WeChat numbers.

[0158] In several embodiments provided by the present invention, it should be understood that the disclosed device, medium, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0159] The module described as a separation component may or may not be physically separated. The component shown as a module may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0160] In addition, in each embodiment of the present invention, the functional modules can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a combination of hardware and software functional modules.

[0161] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above-mentioned exemplary embodiments, and without departing from the spirit or basic characteristics of the present invention, the present invention can be implemented in other specific forms.

[0162] Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is not limited only by the above description. Therefore, it is intended to cover all changes within the meaning and scope of equivalent elements falling within the protection scope of the present invention.

[0163] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is a theory, method, technology and application system that uses a digital computer or a machine controlled by a digital computer to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use the knowledge to obtain the best results.

[0164] In addition, obviously, the word "including" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices described in the system can also be implemented by one unit or device through software or hardware. Words such as first and second are used to represent names and do not represent any specific order.

[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A message reply method based on enterprise WeChat friend migration, characterized in that: The method comprises: Count the number of times the same scanning user scans the same merchant's WeChat account in different scenarios within a preset time period; Determine multiple enterprise WeChat accounts corresponding to the same merchant according to the number of code scans and the total number of enterprise WeChat placements corresponding to all scenarios, extract the channel code corresponding to each of the multiple enterprise WeChat accounts, and check in sequence according to the order of the channel codes whether the total number of users in each enterprise WeChat account reaches a preset quantity threshold; When the total number of users in the verified enterprise micro account reaches a preset number threshold, the next enterprise micro account for adding users is selected from the multiple enterprise micro accounts according to the preset user migration conditions and the order of the channel codes, until multiple enterprise micro accounts whose total number of users does not reach the preset number threshold are selected from the multiple verified enterprise micro accounts; When the total number of users in each of the multiple enterprise WeChat accounts selected does not reach the preset number threshold, the same code-scanning users are added one by one to the multiple enterprise WeChat accounts selected; When the same code scanning user is added to the screened multiple enterprise micro accounts, the message request of the same code scanning user is forwarded to the multiple enterprise micro accounts, and the message is replied to the same code scanning user according to the same virtual number corresponding to the forwarded multiple enterprise micro accounts.

2. The message reply method based on enterprise WeChat friend migration as claimed in claim 1, characterized in that: The counting of the number of code scans by the same scanning user for the same merchant in different scenarios within a preset time period includes: Obtain the scanning user ID, scanning time and scanning scenario of the same scanning user corresponding to the WeChat account of the same merchant in different scenarios; The scanning user identifier, the scanning time and the scanning scene corresponding to the same scanning user are used to generate a scanning three-dimensional group; Counting all the three-dimensional code scanning groups corresponding to the same code scanning user, and performing time screening on all the counted three-dimensional code scanning groups within a preset time period to obtain the three-dimensional code scanning groups within the preset time period; Performing scene screening on the three-dimensional code scanning groups within the preset time period, and counting the total number of corresponding code scanning user identifiers in the three-dimensional code scanning groups after scene screening; The total number of the code scanning user identifications is used as the number of code scanning corresponding to the same code scanning user.

3. The message reply method based on enterprise WeChat friend migration as claimed in claim 1, characterized in that: Determining multiple WeChat accounts corresponding to the same merchant according to the number of scanned codes and the total number of WeChat accounts corresponding to all scenarios includes: Get the total number of micro-blogs placed by the same merchant in different scenarios within a preset time period; When the number of scanned codes is less than or equal to the total number of enterprise WeChat accounts, the total number of enterprise WeChat accounts is used as the number of first enterprise WeChat accounts corresponding to the same merchant, and multiple enterprise WeChat accounts corresponding to the same merchant are determined according to the number of the first enterprise WeChat accounts; When the number of scanned codes is greater than the total number of enterprise WeChat accounts, the number of scanned codes is used as the number of second enterprise WeChat accounts corresponding to the same merchant, and multiple enterprise WeChat accounts corresponding to the same merchant are determined based on the number of second enterprise WeChat accounts.

4. The message reply method based on enterprise WeChat friend migration as claimed in claim 1, characterized in that: The checking in sequence according to the order of the channel codes whether the total number of users in each enterprise micro account reaches a preset number threshold includes: Arrange each enterprise WeChat account in ascending order according to the channel code; According to the arranged enterprise WeChat accounts, the total number of real-time users in each enterprise WeChat account within the preset time period is counted one by one; Calculate the difference between the total number of real-time users in each enterprise WeChat account and the preset number threshold; According to the quantity difference, it is determined in turn whether the total number of users in each enterprise WeChat account reaches a preset quantity threshold.

5. The message reply method based on enterprise WeChat friend migration as claimed in claim 1, characterized in that: The step of selecting the next enterprise account to add a user from the plurality of enterprise accounts according to the preset user migration condition and the order of the channel codes includes: Extracting the user adding quantity condition and the user adding frequency condition from the preset user migration conditions; Count the number of users added to each enterprise account within a preset time period, and calculate the frequency of adding users to each enterprise account within a preset time period; Selecting, from the plurality of enterprise micro accounts, an enterprise micro account whose number of added users meets the user addition number condition and whose frequency of adding users meets the user addition frequency condition as the target enterprise micro account in the order of the channel codes; Gather all target enterprise micro accounts into an enterprise micro account set. When the number of enterprise micro accounts in the enterprise micro account set is greater than a preset target threshold, select the enterprise micro account with the least number of added users from the enterprise micro account set as the next enterprise micro account to add a user; When the number of the enterprise account numbers in the enterprise account number set is equal to a preset number threshold, the target enterprise account number is used as the next enterprise account number to be added.

6. The message reply method based on enterprise WeChat friend migration as claimed in claim 1, characterized in that: The step of adding the same QR code scanning user to the multiple screened enterprise WeChat accounts one by one includes: Verify the user information of the same code scanning user, and determine the enterprise micro-account identifier corresponding to each of the multiple enterprise micro-accounts selected according to the verified user information; Add the same scanned QR code user after verification to the user list of the enterprise WeChat ID corresponding to each enterprise WeChat ID through the preset adding interface; Check whether the same code scanning user exists in the user list, and if the same code scanning user exists in the user list, display the same code scanning user in the user list.

7. The message reply method based on enterprise WeChat friend migration as claimed in claim 1, characterized in that: The method of forwarding the message request of the same scanning user to multiple enterprise WeChat accounts includes: Extract multiple added enterprise WeChat accounts corresponding to the same QR code scanning user; Creating multiple message transmission channels between the same QR code scanning user and the multiple added enterprise WeChat accounts; Transmitting the message request of the same scanning user to a preset message route; The message request in the message routing is forwarded to the multiple added enterprise micro accounts through the multiple message transmission channels.

8. The message reply method based on enterprise WeChat friend migration as claimed in claim 1, characterized in that: The method of replying a message to the same scanned code user according to the same virtual number corresponding to the forwarded multiple enterprise WeChat accounts includes: Perform semantic analysis on user messages of the same QR code scanning user; Sending the semantically analyzed user message to multiple enterprise WeChat accounts after forwarding, and selecting the enterprise WeChat account with the highest understanding value of the semantically analyzed user message from the multiple enterprise WeChat accounts after forwarding; When there are multiple enterprise WeChat accounts with the highest understanding value, any of the enterprise WeChat accounts is selected as the enterprise WeChat account for the same scanned user to reply to the message; Reply to the same QR code scanning user through the same virtual number corresponding to the selected enterprise WeChat account.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the message reply method based on enterprise micro-friend migration as described in any one of claims 1 to 8.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the message reply method based on enterprise micro-friend migration as described in any one of claims 1 to 8 is implemented.