Deep link generation method and device, equipment, storage medium and program product

By obtaining and generating configuration information from third-party platforms and calculating and connecting deep link identification to jump page links based on user selection, the problem of the existing technology being unable to safely identify deep links is solved, and the security of generated deep links is improved .

CN119474567APending Publication Date: 2025-02-18CHINA MOBILE INTERNET CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411467119.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art cannot securely identify links or QR codes generated based on deep link technology, resulting in a large number of illegal links.

Method used

Obtain a list of preset reply keywords and preset function lists from third-party platforms. Users select from these lists to generate configuration information, use the universal unique identification code algorithm to calculate the deep link identifier, and connect it to the link of the jump page , generate deep links.

Benefits of technology

By verifying the preset reply keywords and function lists, we ensure that the generated deep links have high security and reduce the existence of illegal links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119474567A_ABST
    Figure CN119474567A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a deep link generation method and device, equipment, a storage medium and a program product, the method is applied to electronic equipment, and the specific technical scheme comprises the steps that a preset reply keyword list and a preset function list are obtained from a third-party platform; in response to operation of the user on the preset reply keyword list and the preset function list, configuration information is generated, and the configuration information comprises a target reply keyword identifier and a target function identifier selected by the user in the preset reply keyword list and the preset function list; calculating a deep link identifier corresponding to the configuration information by adopting a universal unique identification code algorithm; and connecting the deep link identifier to a link of the jump page to generate a deep link. In this way, it can be guaranteed that the generated deep link has high safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of data transmission, and in particular, relates to a method, apparatus, device, storage medium and program product for generating a deep link. Background Art

[0002] Deep linking technology can generate a link or QR code based on a specific content page on a web page or application. When a user clicks a link or scans a QR code through a terminal, the terminal can jump to the specific content page.

[0003] However, due to the different contents included in the content pages, the existing technology is unable to safely identify the links or QR codes generated based on the deep link technology, resulting in a large number of illegal links. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device, storage medium and program product for generating a deep link, which can improve the security of the generated deep link.

[0005] In a first aspect, an embodiment of the present application provides a method for generating a deep link, which is applied to an electronic device, and the method includes:

[0006] Obtain a list of preset response keywords and a list of preset functions from a third-party platform;

[0007] In response to a user's operation on the preset reply keyword list and the preset function list, generating configuration information, the configuration information including a target reply keyword identifier and a target function identifier selected by the user in the preset reply keyword list and the preset function list;

[0008] Calculate the deep link identifier corresponding to the configuration information using a universal unique identifier algorithm;

[0009] The deep link identifier is connected to the link of the jump page to generate a deep link.

[0010] In a possible implementation, obtaining a preset reply keyword list and a preset function list from a third-party platform includes:

[0011] In response to a session page selected by a user on a displayed page, obtaining a session page identifier corresponding to the session page;

[0012] Sending the conversation page identifier to the third-party platform, so that the third-party platform can obtain the preset reply keyword list and the preset function list according to the correspondence between the conversation page identifier and the reply keyword list and the function list;

[0013] Receive the preset reply keyword list and the preset function list returned by the third-party platform.

[0014] In a possible implementation manner, the configuration information further includes default display content, so that the terminal displays the default display content on the session page.

[0015] In a possible implementation, after generating a deep link by connecting the deep link identifier to a link of a redirected page, the method further includes:

[0016] generating a graphic code link based on the deep link;

[0017] The graphic code link and the deep link are sent to a target application, so that the terminal displays the graphic code link and the deep link in the target application.

[0018] In a possible implementation, after sending the graphic code link and the deep link to the target application, the method further includes:

[0019] Receiving a first access request for the deep link sent by a terminal;

[0020] Acquire the target reply keyword and target function corresponding to the configuration information from the third-party platform;

[0021] The target reply keyword and the target function are sent to the terminal, so that the terminal displays the conversation page content based on the target reply keyword and the target function.

[0022] In a possible implementation, the first access request includes a temporary identifier; and obtaining a target reply keyword and a target function corresponding to the configuration information from the third-party platform includes:

[0023] According to a preset correspondence between the temporary identifier and the deep link identifier, searching for the deep link identifier corresponding to the temporary identifier;

[0024] Searching locally for configuration information corresponding to the deep link identifier;

[0025] The target reply keyword and the target function are obtained from the third-party platform based on the configuration information.

[0026] In a possible implementation, before searching for a target deep link identifier corresponding to the temporary identifier based on a preset correspondence between the temporary identifier and the deep link identifier, the method further includes:

[0027] Obtaining a user identity of the terminal;

[0028] Verifying the terminal based on the user identity;

[0029] If the verification is successful, a temporary identifier corresponding to the user identity identifier and the deep link identifier is generated to obtain the preset corresponding relationship;

[0030] The temporary identifier is sent to the terminal.

[0031] In a possible implementation manner, the verifying the terminal based on the user identity includes:

[0032] Determining whether the user identity is stored in an identity database;

[0033] In a case where the user identity is stored in the identity database, it is determined that verification of the terminal is passed.

[0034] In a possible implementation manner, after determining whether the user identity is stored in the identity database, the method further includes:

[0035] If the user identity is not stored in the identity database, obtaining terminal model information of the terminal;

[0036] Searching for guidance information corresponding to the terminal model information in a terminal model database, wherein the guidance information is used to guide the user to complete the network switching;

[0037] The guidance information is sent to the terminal so that the terminal displays the guidance information to guide the user to complete the network switching.

[0038] In a possible implementation, after searching for the deep link identifier corresponding to the temporary identifier and determining configuration information corresponding to the deep link identifier, the method further includes:

[0039] The preset correspondence between the temporary identifier and the deep link identifier is deleted.

[0040] In a second aspect, an embodiment of the present application provides a device for generating a deep link, which is applied to an electronic device, and the device includes:

[0041] An acquisition module is used to obtain a preset reply keyword list and a preset function list from a third-party platform;

[0042] A generating module, configured to generate configuration information in response to a user's operation on the preset reply keyword list and the preset function list, wherein the configuration information includes a target reply keyword identifier and a target function identifier selected by the user in the preset reply keyword list and the preset function list;

[0043] A calculation module, configured to calculate a deep link identifier corresponding to the configuration information using a universal unique identifier algorithm;

[0044] The generating module is further used to connect the deep link identifier to the link of the jump page to generate a deep link.

[0045] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for generating a deep link as described in any one of the first aspects is implemented.

[0046] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the method for generating a deep link as described in any one of the first aspects is implemented.

[0047] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device can execute the method for generating a deep link as described in any one of the first aspects.

[0048] A method, device, equipment, storage medium and program product for generating a deep link in an embodiment of the present application, after obtaining a preset reply keyword list and a preset function list from a third-party platform, the user can make a selection in the preset reply keyword list and the preset function list, and generate configuration information in response to the user's selection operation, wherein the configuration information includes the target reply keyword identifier and the target function identifier selected by the user in the preset reply keyword list and the preset function list. In this way, since the preset reply keyword list and the preset function list are obtained from the third-party platform, the security of the target reply keyword and the target function can be guaranteed by verifying the preset reply keyword list and the preset function list. Then, the deep link identifier corresponding to the configuration parameter is calculated using a universal unique identifier algorithm, and the deep link identifier is connected to the jump page link to generate a deep link. In this way, on the basis of verifying the target reply keyword and the target function, the generated deep link has a higher security. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0050] Figure 1 This is an exemplary schematic diagram of a deep link provided by an embodiment of the present application.

[0051] Figure 2 It is a flowchart of a method for generating a deep link provided in an embodiment of the present application;

[0052] Figure 3 It is a flowchart of a method for obtaining a session page provided in an embodiment of the present application;

[0053] Figure 4 It is a flowchart of a temporary identification generation method provided in an embodiment of the present application;

[0054] Figure 5 is an exemplary schematic diagram of a deep link generation system provided in an embodiment of the present application;

[0055] Figure 6 is an exemplary schematic diagram of a method for generating a deep link provided in an embodiment of the present application;

[0056] Figure 7 is a structural diagram of a device for generating a deep link provided in an embodiment of the present application;

[0057] Figure 8 It is a structural schematic diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0058] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0059] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0060] The following is an explanation of the relevant terms involved in the embodiments of the present application:

[0061] 5G message chatbot: A 5G message account generally created by an enterprise, with a port number, avatar and fixed menu. Users can interact with the 5G message chatbot through the terminal.

[0062] 5G message chatbot web version (Chatbot H5): A web version provided for non-5G message terminals. Users can experience the 5G message chatbot through H5.

[0063] Deep link: When the terminal user clicks a link in an APP, SMS or advertisement, the terminal can jump to the specific location of the target APP.

[0064] Chatbot Service Provider (CSP) platform: an operation platform jointly built by operators and enterprises, an operation tool platform for providing chatbot services.

[0065] At present, deep links can be placed in traditional SMS to achieve SMS jump. Specifically, the jump can be achieved through the input box content and the mobile phone number. For example, if the user enters "TD" in the input box and the mobile phone number is xxxxxxxx, the deep link can be expressed as sms:+xxxxxxxx? body=TD.

[0066] Furthermore, by setting up a deep link, you can jump to the chatbot conversation page based on SMS. Specifically, the format of the deep link is as follows:

[0067] sms:{service_id}? body={body}&suggestions={suggestions};

[0068] Among them, service_id is a required item, which is used to carry the chatbot's Session Initiation Protocol Uniform Resource Identifier (SIP URL); body is used to carry the message body. When the chatbot conversation page is displayed on the terminal, the content in the message body is automatically filled into the conversation page input box; suggestions is used to carry the configuration parameters of the floating button in the chatbot conversation page. Among them, the floating button of the chatbot conversation page supports functions such as suggesting replies, opening web pages, or making calls.

[0069] In an example, if the service_id is xxxx.com, and the default input content of the chatbot conversation page input box is "Query Bill", the deep link can be expressed as:

[0070] sms:xxxx.com? body=%E6%9F%A5%E8%AF%A2%E8%B4%A6%E5%8D%95;

[0071] Among them, %E6%9F%A5%E8%AF%A2%E8%B4%A6%E5%8D%95 is a string obtained by URL encoding "Query Bill".

[0072] In an example, if the above suggestions are a floating button for suggesting replies, the configuration parameters of suggestions are:

[0073]

[0074] The deep link generated based on the configuration parameters of the suggestions is:

[0075] sms:xxxx.com? suggestions=ewoic3VnZ2VzdGlvbnMiOiBbewogICAgInJlcGx5IjogewogICAgICAiZGlzcGxheVRleHQiOiAi54K55Ye75p+l6K+i6LSm5Y2VIiwKICAgICAgInBvc3RiYWNrIjogewogIC AgICAgICJkYXRhIjogInJlcGx5PW9wZW4tY2hlY2tpbmctYWNjb3VudDtzb3VyY2U9d2Vic2l 0ZS5jb207Y2FtcGFpZ249Y2hrLWFjdC1jbXBnbi0xNCIKICAgICAgfQogICAgfQogIH0KXQp9;

[0076] The string in suggestions is obtained by performing Base64 encoding on the above configuration parameters.

[0077] In the above deep links, due to the different contents carried in the deep links, the lengths of the deep links are different, which further leads to different granularities of the QR code images generated based on the deep links.

[0078] like Figure 1 As shown, Figure 1Three deep links and corresponding QR codes are shown as examples. As the length of the deep link increases, the granularity of the QR code becomes denser, the granularity of QR code 1 is sparser than that of QR code 2, and the granularity of QR code 2 is sparser than that of QR code 3.

[0079] Therefore, when the deep link carries too much content, the particles of the QR code image will be too dense, making it impossible for the device to recognize it. For example, when the QR code is printed as an image, the image is distorted, which makes the QR code invalid and the device unable to recognize it.

[0080] Furthermore, in existing deep links, after a user clicks a deep link, the terminal can directly jump to the chatbot conversation page of the application, and it is impossible to supervise the deep link.

[0081] In order to solve the problems in the prior art, embodiments of the present invention provide a method, apparatus, device, storage medium and program product for generating a deep link.

[0082] The following first introduces a method for generating a deep link provided by an embodiment of the present invention.

[0083] Figure 2 A schematic diagram of a process flow of a method for generating a deep link provided by an embodiment of the present invention is shown. The method is applied to an electronic device. In one example, the electronic device may be a server. Figure 2 As shown, the method includes:

[0084] S201. Obtain a preset reply keyword list and a preset function list from a third-party platform.

[0085] Among them, the third-party platform is an operating platform jointly operated by operators and manufacturers.

[0086] The third-party platform includes templates for each chatbot conversation page, which refers to the page where users and chatbots interact with each other. The template includes a reply keyword list and a function list, which are pre-configured by each manufacturer on the third-party platform based on their actual needs. After the template configuration is completed, operators and other manufacturers can review the configured template content to ensure the legality of the template content.

[0087] Specifically, the third-party platform may be a CSP platform.

[0088] The preset reply keyword list includes reply contents for different keywords. The keyword is the content input by the user on the chatbot conversation page. The preset function list includes functions of different floating buttons.

[0089] S202: Generate configuration information in response to the user's operation on the preset reply keyword list and the preset function list.

[0090] The configuration information includes the target reply keyword identifier and the target function identifier selected by the user in the preset reply keyword list and the preset function list. The user may be a chat robot operator.

[0091] Specifically, after the electronic device obtains the preset reply keyword list and the preset function list, the preset reply keyword list and the preset function list are displayed on the display interface. The chat robot operator can select the corresponding reply content in the preset reply keyword list according to the different input content of the terminal user, and select the corresponding floating button function in the preset function list according to the actual business needs. After the chat robot operator completes the selection, the electronic device records the target reply keyword identifier and the target function identifier selected by the chat robot operator.

[0092] S203: Calculate the deep link identifier corresponding to the configuration information using a universal unique identifier algorithm.

[0093] It should be noted that, based on the configuration information obtained above, a fixed-length deep link identifier can be calculated using a unique identification code algorithm.

[0094] Specifically, the universal unique identification code algorithm is a UUID type algorithm. The electronic device adopts the UUID type algorithm to calculate a deep link identifier with a length of 16 bits based on the above configuration information.

[0095] S204: Connect the deep link identifier to the link of the jump page to generate a deep link.

[0096] The link of the jump page is a blank page. The deep link can be generated by linking the above deep link identifier to the back of the jump page link.

[0097] By adopting the above method, after obtaining the preset reply keyword list and the preset function list from the third-party platform, the user can make a selection in the preset reply keyword list and the preset function list, and generate configuration information in response to the user's selection operation, wherein the configuration information includes the target reply keyword identifier and the target function identifier selected by the user in the preset reply keyword list and the preset function list. In this way, since the preset reply keyword list and the preset function list are obtained from the third-party platform, the security of the target reply keyword and the target function can be guaranteed by verifying the preset reply keyword list and the preset function list. Then, the deep link identifier corresponding to the configuration parameter is calculated using the universal unique identification code algorithm, and the deep link identifier is connected to the jump page link to generate a deep link. In this way, on the basis that the target reply keyword and the target function have passed the verification, the generated deep link has a higher security.

[0098] In addition, the configuration information also includes default display content, which is used for the terminal to display the default display content on the conversation page. The default display content is the content displayed by default in the input box after the terminal opens the chatbot conversation page corresponding to the deep link.

[0099] In some embodiments of the present application, with respect to the above S201, a preset reply keyword list and a preset function list are obtained from a third-party platform, such as Figure 3 As shown, it can be implemented as follows:

[0100] S2011. In response to a session page selected by the user on the displayed page, obtain a session page identifier corresponding to the session page.

[0101] The display page of the terminal displays the avatar, function introduction and other information of each chat robot conversation page. The user can select the corresponding conversation page based on the avatar and function introduction and other information in the display page.

[0102] S2012: Send the conversation page identifier to the third-party platform, so that the third-party platform can obtain the preset reply keyword list and the preset function list according to the correspondence between the conversation page identifier and the reply keyword list and the function list.

[0103] S2013. Receive a preset reply keyword list and a preset function list returned by the third-party platform.

[0104] By adopting the method provided in the embodiment of the present application, the reply keywords included in the reply keyword list and the functions included in the function list in the third-party platform are all pre-configured by the user in the third-party platform and generated after review, so the security and legitimacy of the reply keywords and functions can be guaranteed. In this way, the user can select a suitable conversation page according to the function introduction of the conversation page displayed in the display page, and then select the corresponding reply keywords and functions in the preset reply keyword list and the preset function list, thereby ensuring the security and legitimacy of the reply keywords and functions.

[0105] It should be noted that after the electronic device generates a deep link, it can also generate a graphic code corresponding to the deep link using a graphic code generation tool based on the deep link, and put the graphic code and the deep link into the corresponding target application. Based on this, after the above S204, connecting the deep link identifier to the link of the jump page to generate the deep link, the method also includes:

[0106] Step 1: Generate a graphic code link based on the deep link.

[0107] Among them, the graphic code can be a QR code or a barcode, etc., and the embodiment of the present application does not limit the type of the graphic code.

[0108] Specifically, the electronic device can call the QR code operation class QrCodeUtil to generate a QR code based on the deep link.

[0109] It should be noted that since the length of the deep link identifier generated by the universal unique identifier algorithm is fixed, and the length of the link to the jump page is fixed, the length of the generated deep link is fixed. Therefore, the encoding density of the QR code generated based on the deep link is low, and it can be accessed and scanned by third-party applications such as browsers, which improves the availability and stability of the deep link.

[0110] Step 2: Send the graphic code link and the deep link to the target application, so that the terminal can display the graphic code link and the deep link in the target application.

[0111] By adopting the method provided in the embodiment of the present application, on the basis of generating deep links as described above, a graphic code generation tool can also be used to generate a graphic code link corresponding to the deep link, and the graphic code link and the deep link can be sent to the target application, providing users with multiple access forms to facilitate user access, thereby improving the dissemination of content.

[0112] On the basis of delivering the deep link and the graphic code link to the application, the user can click the deep link or scan the graphic code link through the terminal, and the terminal responds to the user's operation and displays the session page content corresponding to the deep link or the graphic code link on the display interface. Specifically, after the above step 2, sending the graphic code link and the deep link to the target application, the method further includes:

[0113] The first access request for the deep link sent by the terminal is received. Then the electronic device obtains the target reply keyword and the target function corresponding to the configuration information from the third-party platform, and sends the target reply keyword and the target function to the terminal, so that the terminal displays the content of the conversation page based on the target reply keyword and the target function.

[0114] After receiving the first access request, the electronic device generates a temporary identifier corresponding to the first access request and returns the temporary identifier to the terminal. The terminal subsequently uses the temporary identifier to request the electronic device to obtain the target reply keyword identifier and target function identifier corresponding to the deep link, and the electronic device then uses the target reply keyword identifier and target function identifier to obtain the corresponding target reply keyword and target function from the third-party platform.

[0115] Specifically, when the above-mentioned electronic device obtains the target reply keywords and target functions from the third-party platform, the electronic device can search for the deep link identifier corresponding to the temporary identifier according to the preset correspondence between the temporary identifier and the deep link identifier; search for the configuration information corresponding to the deep link identifier locally; and obtain the target reply keywords and target functions from the third-party platform based on the configuration information.

[0116] The temporary identifier is generated by the electronic device in response to the user's access request. The specific method of generating the temporary identifier will be described in detail in subsequent embodiments.

[0117] The configuration information includes a target reply keyword identifier and a target function identifier. The electronic device searches for the corresponding target reply keyword and target function from a third-party platform based on the target reply keyword identifier and the target function identifier, and returns the found target reply keyword and target function to the terminal.

[0118] In one example, the electronic device includes a jump page. After receiving the first access request, the jump page in the electronic device calls a network (web) interface to open the terminal's fifth-generation communication technology (5th-Generation Mobile Communication, 5G) message application, and parses the deep link in the 5G message application to determine whether there is a server_id in the deep link. If the server_id exists, it indicates that the deep link points to a chat robot conversation page. The 5G message application enters a pre-jump state and obtains a temporary identifier, sends the temporary identifier to the electronic device, and requests to obtain the content of the chat robot conversation page.

[0119] In this way, the third-party platform is used to send the target reply keywords and target functions to the terminal, and the terminal can display the target reply keywords and target functions in the conversation page content. Therefore, in the terminal conversation page, the user can obtain corresponding services according to his own needs.

[0120] The following describes how to generate a temporary identifier corresponding to the first access request. Figure 4 As shown, before searching for a target deep link identifier corresponding to the temporary identifier according to the preset correspondence between the temporary identifier and the deep link identifier, the method includes S401 to S404:

[0121] S401: Obtain a user identity of a terminal.

[0122] The user identity identifier may be a user's mobile phone number.

[0123] Specifically, based on the operator's mobile gateway number acquisition function, the user identity can be obtained.

[0124] S402: Verify the terminal based on the user identity.

[0125] Specifically, the electronic device determines whether the user identity is stored in the identity database; if the user identity is stored in the identity database, it determines that the terminal verification is passed.

[0126] Among them, the identity database stores user identities that support 5G communication.

[0127] Furthermore, when the identity database does not store the user identity, the terminal model information of the terminal is obtained.

[0128] Search the terminal model database for guidance information corresponding to the terminal model information, and send guidance information to the terminal so that the terminal displays the guidance information to guide the user to complete the network switching.

[0129] The guidance information is used to guide the user to complete the network switching. The terminal model database stores the correspondence between the terminal model information and the guidance information.

[0130] S403: If the verification is successful, generate a temporary identifier corresponding to the user identity identifier and the deep link identifier to obtain a preset corresponding relationship.

[0131] S404: Send a temporary identifier to the terminal.

[0132] By adopting the method provided in the embodiment of the present application, when the user identity of the terminal is verified, a temporary identifier corresponding to the user identity and the deep link identifier is generated, a preset corresponding relationship is obtained, and the temporary identifier is sent to the terminal. In this way, each time before the user initiates an access behavior, the user identity is verified, and a temporary identifier is generated separately for each access behavior. In this way, the security and reliability of the deep link source are guaranteed.

[0133] In addition, after searching locally for configuration information corresponding to the deep link identifier, the electronic device deletes the preset correspondence between the temporary identifier and the deep link identifier.

[0134] In this way, since the temporary identifier is an identifier temporarily generated by the electronic device based on the access behavior, and the electronic device deletes the temporary identifier after the access is completed, it ensures that the temporary identifier and the access behavior are one-to-one corresponding, thereby improving the security of access.

[0135] The following combination Figure 5 The system architecture shown in FIG. 1 introduces the process in which the electronic device obtains the target reply keywords and target functions from the third-party platform, and the terminal displays the conversation page according to the target reply keywords and target functions, such as Figure 5 As shown:

[0136] The system includes a 5G message CSP platform, a deep link generation system, a terminal and a message sending module. The terminal is used to display the 5G message application and the chatbot conversation page. The 5G message CSP platform is the above-mentioned third-party platform. The deep link generation system is deployed in the electronic device in the embodiment of the present application.

[0137] Specifically, the terminal sends a first access request to the deep link generation system in response to the user's operation on the deep link in the 5G message application.

[0138] The deep link generation system responds to the first access request by opening a jump page corresponding to the deep link. The jump page parses the deep link to obtain a deep link identifier, a user identifier, and terminal model information, and sends the deep link identifier, user identifier, and terminal model information to the deep link generation system.

[0139] The deep link generation system uses the expiration time pre-configured by the user to determine whether the deep link is invalid. During the validity period of the deep link, the terminal is verified using the user identity and terminal model information. The specific verification method refers to the relevant description in the above embodiment and will not be repeated here.

[0140] When the deep link generation system passes the terminal verification, a temporary identifier is generated, and a deep link and a temporary identifier with a Short Messaging Service (SMS) prefix are returned to the jump page.

[0141] The jump page opens the 5G messaging application based on the deep link of the sms prefix above, and synchronizes the temporary identifier to the 5G messaging application.

[0142] The 5G message application parses the deep link and uses the above temporary identifier to request the content of the chatbot conversation page from the deep link generation system.

[0143] The deep link generation system requests the 5G message CSP platform for the reply keywords and functions in the chatbot conversation page corresponding to the deep link.

[0144] The 5G message CSP platform directly sends reply keywords and functions to the terminal through the message sending module. After receiving the reply keywords and functions, the terminal generates a chat robot conversation page.

[0145] The following combination Figure 6 A method for generating a deep link provided by an embodiment of the present application is introduced, such as Figure 6 As shown, the method includes:

[0146] S601. The user selects a target chat robot to jump to on the unified link management platform.

[0147] The user is the chat robot operator, and the jump target chat robot is the conversation page selected by the user in the display page of the electronic device. After the user selects the jump target chat robot, the unified link management platform records the identifier of the jump target chat robot.

[0148] Specifically, the electronic device is deployed with the unified link management platform, the deep link generation system, and the deep link generation system transit H5 page in the embodiment of the present application.

[0149] S602: The user configures the input box message body on the unified link management platform.

[0150] Among them, the input box message body is the above-mentioned default display content.

[0151] S603. The unified link management platform queries the 5G message CSP platform for template keywords and floating buttons.

[0152] Among them, the template keyword list is the above-mentioned reply keyword list, and the floating button list is the above-mentioned function list.

[0153] Specifically, the unified link management platform sends the identifier of the jump target chat robot to the 5G message CSP platform, and the 5G message CSP platform searches for the corresponding reply keyword list and function list locally according to the identifier of the jump target chat robot.

[0154] S604. The 5G message CSP platform returns the template keyword list and floating button list to the unified link management platform.

[0155] S605. The user configures automatic content delivery and floating buttons on the unified link management platform.

[0156] Among them, the automatically sent content is the above-mentioned target reply keyword.

[0157] Specifically, the method for configuring the automatic content delivery and the floating button refers to the relevant description in the above embodiment, which will not be repeated here.

[0158] S606. The user configures the expiration time and other custom parameters on the unified link management platform.

[0159] S607: The unified link management platform submits configuration parameters to the deep link generation system to obtain the deep link.

[0160] The configuration parameter is the configuration information, and the deep link generation system generates a deep link based on the configuration information. Specifically, the method for generating a deep link is described in the above embodiment, and will not be repeated here.

[0161] S608: The deep link generation system generates a deep link and a corresponding QR code.

[0162] S609: The deep link generation system returns the deep link and QR code to the unified link management platform.

[0163] S610. The unified link management platform delivers deep links and QR codes to third-party applications.

[0164] S611. Open the third-party application directly or scan the code to open the deep link.

[0165] S612, third-party applications access the transit H5 page.

[0166] It should be noted that the transfer H5 page is the above-mentioned jump page. The transfer H5 page is deployed in the electronic device, and the transfer H5 page is not visible to the terminal user.

[0167] S613. The deep link transfer H5 page parses the link parameters and obtains the deep link based on the SMS protocol.

[0168] Specifically, the deep link transfer H5 page calls the web interface to parse the deep link and obtain the parameters in the deep link. The deep link transfer H5 page calls the mobile gateway number acquisition interface getPreMobile to obtain the user identity, that is, the user's mobile phone number, and calls the web interface navigator.userAgent to obtain the terminal model information.

[0169] S614. The deep link generation system queries whether the link is valid and whether the 5G message is online, and generates a deep link based on the SMS protocol.

[0170] The deep link generation system queries whether the deep link is valid according to the effective time configured by the user. The user's mobile phone number is verified according to the user identity library to determine whether the 5G message of the user's mobile phone number is online. When the 5G message is online, the terminal model information is used to obtain the corresponding guidance information, and the obtained guidance information and the transfer H5 page are sent to the terminal, so that the terminal displays the guidance information and the transfer H5 page on the display interface. At this time, the transfer H5 page is visible to the terminal user.

[0171] S615. The deep link generation system returns the result and the deep link to the deep link transfer H5 page.

[0172] The deep link is a deep link of the SMS protocol. Specifically, the format of the deep link can be expressed as:

[0173] sms:{chatbotId}@xxxx.com? appId={appId};

[0174] Among them, chatbotId is the session page identifier, and appId is the above temporary identifier.

[0175] The deep link generation system records the deep link transfer H5 page embedding information, generates a temporary identifier, and establishes a correspondence between the temporary identifier, the deep link identifier, and the user identity identifier. To ensure the source security of the deep link, the temporary identifier is deleted after the temporary identifier is used to obtain the session page content.

[0176] S616, deep link transfer H5 page to open the deep link.

[0177] Specifically, the transfer H5 page opens the 5G messaging application based on the deep link of the above SMS protocol.

[0178] S617. The 5G message terminal verifies the link source to the deep link generation system to obtain the chatbot content.

[0179] Among them, the chatbot content is the above-mentioned target reply keywords and target functions.

[0180] Specifically, verifying the source of the link means that the deep link generation system locally searches for a temporary identifier that is identical to the temporary identifier sent by the terminal.

[0181] The 5G message terminal sends a first access request to the deep link generation system, which includes the temporary identifier. After receiving the temporary identifier, the deep link generation system searches for the deep link identifier and the user identity identifier corresponding to the temporary identifier locally. Then, the deep link generation system obtains the target reply keyword and target function corresponding to the deep link identifier from the 5G message CSP platform.

[0182] S618. The deep link generation system returns the chatbot content to the 5G messaging terminal.

[0183] S619, 5G messaging terminal displays chatbot content.

[0184] By adopting the method provided in the embodiment of the present application, the unified link management platform adopts a decoupled approach, and the automatic reply content configured by the user and the information of the floating button are taken from the 5G message CSP platform. The enterprise or operator can pre-review the content in the reply keyword list and the floating button list to ensure the validity and security of the content displayed by the deep link.

[0185] Based on the same concept, the embodiment of the present application provides a device for generating a deep link, which is applied to an electronic device, such as Figure 7 As shown, the device comprises:

[0186] An acquisition module 701 is used to acquire a preset reply keyword list and a preset function list from a third-party platform;

[0187] A generating module 702, configured to generate configuration information in response to a user's operation on the preset reply keyword list and the preset function list, the configuration information including a target reply keyword identifier and a target function identifier selected by the user in the preset reply keyword list and the preset function list;

[0188] A calculation module 703, configured to calculate a deep link identifier corresponding to the configuration information using a universal unique identifier algorithm;

[0189] The generating module 702 is further configured to connect the deep link identifier to a link of a redirected page to generate a deep link.

[0190] In a possible implementation, the acquisition module 701 is specifically configured to:

[0191] In response to a session page selected by a user on a displayed page, obtaining a session page identifier corresponding to the session page;

[0192] Sending the conversation page identifier to the third-party platform, so that the third-party platform can obtain the preset reply keyword list and the preset function list according to the correspondence between the conversation page identifier and the reply keyword list and the function list;

[0193] Receive the preset reply keyword list and the preset function list returned by the third-party platform.

[0194] In a possible implementation manner, the configuration information further includes default display content, so that the terminal displays the default display content on the session page.

[0195] In a possible implementation, the device further includes:

[0196] The generating module 702 is further used to generate a graphic code link based on the deep link;

[0197] The sending module is used to send the graphic code link and the deep link to a target application, so that the terminal displays the graphic code link and the deep link in the target application.

[0198] In a possible implementation, the device further includes:

[0199] A receiving module, configured to receive a first access request for the deep link sent by a terminal;

[0200] An acquisition module 701 is used to acquire target reply keywords and target functions corresponding to the configuration information from the third-party platform;

[0201] The sending module is further used to send the target reply keyword and the target function to the terminal, so that the terminal displays the conversation page content based on the target reply keyword and the target function.

[0202] In a possible implementation, the first access request includes a temporary identifier; the acquisition module 701 is specifically configured to:

[0203] According to a preset correspondence between the temporary identifier and the deep link identifier, searching for the deep link identifier corresponding to the temporary identifier;

[0204] Searching locally for configuration information corresponding to the deep link identifier;

[0205] The target reply keyword and the target function are obtained from the third-party platform based on the configuration information.

[0206] In a possible implementation, the device further includes:

[0207] The acquisition module 701 is further used to acquire the user identity of the terminal;

[0208] A verification module, used to verify the terminal based on the user identity;

[0209] A generating module 702 is used to generate a temporary identifier corresponding to the user identity identifier and the deep link identifier to obtain the preset corresponding relationship when the verification passes;

[0210] The sending module is further used to send the temporary identifier to the terminal.

[0211] In a possible implementation, the verification module is specifically configured to:

[0212] Determining whether the user identity is stored in an identity database;

[0213] In a case where the user identity is stored in the identity database, it is determined that verification of the terminal is passed.

[0214] In a possible implementation, the device further includes:

[0215] The acquisition module 701 is further configured to acquire the terminal model information of the terminal when the identity database does not store the user identity;

[0216] A search module, used to search for guidance information corresponding to the terminal model information in a terminal model database, wherein the guidance information is used to guide the user to complete the network switching;

[0217] The sending module is further used to send the guidance information to the terminal, so that the terminal displays the guidance information to guide the user to complete the network switching.

[0218] In a possible implementation, the device further includes:

[0219] The deleting module is used to delete the preset corresponding relationship between the temporary identifier and the deep link identifier.

[0220] It should be noted that the device for generating a deep link is a device corresponding to the above-mentioned method for generating a deep link, and all implementation methods in the above-mentioned method embodiment are applicable to the embodiment of the device and can achieve the same technical effect.

[0221] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0222] The electronic device may include a processor 801 and a memory 802 storing computer program instructions.

[0223] Specifically, the processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0224] The memory 802 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 802 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 802 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 802 is a non-volatile solid-state memory.

[0225] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0226] The processor 801 implements any one of the file access methods in the above embodiments by reading and executing computer program instructions stored in the memory 802 .

[0227] In one example, the electronic device may further include a communication interface 803 and a bus 804. Figure 8 As shown, the processor 801, the memory 802, and the communication interface 803 are connected via a bus 804 and communicate with each other.

[0228] The communication interface 803 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0229] Bus 804 includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 804 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0230] In addition, in combination with the method for generating a deep link in the above embodiment, the embodiment of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the methods for generating a deep link in the above embodiment is implemented.

[0231] In combination with the method for generating a deep link in the above-mentioned embodiments, an embodiment of the present application may provide a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes any one of the methods for generating a deep link in the above-mentioned embodiments.

[0232] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0233] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0234] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0235] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0236] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for generating a deep link, characterized in that: Applied to electronic equipment, the method comprises: Obtain a list of preset response keywords and a list of preset functions from a third-party platform; In response to a user's operation on the preset reply keyword list and the preset function list, generating configuration information, the configuration information including a target reply keyword identifier and a target function identifier selected by the user in the preset reply keyword list and the preset function list; Calculate the deep link identifier corresponding to the configuration information using a universal unique identifier algorithm; The deep link identifier is connected to the link of the jump page to generate a deep link.

2. The method according to claim 1, characterized in that The obtaining of a preset reply keyword list and a preset function list from a third-party platform includes: In response to a session page selected by a user on a displayed page, obtaining a session page identifier corresponding to the session page; Sending the conversation page identifier to the third-party platform, so that the third-party platform can obtain the preset reply keyword list and the preset function list according to the correspondence between the conversation page identifier and the reply keyword list and the function list; Receive the preset reply keyword list and the preset function list returned by the third-party platform.

3. The method according to claim 1, characterized in that The configuration information also includes default display content, so that the terminal can display the default display content on the session page.

4. The method according to claim 1, characterized in that After generating a deep link by connecting the deep link identifier to a link of a redirected page, the method further includes: generating a graphic code link based on the deep link; The graphic code link and the deep link are sent to a target application, so that the terminal displays the graphic code link and the deep link in the target application.

5. The method according to claim 4, characterized in that After sending the graphic code link and the deep link to the target application, the method further includes: Receiving a first access request for the deep link sent by a terminal; Acquire the target reply keyword and target function corresponding to the configuration information from the third-party platform; The target reply keyword and the target function are sent to the terminal, so that the terminal displays the conversation page content based on the target reply keyword and the target function.

6. The method according to claim 5, characterized in that The first access request includes a temporary identifier; the step of obtaining a target reply keyword and a target function corresponding to the configuration information from the third-party platform includes: According to a preset correspondence between the temporary identifier and the deep link identifier, searching for the deep link identifier corresponding to the temporary identifier; Searching locally for configuration information corresponding to the deep link identifier; The target reply keyword and the target function are obtained from the third-party platform based on the configuration information.

7. The method according to claim 6, characterized in that Before the receiving terminal sends a first access request for the deep link, the method further includes: Obtaining a user identity of the terminal; Verifying the terminal based on the user identity; If the verification is successful, a temporary identifier corresponding to the user identity identifier and the deep link identifier is generated to obtain the preset corresponding relationship; The temporary identifier is sent to the terminal.

8. The method according to claim 7, characterized in that The verifying the terminal based on the user identity includes: Determining whether the user identity is stored in an identity database; In a case where the user identity is stored in the identity database, it is determined that verification of the terminal is passed.

9. The method according to claim 8, characterized in that After determining whether the user identity is stored in the identity database, the method further includes: If the user identity is not stored in the identity database, obtaining terminal model information of the terminal; Searching for guidance information corresponding to the terminal model information in a terminal model database, wherein the guidance information is used to guide the user to complete the network switching; The guidance information is sent to the terminal so that the terminal displays the guidance information to guide the user to complete the network switching.

10. The method according to claim 6, characterized in that After searching for the deep link identifier corresponding to the temporary identifier and determining the configuration information corresponding to the deep link identifier, the method further includes: The preset correspondence between the temporary identifier and the deep link identifier is deleted.