CN115065945B - Short message link generation method and device, electronic equipment and storage medium - Google Patents

Short message link generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115065945B
CN115065945B CN202210747595.1A CN202210747595A CN115065945B CN 115065945 B CN115065945 B CN 115065945B CN 202210747595 A CN202210747595 A CN 202210747595A CN 115065945 B CN115065945 B CN 115065945B
Authority
CN
China
Prior art keywords
short message
page
information
user
parameter
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.)
Active
Application number
CN202210747595.1A
Other languages
Chinese (zh)
Other versions
CN115065945A (en
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.)
Feiniaoyu Information Technology Co ltd
Original Assignee
Feiniaoyu Information Technology 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 Feiniaoyu Information Technology Co ltd filed Critical Feiniaoyu Information Technology Co ltd
Priority to CN202210747595.1A priority Critical patent/CN115065945B/en
Publication of CN115065945A publication Critical patent/CN115065945A/en
Application granted granted Critical
Publication of CN115065945B publication Critical patent/CN115065945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure provides a short message link generation method, a short message link generation device, electronic equipment and a storage medium. The method comprises the following steps: acquiring information of a skip page input by a user through a tool page, wherein the information of the skip page comprises one or more page parameters corresponding to the skip page; performing data segmentation operation on information of the skip page by using a pre-configured parameter segmentation method to obtain an array formed by a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters; based on the character strings in the array, an acquisition request is sent to a short message link interface of the target application by utilizing a pre-extraction packaged interface request method so as to acquire short message links corresponding to each jump page respectively, and the short message links are displayed in the tool page. The method and the device simplify the short message link generation operation, improve the short message link generation efficiency and improve the user experience.

Description

Short message link generation method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of data processing, and in particular relates to a method and device for generating a short message link, electronic equipment and a storage medium.
Background
In order to better provide services for users, the user can open the application program page by clicking the short message link by adding the active page or the program page to the short message of the user in a short message link mode, so that the jump of the application program page is realized, and the user can enter the corresponding page more quickly.
In the prior art, when a short message link for page skip of an application program is generated, a request for acquiring single data is required by an auxiliary tool, and the short message link can only be generated for information of a single skip page, and the short message link generation function provided by the existing product is usually realized by simulating the request through the tool, an operation interface is not provided, and a plurality of short message links are not supported to be acquired at one time. Therefore, the existing short message link generation method is complex in operation, is not convenient to use, has high operation requirements on users, reduces the efficiency of short message link generation, and reduces the use experience of the users.
Disclosure of Invention
In view of the above, the embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a storage medium for generating a short message link, so as to solve the problems in the prior art that the short message link generating method is complex to operate, is not convenient enough to use, has high operation requirements for users, reduces the efficiency of generating the short message link, and reduces the use experience of the users.
In a first aspect of the embodiments of the present disclosure, a method for generating a short message link is provided, including: acquiring information of a skip page input by a user through a tool page, wherein the information of the skip page comprises one or more page parameters corresponding to the skip page; performing data segmentation operation on information of the skip page by using a pre-configured parameter segmentation method to obtain an array formed by a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters; based on the character strings in the array, an acquisition request is sent to a short message link interface of the target application by utilizing a pre-extraction packaged interface request method so as to acquire short message links corresponding to each jump page respectively, and the short message links are displayed in the tool page.
In a second aspect of the embodiments of the present disclosure, a short message link generating device is provided, including: the acquisition module is configured to acquire information of a skip page input by a user through a tool page, wherein the information of the skip page comprises one or more page parameters corresponding to the skip page; the splitting module is configured to execute data splitting operation on information of the skip page by utilizing a pre-configured parameter splitting method to obtain an array formed by a plurality of character strings, wherein the parameter splitting method comprises preset separators corresponding to different parameters; the generation module is configured to send an acquisition request to a short message link interface of the target application by utilizing a pre-extraction packaged interface request method based on the character strings in the array so as to acquire the short message links corresponding to each jump page respectively, and display the short message links in the tool page.
In a third aspect of the disclosed embodiments, an electronic device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when the processor executes the program.
In a fourth aspect of the disclosed embodiments, a computer-readable storage medium is provided, which stores a computer program which, when executed by a processor, implements the steps of the above-described method.
The above-mentioned at least one technical scheme that the embodiment of the disclosure adopted can reach following beneficial effect:
the method comprises the steps that information of a skip page input by a user through a tool page is obtained, and the information of the skip page comprises one or more page parameters corresponding to the skip page; performing data segmentation operation on information of the skip page by using a pre-configured parameter segmentation method to obtain an array formed by a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters; based on the character strings in the array, an acquisition request is sent to a short message link interface of the target application by utilizing a pre-extraction packaged interface request method so as to acquire short message links corresponding to each jump page respectively, and the short message links are displayed in the tool page. According to the method for obtaining the short message link, provided by the request application, the extraction packaging is carried out, the information needing to be obtained does not need to be input repeatedly, repeated and complicated operation is avoided, convenience operation is provided through the operation interface, the input information is well compatible, the complexity of user operation is reduced, the efficiency of short message link generation is improved, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings that are required for the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a flow chart of a short message link generation method provided in an embodiment of the disclosure;
FIG. 2 is a schematic diagram of a client tool page provided by an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a short message link generating device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the disclosed embodiments. However, it will be apparent to one skilled in the art that the present disclosure may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present disclosure with unnecessary detail.
With the development of mobile Application technology, application (APP) on an intelligent terminal is increasing, and access pages are provided through the Application to meet the use requirement of a user, and provide more services for the user, so that the method is the most common user service mode. Applications typically contain a large number of pages, and attributes among different pages are not identical, so that in order to more quickly locate a page that a user needs to access, a corresponding short link needs to be generated according to the different pages.
In addition, in order to promote or send some service information to a user and push a message to the user according to service requirements, a page corresponding to the message is usually added to a short message in a short link mode and sent to a mobile terminal of the user, and the user can open and access the corresponding page by clicking a short link, and such a short link is also called a short message link or a page jump link. Therefore, under the scene that the page jump is needed, one of the important concerns is the generation of the short message link. The existing function of generating products by short message links is basically to simulate a request through a tool, and to request single data through an auxiliary tool, so that an operation interface is not provided, and a plurality of short message links are not supported to be acquired at one time.
In view of the problems existing in the prior art, the present disclosure provides a method for generating a short message link, where the method for acquiring the short message link provided by a request application is used for extracting and packaging, and the interface request method after extracting and packaging is integrated into a project, so that repeated input of information to be acquired is not required, repeated and complicated operations are avoided, an operation interface is provided, multiple input modes are supported, convenience of short message link generation operation is improved, good compatibility is made to input contents, multiple modes of interval input parameters are supported, and functionality of a short message link generation tool is stronger.
The following describes in detail a specific technical scheme of the short message link generation method provided by the embodiment of the disclosure with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flow chart of a short message link generation method according to an embodiment of the present disclosure. The short message link generation method of fig. 1 may be performed by a client. As shown in fig. 1, the method for generating a short message link specifically includes:
s101, acquiring information of a skip page input by a user through a tool page, wherein the information of the skip page comprises one or more page parameters corresponding to the skip page;
s102, performing data segmentation operation on information of a skip page by using a pre-configured parameter segmentation method to obtain an array formed by a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters;
s103, based on the character strings in the array, sending an acquisition request to a short message link interface of the target application by using a pre-extraction packaged interface request method so as to acquire short message links corresponding to each jump page respectively, and displaying the short message links in the tool page.
Specifically, the short links in the embodiments of the present disclosure may be URL (Uniform Resource Locator ) websites, and links with longer character strings in URL website links are called long links.
In some embodiments, before obtaining information of the jump page entered by the user through the tool page, the method further comprises: in a preset front-end interface, a tool page is constructed by using a hypertext markup language, and the tool page at least comprises one text input tag, wherein the text input tag comprises element attributes and element default values corresponding to the tag.
Specifically, the short message link generation method of the embodiment of the disclosure is completed by a development tool based on a front-end interface by a user, and by using an HTML construction tool page in the front-end interface, the HTML construction tool page provides an Input tag function, the Input tag supports Input operation of the user, and the Input tag has corresponding element attributes and element default values.
Further, the Input tag of the embodiment of the disclosure is also referred to as a text Input tag, the element attribute of the Input tag refers to information such as the name of the Input element, the width, the height, the maximum number of characters and the like of the text Input box, and the element default value of the Input tag refers to an initial value in the text Input box, for example, the default value may be null, or a value Input last time is taken as the initial value.
Further, HTML is known as hypertext markup language, which is a markup language. The system comprises a series of labels, and document formats on a network can be unified through the labels, so that scattered Internet resources are connected into a logic whole. HTML text is descriptive text composed of HTML commands that can specify words, graphics, animations, sounds, tables, links, etc.
In some embodiments, obtaining information of a jump page entered by a user through a tool page includes: and responding to the operation of the user on the text input label in the tool page, determining a change value of the text input label after the operation of the user based on the element default value of the text input label, and determining the information of the skip page input by the user according to the change value.
Specifically, when the user inputs information by using the tool page of the front-end interface, firstly clicking a text Input box corresponding to the text Input tag, then inputting or pasting information of the skip page (such as an original link of the skip page) into the text Input box, and obtaining an Input value of the user by using an onChange method of the Input tag by using the short message link generating tool, wherein the Input value is data of a character string type in general.
Further, when the value in one Input tag changes, the value can be captured through an onChange event bound by the Input tag, the onChange event can capture the change of the attribute value in time, and in practical application, the onChange event is activated only when the attribute value of the Input tag changes and a user performs certain operations. For example, the triggering manner of the onChange event may include the following steps: the first step, when Input captures a focus, the system stores the current value; and secondly, judging whether the current value is different from the previously stored value after the Input focus leaves, and if so, triggering an onChange event.
Thus, an onChange event may be understood as when there is no content in the text box represented by the Input tag, and after the user enters the content in the text box, the page text box changes from no content to content, i.e., the value of the Input tag changes, at which point the onChange event may be triggered.
In some embodiments, the information of the jump page includes information of a character string type, and performing a data splitting operation on the information of the jump page using a pre-configured parameter splitting method includes: the method comprises the steps of obtaining an original character string input by a user based on a text input tag, splitting the original character string by using a separator corresponding to a preset parameter in a parameter splitting method and separators between short message links to obtain an array containing a plurality of split character strings, wherein the parameter splitting method also comprises the separation times corresponding to each parameter.
Specifically, after the Input value (i.e., the original character string) is obtained by using the Input onChange method, the original character string is subjected to data segmentation by using a parameter segmentation split method. The split method is to split the original string into a list (i.e., an array containing the split string), and each character in the list can be considered an element in the list.
Further, each parameter in the original string is separated by a separator, so that the split method generally needs to specify the separator to be used when splitting the string, for example, in practical application, each short-link separator is a line-feed, and the separators of the path parameter and the query parameter of the short link support separators such as space and comma. In addition to setting the separator, the number of times of separation may be defined when separation is performed.
In some embodiments, the parameter segmentation method adopts a split method, and splits an original character string by using a separator corresponding to a preset parameter in the parameter segmentation method and a separator between short message links, including: and reading each character in the original character string in turn, and taking the character string formed by the characters between the front separator and the rear separator as a segmented character string when the separator is read until all the characters in the original character string are read in turn, and acquiring all the segmented character strings, wherein the adjacent short message links are distinguished by adopting preset separators.
Specifically, the split method sequentially reads each character in the original character string, when encountering a separator, then segments the original character string according to the separator, for example, the characters between the front separator and the rear separator are combined into a segmented character string, and continues to read the next character until all characters in the original character string are sequentially read once, and then the all segmented character strings are determined, that is, until the next character is no longer a separator.
In some embodiments, an obtaining request is sent to a short message link interface of a target application by using an interface request method of pre-extracting encapsulation, so as to obtain a short message link corresponding to each skip page, including: and extracting and packaging the method for acquiring the short message link provided by the request target application in advance to obtain an interface request method, wherein the interface request method is used for sending an acquisition request to an API interface provided by the target application according to the segmented character string corresponding to the short message link and receiving all the short message links corresponding to the segmented character string returned by the API interface.
Specifically, taking the WeChat as a target application for illustration, extracting and packaging a method for acquiring the short message link provided by the WeChat, providing an API interface by the packaged interface request method to acquire all the short message links, and after all the segmented character strings are obtained, sending an acquisition request to the API interface provided by the WeChat based on the segmented character strings so as to acquire the value returned by the WeChat, namely all the short message links.
Further, in the process of acquiring the short message link of the WeChat, an appearance mode is used, a method for acquiring the short message link provided by the WeChat is subjected to extraction packaging, only one acquisition API is provided, the acquisition API is requested after data is input through an interface, an acquired value is displayed back to the interface of the client, and the value is copied to a local clipboard so as to be conveniently copied to other places such as an Excel form.
In some embodiments, after the short message link is displayed in the tool page, the method further includes: and in response to the selection operation of the user on the short message link, copying the short message link selected by the user into the local cutting board so as to generate a short message according to the short message link in the local cutting board or storing the short message link in the local cutting board into a table.
Specifically, according to the embodiment of the disclosure, the short message links returned by the API can be displayed in the tool page, and the cutting operation button is arranged in the tool page, so that a user can copy the short message links to the local cutting board conveniently. As shown in fig. 2, fig. 2 is a schematic diagram of a client tool page provided by an embodiment of the present disclosure. And displaying the generated short message link in a client interface, wherein the user can conveniently input and operate by using the designed UI interface, and the acquired value is displayed, and the client interface provides a function of determining buttons and copying by one key.
Further, the embodiment of the disclosure provides an operation interface, supports various input modes, processes the inside of the operation interface, and facilitates input operation; the method has the advantages that the request WeChat interface is packaged into an internal method, information (such as appId) of an applet to be acquired is not required to be input repeatedly, and repeated and complicated operations are realized internally; the method supports the one-time acquisition of a plurality of short message links, copies the obtained result into a local cutting board, can directly copy the result, and saves the operation time.
According to the technical scheme provided by the embodiment of the disclosure, by acquiring the information of the skip page input by the user through the tool page, the information of the skip page comprises one or more page parameters corresponding to the skip page; performing data segmentation operation on information of the skip page by using a pre-configured parameter segmentation method to obtain an array formed by a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters; based on the character strings in the array, an acquisition request is sent to a short message link interface of the target application by utilizing a pre-extraction packaged interface request method so as to acquire short message links corresponding to each jump page respectively, and the short message links are displayed in the tool page. According to the method for obtaining the short message link, provided by the request application, the extraction packaging is carried out, the information needing to be obtained does not need to be input repeatedly, repeated and complicated operation is avoided, convenience operation is provided through the operation interface, the input information is well compatible, the complexity of user operation is reduced, the efficiency of short message link generation is improved, and the use experience of a user is improved.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of the present disclosure.
Fig. 3 is a schematic structural diagram of a short message link generating device according to an embodiment of the present disclosure. As shown in fig. 3, the short message link generating device includes:
the acquisition module 301 is configured to acquire information of a skip page input by a user through a tool page, where the information of the skip page includes one or more page parameters corresponding to the skip page;
the dividing module 302 is configured to perform data dividing operation on the information of the skip page by using a pre-configured parameter dividing method to obtain an array composed of a plurality of character strings, wherein the parameter dividing method comprises preset separators corresponding to different parameters;
the generating module 303 is configured to send an acquisition request to the short message link interface of the target application by using a pre-extraction packaged interface request method based on the character strings in the array, so as to acquire the short message links corresponding to each skip page respectively, and display the short message links in the tool page.
In some embodiments, the obtaining module 301 of fig. 3 constructs, in a predetermined front-end interface, a tool page using a hypertext markup language before obtaining information of a skip page input by a user through the tool page, where the tool page includes at least one text input tag, and the text input tag includes an element attribute and an element default value corresponding to the tag.
In some embodiments, the acquisition module 301 of fig. 3 is responsive to a user operation of a text input tab within a tool page, determines a change value of the text input tab after the user operation based on an element default value of the text input tab, and determines information of a skip page input by the user according to the change value.
In some embodiments, the segmentation module 302 of fig. 3 obtains an original string input by a user based on a text input tag, and splits the original string by using a separator corresponding to a preset parameter in a parameter segmentation method and a separator between short message links to obtain an array including a plurality of segmented strings, where the parameter segmentation method further includes a number of separations corresponding to each parameter.
In some embodiments, the parameter segmentation method adopts a split method, and the segmentation module 302 of fig. 3 sequentially reads each character in the original character string, and when a separator is read, uses the character string formed by the characters between the front separator and the rear separator as a segmented character string until all the characters in the original character string are sequentially read, and obtains all the segmented character strings, wherein the adjacent short message links are distinguished by adopting a preset separator.
In some embodiments, the generating module 303 of fig. 3 performs extraction packaging on a method for obtaining a short message link provided by a request target application in advance to obtain an interface request method, where the interface request method is used for sending an obtaining request to an API interface provided by the target application according to a segmented character string corresponding to the short message link, and receiving all short message links corresponding to the segmented character string returned by the API interface.
In some embodiments, the generating module 303 of fig. 3 copies the short message link selected by the user to the local clipboard in response to the user selecting operation of the short message link after displaying the short message link in the tool page, so as to generate a short message according to the short message link in the local clipboard, or store the short message link in the local clipboard in the table.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not constitute any limitation on the implementation process of the embodiments of the disclosure.
Fig. 4 is a schematic structural diagram of an electronic device 4 provided in an embodiment of the present disclosure. As shown in fig. 4, the electronic apparatus 4 of this embodiment includes: a processor 401, a memory 402 and a computer program 403 stored in the memory 402 and executable on the processor 401. The steps of the various method embodiments described above are implemented by processor 401 when executing computer program 403. Alternatively, the processor 401, when executing the computer program 403, performs the functions of the modules/units in the above-described apparatus embodiments.
Illustratively, the computer program 403 may be partitioned into one or more modules/units, which are stored in the memory 402 and executed by the processor 401 to complete the present disclosure. One or more of the modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 403 in the electronic device 4.
The electronic device 4 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the electronic device 4 and is not meant to be limiting of the electronic device 4, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device may also include an input-output device, a network access device, a bus, etc.
The processor 401 may be a central processing unit (Central Processing Unit, CPU) or other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or a memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the electronic device 4. Further, the memory 402 may also include both internal storage units and external storage devices of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device. The memory 402 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus/computer device and method may be implemented in other manners. For example, the apparatus/computer device embodiments described above are merely illustrative, e.g., the division of modules or elements is merely a logical functional division, and there may be additional divisions of actual implementations, multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present disclosure may implement all or part of the flow of the method of the above-described embodiments, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of the method embodiments described above. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The above embodiments are merely for illustrating the technical solution of the present disclosure, and are not limiting thereof; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included in the scope of the present disclosure.

Claims (6)

1. The short message link generation method is characterized by comprising the following steps:
acquiring information of a skip page input by a user through a tool page, wherein the information of the skip page comprises one or more page parameters corresponding to the skip page;
performing data segmentation operation on the information of the skip page by using a pre-configured parameter segmentation method to obtain an array formed by a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters;
based on the character strings in the array, sending an acquisition request to a short message link interface of a target application by using a pre-extraction packaged interface request method so as to acquire short message links corresponding to each jump page respectively, and displaying the short message links in the tool page;
before the information of the skip page input by the user through the tool page is acquired, the method further comprises the following steps:
in a preset front-end interface, constructing the tool page by using a hypertext markup language, wherein the tool page at least comprises a text input tag, and the text input tag comprises element attributes and element default values corresponding to the tag;
the obtaining the information of the jump page input by the user through the tool page comprises the following steps:
responding to the operation of a user on a text input label in the tool page, determining a change value of the text input label after the operation of the user based on an element default value of the text input label, and determining information of the skip page input by the user according to the change value;
the information of the jump page comprises information of a character string type, and the data segmentation operation is performed on the information of the jump page by using a pre-configured parameter segmentation method, and the method comprises the following steps:
acquiring an original character string input by a user based on the text input tag, and splitting the original character string by utilizing a separator corresponding to a preset parameter in the parameter splitting method and separators between short message links to obtain an array containing a plurality of split character strings, wherein the parameter splitting method also comprises the separation times corresponding to each parameter;
the method for requesting the interface by utilizing the pre-extraction package sends an acquisition request to a short message link interface of a target application to acquire short message links corresponding to each jump page respectively, and comprises the following steps:
and extracting and packaging a method for acquiring the short message link provided by the target application in advance to obtain the interface request method, wherein the interface request method is used for sending an acquisition request to an API interface provided by the target application according to the segmented character string corresponding to the short message link and receiving all short message links corresponding to the segmented character string returned by the API interface.
2. The method of claim 1, wherein the parameter segmentation method adopts a split method, and the splitting the original string by using a separator corresponding to a preset parameter in the parameter segmentation method and a separator between short message links comprises:
and reading each character in the original character string in turn, and taking the character string formed by the characters between the front separator and the rear separator as a segmented character string when the separator is read, until all the characters in the original character string are read in turn, obtaining all the segmented character strings, wherein the adjacent short message links are distinguished by adopting preset separators.
3. The method of claim 1, wherein after the short message link is displayed in the tool page, the method further comprises:
and in response to the selection operation of the user on the short message link, copying the short message link selected by the user into a local cutting board so as to generate a short message according to the short message link in the local cutting board or store the short message link in the local cutting board into a table.
4. The utility model provides a SMS link generation device which characterized in that includes:
the acquisition module is configured to acquire information of a skip page input by a user through a tool page, wherein the information of the skip page comprises one or more page parameters corresponding to the skip page;
the segmentation module is configured to execute data segmentation operation on the information of the jump page by utilizing a pre-configured parameter segmentation method to obtain an array formed by a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters;
the generation module is configured to send an acquisition request to a short message link interface of a target application by utilizing a pre-extraction packaged interface request method based on the character strings in the array so as to acquire short message links corresponding to each jump page respectively, and display the short message links in the tool page;
the acquisition module is further used for constructing a tool page by using a hypertext markup language in a preset front-end interface before acquiring information of a skip page input by a user through the tool page, wherein the tool page at least comprises one text input tag, and the text input tag comprises element attributes and element default values corresponding to the tag;
the acquisition module is also used for responding to the operation of a user on the text input label in the tool page, determining the change value of the text input label after the operation of the user based on the element default value of the text input label, and determining the information of the skip page input by the user according to the change value;
the segmentation module is further used for obtaining an original character string input by a user based on the text input tag, splitting the original character string by utilizing a separator corresponding to a preset parameter in the parameter segmentation method and separators between short message links to obtain an array containing a plurality of segmented character strings, wherein the parameter segmentation method further comprises the separation times corresponding to each parameter;
the generation module is further used for carrying out extraction packaging on a method for acquiring the short message link provided by the request target application in advance to obtain an interface request method, wherein the interface request method is used for sending an acquisition request to an API interface provided by the target application according to the segmented character string corresponding to the short message link and receiving all short message links corresponding to the segmented character string returned by the API interface.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 3 when the computer program is executed by the processor.
6. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1 to 3.
CN202210747595.1A 2022-06-28 2022-06-28 Short message link generation method and device, electronic equipment and storage medium Active CN115065945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210747595.1A CN115065945B (en) 2022-06-28 2022-06-28 Short message link generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210747595.1A CN115065945B (en) 2022-06-28 2022-06-28 Short message link generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115065945A CN115065945A (en) 2022-09-16
CN115065945B true CN115065945B (en) 2023-08-29

Family

ID=83204094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210747595.1A Active CN115065945B (en) 2022-06-28 2022-06-28 Short message link generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115065945B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117376852B (en) * 2023-10-09 2024-05-14 广州市玄武无线科技股份有限公司 Intelligent short message generation and processing method and device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132800A (en) * 2017-06-29 2018-06-08 广东网金云计算有限公司 A kind of method, apparatus and user terminal based on self-defined URL control page jumps
CN110049456A (en) * 2019-03-26 2019-07-23 深圳市物联天下技术有限公司 A kind of method, device and mobile terminal showing Rich Media in mobile terminal
CN110221872A (en) * 2019-04-22 2019-09-10 五八有限公司 Method for page jump, device, electronic equipment and storage medium
CN112380464A (en) * 2020-11-10 2021-02-19 中国平安人寿保险股份有限公司 Short link generation method and related equipment
CN113641940A (en) * 2021-10-13 2021-11-12 北京新氧科技有限公司 Page jump method, device, system, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601812A (en) * 2015-01-05 2015-05-06 小米科技有限责任公司 Message content showing method, message content showing determination method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132800A (en) * 2017-06-29 2018-06-08 广东网金云计算有限公司 A kind of method, apparatus and user terminal based on self-defined URL control page jumps
CN110049456A (en) * 2019-03-26 2019-07-23 深圳市物联天下技术有限公司 A kind of method, device and mobile terminal showing Rich Media in mobile terminal
CN110221872A (en) * 2019-04-22 2019-09-10 五八有限公司 Method for page jump, device, electronic equipment and storage medium
CN112380464A (en) * 2020-11-10 2021-02-19 中国平安人寿保险股份有限公司 Short link generation method and related equipment
CN113641940A (en) * 2021-10-13 2021-11-12 北京新氧科技有限公司 Page jump method, device, system, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭旭 ; .短网址:只有前世 没有今生.计算机与网络.2018,(第08期),全文. *

Also Published As

Publication number Publication date
CN115065945A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN111045655B (en) Page rendering method and device, rendering server and storage medium
EP3518124A1 (en) Webpage rendering method and related device
CN109614569B (en) Page rendering method and device and intelligent terminal
CN106897251B (en) Rich text display method and device
CN108038212B (en) Data interaction method, device, system, equipment and storage medium
CN113382083B (en) Webpage screenshot method and device
CN110727429B (en) Front-end page generation method, device and equipment
CN115065945B (en) Short message link generation method and device, electronic equipment and storage medium
CN105550179A (en) Webpage collection method and browser plug-in
CN110941779B (en) Page loading method and device, storage medium and electronic equipment
CN110968314A (en) Page generation method and device
CN108062321B (en) Page turning method and device based on paging
CN110708423A (en) Message content display method and device and storage medium
CN117454817B (en) Engineering processing method and device based on FPGA, electronic equipment and storage medium
CN109828759A (en) Code compiling method, device, computer installation and storage medium
CN113407254A (en) Form generation method and device, electronic equipment and storage medium
CN115587075B (en) Layout file processing method and device, terminal equipment and storage medium
CN112905178A (en) Method, device, equipment and medium for generating business function page
JP2019101889A (en) Test execution device and program
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN115904167A (en) Processing method and device of webpage icon, storage medium and electronic equipment
CN114741144A (en) Web-side complex table display method, device and system
CN111241788A (en) Document conversion method, device, equipment and storage medium based on linear model
CN116402038B (en) Report generation method, report generation device, electronic equipment and storage medium
CN112804347B (en) Multi-source information publishing method, terminal equipment and 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
GR01 Patent grant
GR01 Patent grant