CN115065945A - 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
CN115065945A
CN115065945A CN202210747595.1A CN202210747595A CN115065945A CN 115065945 A CN115065945 A CN 115065945A CN 202210747595 A CN202210747595 A CN 202210747595A CN 115065945 A CN115065945 A CN 115065945A
Authority
CN
China
Prior art keywords
short message
page
message link
information
user
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.)
Granted
Application number
CN202210747595.1A
Other languages
Chinese (zh)
Other versions
CN115065945B (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

Images

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

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 the information of a jump page input by a user through a tool page, wherein the information of the jump page comprises one or more page parameters corresponding to the jump page; performing data segmentation operation on the information of the jump page by using a pre-configured parameter segmentation method to obtain an array consisting of a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters; and 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. The method and the device simplify short message link generation operation, improve short message link generation efficiency and improve user experience.

Description

Short message link generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and an apparatus for generating a short message link, an electronic device, and a storage medium.
Background
In order to better provide service for a user, an active page or a program page is added to a short message of the user in a short message link mode, and the user can open an application program page by clicking the short message link, 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 application page jump is generated, a request for acquiring single data through an auxiliary tool is required, and the short message link can be generated only aiming at information of a single jump page. Therefore, the existing short message link generation method is complex in operation, not convenient and fast to use, high in operation requirement on a user, low in short message link generation efficiency and low in use experience of the user.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a short message link generating method, an apparatus, an electronic device, and a storage medium, so as to solve the problems that the short message link generating method in the prior art is complex in operation, not convenient and fast to use, has a high operation requirement on a user, reduces the efficiency of generating a short message link, and reduces the use experience of the user.
In a first aspect of the embodiments of the present disclosure, a method for generating a short message link is provided, including: acquiring the information of a jump page input by a user through a tool page, wherein the information of the jump page comprises one or more page parameters corresponding to the jump page; performing data segmentation operation on the information of the jump page by using a pre-configured parameter segmentation method to obtain an array consisting of a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters; and 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.
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 jump page input by a user through a tool page, wherein the information of the jump page comprises page parameters corresponding to one or more jump pages; the dividing module is configured to perform data dividing operation on the information of the jump page by utilizing a pre-configured parameter dividing method to obtain an array consisting of a plurality of character strings, wherein the parameter dividing method comprises preset separators corresponding to different parameters; and the generating module is configured to send an acquisition request to a 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 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 embodiments of the present disclosure, an electronic device is provided, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method when executing the program.
In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored, which when executed by a processor implements the steps of the above-mentioned method.
The embodiment of the present disclosure adopts at least one technical scheme that can achieve the following beneficial effects:
acquiring the information of a jump page input by a user through a tool page, wherein the information of the jump page comprises one or more page parameters corresponding to the jump page; performing data segmentation operation on the information of the jump page by using a pre-configured parameter segmentation method to obtain an array consisting of a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters; and 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. According to the method for obtaining the short message link, the short message link is extracted and packaged without repeatedly inputting the information to be obtained, repeated and tedious operations are avoided, convenience operations are provided through the operation interface, the input information is well compatible, the complexity of user operation is reduced, the efficiency of generating the short message link is improved, and the use experience of a user is improved.
Drawings
To more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without inventive efforts.
Fig. 1 is a schematic flow chart of a short message link generation method provided in the embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a client side tools 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 provided in 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 structures, techniques, etc. in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, 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, more and more Applications (APPs) are provided on an intelligent terminal, and providing access pages through the applications to meet the use requirements of users and provide more services for the users becomes the most common user service mode. The application program usually contains a large number of pages, the attributes of different pages are not completely the same, and corresponding short links need to be generated according to different pages in order to more quickly locate the page that a user needs to access.
In addition, in order to promote or send some service information to the user and push the message to the user according to the service requirement, a page corresponding to the message is usually added to the short message in a short link manner and sent to the mobile terminal of the user, and the user can open and access the corresponding page by clicking a short link, wherein such a short link is also called a short message link or a page skip link. Therefore, in a scene needing page jump, short message link generation focuses on one of the problems. The existing short message link generation product has the functions of simulating a request through a tool and requesting single data through an auxiliary tool, does not provide an operation interface, and does not support the acquisition of a plurality of short message links at one time.
In view of the problems in the prior art, the short message link generation method provided by the invention has the advantages that the short message link acquisition method provided by the request application is extracted and packaged, and the extracted and packaged interface request method is integrated into the project, so that the information required to be acquired does not need to be input repeatedly, repeated and complicated operations are avoided, an operation interface is provided, various input modes are supported, the convenience of short message link generation operation is improved, the input contents are well compatible, various modes of inputting parameters at intervals are supported, and the short message link generation tool is stronger in functionality.
The following describes in detail a specific technical solution of the short message link generation method provided in the embodiments of the present disclosure with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a short message link generation method provided in the embodiment of the present disclosure. The short message link generation method of fig. 1 may be executed by a client. As shown in fig. 1, the method for generating a short message link may specifically include:
s101, acquiring information of a jump page input by a user through a tool page, wherein the information of the jump page comprises page parameters corresponding to one or more jump pages;
s102, performing data segmentation operation on the information of the jump page by using a pre-configured parameter segmentation method to obtain an array consisting of 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 link in the embodiment of the present disclosure may adopt URL (Uniform Resource Locator) website connection, and a link with a longer character string in the URL website link is referred to as a long link, and according to information of the jump page input by the user, for example, an original link of the jump page input by the user, the original link of the jump page may be a long link, the character string corresponding to the long link is subjected to data segmentation, and based on the character string after the data segmentation, all short message links corresponding to the segmented character string are obtained through an API interface provided by the target application by using a pull-out encapsulated interface request method.
In some embodiments, before obtaining information of a jump page input by a user through a 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 label, wherein the text input label comprises an element attribute and an element default value corresponding to the label.
Specifically, the short message link generation method of the embodiment of the present disclosure is completed by a user based on a development tool of a front-end interface, and an HTML-built tool page is used in the front-end interface, where the HTML-built tool page provides an Input tag function, the Input tag supports an Input operation of the user, and the Input tag has a corresponding element attribute and an element default value.
Further, the Input tag of the embodiment of the present 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, and the maximum number of characters 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 used as the initial value.
Further, HTML, known as hypertext markup language, is a markup language. The system comprises a series of labels, and the document format on the network can be unified through the labels, so that the scattered Internet resources are connected into a logic whole. HTML text is descriptive text consisting of HTML commands that can specify words, graphics, animations, sounds, tables, links, etc.
In some embodiments, obtaining information of a jump page input by a user through a tool page includes: and in response 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 user operation based on the element default value of the text input label, and determining the information of the jump page input by the user according to the change value.
Specifically, when a user inputs information by using a tool page of a front-end interface, the user firstly clicks a text Input box corresponding to a text Input tag, then information of a jump page (such as an original link of the jump page) is Input or pasted into the text Input box, and a short message link generation tool acquires an Input value of the user by using an onChange method of an Input tag, wherein the Input value is data of a character string type generally.
Further, when a value in an Input tag changes, the change can be captured through an onChange event bound to the Input tag, and the onChange event can capture the change of the attribute value in time. For example, the triggering manner of onChange event may include the following steps: step one, when an Input captures a focus, a system stores a current value; and step two, after the Input focus leaves, judging whether the current value is different from the previously stored value or not, and if so, triggering an onChange event.
Therefore, the onChange event can be understood as that when the text box represented by the Input tag does not have any content inside, after the user inputs the content in the text box, the page text box changes from no content to content, that is, the value of the Input tag changes, and then the onChange event can be triggered.
In some embodiments, the information of the jumped page includes information of a character string type, and the data division operation is performed on the information of the jumped page by using a pre-configured parameter division method, including: the method comprises the steps of obtaining an original character string input by a user based on a text input label, splitting the original character string by using separators corresponding to preset parameters in a parameter splitting method and separators between short message links to obtain an array comprising a plurality of split character strings, wherein the parameter splitting method further comprises the number of times of splitting corresponding to each parameter.
Specifically, after an Input value (i.e., an original character string) is acquired by using the onChange method of Input, data segmentation is performed on the original character string by using a parameter segmentation split method. The split method is implemented by splitting the original string into a list (i.e. an array containing the split strings), and each character in the list can be considered as an element in the list.
Further, each parameter in the original character string is separated by a separator, and the split method usually needs to specify the separator to be used when the character string is split, for example, in practical applications, each short-linked separator is a line feed separator, and the separators of the short-linked path parameter and the query parameter support separators such as spaces and commas. In addition to setting the delimiters, the number of delimiters may be limited when delimitation is performed.
In some embodiments, the splitting of the original character string by using a split method and separators corresponding to preset parameters in the parameter splitting method and separators between short message links includes: reading each character in the original character string in sequence, when the separators are read, taking a character string formed by the characters between two previous separators and two next separators as a divided character string, and obtaining all the divided character strings after all the characters in the original character string are read in sequence, 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, and when a separator is encountered, the original character string is divided according to the separator, for example, characters between two previous separators and two next separators are combined into a divided character string, and the next character is continuously read until all characters in the original character string are sequentially read once, and then all the divided character strings are determined, that is, the next character needs to be read all the time and is no longer a separator.
In some embodiments, sending an acquisition request to a short message link interface of a target application by using a pre-extraction packaged interface request method to acquire a short message link corresponding to each skipped page, includes: the method for acquiring the short message links provided by the request target application is extracted and packaged in advance to obtain an interface request method, and the interface request method is used for sending an acquisition request to an API (application programming interface) provided by the target application according to the segmented character strings corresponding to the short message links and receiving all short message links corresponding to the segmented character strings returned by the API.
Specifically, the wechat is taken as a target application for illustration, a method for acquiring the short message link provided by the request wechat is extracted and packaged, the packaged interface request method provides an API interface to acquire all short message links, and after all segmented character strings are obtained, an acquisition request is sent to the API interface provided by the wechat based on the segmented character strings, so that a value returned by the wechat, namely all short message links, is acquired.
Further, in the process of processing short message link of the WeChat, the appearance mode is used, the method for obtaining the short message link provided by the WeChat is extracted and packaged, only one obtaining API is provided, the obtaining API is requested after data is input through the interface, the obtained value is displayed back to the interface of the client, and the value is copied to the local clipboard, so that the value can 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 comprises: and responding to the selection operation of the user on the short message link, copying the short message link selected by the user into the local clipboard so as to generate the short message according to the short message link in the local clipboard, or storing the short message link in the local clipboard into a table.
Specifically, the short message link 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 link to the local cutting board conveniently. As shown in fig. 2, fig. 2 is a schematic diagram of a client tool page provided by the embodiment of the present disclosure. The generated short message link is displayed in a client interface, a user can conveniently input and operate the short message link by using a designed UI (user interface), the obtained value is displayed, and the client interface provides a determined button and a one-key copying function.
Furthermore, the embodiment of the disclosure provides an operation interface, supports multiple input forms, processes the inside, and facilitates input operation; the method encapsulates the request WeChat interface into an internal method, so that the information (such as appId and the like) of the small program required to be acquired is not required to be repeatedly input, and repeated and complicated operations are all internally realized; the method supports the acquisition of a plurality of short message links at one time, and copies the obtained result to the local clipboard, so that the obtained result can be directly copied, thereby saving the operation time.
According to the technical scheme provided by the embodiment of the disclosure, the information of the jump page input by a user through a tool page is obtained, and the information of the jump page comprises page parameters corresponding to one or more jump pages; performing data segmentation operation on the information of the jump page by using a pre-configured parameter segmentation method to obtain an array consisting of a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters; and 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. According to the method for obtaining the short message link, the short message link is extracted and packaged without repeatedly inputting the information to be obtained, repeated and tedious operations are avoided, convenience operations are provided through the operation interface, the input information is well compatible, the complexity of user operation is reduced, the efficiency of generating the short message link is improved, and the use experience of a user is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 3 is a schematic structural diagram of a short message link generation apparatus according to an embodiment of the present disclosure. As shown in fig. 3, the short message link generating device includes:
the obtaining module 301 is configured to obtain information of a jump page input by a user through a tool page, where the information of the jump page includes page parameters corresponding to one or more jump pages;
a dividing module 302 configured to perform data dividing operation on the information of the jump page by using a preconfigured parameter dividing method to obtain an array composed of a plurality of character strings, wherein the parameter dividing method includes separators corresponding to preset different parameters;
the generating module 303 is configured to send an acquisition request to a short message link interface of the target application by using a pre-extraction-encapsulation interface request method based on the character strings in the array, so as to acquire a short message link corresponding to each skipped page, and display the short message links in the tool page.
In some embodiments, the obtaining module 301 in fig. 3 constructs a tool page in a predetermined front-end interface using a hypertext markup language before obtaining information of a jump 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 obtaining module 301 in fig. 3 determines a change value of the text input tag after the user operation based on an element default value of the text input tag in response to the user operation on the text input tag in the tool page, and determines information of the jump page input by the user according to the change value.
In some embodiments, the segmentation module 302 in fig. 3 obtains an original character string input by a user based on a text input tag, and splits the original character string by using separators corresponding to preset parameters in a parameter segmentation method and separators between short message links to obtain an array including a plurality of segmented character strings, where the parameter segmentation method further includes the number of times of separation corresponding to each parameter.
In some embodiments, the parameter segmentation method adopts a split method, the segmentation module 302 in fig. 3 sequentially reads each character in the original character string, and when a delimiter is read, a character string formed by characters between two previous and next delimiters is used as a segmented character string, and all segmented character strings are obtained until all characters in the original character string are sequentially read, where adjacent short message links are distinguished by using a preset delimiter.
In some embodiments, the generating module 303 in fig. 3 extracts and encapsulates the method for acquiring the short message link provided by the request target application in advance to obtain an interface request method, where the interface request method is used to send 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 receive all short message links corresponding to the segmented character string returned by the API interface.
In some embodiments, after displaying the short message link in the tool page, the generating module 303 in fig. 3 responds to a selection operation of the user on the short message link, and copies the short message link selected by the user into the local clipboard, so as to generate a short message according to the short message link in the local clipboard, or stores the short message link in the local clipboard into the table.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
Fig. 4 is a schematic structural diagram of the electronic device 4 provided in the 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 in the various method embodiments described above are implemented when the processor 401 executes the computer program 403. Alternatively, the processor 401 implements the functions of the respective modules/units in the above-described respective apparatus embodiments when executing the computer program 403.
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 accomplish the present disclosure. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 403 in the electronic device 4.
The electronic device 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other electronic devices. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that fig. 4 is merely an example of the electronic device 4, and does not constitute a limitation of the electronic device 4, and may include more or less components than those shown, or combine certain components, or different components, e.g., the electronic device may also include input-output devices, network access devices, buses, etc.
The Processor 401 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 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 provided on the electronic device 4, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 402 may also include both internal storage units of the electronic device 4 and external storage devices. The memory 402 is used for storing 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-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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 implementation. 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 ways. For example, the above-described apparatus/computer device embodiments are merely illustrative, and for example, a division of modules or units, a division of logical functions only, an additional division may be made in actual implementation, multiple units or components may be combined or integrated with another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate 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 in the above embodiments, and may also be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of the above methods and embodiments. The computer program may comprise computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain suitable additions or additions that may be required in accordance with legislative and patent practices within the jurisdiction, for example, in some jurisdictions, computer readable media may not include electrical carrier signals or telecommunications signals in accordance with legislative and patent practices.
The above examples are only intended to illustrate the technical solutions of the present disclosure, not to limit them; 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present disclosure, and are intended to be included within the scope of the present disclosure.

Claims (10)

1. A short message link generation method is characterized by comprising the following steps:
acquiring information of a jump page input by a user through a tool page, wherein the information of the jump page comprises page parameters corresponding to one or more jump pages;
performing data segmentation operation on the information of the jump page by using a pre-configured parameter segmentation method to obtain an array consisting of a plurality of character strings, wherein the parameter segmentation method comprises preset separators corresponding to different parameters;
and 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 a short message link corresponding to each jumped page respectively, and connecting the short message links to the tool page for display.
2. The method of claim 1, wherein prior to said obtaining information of a jump page entered by a user via a tool page, the method further comprises:
and in a preset front-end interface, constructing the tool page by using a hypertext markup language, wherein the tool page at least comprises one text input label, and the text input label comprises an element attribute and an element default value corresponding to the label.
3. The method of claim 2, wherein the obtaining information of the jump page input by the user through the tool page comprises:
in response 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 user operation based on an element default value of the text input label, and determining the information of the jump page input by the user according to the change value.
4. The method according to claim 3, wherein the information of the jumped page comprises information of a character string type, and the performing of the data splitting operation on the information of the jumped page by using the pre-configured parameter splitting method comprises:
and acquiring an original character string input by a user based on the text input label, and splitting the original character string by using separators corresponding to preset parameters in the parameter segmentation method and separators between short message links to obtain an array comprising a plurality of segmented character strings, wherein the parameter segmentation method also comprises the separation times corresponding to each parameter.
5. The method of claim 4, wherein the parameter segmentation method adopts a split method, and the splitting of the original character string by using delimiters corresponding to parameters preset in the parameter segmentation method and delimiters between short message links comprises:
and reading each character in the original character string in sequence, taking a character string consisting of characters between two previous separators and two next separators as a segmented character string when the separators are read, and obtaining all the segmented character strings after all the characters in the original character string are read in sequence, wherein the adjacent short message links are distinguished by adopting a preset separator.
6. The method as claimed in claim 1, wherein the sending an acquisition request to a short message link interface of a target application by using a pre-extraction encapsulated interface request method to acquire a short message link corresponding to each of the skipped pages comprises:
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 (application programming 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.
7. The method of claim 1, wherein after the short message is linked for presentation in the tools page, the method further comprises:
responding to the selection operation of the user on the short message link, copying the short message link selected by the user into a local clipboard so as to generate a short message according to the short message link in the local clipboard, or storing the short message link in the local clipboard into a table.
8. A short message link generating device is characterized by comprising:
the acquisition module is configured to acquire jump page information input by a user through a tool page, wherein the jump page information comprises page parameters corresponding to one or more jump pages;
the splitting module is configured to perform data splitting operation on the information of the jump page by utilizing a pre-configured parameter splitting method to obtain an array consisting of a plurality of character strings, wherein the parameter splitting method comprises preset separators corresponding to different parameters;
and the generating module is configured to send an acquisition request to a short message link interface of a 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 link corresponding to each skip page respectively, and display the short message link in the tool page.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
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 true CN115065945A (en) 2022-09-16
CN115065945B 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)

Cited By (1)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160196239A1 (en) * 2015-01-05 2016-07-07 Xiaomi Inc. Method, terminal device and system for displaying content of short message
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160196239A1 (en) * 2015-01-05 2016-07-07 Xiaomi Inc. Method, terminal device and system for displaying content of short message
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 (2)

* Cited by examiner, † Cited by third party
Title
刘丽;刘中艳;: "基于SSH的短信平台在高校信息化中的应用研究", 自动化技术与应用, no. 10 *
郭旭;: "短网址:只有前世 没有今生", 计算机与网络, no. 08 *

Cited By (1)

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

Also Published As

Publication number Publication date
CN115065945B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
US20190251143A1 (en) Web page rendering method and related device
CN109614569B (en) Page rendering method and device and intelligent terminal
CN102521230B (en) For the result type that data with good conditionsi show
CN111104635B (en) Method and device for generating form webpage
CN108038212B (en) Data interaction method, device, system, equipment and storage medium
CN105095280A (en) Caching method and apparatus for browser
CN110941779B (en) Page loading method and device, storage medium and electronic equipment
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
CN113382083B (en) Webpage screenshot method and device
CN111831384A (en) Language switching method and device, equipment and storage medium
CN105550179A (en) Webpage collection method and browser plug-in
CN110865834B (en) Application program interface updating method and device, readable storage medium and terminal equipment
CN102253986A (en) Method and device for improving webpage displaying effect in multiple terminals
CN110968314A (en) Page generation method and device
CN115065945B (en) Short message link generation method and device, electronic equipment and storage medium
US10567472B2 (en) Manipulation of PDF files using HTML authoring tools
CN112650529B (en) System and method for configurable generation of mobile terminal APP codes
CN112947900B (en) Web application development method and device, server and development terminal
CN115587075B (en) Layout file processing method and device, terminal equipment and storage medium
CN104519118A (en) Information processing terminal and control method therefor, system and control method therefor
CN113050921A (en) Webpage conversion method, device, storage medium and computer equipment
JP2006065467A (en) Device for creating data extraction definition information and method for creating data extraction definition information
US20170031884A1 (en) Automated dependency management based on page components
CN113656737A (en) Webpage content display method and device, electronic equipment and storage medium
CN109657184B (en) Rich text processing method, rich text processing device, server and computer readable 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