CN114615225A - Friend adding method and device, computer equipment and storage medium - Google Patents

Friend adding method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114615225A
CN114615225A CN202210254267.8A CN202210254267A CN114615225A CN 114615225 A CN114615225 A CN 114615225A CN 202210254267 A CN202210254267 A CN 202210254267A CN 114615225 A CN114615225 A CN 114615225A
Authority
CN
China
Prior art keywords
information
target
welcome
target object
welcome information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210254267.8A
Other languages
Chinese (zh)
Inventor
孙亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202210254267.8A priority Critical patent/CN114615225A/en
Publication of CN114615225A publication Critical patent/CN114615225A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services

Abstract

The application provides a friend adding method, a friend adding device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring a friend adding request sent by a client, wherein the adding request comprises the description information of a target object; inquiring the corresponding relation between the object description information and the welcome information according to the description information of the target object to determine the target welcome information corresponding to the description information of the target object; and returning the target welcome information to the client so that the client displays the target welcome information in a dialog box with the target object. The method determines the welcome information returned to the client according to the description information of the target object, so that the welcome information is more accurately sent, in addition, the welcome information returned to the client is determined based on the corresponding relation between the object description information and the welcome information, and the object description information is diversified, so that the configuration of the welcome information is flexible.

Description

Friend adding method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer devices, and in particular, to a method and an apparatus for adding a friend, a computer device, and a storage medium.
Background
In order to help the enterprise communicate with the client better, some application programs are generated, such as enterprise WeChat, etc. In the related art, a piece of welcome information is usually set for an enterprise, for example, the welcome information corresponding to a certain enterprise is "hello, new customer", and when any friend is added to an application program by a member of the enterprise, the welcome information of "hello, new customer" is automatically sent. Therefore, the popularity information of the enterprise is poor in pertinence.
Disclosure of Invention
The application provides a friend adding method and device, computer equipment and a storage medium.
An embodiment of one aspect of the present application provides a method for adding a friend, including:
acquiring a friend adding request sent by a client, wherein the adding request comprises the description information of a target object;
inquiring the corresponding relation between object description information and welcome information according to the description information of the target object to determine the target welcome information corresponding to the description information of the target object;
and returning the target welcome information to the client so that the client displays the target welcome information in a dialog box with the target object.
An embodiment of another aspect of the present application provides a friend adding apparatus, including:
the friend adding module is used for obtaining a friend adding request sent by a client, wherein the friend adding request comprises description information of a target object;
the determining module is used for inquiring the corresponding relation between the object description information and the welcome information according to the description information of the target object so as to determine the target welcome information corresponding to the description information of the target object;
and the return module is used for returning the target welcome information to the client so as to enable the client to display the target welcome information in a dialog box with the target object.
Another embodiment of the present application provides a computer device, including a processor and a memory;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method for adding a friend according to the embodiment of the aspect.
Another embodiment of the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for adding a friend as described in the above one embodiment.
An embodiment of another aspect of the present application provides a computer program product, which is characterized by comprising a computer program, and when the computer program is executed by a processor, the computer program implements the method for adding a friend according to an embodiment of the foregoing aspect.
According to the friend adding method and device, the computer equipment and the storage medium, the friend adding request sent by the client is obtained, wherein the adding request comprises the description information of the target object, the corresponding relation between the object description information and the welcome information is inquired according to the description information of the target object, so that the target welcome information corresponding to the description information of the target object is determined, and the target welcome information is returned to the client, so that the client displays the target welcome information in a dialog box with the target object. Therefore, the welcome information returned to the client is determined according to the description information of the target object, so that the welcome information is more accurately sent, in addition, the welcome information returned to the client is determined based on the corresponding relation between the object description information and the welcome information, and the object description information is diversified, so that the configuration of the welcome information is flexible.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart illustrating a method for adding a friend according to an embodiment of the present application;
fig. 2 is a schematic view of a welcome information configuration page corresponding to a business activity according to an embodiment of the present application;
fig. 3 is a schematic diagram of a welcome information configuration page corresponding to an enterprise member according to an embodiment of the present application;
fig. 4 is a schematic view of a welcome information configuration page corresponding to a department to which an enterprise member belongs according to an embodiment of the present application;
fig. 5 is a schematic diagram of a welcome information configuration page corresponding to an enterprise according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another method for adding a friend according to an embodiment of the present application;
fig. 7 is a flowchart illustrating another method for adding a friend according to an embodiment of the present application;
fig. 8 is a flowchart illustrating another method for adding a friend according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a friend adding apparatus according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
A method, an apparatus, a computer device, and a storage medium for adding a friend according to embodiments of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for adding a friend according to an embodiment of the present application.
The friend adding method provided by the embodiment of the application can be executed by the friend adding device provided by the embodiment of the application, and the device can be configured in computer equipment to determine the welcome information sent to the client according to the description information of the target object, so that the welcome information is sent more accurately.
As shown in fig. 1, the method for adding a friend includes:
step 101, a friend adding request sent by a client is obtained, wherein the adding request includes description information of a target object.
The friend adding method in the embodiment of the application can be executed by a service end, and the service end can be computer equipment. After a user opens a client of an application program, a target object can be added by scanning a two-dimensional code of the target object, at this time, a service end can directly obtain a friend adding request sent by the client, or a server obtains the friend adding request sent by the client and forwards the friend adding request to the service end, or the server sends a user identifier, description information of the target object in the friend adding request and the like to the service end after obtaining the friend adding request.
In this application, the target object may be a member of an enterprise, and the addition request may include description information of the target object, such as an identifier of the target object, an identifier of the enterprise to which the target object belongs, an identifier of a department to which the target object belongs, and an identifier of a business activity for which the target object is responsible.
The identification of the target object may be an account number, a name and the like of the target object, the identification of the enterprise may be an enterprise name, a unified social credit code of the enterprise and the like, the identification of the department may be a department number, a department name and the like, and the identification of the business activity may be a business activity number, a business activity name and the like.
Step 102, according to the description information of the target object, inquiring the corresponding relation between the object description information and the welcome information to determine the target welcome information corresponding to the description information of the target object.
In the application, the service end can provide a function of configuring various welcome information, an enterprise can pre-configure the welcome information according to needs, and the service end can respond to the welcome information configuration operation and generate the corresponding relation between the object description information and the welcome information for the enterprise.
In this application, the correspondence between the object description information and the welcome information includes at least one of: the corresponding relation between the business activity identification and the welcome information, the corresponding relation between the object identification and the welcome information, the corresponding relation between the department identification and the welcome information, the corresponding relation between the enterprise identification and the welcome information, and the like. Therefore, the welcome information corresponding to the object description information can be configured according to actual needs, and flexibility of welcome information configuration is improved.
Taking fig. 2-5 as an example, fig. 2-5 show 4 welcome information configuration pages.
Fig. 2 is a schematic diagram of a welcome information configuration page corresponding to a business activity according to an embodiment of the present application. As shown in fig. 2, during configuration, a name and an enterprise identifier, a selection department and business activity identifier, welcome information, and the like may be input, welcome information 1 may be in a plain text format, and welcome information 2 may be in a type of a picture, a text, and an applet, wherein, if the configured welcome information 2 includes an applet, the welcome information returned to the client may be an entry of the applet, for example, in a picture form, or in a link form, and when a picture or a link is triggered, the applet is started. The name is a welcome information configuration name which can be used for distinguishing different welcome information; a department may be understood as a department to which members of the enterprise belong, and the welcome information configuration may be applied to the clients of that department. Thus, based on the welcome information configuration operation shown in fig. 2, the correspondence between the business activity identifier and the welcome information may be generated.
Fig. 3 is a schematic diagram of a welcome information configuration page corresponding to an enterprise member according to an embodiment of the present application. As shown in fig. 3, at configuration time, a name and an enterprise identification may be entered, an enterprise member selected, welcome information entered, and the like. The welcome information 1 may be in a plain text format, and the welcome information 2 may be in a type of one of a picture, and an applet. The name here is a welcome information configuration name. It can be seen that the configuration of the welcome information shown in fig. 3 differs from the configuration of the welcome information shown in fig. 2 in that the members of the enterprise to which the welcome information needs to be applied need to be selected. Thus, based on the welcome information configuration operation shown in fig. 3, the corresponding relationship between the enterprise members and the welcome information, that is, the corresponding relationship between the object identifier and the welcome information, can be generated.
Fig. 4 is a schematic view of a welcome information configuration page corresponding to a department to which an enterprise member belongs according to an embodiment of the present application. As shown in fig. 4, at configuration time, a name and a business identification may be input, a department may be selected, welcome information may be input, and the like. The welcome information 1 may be in a plain text format, and the welcome information 2 may be in a type of one of a picture, and an applet. The name here is a welcome information configuration name.
It can be seen that the welcome information configuration shown in fig. 4, unlike the welcome information configurations shown in fig. 2 and 3, does not require the configuration of business activity identifiers and members of the enterprise. Thus, based on the welcome information configuration operation shown in fig. 4, the correspondence between the department identification and the welcome information can be generated.
Fig. 5 is a schematic diagram of a welcome information configuration page corresponding to an enterprise according to an embodiment of the present application. As shown in fig. 5, at configuration time, a configuration name and an enterprise identification may be entered. The welcome information 1 may be in a plain text format, and the welcome information 2 may be in a type of one of a picture, and an applet. The name here is a welcome information configuration name. It can be seen that the configuration of the welcome information shown in fig. 5 does not require the configuration of information such as the business activity identifier, the members of the enterprise, the departments, and the like. Thus, based on the welcome information arrangement operation shown in fig. 5, the correspondence between the enterprise id and the welcome information can be generated. In the application, after the description information of the target object is obtained, the corresponding relationship between the prestored object description information and the welcome information can be inquired according to the description information of the target object, so as to determine the target welcome information corresponding to the description information of the target object.
During implementation, the corresponding relationship between the description information corresponding to the enterprise and the welcome information can be determined according to the identification of the enterprise to which the target object belongs in the description information of the target object, and the welcome information corresponding to any information can be determined by searching the corresponding relationship between the object description information and the welcome information according to any information in the description information, or the welcome information corresponding to the target object can be determined from the welcome information of the enterprise to which the target object belongs according to the priority of each information in the description information.
For example, the description information includes an identifier of the target object, and may search for a correspondence between the object identifier and the welcome information, and determine welcome information corresponding to the identifier of the target object.
According to the method and the device, when the user adds different target objects, the determined welcome information may be different, so that the diversification of the welcome information is enriched, and the accuracy of the welcome information is improved.
And 103, returning the target welcome information to the client so that the client displays the target welcome information in a dialog box with the target object.
After determining the target welcome information, the service end may directly return the target welcome information to the client, or return the target welcome information to the client by calling an interface of the server. After the client acquires the target welcome information, the target welcome information can be displayed in a dialog box with the target object.
In the application, the target welcome information returned to the client can be at least one of text information, picture information, image-text information and small program entries, the welcome information is rich in form, and interestingness is improved.
For example, the welcome message includes text information and picture information, and the text information and the picture information may be displayed in a dialog box.
For another example, when the welcome information configured in fig. 2 is the welcome information returned by the client, welcome information 1 and welcome information 2 may be sent at the same time.
In the embodiment of the application, a friend adding request sent by a client is obtained, wherein the adding request comprises the description information of a target object, the corresponding relation between the object description information and the welcome information is inquired according to the description information of the target object, the target welcome information corresponding to the description information of the target object is determined, and the target welcome information is returned to the client, so that the client displays the target welcome information in a dialog box with the target object. Therefore, the welcome information returned to the client is determined according to the description information of the target object, so that the welcome information is more accurately sent, and in addition, the welcome information returned to the client is determined based on the corresponding relation between the object description information and the welcome information, so that the flexibility of welcome information configuration is embodied.
Fig. 6 is a flowchart illustrating another method for adding a friend according to an embodiment of the present application.
As shown in fig. 6, the method for adding a friend includes:
step 601, a friend adding request sent by a client is obtained, wherein the adding request includes description information of a target object.
In the present application, step 601 is similar to step 101 described above, and therefore is not described herein again.
Step 602, under the condition that the description information contains the target business activity identification, according to the target business activity identification, inquiring the corresponding relation between the business activity identification and the welcome information to determine the target welcome information.
In order to improve enterprise revenue, an enterprise may host a variety of business activities, each of which is responsible for a corresponding member of the enterprise. In the application, when the two-dimensional code is generated for an enterprise member of a certain business activity, the business activity identifier can be put into the extension field of the two-dimensional code, so that when a user scans the two-dimensional code, the description information of the enterprise member in a friend adding request sent by a client side can contain the business activity identifier.
For example, there are 10 members of the enterprise responsible for a business activity, and the two-dimensional codes of all 10 members of the enterprise may include the identity of the business activity.
In the application, an enterprise may set welcome information in advance for each business activity, as shown in fig. 2, and a business end may generate a corresponding relationship between a business activity identifier and the welcome information in response to the welcome information configuration operation shown in fig. 2. After the description information of the target object is obtained, it may be determined whether the description information includes the target service activity identifier. If the description information of the target object contains the target business activity identification, the corresponding relation between the business activity identification and the welcome information can be inquired according to the target business activity identification, and the target welcome information corresponding to the target business activity identification is determined. For example, the welcome information corresponding to the a business activity is "thank you for participating in the a activity".
Step 603, returning the target welcome information to the client, so that the client displays the target welcome information in a dialog box with the target object.
In the present application, step 603 is similar to step 103, and therefore will not be described herein again.
In the embodiment of the application, the corresponding relationship between the object description information and the welcome information may include a corresponding relationship between the business activity identifier and the welcome information, and when the target welcome information corresponding to the description information of the target object is determined by querying the corresponding relationship between the object description information and the welcome information according to the description information of the target object, the target welcome information may be determined by querying the corresponding relationship between the business activity identifier and the welcome information according to the target business activity identifier under the condition that the description information includes the target business activity identifier, so that the target welcome information is determined according to the business activity identifier for which the target object is responsible, and more accurate welcome information may be returned to the client.
Fig. 7 is a flowchart illustrating another method for adding a friend according to an embodiment of the present application.
As shown in fig. 7, the method for adding a friend includes:
step 701, a friend adding request sent by a client is obtained, wherein the adding request includes description information of a target object.
In the present application, step 701 is similar to step 101 described above, and therefore is not described herein again.
Step 702, determining the target welcome information according to the identification of the target object in the description information under the condition that the description information does not contain the target business activity identification or the target business activity identification does not have corresponding welcome information.
In practical applications, a certain member of an enterprise may be responsible for multiple activities, or may not be responsible for business activities, and therefore, when generating the two-dimensional code for the member of the enterprise, the two-dimensional code may not include a business activity identifier. Or, no welcome information corresponding to the non-business activity setting.
In addition, an enterprise member may be responsible for a certain service of the enterprise, and based on this, in the present application, the enterprise may preset welcome information corresponding to the enterprise member, as shown in fig. 3, and the service end may respond to the welcome information configuration operation shown in fig. 3 to generate a corresponding relationship between the query object identifier and the welcome information for the enterprise. When setting the welcome information, the set welcome information may be related to a service for which the enterprise member is responsible.
In this application, the correspondence between the object description information and the welcome information may include a correspondence between the object identifier and the welcome information. After the description information of the target object is obtained, it may be determined whether the description information includes the target service activity identifier. If the description information contains the target service activity identification, the corresponding relation between the object identification and the welcome information can be inquired according to the identification of the target object, and the welcome information corresponding to the identification of the target object, namely the target welcome information, is determined. If the description information does not contain the target service activity identifier or the target service activity identifier does not have corresponding welcome information, the target welcome information can be determined according to the identifier of the target object in the description information.
For example, a member of an enterprise is responsible for B services, and the corresponding welcome information of the member of the enterprise may be "welcome you to consult B services".
Further, the correspondence between the object description information and the welcome information may include a correspondence between a department identifier and the welcome information, and in a case where the target object identifier does not have corresponding welcome information and the description information includes a target department identifier, the welcome information corresponding to the target department identifier, that is, the target welcome information, may be determined by querying the correspondence between the department identifier and the welcome information according to the target department identifier.
Or, under the condition that the target object identifier does not have corresponding welcome information and the description information does not include the target department identifier, the target department identifier to which the target object belongs can be determined according to the target object identifier and the object relationship between the object identifier and the department identifier, and then the target welcome information is determined according to the target department identifier, so that the welcome information is transmitted more accurately.
For example, a certain member of the enterprise is responsible for a plurality of service products, the member of the enterprise does not have corresponding welcome information, the department to which the member of the enterprise belongs is configured with the welcome information of a certain service product, and the welcome information can be used as welcome information returned to the client.
And 703, returning the target welcome information to the client so that the client displays the target welcome information in a dialog box with the target object.
In the present application, step 703 is similar to step 103, and therefore will not be described herein again.
In the embodiment of the application, the correspondence between the object description information and the welcome information may include a correspondence between an object identifier and the welcome information, and when the correspondence between the object description information and the welcome information is queried according to the description information of the target object to determine the target welcome information corresponding to the description information of the target object, the correspondence between the object identifier and the welcome information may be queried according to the identifier of the target object in the description information when the description information does not include the target business activity identifier or the target business activity identifier does not have the corresponding welcome information. Therefore, under the condition that the description information does not contain the target service activity identification or the target service activity identification does not have corresponding welcome information, the target welcome information can be determined according to the added target object, so that the welcome information is more accurately sent.
Fig. 8 is a flowchart illustrating another method for adding a friend according to an embodiment of the present application.
As shown in fig. 8, the method for adding a friend includes:
step 801, a friend adding request sent by a client is obtained, wherein the adding request includes description information of a target object.
In the present application, step 801 is similar to step 101 described above, and therefore, is not described herein again.
Step 802, determining target welcome information according to the target enterprise identifier to which the target object belongs in the description information under the condition that the description information contains the target business activity identifier and the target object identifier, and the target business activity identifier and the target object identifier do not have corresponding welcome information.
In the application, an enterprise may set a general welcome message in advance, as shown in fig. 5, and the service end responds to the welcome message configuration operation shown in fig. 5 to generate a corresponding relationship between an enterprise identifier and the welcome message.
In practical applications, although the description information of the target object includes the service activity identifier, corresponding welcome information may not be set for the service activity, and the target object identifier does not have corresponding welcome information either.
Based on this, in the application, when the description information includes the target business activity identifier and the identifier of the target object, and neither the target business activity identifier nor the identifier of the target object has corresponding welcome information, the corresponding relationship between the enterprise identifier and the welcome information may be queried according to the target enterprise identifier to which the target object in the description information belongs, and the target welcome information may be determined.
For example, when a user adds a member of the enterprise, the added description information of the enterprise member includes a business activity identifier and an enterprise member identifier, but neither the business activity identifier nor the enterprise member identifier has corresponding welcome information, and then the welcome information "hello, new client" corresponding to the enterprise identifier may be used as welcome information returned to the client.
Step 803, target welcome information is returned to the client, so that the client displays the target welcome information in a dialog box with the target object.
In the present application, step 803 is similar to step 103, and therefore will not be described herein again.
In the embodiment of the application, when the corresponding relation between the object description information and the welcome information is inquired according to the description information of the target object to determine the target welcome information corresponding to the description information of the target object, the target welcome information can be determined according to the target enterprise identification to which the target object in the description information belongs under the condition that the description information contains the target business activity identification and the identification of the target object and the identification of the target business activity identification and the identification of the target object do not have corresponding welcome information. Therefore, under the condition that the target business activity identification and the identification of the target object do not have corresponding welcome information, the target welcome information is determined according to the target enterprise identification to which the target object belongs, so that multiple dimensions are considered when the welcome information is determined, and the accuracy of welcome information sending is improved.
In the application, the welcome information determined based on the target business activity identifier in the description information of the target object, the welcome information corresponding to the identifier of the target object, the welcome information determined based on the department identifier to which the target object belongs, and the welcome information determined based on the enterprise identifier may be regarded as welcome information from fine grain welcome information to coarse grain welcome information.
After the description information of the target object is obtained, it may be determined whether the description information includes the target service activity identifier. If the description information contains the target business activity identification, the target welcome information can be determined according to the target business activity identification.
If the description information does not contain the target service activity identifier or the target service activity identifier does not have corresponding welcome information, the target welcome information can be determined according to the identifier of the target object in the description information.
If the description information contains the target business activity identification and the identification of the target object, and the target business activity identification and the identification of the target object do not have corresponding welcome information, the target welcome information can be determined according to the target enterprise identification to which the target object belongs.
Therefore, the welcome information can be determined according to the business activity identification, the identification of the target object, the department identification of the target object and the priority of the enterprise identification, namely the welcome information is determined from multiple dimensions, the determination from fine-grained welcome information to coarse-grained welcome information is realized, and the accuracy of welcome information transmission is improved.
According to the friend adding mode of the embodiment of the application, the user can be sent with interesting welcome information according to the added enterprise members, the way of adding the enterprise members, the business to which the added enterprise members belong, the department to which the enterprise members belong and the like. For example, a customer who has added a member of the enterprise of the fund service line may recommend welcome information for the fund product class for the customer.
In order to implement the above embodiments, an adding device for a friend is further provided in the embodiments of the present application. Fig. 9 is a schematic structural diagram of a friend adding apparatus according to an embodiment of the present application.
As shown in fig. 9, the friend adding apparatus 900 includes:
an obtaining module 910, configured to obtain a friend addition request sent by a client, where the addition request includes description information of a target object;
a determining module 920, configured to query, according to the description information of the target object, a corresponding relationship between the object description information and welcome information, so as to determine target welcome information;
a returning module 930, configured to return the target welcome information to the client, so that the client displays the target welcome information in a dialog box with the target object.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the generating module is used for responding to the welcome information configuration operation and generating the corresponding relation between the description information and the welcome information.
In a possible implementation manner of the embodiment of the present application, the correspondence between the object description information and the welcome information includes at least one of the following items:
the corresponding relation between the business activity mark and the welcome information;
the corresponding relation between the object identification and the welcome information;
the corresponding relation between the department identification and the welcome information;
and the corresponding relation between the enterprise identification and the welcome information.
In a possible implementation manner of the embodiment of the present application, the determining module 920 is configured to:
and under the condition that the description information contains a target business activity identifier, inquiring the corresponding relation between the business activity identifier and welcome information according to the target business activity identifier so as to determine the target welcome information.
In a possible implementation manner of the embodiment of the present application, the determining module 920 is configured to:
and under the condition that the description information does not contain the target service activity identification or the target service activity identification does not have corresponding welcome information, inquiring the corresponding relation between the object identification and the welcome information according to the identification of the target object in the description information so as to determine the target welcome information.
In a possible implementation manner of the embodiment of the present application, the determining module 920 is configured to:
under the condition that the identification of the target object does not have corresponding welcome information, the identification of a target department to which the target object belongs is determined according to the identification of the target object;
and inquiring the corresponding relation between the department identification and the welcome information according to the target department identification so as to determine the target welcome information.
In a possible implementation manner of the embodiment of the present application, the determining module 920 is configured to:
and under the condition that the description information contains a target business activity identifier and an identifier of the target object, and the target business activity identifier and the identifier of the target object do not have corresponding welcome information, inquiring the corresponding relation between the enterprise identifier and the welcome information according to a target enterprise identifier to which the target object in the description information belongs to determine the target welcome information.
In a possible implementation manner of the embodiment of the present application, the welcome information includes at least one of text information, picture information, image-text information, and an applet portal.
It should be noted that the explanation of the embodiment of the method for adding a friend is also applicable to the device for adding a friend in this embodiment, and therefore, the explanation is not repeated here.
In the embodiment of the application, a friend adding request sent by a client is obtained, wherein the adding request comprises the description information of a target object, the corresponding relation between the object description information and the welcome information is inquired according to the description information of the target object to determine the target welcome information, and the target welcome information is returned to the client, so that the client displays the target welcome information in a dialog box with the target object. Therefore, the welcome information returned to the client is determined according to the description information of the target object, so that the welcome information is more accurately sent, in addition, the welcome information returned to the client is determined based on the corresponding relation between the object description information and the welcome information, and the object description information is diversified, so that the welcome information is flexible in configuration.
In order to implement the foregoing embodiments, an embodiment of the present application further provides a computer device, including a processor and a memory;
the processor reads the executable program codes stored in the memory to run the program corresponding to the executable program codes, so as to implement the friend adding method according to the embodiment.
In order to implement the foregoing embodiments, the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for adding a friend as described in the foregoing embodiments.
In order to implement the foregoing embodiments, an embodiment of the present application further provides a computer program product, which is characterized by including a computer program, and when the computer program is executed by a processor, the computer program implements the method for adding a friend according to the foregoing embodiments.
In the description of the present specification, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (19)

1. A method for adding a friend is characterized by comprising the following steps:
acquiring a friend adding request sent by a client, wherein the adding request comprises the description information of a target object;
inquiring the corresponding relation between object description information and welcome information according to the description information of the target object to determine the target welcome information corresponding to the description information of the target object;
and returning the target welcome information to the client so that the client displays the target welcome information in a dialog box with the target object.
2. The method of claim 1, before said querying the correspondence between object description information and welcome information according to the description information of the target object, further comprising:
and responding to the welcome information configuration operation, and generating the corresponding relation between the description information and the welcome information.
3. The method of claim 1, wherein the correspondence between the object description information and the welcome information comprises at least one of:
the corresponding relation between the business activity mark and the welcome information;
the corresponding relation between the object identification and the welcome information;
the corresponding relation between the department identification and the welcome information;
and the corresponding relation between the enterprise identification and the welcome information.
4. The method of claim 3, wherein the querying a corresponding relationship between object description information and welcome information according to the description information of the target object to determine target welcome information corresponding to the description information of the target object comprises:
and under the condition that the description information contains a target business activity identifier, inquiring the corresponding relation between the business activity identifier and welcome information according to the target business activity identifier so as to determine the target welcome information.
5. The method of claim 3, wherein the querying a corresponding relationship between object description information and welcome information according to the description information of the target object to determine target welcome information corresponding to the description information of the target object comprises:
and under the condition that the description information does not contain the target service activity identification or the target service activity identification does not have corresponding welcome information, inquiring the corresponding relation between the object identification and the welcome information according to the identification of the target object in the description information so as to determine the target welcome information.
6. The method of claim 5, further comprising:
under the condition that the identification of the target object does not have corresponding welcome information, the identification of a target department to which the target object belongs is determined according to the identification of the target object;
and inquiring the corresponding relation between the department identification and the welcome information according to the target department identification so as to determine the target welcome information.
7. The method of claim 3, wherein the querying a corresponding relationship between object description information and welcome information according to the description information of the target object to determine target welcome information corresponding to the description information of the target object comprises:
and under the condition that the description information contains a target business activity identifier and an identifier of the target object, and the target business activity identifier and the identifier of the target object do not have corresponding welcome information, inquiring the corresponding relation between the enterprise identifier and the welcome information according to a target enterprise identifier to which the target object in the description information belongs to determine the target welcome information.
8. The method of any of claims 1-7, wherein the welcome information includes at least one of text information, picture information, teletext information, and applet portals.
9. A friend adding apparatus, comprising:
the friend adding module is used for obtaining a friend adding request sent by a client, wherein the friend adding request comprises description information of a target object;
the determining module is used for inquiring the corresponding relation between the object description information and the welcome information according to the description information of the target object so as to determine the target welcome information corresponding to the description information of the target object;
and the return module is used for returning the target welcome information to the client so as to enable the client to display the target welcome information in a dialog box with the target object.
10. The apparatus of claim 9, further comprising:
and the generating module is used for responding to the welcome information configuration operation and generating the corresponding relation between the description information and the welcome information.
11. The apparatus of claim 9, wherein the correspondence between the object description information and the welcome information comprises at least one of:
the corresponding relation between the business activity mark and the welcome information;
the corresponding relation between the object identification and the welcome information;
the corresponding relation between the department identification and the welcome information;
and the corresponding relation between the enterprise identification and the welcome information.
12. The apparatus of claim 11, wherein the determination module is to:
and under the condition that the description information contains a target business activity identifier, inquiring the corresponding relation between the business activity identifier and welcome information according to the target business activity identifier so as to determine the target welcome information.
13. The apparatus of claim 11, wherein the determination module is to:
and under the condition that the description information does not contain the target service activity identification or the target service activity identification does not have corresponding welcome information, inquiring the corresponding relation between the object identification and the welcome information according to the identification of the target object in the description information so as to determine the target welcome information.
14. The apparatus of claim 13, wherein the determination module is to:
under the condition that the identification of the target object does not have corresponding welcome information, the identification of a target department to which the target object belongs is determined according to the identification of the target object;
and inquiring the corresponding relation between the department identification and the welcome information according to the target department identification so as to determine the target welcome information.
15. The apparatus of claim 11, wherein the determination module is to:
and under the condition that the description information contains a target business activity identifier and an identifier of the target object, and the target business activity identifier and the identifier of the target object do not have corresponding welcome information, inquiring the corresponding relation between the enterprise identifier and the welcome information according to a target enterprise identifier to which the target object in the description information belongs to determine the target welcome information.
16. The apparatus of any of claims 9-15, wherein the welcome message comprises at least one of a text message, a picture message, a graphic message, and an applet portal.
17. A computer device comprising a processor and a memory;
wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the friend adding method according to any one of claims 1-8.
18. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method for adding a buddy according to any of claims 1-8.
19. A computer program product, characterized in that it comprises a computer program which, when being executed by a processor, implements the method of adding a buddy according to any of claims 1-8.
CN202210254267.8A 2022-03-15 2022-03-15 Friend adding method and device, computer equipment and storage medium Pending CN114615225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210254267.8A CN114615225A (en) 2022-03-15 2022-03-15 Friend adding method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210254267.8A CN114615225A (en) 2022-03-15 2022-03-15 Friend adding method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114615225A true CN114615225A (en) 2022-06-10

Family

ID=81862696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210254267.8A Pending CN114615225A (en) 2022-03-15 2022-03-15 Friend adding method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114615225A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284307A (en) * 2013-07-08 2015-01-14 中国电信股份有限公司 International roaming welcome short message sending method and system and front-end system
WO2018093083A1 (en) * 2016-11-16 2018-05-24 넷마블게임즈 주식회사 Apparatus and method for providing online community service corresponding to game user group
CN109962974A (en) * 2019-01-25 2019-07-02 平安科技(深圳)有限公司 Blessing information processing method, device, medium and equipment in enterprise's application
CN111431793A (en) * 2020-03-18 2020-07-17 腾讯科技(成都)有限公司 Session management method, device, computer equipment and storage medium
CN112291137A (en) * 2020-11-11 2021-01-29 恩亿科(北京)数据科技有限公司 Method and device for adding new friends to enterprise-level communication software
CN112541724A (en) * 2019-09-18 2021-03-23 北京奇艺世纪科技有限公司 Distribution method and device, electronic equipment and storage medium
CN112583699A (en) * 2020-12-07 2021-03-30 北京秒针人工智能科技有限公司 Method, system, equipment and storage medium for automatic transmitting welcome language by departments

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284307A (en) * 2013-07-08 2015-01-14 中国电信股份有限公司 International roaming welcome short message sending method and system and front-end system
WO2018093083A1 (en) * 2016-11-16 2018-05-24 넷마블게임즈 주식회사 Apparatus and method for providing online community service corresponding to game user group
CN109962974A (en) * 2019-01-25 2019-07-02 平安科技(深圳)有限公司 Blessing information processing method, device, medium and equipment in enterprise's application
CN112541724A (en) * 2019-09-18 2021-03-23 北京奇艺世纪科技有限公司 Distribution method and device, electronic equipment and storage medium
CN111431793A (en) * 2020-03-18 2020-07-17 腾讯科技(成都)有限公司 Session management method, device, computer equipment and storage medium
CN112291137A (en) * 2020-11-11 2021-01-29 恩亿科(北京)数据科技有限公司 Method and device for adding new friends to enterprise-level communication software
CN112583699A (en) * 2020-12-07 2021-03-30 北京秒针人工智能科技有限公司 Method, system, equipment and storage medium for automatic transmitting welcome language by departments

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小小皮球君: "企业微信欢迎语应该这样用", 360个人图书馆, 23 April 2020 (2020-04-23), pages 1 - 5 *

Similar Documents

Publication Publication Date Title
KR102095687B1 (en) Two-dimensional code information query method, server, client and system
CN107145594B (en) Method, device and system for pushing virtual gift recommendation list
US20120310746A1 (en) Learned context correlation through network communication observations
CN102958008A (en) Method, system and mobile terminals for realizing instant messaging
CN109669980B (en) Cross-database access method and device for data
US20220101412A1 (en) Method for automatic display of products viewed on distinct web domains
JP2005107897A (en) Access point, distribution system and its program
JP6721314B2 (en) Network systems, servers, and terminals
JP4522430B2 (en) RECOMMENDATION DEVICE AND RECOMMENDATION METHOD
KR100714114B1 (en) Client, computer-readable media and method for acquiring uri
CN114615225A (en) Friend adding method and device, computer equipment and storage medium
CN109905373B (en) Information acquisition and processing method, device and equipment
CN109600738B (en) User information updating method, device, equipment and storage medium
JP5461058B2 (en) RECOMMENDATION INFORMATION GENERATION DEVICE, TERMINAL DEVICE, RECOMMENDATION INFORMATION GENERATION METHOD, AND RECOMMENDATION INFORMATION PRESENTATION SYSTEM
CN113722589B (en) Information generation method, device, server and storage medium
CN107644044B (en) Page content generation method and device
CN106708446A (en) Cloud printing method and cloud printing server
CN112232905B (en) Order processing system for live broadcast sales and working method thereof
CN113177694A (en) Client distribution method, device, storage medium and computer equipment
CN110417851B (en) Data matching method, hosting platform, storage medium and computer equipment
CN112835573A (en) Data query method and device, electronic equipment and storage medium
CN114329091A (en) Data directory generation method, device and equipment
JP2002207735A (en) Information retrieval device, information retrieval method, and computer-readable storage medium with program stored therein
CN112035773A (en) Data processing method and server side equipment
JP4773774B2 (en) Network service system, service guidance device, user device, service guidance method, program, and information storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination