CN114979254A - Information sharing method and device - Google Patents

Information sharing method and device Download PDF

Info

Publication number
CN114979254A
CN114979254A CN202210488060.7A CN202210488060A CN114979254A CN 114979254 A CN114979254 A CN 114979254A CN 202210488060 A CN202210488060 A CN 202210488060A CN 114979254 A CN114979254 A CN 114979254A
Authority
CN
China
Prior art keywords
sharing
link
information
shared
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210488060.7A
Other languages
Chinese (zh)
Inventor
王叙鹏
周凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Hode Information Technology Co Ltd
Original Assignee
Shanghai Hode 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 Shanghai Hode Information Technology Co Ltd filed Critical Shanghai Hode Information Technology Co Ltd
Priority to CN202210488060.7A priority Critical patent/CN114979254A/en
Publication of CN114979254A publication Critical patent/CN114979254A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/141Setup of application sessions

Abstract

The application provides an information sharing method and an information sharing device, wherein the information sharing method comprises the following steps: receiving a sharing instruction submitted aiming at information to be shared in business application; responding to the sharing instruction to carry out forbidden detection on the initial sharing link corresponding to the information to be shared; under the condition that the detection fails, determining a target sharing link having a mapping relation with the initial sharing link, and sending the target sharing link to a target application associated with the business application; and sharing the information to be shared in the target application based on the target sharing link.

Description

Information sharing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information sharing method and apparatus.
Background
With the development of internet technology, information dissemination becomes more and more rapid, and online dissemination approaches are various, so that certain defects exist in the safety and health of information dissemination. In order to establish a good network environment, most applications set a sensitive information detection mechanism when sharing or forwarding information so as to realize the prohibition of abnormal texts, videos or audios. That is to say, the application capable of sharing or forwarding information can promote page propagation and fission of services, but strict control is performed on induced sharing and excessive sharing, and once the information violation is determined, the link in the sharing mode is immediately prohibited, so as to achieve the purpose of network information propagation purification. However, this kind of control mechanism also blocks valid and normal information, resulting in low user experience.
Disclosure of Invention
In view of this, the present application provides an information sharing method. The application relates to an information sharing device, a computing device and a computer readable storage medium, and aims to solve the problems that in the prior art, effective and normal information is forbidden and sustainable information sharing cannot be guaranteed.
According to a first aspect of an embodiment of the present application, an information sharing method is provided, which is applied to a client, and includes:
receiving a sharing instruction submitted aiming at information to be shared in business application;
responding to the sharing instruction to carry out forbidden detection on the initial sharing link corresponding to the information to be shared;
under the condition that the detection fails, determining a target sharing link having a mapping relation with the initial sharing link, and sending the target sharing link to a target application associated with the business application;
and sharing the information to be shared in the target application based on the target sharing link.
According to a second aspect of the embodiments of the present application, there is provided an information sharing apparatus applied to a client, including:
the system comprises a receiving instruction module, a sharing instruction module and a sharing module, wherein the receiving instruction module is configured to receive a sharing instruction submitted aiming at information to be shared in business application;
the forbidding detection module is configured to respond to the sharing instruction to carry out forbidding detection on the initial sharing link corresponding to the information to be shared;
the link determining module is configured to determine a target sharing link having a mapping relation with the initial sharing link and send the target sharing link to the target application associated with the business application under the condition that the detection fails;
the sharing information module is configured to share the information to be shared in the target application based on the target sharing link.
According to a third aspect of the embodiments of the present application, another information sharing method is provided, which is applied to a client, and includes:
receiving a sharing instruction submitted aiming at information to be shared in business application;
responding to the sharing instruction to carry out forbidden detection on the initial sharing link corresponding to the information to be shared;
under the condition that the detection fails, determining a target sharing link having a mapping relation with the initial sharing link;
and sharing the information to be shared based on the target sharing link.
According to a fourth aspect of the embodiments of the present application, there is provided another information sharing apparatus, including:
the receiving module is configured to receive a sharing instruction submitted by aiming at information to be shared in the business application;
the detection module is configured to respond to the sharing instruction to carry out forbidden detection on the initial sharing link corresponding to the information to be shared;
a determining module configured to determine a target sharing link having a mapping relationship with the initial sharing link in case of a failure of detection;
the sharing module is configured to share the information to be shared based on the target sharing link.
According to a fifth aspect of the embodiments of the present application, there is provided an information sharing method applied to a server, including:
receiving a link request submitted by a client for information to be shared;
creating at least two sharing links corresponding to the information to be shared, wherein the at least two sharing links comprise an initial sharing link and a target sharing link;
and responding to the link request, and sending the at least two sharing links to the client.
According to a sixth aspect of the embodiments of the present application, there is provided an information sharing apparatus applied to a server, including:
the receiving module is configured to receive a link request submitted by a client for the information to be shared;
the creating module is configured to create at least two sharing links corresponding to the information to be shared, wherein the at least two sharing links include an initial sharing link and a target sharing link;
a sending module configured to send the at least two sharing links to the client in response to the link request.
According to a seventh aspect of embodiments of the present application, there is provided a computing device, including a memory, a processor, and computer instructions stored on the memory and executable on the processor, where the processor implements the steps of the information sharing method when executing the instructions.
According to an eighth aspect of embodiments of the present application, there is provided a computer-readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the information sharing method.
According to the information sharing method, in order to guarantee the continuity of information transmission, after a sharing instruction submitted aiming at information to be shared in business application is received, an initial sharing link corresponding to the information to be shared can be subjected to forbidden detection in response to the sharing instruction, and under the condition that the detection fails, a target sharing link having a mapping relation with the initial sharing link can be selected and sent to a target application associated with the business application; and finally, sharing the information to be shared in the target application based on the target sharing link. The link is detected before sharing in the process of cross-application information sharing, and the link forbidden state can be sensed in time, so that a reasonable strategy is selected for coping; meanwhile, in the process of sharing normal information, the sharing operation in the target application is completed by selecting the links which correspond to the information to be shared and are not forbidden, and the spreading persistence of the information to be shared can be ensured, so that effective and normal information can be effectively spread, and the user experience effect is improved.
Drawings
Fig. 1 is a flowchart of an information sharing method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a jump-form link in an information sharing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of password form linking in an information sharing method according to an embodiment of the present application
Fig. 4 is a schematic diagram illustrating picture-form links in an information sharing method according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a picture-type link in another information sharing method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present disclosure;
fig. 7 is a flowchart of another information sharing method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another information sharing apparatus according to an embodiment of the present disclosure;
fig. 9 is a flowchart of an information sharing method applied to a server according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an information sharing apparatus applied to a server according to an embodiment of the present disclosure;
fig. 11 is a processing flow chart of an information sharing method applied to a text information sharing scenario according to an embodiment of the present application;
fig. 12 is a block diagram of a computing device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the one or more embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the present application. As used in one or more embodiments of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments of the present application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first aspect may be termed a second aspect, and, similarly, a second aspect may be termed a first aspect, without departing from the scope of one or more embodiments of the present application. The word "if," as used herein, may be interpreted as "at … …" or "when … …" or "in response to a determination," depending on the context.
First, the noun terms to which one or more embodiments of the present application relate are explained.
And linking the cards: one form of sharing information in a communication application is to click on a corresponding page by presenting the form as a card in a dialog box.
Password: the application program corresponding to each business service party supports a section of copied special character string, and after the application program is opened, the character string can be analyzed through the application program, so that the corresponding page is jumped to.
Sharing a closed loop: and clicking a button by a user to call a sharing function, sharing to a communicable application program, and entering the page by other users through the sharing information to view related sharing content to finish one-time sharing closed loop.
The present application provides an information sharing method, and relates to an information sharing apparatus, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
In practical application, with the development of internet technology, in order to achieve the purpose of rapid information propagation, if the business lines of many business parties need to propagate fission, sharing is considered in a communication application program in the form of card links or pictures, so that information propagation and fission of specific business are promoted. However, in order to achieve the purpose of network information purification, most of communication application business parties can set a set of strict control mechanism for induced sharing and excessive sharing propagation, and once the induction sharing and excessive sharing are judged to belong to illegal sharing, corresponding links in a sharing mode can be forbidden. The representation form is that the card link can not be opened in the program and the identification code in the picture can not be identified.
Therefore, when the related information of the specific service is shared and transmitted in the communication application program by the user, if the information link is forbidden, the related information cannot be notified in time, so that fission interruption can be caused, and huge service loss is caused; even if the link state is sensed to be disabled, if there is no general processing method for response, it is necessary to repeat the labor-consuming emergency plan, resulting in an increase in resource consumption. That is to say, in the prior art, under the condition of disabling the link, the disabled state of the link cannot be sensed in time and the disabled state cannot be changed, so an effective solution is needed to solve the above problem.
According to the information sharing method, in order to guarantee the continuity of information transmission, after a sharing instruction submitted aiming at information to be shared in business application is received, an initial sharing link corresponding to the information to be shared can be subjected to forbidden detection in response to the sharing instruction, and under the condition that the detection fails, a target sharing link having a mapping relation with the initial sharing link can be selected and sent to a target application associated with the business application; and finally, sharing the information to be shared in the target application based on the target sharing link. The link is detected before sharing in the process of cross-application information sharing, and the link forbidden state can be sensed in time, so that a reasonable strategy is selected for coping; meanwhile, in the process of sharing normal information, the sharing operation in the target application is completed by selecting the links which correspond to the information to be shared and are not forbidden, and the spreading persistence of the information to be shared can be ensured, so that effective and normal information can be effectively spread, and the user experience effect is improved.
That is to say, according to the information sharing method provided by the application, the target sharing link corresponding to the information to be shared is determined by adopting a degradation sharing mode, so that the target sharing link with the priority lower than that of the initial sharing link is realized, the information to be shared is shared in the target application, the continuity of information transmission is effectively guaranteed, meanwhile, link detection can be performed before each sharing, the link forbidden state can be timely perceived, the continuous information sharing processing is completed by adopting a correct coping strategy, the service loss is reduced, and the user experience is improved.
Fig. 1 shows a flowchart of an information sharing method according to an embodiment of the present application, where the method is applied to a client, and specifically includes the following steps:
step S102, receiving a sharing instruction submitted aiming at information to be shared in business application.
Specifically, the service application specifically refers to an application providing information to be shared, that is, a user needs to share information to be shared in the service application through another application; the service user may be a news browsing application, a video browsing application, a shopping application, or an instant messaging application, and the embodiment is not limited in any way. Correspondingly, the information to be shared specifically refers to information that needs to be sent from the business application to the target application for sharing, the information includes, but is not limited to, videos, texts, commodities, pictures, and the like, and in practical applications, the form to which the information that a user needs to share may be selected according to a practical application scene, which is not limited in this embodiment. Correspondingly, the sharing instruction specifically refers to an instruction submitted by a user when the user needs to share information to be shared in the business application, so that the information to be shared of the business user can be subsequently shared in the target application according to the instruction.
In this embodiment, the service application is taken as a video browsing application program, the information to be shared is taken as a video, and the information sharing method is described, and the information sharing process in other application scenarios can refer to the same or corresponding description content in this embodiment, which is not described herein in any detail.
Based on this, in the process of browsing the business application, the user may encounter information to be forwarded, and in order to ensure that the user can successfully share the information to other platforms through the business application to achieve the purpose of information transmission, the user is required to submit an explicit sharing instruction for the information to be shared in the business application, so as to determine to trigger a sharing operation according to the sharing instruction, and maintain the continuity of information transmission in a subsequent mode of prohibition detection, thereby ensuring that the information to be shared can be effectively transmitted.
And step S104, responding to the sharing instruction to carry out forbidden detection on the initial sharing link corresponding to the information to be shared.
Specifically, after receiving a sharing instruction submitted for information to be shared in a business user, further, considering that the information to be shared needs to be shared through a target application associated with a business application; before information sharing is carried out, sensitive information detection is usually carried out on the information by the target application, so that the transmitted information is effective and healthy information. On the basis, the possibility that the link of the normal information to be shared is forbidden in the sensitive information detection stage may occur, so that the normal information to be shared cannot be effectively spread.
Therefore, in order to avoid causing that normal information to be shared cannot be effectively and continuously transmitted, before information sharing, the initial sharing link corresponding to the information to be shared is detected in response to the sharing instruction, that is, whether the initial sharing link corresponding to the information to be shared is prohibited by the target application is detected, the information to be shared cannot be checked through the link, so that when information sharing is subsequently performed through the target application, the link which is not prohibited can be selected to continue to share the information to be shared, and the normal information to be shared can be continuously transmitted.
The initial sharing link specifically refers to a link capable of guiding or guiding a user to view information to be shared. The initial sharing link can be a card link, a password link, a picture link and the like; namely, the user can directly access the information to be shared by clicking the card link in the target application; or the password link is copied from the target application to the business application, so that the information to be shared can be directly accessed; and then or the information to be shared can be directly accessed by scanning the identification code in the picture link through the target application. And the initial sharing link is a default sharing link corresponding to the information to be shared. Correspondingly, the block detection specifically refers to detecting whether the initial sharing link can complete the detection operation of accessing the information to be shared.
That is, if the information to be shared needs to be shared in the target application, the sharing operation of the information to be shared is completed in a manner of forwarding the initial sharing link. Therefore, by carrying out the block detection on the initial sharing link, whether one sharing form of the information to be shared is blocked by the target application can be determined, so that under the condition of blocking, the sharing links in other forms can be selected to continue to propagate the information to be shared.
Further, when the initial sharing link is subjected to the banning detection, the sharing state of the initial sharing link in the target application is detected, so that the detection according to the sharing state and whether the sharing state is banned or not are realized, and in the embodiment, the specific implementation manner is as follows:
responding to the sharing instruction to read the initial sharing link corresponding to the information to be shared; and carrying out forbidden detection on the sharing state in the target application by using a link detection state machine to the initial sharing link.
Specifically, the link detection state machine is an effective state machine capable of detecting whether the initial sharing link is forbidden by the target application, and the mode of detecting the initial sharing link by the state machine is an interface state corresponding to the initial sharing link, so that whether the initial sharing link can access the information to be shared in the target application or not is determined by the interface state.
Based on this, under the condition that a sharing instruction associated with information to be shared is received, an initial sharing link corresponding to the information to be shared can be read according to the sharing instruction, and then an interface state of the initial sharing link is detected by using a link detection state machine, so that the sharing state of the initial sharing link in the target application is detected, and the blocking condition of the initial sharing link is determined according to the sharing state.
For example, the user a views a video of the person finding inspiring through the application B, the video is the person finding inspiring of the associated user c, and in order to enable the person finding inspiring video to be effectively spread, the user a shares the video with the friend user B through the application a. At this stage, the user a submits a sharing instruction for the person finding inspiring video in the application B, and at this time, the URL address corresponding to the person finding inspiring video is read as "https: and determining the link card containing the URL address, detecting the link card corresponding to the person seeking heuristic video through a link detection state machine, and detecting whether the link card is blocked in the A application. Under the condition that the link cards are determined not to be blocked, the link cards can be determined to belong to normal links, and subsequently, the link cards corresponding to the people-seeking inspiring videos can be shared to the user B through the application A in response to the sharing instruction, so that the purpose of information transmission is achieved.
In summary, the initial sharing link is detected by using the link detection state machine, and the sharing state of the link can be determined by detecting the interface state, so that whether the link is available or not is accurately determined before sharing, and correct processing can be conveniently performed in response to a forbidden detection result in the following process, thereby achieving the purpose of information propagation continuity.
In addition, in consideration of the fact that different business applications and target applications have different cooperative relationships, on this basis, if information to be shared in the business applications needs to be spread in different target applications, different sharing channels need to be established according to different cooperative relationships, and different link combination forms are set for the sharing channels, so that successful spreading of the information to be shared in the target applications can be supported, and in this embodiment, the specific implementation manner is as follows:
determining a sharing channel associated with the target application in response to the sharing instruction; selecting the initial sharing link corresponding to the information to be shared from the sharing link combination preset in the sharing channel and carrying out seal detection; and under the condition that the detection fails, selecting the target sharing link with a mapping relation with the initial sharing link from the sharing link combination.
Specifically, the sharing channel refers to a channel for sharing information to be shared in a specified application; correspondingly, the preset sharing link combination specifically refers to a sharing link combination corresponding to the sharing channel, and the sharing link combination includes at least two sharing links with a mapping relationship, so that under the condition that the links are prevented from being blocked, other sharing links can be selected, and the sharing processing of the information to be shared is continued; different sharing link combinations can be set in different sharing channels, for example, an S1 application associated with a business application, and the sharing link combination preset in the corresponding sharing channel is a link card and a password; the sharing link preset by the corresponding sharing channel of the S2 application associated with the business application is combined into a two-dimensional code picture and a guide information picture; the method and the device are used for realizing the effective transmission of the information to be shared by utilizing the target application corresponding to the sharing channel with pertinence.
In practical application, sharing link combinations preset by sharing channels associated with different target applications may be set according to practical application scenarios, and this embodiment is not limited herein.
Based on this, after a sharing instruction submitted for the business application is received, in order to select a link corresponding to the business application, effective propagation is performed on information to be shared in the business application, a sharing channel associated with a target application can be determined in response to the sharing instruction, then an initial sharing link under a current sharing scene can be selected from a sharing link combination preset by the sharing channel, and then blocking detection is performed on the initial sharing link, so that a suitable sharing link is selected according to a detection result subsequently, and sharing processing is performed on the information to be shared in the business application.
Further, when the condition that the initial sharing link is forbidden is detected, the initial sharing link is forbidden by the target application, and the information to be shared cannot be spread in the target application in the form of the initial sharing link. Considering that the target application may have a situation of false encapsulation, this may seriously affect effective propagation of the information to be shared, thereby causing service loss and affecting user experience. Therefore, under the condition that the initial sharing link is determined to be forbidden, the sharing links in other forms and not forbidden can be selected again for sharing the information to be shared.
Furthermore, a target sharing link having a mapping relationship with the initial sharing link can be selected from the sharing link combination, and the initial sharing link and the target sharing link have the mapping relationship, so that the target sharing link also belongs to another form of sharing link corresponding to the information to be shared, and the target sharing link is not forbidden; the target sharing link is sent to the target application, and the information to be shared can be spread in the target application by utilizing the target sharing link subsequently.
In specific implementation, at least two sharing link templates can be further set in the sharing link combination, after information to be shared in the business application is determined, a URL address corresponding to the information to be shared can be filled in each sharing link template in response to a sharing instruction so as to generate a target sharing link combination comprising an initial sharing link and a target sharing link, then the initial sharing link is subjected to sealing detection, and therefore the purpose of temporarily creating sharing links for different information to be shared is achieved, and flexibility is better.
According to the above example, when the user A selects to share the people-seeking inspiring video in the application A, the sharing channel 1 between the application B and the application A is determined, the video in the application B is determined to be shared in the application A according to the sharing link combination preset in the sharing channel 1, and the sharing is completed in the form of a link card and a password; based on the method, the link card is selected from the sharing link combination preset in the sharing channel 1, then whether the link card is forbidden in the application A is detected, if yes, the password is selected from the sharing link combination preset in the sharing channel 1, then the password corresponding to the person-seeking start-up video is shared to the user B through the application A, and the purpose of information transmission is achieved.
When the user A selects to share the person-searching inspiring video in the application C, determining a sharing channel 2 between the application B and the application C, determining to share the video in the application B in the application C according to a sharing link combination preset by the sharing channel 2, and finishing the sharing in the form of a two-dimensional code picture and a guide picture; based on this, the two-dimensional code picture is selected from the sharing link combination preset in the sharing channel 2, whether the two-dimensional code picture is forbidden in the C application is detected, if yes, the guidance picture is selected from the sharing link combination preset in the sharing channel 2, and then the guidance picture corresponding to the person-seeking help video is shared to the user B through the C application, so that the purpose of information transmission is achieved.
In summary, by establishing the relationship between the sharing channel and the sharing link combination of the target application, different sharing link combinations can be preset for different target applications, so that the propagation characteristics of the target application can be responded to, the sharing link combination which is more consistent with the propagation scene is adapted, and the propagation effectiveness of the information to be shared is further improved.
On this basis, if it is determined through the block detection that the initial sharing link in the sharing link combination is not blocked, it is described that the current scene can propagate the information to be shared in the target application through the initial sharing link, so that the target application can be called to propagate the information through the initial sharing link, and in this embodiment, the specific implementation manner is as follows:
under the condition that the detection is passed, sending the initial sharing link to the target application; and sharing the information to be shared in the target application based on the initial sharing link.
Based on this, under the condition that the detection is passed, the initial sharing link is indicated to belong to the regular sharing link, so that the target application can be called in response to the sharing instruction, then the initial sharing link is sent to the target application, and finally the information to be shared is shared in the target application based on the initial sharing link.
Along with the above example, under the condition that the link cards in the sharing channel 1 are determined not to be blocked, the link cards can be determined to belong to normal links, and then the link cards corresponding to the person-seeking inspiring videos can be shared to the user B through the application A in response to the sharing instruction, so that the purpose of information transmission is achieved. Or under the condition that the two-dimension code picture in the sharing channel 2 is determined not to be blocked, the two-dimension code picture can be determined to belong to a normal link, and then the two-dimension code picture corresponding to the person searching and event finding video can be shared to the user B through the application C in response to the sharing instruction, so that the purpose of information transmission is achieved.
To sum up, before the information to be shared is spread across the applications, namely the forbidden detection of the link is started after the sharing instruction is received, the forbidden front side preposition can be realized, so that the detection can be completed under the condition that the user does not have perception, reasonable response is made according to the detection result, and the use experience of the user is improved.
And step S106, under the condition that the detection fails, determining a target sharing link having a mapping relation with the initial sharing link, and sending the target sharing link to the target application associated with the business application.
Specifically, after the initial sharing link of the information to be shared in response to the sharing instruction is subjected to the blocking detection, if the initial sharing link is not detected, it is indicated that the initial sharing link is blocked by the target application, and the information to be shared cannot be spread in the target application in the form of the initial sharing link. Considering that the target application may have a false seal situation, the effective propagation of the information to be shared is seriously affected, so that the service loss is caused, and the user experience is affected.
Therefore, under the condition that the initial sharing link is determined to be forbidden, the sharing links in other forms and not forbidden can be selected again for sharing the information to be shared. The target sharing link with the mapping relation of the initial sharing link can be determined, and the initial sharing link and the target sharing link have the mapping relation, so that the target sharing link also belongs to another form of sharing link corresponding to the information to be shared, and the target sharing link is not forbidden; the target sharing link is sent to the target application, and the information to be shared can be spread in the target application by utilizing the target sharing link subsequently.
The target sharing link is specifically a sharing link which is different from the initial sharing link in form and is not forbidden, belongs to the information to be shared and is used for sharing the information to be shared; the target sharing link can be a card link, a password link, a picture link or the like, but is different from the form of the initial sharing link. Correspondingly, the target application specifically refers to an application selected by the user in the sharing stage, and is used for spreading the information to be shared; which may be an instant messaging application, a news browsing application, a video browsing application, or a shopping application, and the embodiment is not limited herein.
Further, in the process of determining the target sharing link, in order to ensure the persistence of the information to be shared, sharing links of multiple forms are preset, and sharing links of different forms are different in information sharing manner, so that in order to ensure the continuity of the information sharing manner, a link which is related to the information sharing link and can achieve the sharing purpose can be selected as the target sharing link from the multiple sharing links, and in this embodiment, the specific implementation manner is as follows:
determining at least one intermediate sharing link having a mapping relation with the initial sharing link in at least two sharing links associated with the information to be shared; and selecting an intermediate sharing link which has a sharing priority lower than that of the initial sharing link and is not forbidden from the at least one intermediate sharing link as the target sharing link.
Based on this, in order to prevent the information to be shared from being forbidden by the target application in the sharing stage, at least two sharing links can be established in advance for the information to be shared; the method comprises the steps of obtaining an initial sharing link and a target sharing link; at least one intermediate sharing link having a mapping relationship with the initial sharing link may be determined when the initial sharing link is disabled. The intermediate sharing link may include multiple links capable of sharing information to be shared, and in order to ensure that the information to be shared is effectively spread, an intermediate sharing link having a sharing priority lower than that of the initial sharing link and not being prohibited may be selected as the target sharing link from among the at least one intermediate sharing link.
Along the above example, under the condition that the link card corresponding to the person-seeking heuristic video is determined to be forbidden by the application A, a plurality of links { the link card, the password, the picture containing the two-dimensional code and the picture containing the guiding information } which are established in advance for the person-seeking heuristic video can be determined at this moment; and secondly, selecting a password link which has the same sharing mode with the link card and has lower priority than the link card from the links as a link for subsequent sharing use to realize the transmission of the person-seeking initiating video in the application A through the password link, wherein the transmission mode is a forwarding password link, when the person-seeking initiating video needs to be watched, the link can be pasted to the application B, and the application B can directly finish the skip through analyzing the link so as to achieve the purpose of playing.
In summary, by selecting the sharing link with the same sharing form and a priority lower than that of the initial sharing link as the target sharing link, the original sharing link can be continued on the sharing experience, so that the information to be shared can be subsequently spread through the target sharing link, and the continuity of information spreading is ensured.
Furthermore, after the target sharing link is determined, the target application selected by the user needs to be determined, so as to complete the sharing process through the target application selected by the user, in this embodiment, the specific implementation manner is as follows:
determining the target application in at least one application to be shared in response to the sharing instruction; and calling the target application, and sending the target sharing link to the target application.
Specifically, the application to be shared specifically refers to a third-party application different from the business application, and may be used to share the information to be shared. Based on this, considering that a plurality of applications to be shared are installed on a client held by a user, and a part of the applications to be shared can be used for spreading information to be shared, in the sharing process, a target application selected by the user in the plurality of applications to be shared needs to be determined according to a sharing instruction of the user, and then a target sharing link which is associated with the information to be shared and is not blocked is sent to the target application by using a method of calling the target application, so that subsequent information sharing processing operation can be performed conveniently.
In practical applications, when a target application is called and a target sharing link is sent to the target application, the target sharing link is pasted to a dialog box in the target application or a forwarding page, so that a user can conveniently complete sharing processing through further operation in the target application.
In summary, by selecting the target application from the multiple applications to be shared in response to the selection instruction of the user to complete the sharing process, the user can select different platforms to complete information dissemination according to the requirement, so that the purpose of information dissemination is achieved.
In addition, in consideration of the fact that the target sharing link needs to be selected according to the blocking condition of the initial sharing link in the information sharing stage, if the target sharing link is temporarily created locally at the client, the problem of link conflict with the existing link may exist, and therefore the creation and the issuing of the link need to be completed by the service end of the business application, in the embodiment, the specific implementation manner is as follows:
determining an information identifier corresponding to the information to be shared, and sending a link request to a server corresponding to the business application according to the information identifier; and receiving at least two sharing links issued by the server aiming at the link request, wherein the at least two sharing links comprise the initial sharing link and the target sharing link. The server side creates the initial sharing link and the target sharing link based on the information to be shared, and establishes a mapping relation between the initial sharing link and the target sharing link according to a preset priority policy.
Specifically, the information identifier is a unique identifier corresponding to the information to be shared, and is used for identifying and positioning the information to be shared; correspondingly, the service end specifically refers to a service end corresponding to the service application, and is used for providing service and maintaining operation of the service application; correspondingly, the preset priority strategy specifically refers to the sharing priority ranking of the initial sharing link and the target sharing link, so that the sharing processing of the information to be shared can be performed by preferentially using the link with the highest level in the sharing stage, and the sharing processing is performed by selecting the link with the low priority under the condition that the link is forbidden.
Based on this, when the client shares the information to be shared, in order to support that the information to be shared can be successfully shared in the target application, an information identifier corresponding to the information to be shared is determined first; and then, a link request is created according to the information identifier so as to request a sharing link of the information to be shared from a service end of the business application. After receiving the link request, the server may first read at least two created sharing links including the initial sharing link and the target sharing link according to the information identifier in the link request, and send the sharing links to the client, where the client uses the sharing links in the sharing stage.
In the link creation stage, in order to ensure that the link can complete degradation processing in a disabled state, the server establishes a mapping relationship between the initial sharing link and the target sharing link according to a preset priority policy so as to support the link selection in the sharing stage according to the priority.
During specific implementation, a URL address can be requested from a server according to a link request, after the URL address is received, an initial sharing link and a target sharing link can be created by a client according to the URL address and a link template preset by a service application, so that selection can be carried out according to requirements in a sharing stage, and information to be shared can be spread. In practical applications, the creation of the initial sharing link and the target sharing link may be completed at the client according to requirements, or completed at the server, which is not limited herein.
That is to say, in order to ensure that the continuous propagation of the information to be shared can be maintained in the sharing scene, the server may configure a link degradation policy in a provided background to implement the creation of a uniquely mapped sharing link for the information to be shared, when information sharing is performed, the sharing process of the information to be shared may be completed according to the mapped sharing link, and in addition, under the condition that the re-linking is forbidden, another sharing link may be degraded and selected to complete the sharing process operation. The information to be shared is spread in the target application through the target sharing link, so that a sharing closed loop is realized.
The sharing closed loop means that a user enters a service application to browse information to be shared, when the user submits a sharing instruction for the information to be shared, an initial sharing link corresponding to the information to be shared is subjected to forbidden detection, if a detection result is normal, the user can finish sharing processing operation on the information to be shared in a target application according to the initial sharing link, and then if other users view the information to be shared through the initial sharing link, the user can determine that one-time sharing closed loop is finished.
In summary, a plurality of sharing links are preset to serve as the basis for degrading and sharing the information to be shared, so that another sharing link can be selected in time to serve as a target sharing link under the condition that any one sharing link is forbidden, and the spreading persistence of the information to be shared is guaranteed.
In practical application, considering that the initial sharing link needs to use sharing links of other forms to complete sharing processing of information to be shared under the condition of being forbidden, the selected target sharing link needs to be different from the initial sharing link when the initial sharing link is in different forms, in this embodiment, the specific implementation manner is as follows:
(1) under the condition that the initial sharing link is a jump form link, determining a password form link having a mapping relation with the jump form link as the target sharing link;
the skip form link is a skip link containing an information address of the information to be shared, and the information to be shared is checked by clicking the skip form link in the target application;
the password form link is a word link which is associated with an information address of the information to be shared, and the information to be shared is checked by copying the password form link to the service application.
Specifically, the skip form link refers to a link corresponding to a link card, and a user can skip to a page of the information to be shared by clicking the link card in the target clear to complete the viewing of the information to be shared; correspondingly, the password form link specifically refers to a link corresponding to a password, and the user copies the password form link shared in the target application to the service application, so that the service application can automatically analyze the password to jump to a page of the information to be shared, and the information to be shared is viewed. Wherein the priority of the password form link is lower than that of the jump form link; in the sharing stage, the skip form link is preferentially read to share the information to be shared, and the information to be shared is shared through the password form link under the condition that the skip form link is forbidden. Correspondingly, the information address specifically refers to a URL address corresponding to the information to be shared.
Based on the method, under the condition that the initial sharing link corresponding to the information to be shared is the skip sharing link, the skip sharing link is subjected to blocking detection in response to a sharing instruction of a user, and if the skip sharing link passes the detection, the information to be shared can be shared in the target application according to the skip form link; the user can finish the propagation of the information to be shared by forwarding the jump-form link, and the jump-form link contains the information address of the information to be shared, so that other users can directly jump to a page containing the information to be shared by clicking the jump-form link in the target application, and the information to be shared can be viewed.
If the detection fails, the skip form link is indicated to be blocked by the target application, in order to ensure that the information to be shared can be continuously transmitted, a password form link having a mapping relation with the skip form link can be determined, and at the moment, the information to be shared can be shared in the target application according to the password form link; namely, the user can finish the transmission of the information to be shared by forwarding the password form link. Because the password form link is a text link obtained by encoding the information address, when other users use the password form link, the password form link needs to be copied to the service application, so that the information to be shared can be viewed in the service application.
According to the above example, when the user A shares the person searching and initiating video of the associated user C with the user B, the person searching and initiating video is subjected to the block detection, the link card corresponding to the person searching and initiating video is determined not to be blocked by the application A according to the detection result, the link card corresponding to the person searching and initiating video can be sent to the user B through the application A, the display form of the link card in the dialog box is shown in fig. 2, and the user B can directly jump to the playing page of the person searching and initiating video by clicking the link card, so that the person searching and initiating video can be viewed.
If the situation that the application A forbids the link card corresponding to the seeker departure video is determined according to the detection result, the password having the mapping relation with the link card needs to be selected at the moment, and the password is used as the link for sharing the seeker departure video. And then sending a password corresponding to the person searching and initiating video to the user B through the application A, wherein the display form of the password in a dialog box is shown in fig. 3, after the user B receives the password, the password can be copied into the application B according to prompt information, and the application B automatically analyzes the password to determine the person searching and initiating video and jumps to the page of the person searching and initiating video for playing.
In conclusion, the spreading persistence of the information to be shared is maintained by selecting the skip form link and the password form link with the priority relationship, so that the service loss caused by the mis-sealing operation can be effectively avoided, and the information spreading can be ensured to be persistent and stable.
(2) Determining an indirect picture form link having a mapping relation with the direct picture form link as the target sharing link under the condition that the initial sharing link is the direct picture form link;
the direct picture form link is a picture link containing an image identification code corresponding to the information to be shared, and the information to be shared is viewed by scanning the image identification code through the target application;
the indirect picture form link is a picture link containing an information viewing guidance strategy corresponding to the information to be shared, and the information to be shared is viewed in the business application according to the information viewing guidance strategy.
Specifically, the direct picture form link refers to a picture link containing an image identification code, and a user can directly jump to a page containing information to be shared by scanning the image identification code to complete the viewing of the information to be shared; the indirect picture form link specifically refers to a picture link containing an information viewing guidance strategy, and a user can find information to be shared in business application according to the information viewing guidance strategy. Correspondingly, the image identification code includes but is not limited to a two-dimensional code, a bar code, an electronic tag and the like; correspondingly, the information viewing guidance strategy specifically refers to guidance information for guiding a user to view information to be shared in business application, the content of the guidance information corresponding to the information viewing guidance strategy is related to the information to be shared, and different information to be shared corresponds to different guidance information. That is to say, the direct picture form link can directly jump to a page to view information to be shared; the indirect picture-form link requires indirect operation before the information to be shared can be viewed. And the indirect picture format link has a lower priority than the direct picture format link; in the sharing stage, the direct picture form link is preferentially read to share the information to be shared, and the information to be shared is shared through the indirect picture form link under the condition that the direct picture form link is forbidden.
Based on the method, under the condition that the initial sharing link corresponding to the information to be shared is the direct picture form link, the direct picture form link is subjected to forbidden detection in response to a sharing instruction of a user, and if the direct picture form link passes the forbidden detection, the information to be shared can be shared in the target application through the direct picture form link; namely, the user scans the image identification code contained in the direct picture type link through the target application, and jumps to the page containing the information to be shared after the scanning is passed, so that the information to be shared can be viewed.
If the detection is failed, the direct picture form link is already forbidden by the target application, in order to ensure that the information to be shared can be continuously transmitted, an indirect picture form link having a mapping relation with the direct picture form link can be determined, and at the moment, the information to be shared can be shared in the target application according to the indirect picture form link; namely, the user can finish the transmission of the information to be shared by forwarding the indirect picture form link. When the user views the information to be shared by using the indirect picture form link, the operation of viewing the information to be shared in the business application is determined according to the information viewing guidance strategy contained in the indirect picture form link. And then, according to the operation, the information to be shared can be viewed in the service application.
According to the above example, when the user A shares the person-searching and inspiring video related to the user C with the user B, the person-searching and inspiring video is sealed and detected, the strong guide poster image corresponding to the person-searching and inspiring video which is not sealed and forbidden by the application A is determined according to the detection result, the strong guide poster image corresponding to the person-searching and inspiring video can be sent to the user B through the application A at the moment, the display form of the strong guide poster image in the dialog box is shown in fig. 4, the user B scans the two-dimensional code contained in the strong guide poster image through the application A or the application B, and the user B can directly jump to the playing page of the person-searching and inspiring video, so that the person-searching and inspiring video can be viewed.
If the situation that the strong guide poster graph corresponding to the person finding inspiring video is determined to be forbidden by the application A according to the detection result, the weak guide poster graph having the mapping relation with the strong guide poster graph needs to be selected, and the weak guide poster graph is used as a link for sharing the person finding inspiring video. Then sending a weak guide poster graph corresponding to the person finding enlightening video to the user B through the application A; the display form of the weak guide poster graph in the dialog box is shown in fig. 5, after the user B receives the weak guide poster graph, the user B can search the person seeking heuristic video in the application B according to the guide operation information contained in the weak guide poster graph, and the person seeking heuristic video is played through the application B.
In summary, the spreading persistence of the information to be shared is maintained by selecting the picture form link with the priority relationship, so that the sharing diversity of the information to be shared can be improved, and the service loss caused by false encapsulation is avoided, thereby ensuring that the information spreading can be continued and stable.
Step S108, sharing the information to be shared in the target application based on the target sharing link.
Specifically, after the determination of the target sharing link and the call of the target application are completed, the information to be shared may be further shared in the target application according to the target sharing link. That is, in the target application, the information to be shared is spread by forwarding the target sharing link.
Further, when the information to be shared is shared according to the target sharing link, the following two schemes can be adopted:
(1) creating a sharing interface in the target application according to the target sharing link and displaying the sharing interface; and receiving a selection instruction submitted through the sharing interface, and responding to the selection instruction to share the information to be shared in the target application.
Specifically, the sharing interface is specifically an interface created based on the target sharing link, and is used for sending the target sharing link, and the user can select an object to be sent in the interface. Based on this, after the target sharing link is sent to the target application, an interface for sharing the information to be shared can be created in the target application according to the target sharing link and displayed to the user, and at this time, other users needing to share the information to be shared can be selected in the interface and a selection instruction is submitted; and finally, the information to be shared can be propagated in the target application according to the selection instruction.
(2) Adding the target sharing link to a sharing queue corresponding to the target application; and under the condition that a sending instruction submitted by the target application is received, responding to the sending instruction to send the target sharing link in the sharing queue, wherein the sending processing is used as the sharing processing of the information to be shared in the target application.
Specifically, the sharing queue specifically refers to a sticky board used for storing the target sharing link in the target application, and is used for temporarily storing the target sharing link. Based on this, after the target sharing link is sent to the target application, the target sharing link can be added to the sharing queue corresponding to the target application, and under the condition that a sending instruction of a user in the target application is received, the target sharing link in the instruction set sharing queue can be added to the dialog box in response to the target sharing link, and then the target sharing link is sent to be used as sharing processing of information to be shared in the target application.
In addition, after the user sends the target sharing link to other users to complete the sharing of the information to be shared, the other users can access the information to be shared through the target sharing link, and in the process, whether the target sharing link meets the link which is stored in the background can be judged according to the specification. If the information meets the specification, the information to be shared can be searched in the service application so as to complete one-time link backflow logic.
In the information sharing method, in order to ensure the continuity of information propagation, after a sharing instruction submitted for information to be shared in business application is received, an initial sharing link corresponding to the information to be shared can be detected in a sealed mode in response to the sharing instruction, and under the condition that the detection fails, a target sharing link having a mapping relation with the initial sharing link can be selected and sent to a target application associated with the business application; and finally, sharing the information to be shared in the target application based on the target sharing link. The link is detected before sharing in the process of cross-application information sharing, and the link forbidden state can be sensed in time, so that a reasonable strategy is selected for coping; meanwhile, in the process of sharing normal information, the sharing operation in the target application is completed by selecting the links which correspond to the information to be shared and are not forbidden, and the spreading persistence of the information to be shared can be ensured, so that effective and normal information can be effectively spread, and the user experience effect is improved.
Corresponding to the above method embodiment, the present application further provides an information sharing apparatus embodiment, and fig. 6 shows a schematic structural diagram of an information sharing apparatus provided in an embodiment of the present application. As shown in fig. 6, the apparatus is applied to a client, and includes:
a receiving instruction module 602 configured to receive a sharing instruction submitted for information to be shared in a business application;
a block detection module 604, configured to perform block detection on an initial sharing link corresponding to the information to be shared in response to the sharing instruction;
a link determining module 606 configured to determine, in the case that the detection fails, a target sharing link having a mapping relationship with the initial sharing link, and send the target sharing link to the target application associated with the business application;
the sharing information module 608 is configured to share the information to be shared in the target application based on the target sharing link.
In an optional embodiment, in the case that the initial sharing link is a jump-form link, the determine link module 606 is further configured to:
determining a password form link having a mapping relation with the jump form link as the target sharing link; the skip form link is a skip link containing an information address of the information to be shared, and the information to be shared is checked by clicking the skip form link in the target application; the password form link is a word link which is associated with an information address of the information to be shared, and the information to be shared is checked by copying the password form link to the service application.
In an optional embodiment, in a case that the initial sharing link is a direct photo format link, the determining link module 606 is further configured to:
determining an indirect picture form link with a mapping relation and linked with the direct picture form link to serve as the target sharing link; the direct picture form link is a picture link containing an image identification code corresponding to the information to be shared, and the information to be shared is viewed by scanning the image identification code through the target application; the indirect picture form link is a picture link containing an information viewing guidance strategy corresponding to the information to be shared, and the information to be shared is viewed in the business application according to the information viewing guidance strategy.
In an optional embodiment, the block detection module 604 is further configured to:
determining a sharing channel associated with the target application in response to the sharing instruction; selecting the initial sharing link corresponding to the information to be shared from the sharing link combination preset in the sharing channel and carrying out block detection;
wherein the determine link module 606 is further configured to: and selecting the target sharing link with a mapping relation with the initial sharing link from the sharing link combination.
In an optional embodiment, the information sharing apparatus further includes:
the sharing information module is configured to send the initial sharing link to the target application under the condition that the detection is passed; and sharing the information to be shared in the target application based on the initial sharing link.
In an optional embodiment, the block detection module 604 is further configured to:
responding to the sharing instruction to read the initial sharing link corresponding to the information to be shared; and carrying out forbidden detection on the sharing state in the target application by using a link detection state machine to the initial sharing link.
In an optional embodiment, the shared information module 608 is further configured to:
creating a sharing interface in the target application according to the target sharing link and displaying the sharing interface; receiving a selection instruction submitted through the sharing interface, and responding to the selection instruction to share the information to be shared in the target application; alternatively, the first and second electrodes may be,
adding the target sharing link to a sharing queue corresponding to the target application; and under the condition that a sending instruction submitted by the target application is received, responding to the sending instruction to send the target sharing link in the sharing queue, wherein the sending processing is used as the sharing processing of the information to be shared in the target application.
In an optional embodiment, the information sharing apparatus further includes:
the request link module is configured to determine an information identifier corresponding to the information to be shared and send a link request to a server corresponding to the service application according to the information identifier; and receiving at least two sharing links issued by the server aiming at the link request, wherein the at least two sharing links comprise the initial sharing link and the target sharing link.
In an optional embodiment, the determine link module 606 is further configured to:
determining at least one intermediate sharing link having a mapping relation with the initial sharing link in at least two sharing links associated with the information to be shared; and selecting an intermediate sharing link which has a sharing priority lower than that of the initial sharing link and is not forbidden from the at least one intermediate sharing link as the target sharing link.
In an optional embodiment, the determine link module 606 is further configured to:
determining the target application in at least one application to be shared in response to the sharing instruction; and calling the target application, and sending the target sharing link to the target application.
In an optional embodiment, the server creates the initial sharing link and the target sharing link based on the information to be shared, and establishes a mapping relationship between the initial sharing link and the target sharing link according to a preset priority policy.
In order to ensure the continuity of information transmission, after a sharing instruction submitted aiming at information to be shared in business application is received, an initial sharing link corresponding to the information to be shared can be detected in a blocking mode in response to the sharing instruction, and under the condition that the detection fails, a target sharing link having a mapping relation with the initial sharing link can be selected and sent to a target application associated with the business application; and finally, sharing the information to be shared in the target application based on the target sharing link. The link is detected before sharing in the process of cross-application information sharing, and the link forbidden state can be sensed in time, so that a reasonable strategy is selected for coping; meanwhile, in the process of sharing normal information, the sharing operation in the target application is completed by selecting the links which correspond to the information to be shared and are not forbidden, and the spreading persistence of the information to be shared can be ensured, so that effective and normal information can be effectively spread, and the user experience effect is improved.
The above is a schematic scheme of the information sharing apparatus of this embodiment. It should be noted that the technical scheme of the information sharing apparatus and the technical scheme of the information sharing method belong to the same concept, and details that are not described in detail in the technical scheme of the information sharing apparatus can be referred to in the description of the technical scheme of the information sharing method.
Corresponding to the above method embodiment, this embodiment further provides another information sharing method applied to a client, and fig. 7 shows a flowchart of another information sharing method provided in an embodiment of the present application, and as shown in fig. 7, the method includes:
step S702, receiving a sharing instruction submitted aiming at information to be shared in business application;
step S704, performing a block detection on the initial sharing link corresponding to the information to be shared in response to the sharing instruction;
step S706, determining a target sharing link having a mapping relation with the initial sharing link under the condition that the detection fails;
step S708, performing sharing processing on the information to be shared based on the target sharing link.
Another information sharing method provided in this embodiment corresponds to the information sharing method provided in the foregoing embodiment, and the same or corresponding description may refer to the foregoing embodiment, which is not described in detail herein.
It should be noted that, when sharing information to be processed, the another information sharing method provided in this embodiment is completed in the business application, that is, the information to be shared belongs to the business application, and the sharing operation is also completed inside the business application, so as to complete information sharing in the business application, and prevent the information to be shared from being prohibited due to a sensitive word detection policy or a business detection policy of the business application, thereby achieving the purpose of effective information transmission and continuity in propagation.
Corresponding to the above method embodiment, the present application further provides an information sharing apparatus embodiment, and fig. 8 shows a schematic structural diagram of another information sharing apparatus provided in an embodiment of the present application. As shown in fig. 8, the apparatus is applied to a client, and includes:
a receiving module 802 configured to receive a sharing instruction submitted for information to be shared in a business application;
the detection module 804 is configured to perform block detection on an initial sharing link corresponding to the information to be shared in response to the sharing instruction;
a determining module 806 configured to determine, in case of a failure of the detection, a target sharing link having a mapping relationship with the initial sharing link;
a sharing module 808 configured to share the information to be shared based on the target sharing link.
The above is a schematic scheme of another information sharing apparatus of this embodiment. It should be noted that the technical scheme of the information sharing apparatus and the technical scheme of the information sharing method belong to the same concept, and details that are not described in detail in the technical scheme of the information sharing apparatus can be referred to in the description of the technical scheme of the information sharing method.
Corresponding to the above method embodiment, this embodiment further provides an information sharing method applied to a server, and fig. 9 shows a flowchart of the information sharing method applied to the server according to an embodiment of the present application, and as shown in fig. 9, the method includes:
step S902, receiving a link request submitted by a client for information to be shared;
step S904, creating at least two sharing links corresponding to the information to be shared, where the at least two sharing links include an initial sharing link and a target sharing link;
step S906, in response to the link request, sends the at least two sharing links to the client.
The information sharing method applied to the server in this embodiment corresponds to the information sharing method provided in the above embodiment, and the same or corresponding description contents may be referred to the above embodiment, which is not described in detail herein.
Corresponding to the above method embodiment, the present application further provides an information sharing apparatus embodiment, and fig. 10 illustrates a schematic structural diagram of an information sharing apparatus applied to a server according to an embodiment of the present application. As shown in fig. 10, the apparatus is applied to a client, and includes:
the receiving module 1002 is configured to receive a link request submitted by a client for information to be shared;
a creating module 1004 configured to create at least two sharing links corresponding to the information to be shared, where the at least two sharing links include an initial sharing link and a target sharing link;
a sending module 1006, configured to send the at least two sharing links to the client in response to the link request.
The above is a schematic scheme of the information sharing apparatus of this embodiment. It should be noted that the technical scheme of the information sharing apparatus and the technical scheme of the information sharing method belong to the same concept, and details that are not described in detail in the technical scheme of the information sharing apparatus can be referred to in the description of the technical scheme of the information sharing method.
The following description further explains the information sharing method by taking an application of the information sharing method provided by the present application in a text sharing scenario as an example with reference to fig. 11. Fig. 11 shows a processing flow chart of an information sharing method applied to a text sharing scenario according to an embodiment of the present application, which specifically includes the following steps:
step S1102, determining an information identifier corresponding to information to be shared in the service application, and sending a link request to a server corresponding to the service application according to the information identifier.
Step S1104 is to receive at least two sharing links issued by the server according to the link request, where the at least two sharing links include an initial sharing link and a target sharing link.
In step S1106, a sharing instruction submitted for information to be shared in the business application is received.
Step S1108, an initial sharing link corresponding to the information to be shared is read in response to the sharing instruction.
Step S1110, performing forbidden detection on the initial sharing link and the sharing state in the target application by using a link detection state machine.
In step S1112, in the case where the detection fails, the password format link having the mapping relationship with the jump format link as the initial sharing link is determined as the target sharing link.
The skip form link is a skip link containing an information address of the information to be shared, and the information to be shared is checked by clicking the skip form link in the target application; the password form link is a word link which is associated with an information address of the information to be shared, and the information to be shared is checked by copying the password form link to a service application.
In step S1114, in the case that the detection fails, an indirect photo format link having a mapping relationship with the direct photo format link as the initial sharing link is determined as the target sharing link.
The direct picture form link is a picture link containing an image identification code corresponding to the information to be shared, and the information to be shared is checked by scanning the image identification code through the target application; the indirect picture form link is a picture link containing an information viewing guidance strategy corresponding to the information to be shared, and the information to be shared is viewed in the business application according to the information viewing guidance strategy.
It should be noted that the execution selection of step S1112 and step S1114 depends on the form of the target sharing link, and in practical applications, the selection may be performed according to requirements, and the embodiment is not limited herein.
In step S1116, a target application is determined in the at least one application to be shared in response to the sharing instruction.
Step S1118, the target application is called, and the target sharing link is sent to the target application.
Step S1120, a sharing interface is created in the target application according to the target sharing link and displayed.
Step S1122, receiving a selection instruction submitted through the sharing interface, and performing sharing processing on the information to be shared in the target application in response to the selection instruction.
In step S1124, the target sharing link is added to the sharing queue corresponding to the target application.
Step S1126, if the sending instruction submitted by the target application is received, sending the target sharing link in the sharing queue in response to the sending instruction, as the sharing process of the information to be shared in the target application.
It should be noted that steps S1120 to S1122, and steps S1124 to S1126 are two schemes for performing sharing processing on information to be shared, and in specific implementation, when the information to be shared is performed, a specific sharing manner may be selected according to an actual application scenario, and this embodiment is not limited in any way.
In summary, to ensure the continuity of information propagation, after receiving a sharing instruction submitted for information to be shared in a business application, an initial sharing link corresponding to the information to be shared may be detected in response to the sharing instruction, and in a case that the detection fails, a target sharing link having a mapping relationship with the initial sharing link may be selected and sent to a target application associated with the business application; and finally, sharing the information to be shared in the target application based on the target sharing link. The link is detected before sharing in the process of cross-application information sharing, and the link forbidden state can be sensed in time, so that a reasonable strategy is selected for coping; meanwhile, in the process of sharing normal information, the sharing operation in the target application is completed by selecting the links which correspond to the information to be shared and are not forbidden, and the spreading persistence of the information to be shared can be ensured, so that effective and normal information can be effectively spread, and the user experience effect is improved.
Fig. 12 shows a block diagram of a computing device 1200 according to an embodiment of the present application. The components of the computing device 1200 include, but are not limited to, memory 1210 and processor 1220. Processor 1220 is coupled to memory 1210 via bus 1230, and database 1250 is used to store data.
The computing device 1200 also includes an access device 1240, the access device 1240 enabling the computing device 1200 to communicate via one or more networks 1260. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 1240 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the application, the above components of the computing device 1200 and other components not shown in fig. 12 may also be connected to each other, for example, by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 12 is for purposes of example only and is not limiting as to the scope of the present application. Those skilled in the art may add or replace other components as desired.
Computing device 1200 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 1200 may also be a mobile or stationary server.
The processor 1220 implements the steps of the information sharing method when executing the instructions.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the information sharing method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the information sharing method.
An embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions, and when the instructions are executed by a processor, the computer-readable storage medium implements the steps of the information sharing method described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the information sharing method belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the information sharing method.
The foregoing description has been directed to specific embodiments of this application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the 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 content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and its practical applications, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (18)

1. An information sharing method is applied to a client, and comprises the following steps:
receiving a sharing instruction submitted aiming at information to be shared in business application;
responding to the sharing instruction to carry out forbidden detection on the initial sharing link corresponding to the information to be shared;
under the condition that the detection fails, determining a target sharing link having a mapping relation with the initial sharing link, and sending the target sharing link to a target application associated with the business application;
and sharing the information to be shared in the target application based on the target sharing link.
2. The method according to claim 1, wherein in a case that the initial sharing link is a jump-form link, the determining a target sharing link having a mapping relationship with the initial sharing link includes:
determining a password form link having a mapping relation with the jump form link as the target sharing link;
the skip form link is a skip link containing an information address of the information to be shared, and the information to be shared is checked by clicking the skip form link in the target application;
the password form link is a word link which is associated with an information address of the information to be shared, and the information to be shared is checked by copying the password form link to the service application.
3. The method according to claim 1, wherein in a case that the initial sharing link is a direct picture format link, the determining a target sharing link having a mapping relationship with the initial sharing link includes:
determining an indirect picture form link with a mapping relation and linked with the direct picture form link to serve as the target sharing link;
the direct picture form link is a picture link containing an image identification code corresponding to the information to be shared, and the information to be shared is viewed by scanning the image identification code through the target application;
the indirect picture form link is a picture link containing an information viewing guidance strategy corresponding to the information to be shared, and the information to be shared is viewed in the business application according to the information viewing guidance strategy.
4. The method according to claim 1, wherein the detecting, in response to the sharing instruction, the blocking of the initial sharing link corresponding to the information to be shared includes:
determining a sharing channel associated with the target application in response to the sharing instruction;
selecting the initial sharing link corresponding to the information to be shared from the sharing link combination preset in the sharing channel and carrying out block detection;
wherein, the determining the target sharing link having the mapping relationship with the initial sharing link includes:
and selecting the target sharing link with a mapping relation with the initial sharing link from the sharing link combination.
5. The method according to claim 4, wherein after the step of selecting the initial sharing link corresponding to the information to be shared and performing block detection is performed, the method further comprises:
under the condition that the detection is passed, sending the initial sharing link to the target application;
and sharing the information to be shared in the target application based on the initial sharing link.
6. The method according to claim 1, wherein the detecting, in response to the sharing instruction, the blocking of the initial sharing link corresponding to the information to be shared includes:
responding to the sharing instruction to read the initial sharing link corresponding to the information to be shared;
and carrying out forbidden detection on the sharing state in the target application by using a link detection state machine to the initial sharing link.
7. The method according to claim 1, wherein the sharing the information to be shared in the target application based on the target sharing link comprises:
creating a sharing interface in the target application according to the target sharing link and displaying the sharing interface; receiving a selection instruction submitted through the sharing interface, and responding to the selection instruction to share the information to be shared in the target application; alternatively, the first and second electrodes may be,
adding the target sharing link to a sharing queue corresponding to the target application; and under the condition that a sending instruction submitted by the target application is received, responding to the sending instruction to send the target sharing link in the sharing queue, wherein the sending processing is used as the sharing processing of the information to be shared in the target application.
8. The method according to claim 1, wherein before the step of performing block detection on the initial sharing link corresponding to the information to be shared in response to the sharing instruction is performed, the method further comprises:
determining an information identifier corresponding to the information to be shared, and sending a link request to a server corresponding to the business application according to the information identifier;
and receiving at least two sharing links issued by the server aiming at the link request, wherein the at least two sharing links comprise the initial sharing link and the target sharing link.
9. The method of claim 1, wherein the determining the target sharing link having the mapping relationship with the initial sharing link comprises:
determining at least one intermediate sharing link having a mapping relation with the initial sharing link in at least two sharing links associated with the information to be shared;
and selecting an intermediate sharing link which has a sharing priority lower than that of the initial sharing link and is not forbidden from the at least one intermediate sharing link as the target sharing link.
10. The method of claim 1, further comprising:
determining the target application in at least one application to be shared in response to the sharing instruction;
and calling the target application, and sending the target sharing link to the target application.
11. The method according to claim 8, wherein the server creates the initial sharing link and the target sharing link based on the information to be shared, and establishes a mapping relationship between the initial sharing link and the target sharing link according to a preset priority policy.
12. An information sharing device, applied to a client, includes:
the system comprises a receiving instruction module, a sharing instruction module and a sharing module, wherein the receiving instruction module is configured to receive a sharing instruction submitted aiming at information to be shared in business application;
the forbidding detection module is configured to respond to the sharing instruction to carry out forbidding detection on the initial sharing link corresponding to the information to be shared;
the link determining module is configured to determine a target sharing link having a mapping relation with the initial sharing link and send the target sharing link to the target application associated with the business application under the condition that the detection fails;
the sharing information module is configured to share the information to be shared in the target application based on the target sharing link.
13. An information sharing method is applied to a client, and comprises the following steps:
receiving a sharing instruction submitted aiming at information to be shared in business application;
responding to the sharing instruction to carry out blocking detection on the initial sharing link corresponding to the information to be shared;
under the condition that the detection fails, determining a target sharing link having a mapping relation with the initial sharing link;
and sharing the information to be shared based on the target sharing link.
14. An information sharing device, applied to a client, includes:
the receiving module is configured to receive a sharing instruction submitted by aiming at information to be shared in the business application;
the detection module is configured to respond to the sharing instruction to carry out forbidden detection on the initial sharing link corresponding to the information to be shared;
a determining module configured to determine a target sharing link having a mapping relationship with the initial sharing link in case of a failure of detection;
the sharing module is configured to share the information to be shared based on the target sharing link.
15. An information sharing method is applied to a server side and comprises the following steps:
receiving a link request submitted by a client for information to be shared;
creating at least two sharing links corresponding to the information to be shared, wherein the at least two sharing links comprise an initial sharing link and a target sharing link;
and responding to the link request, and sending the at least two sharing links to the client.
16. The utility model provides an information sharing device which characterized in that is applied to the server side, includes:
the receiving module is configured to receive a link request submitted by a client for the information to be shared;
the creating module is configured to create at least two sharing links corresponding to the information to be shared, wherein the at least two sharing links include an initial sharing link and a target sharing link;
a sending module configured to send the at least two sharing links to the client in response to the link request.
17. A computing device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-11, 13 or 15 when executing the instructions.
18. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 11, 13 or 15.
CN202210488060.7A 2022-05-06 2022-05-06 Information sharing method and device Pending CN114979254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210488060.7A CN114979254A (en) 2022-05-06 2022-05-06 Information sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210488060.7A CN114979254A (en) 2022-05-06 2022-05-06 Information sharing method and device

Publications (1)

Publication Number Publication Date
CN114979254A true CN114979254A (en) 2022-08-30

Family

ID=82981107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210488060.7A Pending CN114979254A (en) 2022-05-06 2022-05-06 Information sharing method and device

Country Status (1)

Country Link
CN (1) CN114979254A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094797A (en) * 2014-05-15 2015-11-25 奥克兰联合服务有限公司 Application analysis system for electronic devices
CN112632418A (en) * 2020-12-16 2021-04-09 北京达佳互联信息技术有限公司 Password sharing method and device, electronic equipment and storage medium
CN113076294A (en) * 2021-04-16 2021-07-06 北京沃东天骏信息技术有限公司 Information sharing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094797A (en) * 2014-05-15 2015-11-25 奥克兰联合服务有限公司 Application analysis system for electronic devices
CN112632418A (en) * 2020-12-16 2021-04-09 北京达佳互联信息技术有限公司 Password sharing method and device, electronic equipment and storage medium
CN113076294A (en) * 2021-04-16 2021-07-06 北京沃东天骏信息技术有限公司 Information sharing method and device

Similar Documents

Publication Publication Date Title
US20200374293A1 (en) Method, apparatus, and computer program product for privacy management
US11132222B2 (en) Application processing method and apparatus for jumping between child applications and storage medium
US10747890B2 (en) System and method of controlling access to content using an accessibility API
US10726143B1 (en) Staggered secure data receipt
US9046982B2 (en) Representing a graphical user interface using a topic tree structure
US10650118B2 (en) Authentication-based presentation of virtual content
CN110177039B (en) Message sharing method and device, computer equipment and storage medium
WO2014190905A1 (en) Video conversation method, video conversation terminal, and video conversation system
CN108986009A (en) Generation method, device and the electronic equipment of picture
US9342386B1 (en) Messaging channel for web pages, extensions, and applications to communicate
US20160070683A1 (en) Activity based text rewriting using language generation
WO2021147727A1 (en) Instant messaging sending method, apparatus and device
CN110119483A (en) Display methods, device, terminal device and the storage medium of multimedia file
US20170279749A1 (en) Modular Communications
CN114979254A (en) Information sharing method and device
CN111565382B (en) Transmission method and electronic equipment
EP3759637B1 (en) Sharing rights to control aspects of an electronic message
CN112748968A (en) Auxiliary operation method, device, equipment and storage medium
CN115250259B (en) Information interaction method and device and electronic equipment
Sun Security and Privacy Solutions for Camera and Camera Based Authentication
KR20100014088A (en) System for storing and sharing partial data of web-page
EP3379442B1 (en) System and method of controlling access to content using an accessibility api
WO2024017467A1 (en) Apparatus and method for processing a visual content
CN105721449B (en) Method of calling and calling device
CN115221444A (en) Data processing method and device, electronic 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