Information sharing method and device, equipment and storage medium
By adding keywords generated by the preset defense error sealing rules in the sharing link, the client has solved the problem of the problem of the normal sharing link error sealing, reducing the probability of error sealing, and increasing the user experience.
Patent Information
- Application Number
- CN202411358817.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-24
AI Technical Summary
Due to the differences between each client, the client will inevitably block the normal sharing links by mistake. After the error block, the complaint needs to be unblocked, but the rectification period is long, which affects the user experience.
By obtaining information sharing requests, generate a sharing link for page jumping, and generate keywords that prevent error sealing according to the sharing link and preset prevention of error sealing rules, update the sharing link, generate target sharing links to reduce the probability of error sealing probability Essence
It effectively reduces the probability of shared links being blocked by mistake, shortens the change cycle of information sharing, and improves users' information sharing experience.
Smart Images

Figure CN119357501A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information sharing method, device, equipment and storage medium. Background Art
[0002] With the development of Internet technology, information dissemination has become increasingly rapid, and there are many different ways to spread information online, which has led to certain defects in the security and health of information dissemination. In order to establish a good network environment, most applications will set up sensitive information detection mechanisms when sharing or forwarding information to block abnormal text, video or audio, but will strictly control induced sharing and excessive sharing. Once it is determined that the information is in violation of the rules, the link in the sharing form will be immediately blocked to achieve the purpose of purifying the dissemination of network information.
[0003] However, due to the differences between various clients, it is inevitable that the client will mistakenly block normal sharing links. After a sharing link is mistakenly blocked, it can be unblocked through an appeal, but if the appeal fails, the sharing link needs to be rectified again, but the rectification cycle is long, which seriously affects the user experience and leads to more customer complaints.
[0004] Therefore, how to prevent shared links from being blocked by mistake is an urgent problem to be solved. Summary of the invention
[0005] The main purpose of this application is to provide an information sharing method, device, equipment and storage medium, aiming to reduce the probability of shared links being blocked by mistake and improve the user experience.
[0006] In a first aspect, the present application provides an information sharing method, the information sharing method comprising the following steps:
[0007] Obtaining an information sharing request, and obtaining target information of the information to be shared according to the information sharing request;
[0008] Generate a sharing link for page jump according to the information sharing request and the target information;
[0009] Generate a keyword for preventing the sharing link from being blocked by mistake according to the sharing link and the preset anti-misblocking rule;
[0010] The sharing link is updated according to the keyword to obtain a target sharing link, and the target sharing link is shared.
[0011] In a second aspect, the present application further provides an information sharing device, the information sharing device comprising an acquisition module, a generation module and a sharing module, wherein:
[0012] The acquisition module is used to acquire an information sharing request, and acquire target information of the information to be shared according to the information sharing request;
[0013] The generating module is used to generate a sharing link for page jump according to the information sharing request and the target information;
[0014] The generating module is further used to generate a keyword for preventing the sharing link from being blocked by mistake according to the sharing link and the preset anti-misblocking rule;
[0015] The generating module is further used to update the sharing link according to the keyword to obtain a target sharing link;
[0016] The sharing module is used to share the target sharing link.
[0017] In a third aspect, the present application also provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the information sharing method as described above are implemented.
[0018] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the information sharing method as described above are implemented.
[0019] The present application provides an information sharing method, device, equipment and storage medium. The present application obtains an information sharing request and obtains target information of the information to be shared according to the information sharing request; then generates a sharing link for page jump according to the information sharing request and the target information; generates a keyword to prevent the sharing link from being blocked by mistake according to the sharing link and the preset anti-misblocking rule; then updates the sharing link according to the keyword, accurately obtains the target sharing link, and performs sharing processing on the target sharing link. The present application can effectively reduce the probability of the sharing link being blocked by mistake by adding anti-misblocking keywords in the sharing link, thereby greatly improving the user's information sharing experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 A flowchart of an information sharing method provided in an embodiment of the present application;
[0022] Figure 2 for Figure 1 A flowchart of the sub-steps of the information sharing method in FIG.
[0023] Figure 3 A flowchart of another information sharing method provided in an embodiment of the present application;
[0024] Figure 4 A schematic block diagram of an information sharing device provided in an embodiment of the present application;
[0025] Figure 5 A schematic block diagram of another information sharing device provided in an embodiment of the present application;
[0026] Figure 6 A schematic block diagram of the structure of a computer device provided in an embodiment of the present application.
[0027] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0030] With the development of Internet technology, information dissemination has become increasingly rapid, and there are many different ways to spread information online, which has led to certain defects in the security and health of information dissemination. In order to establish a good network environment, most applications will set up sensitive information detection mechanisms when sharing or forwarding information to block abnormal text, video or audio, but will strictly control induced sharing and excessive sharing. Once it is determined that the information is in violation of the rules, the link in the sharing form will be immediately blocked to achieve the purpose of purifying the dissemination of network information.
[0031] However, due to the differences between various clients, it is inevitable that the client will mistakenly block normal sharing links. After a sharing link is mistakenly blocked, it can be unblocked through an appeal, but if the appeal fails, the sharing link needs to be rectified again, but the rectification cycle is long, which seriously affects the user experience and leads to more customer complaints.
[0032] To solve the above problems, the present application provides an information sharing method, device, equipment and storage medium. The information sharing method includes obtaining an information sharing request, and obtaining target information of the information to be shared according to the information sharing request; generating a sharing link for page jump according to the information sharing request and the target information; generating a keyword to prevent the sharing link from being blocked according to the sharing link and a preset anti-misblocking rule; updating the sharing link according to the keyword to obtain a target sharing link, and sharing the target sharing link.
[0033] Among them, the information sharing method can be applied to computer devices, which can be electronic devices such as mobile phones, tablet computers, laptops, desktop computers, personal digital assistants and wearable devices.
[0034] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0035] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0036] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0037] Please refer to Figure 1 , Figure 1 A flowchart of an information sharing method provided in an embodiment of the present application.
[0038] like Figure 1 As shown, the information sharing method includes steps S101 to S104.
[0039] Step S101: obtaining an information sharing request, and obtaining target information of information to be shared according to the information sharing request.
[0040] The information to be shared includes but is not limited to product order pages, video pages, song pages, text pages, etc.
[0041] In some embodiments, an information sharing request is obtained, and target information of the information to be shared is obtained according to the information sharing request, and the target information is used to display specific details of the information to be shared. The method of obtaining the information sharing request can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this.
[0042] Exemplarily, the computer device displays the page to be shared, and the user clicks the sharing touch point on the touch screen of the computer device to generate an information sharing request. By receiving the instruction triggered by the user on the touch screen of the computer device, the information sharing request can be accurately obtained.
[0043] Exemplarily, an information sharing request sent by a terminal device is obtained, and target information of the information to be shared is obtained according to the information sharing request. The terminal device can be selected according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the terminal device can be a mobile phone, a tablet computer, a wearable device, etc.
[0044] It should be noted that the sharing end of the information to be shared and the receiving end receiving the information to be shared can be the same device or different devices. For example, a user shares the information to be shared from application A to application B in the same computer device.
[0045] For example, user A purchases a product in the Good Car Owner APP and pays successfully. The user needs to share the product purchase information with user B through WeChat. User A clicks the share touch point in the product information in the Good Car Owner APP to trigger an information sharing request, and obtains the target information to be shared based on the information sharing request.
[0046] Step S102: Generate a sharing link for page jump according to the information sharing request and the target information.
[0047] The sharing link can be used to directly open the interface of the information to be shared.
[0048] In some embodiments, the requesting end that sends the information sharing request is determined according to the information sharing request, and the first address field corresponding to the requesting end is obtained; the page address field corresponding to the target information is obtained, and a sharing link for page jump is generated according to the first address field and the page address field. By determining the first address field and the page address field of the sharing link, the sharing link for page jump can be accurately obtained, which greatly improves the efficiency and accuracy of information sharing.
[0049] In some embodiments, the method for determining the requesting end that sends the information sharing request according to the information sharing request can be: determining the requesting end identifier carried in the information sharing request, obtaining a mapping relationship table between a preset requesting end identifier and the requesting end, and querying the requesting end corresponding to the requesting end identifier from the mapping relationship table to obtain the requesting end for this sharing. Among them, the mapping relationship table is established in advance based on the requesting end identifier and the requesting end, and the mapping relationship table can be established according to actual conditions, and the embodiments of the present application do not make specific limitations on this. Through the mapping relationship table and the requesting end identifier, the target requesting end for obtaining the information to be shared can be accurately obtained, which greatly improves the efficiency and accuracy of information sharing.
[0050] It should be noted that the sharing links of different request ends are different. For example, the sharing links of WeChat request end and QQ request end are different, so as to manage the security of shared information. That is, when the sharing link is shared on WeChat, WeChat can open the sharing link, but QQ cannot open this sharing link.
[0051] In some embodiments, the method for obtaining the first address field corresponding to the request end may be: obtaining a preset mapping relationship table between the request end and the address field, querying the address field corresponding to the request end from the mapping relationship table, and obtaining the first address field. The mapping relationship table is pre-established based on the request end and the address field, and the mapping relationship table can be established according to actual conditions. The embodiment of the present invention does not specifically limit this. The first address segment corresponding to the request end can be accurately obtained through the mapping relationship table.
[0052] It should be noted that the page address field corresponding to the target information is a conventional way of generating a sharing link on a page, and the embodiment of the present invention does not specifically limit this.
[0053] In some embodiments, it is detected whether the current operating environment is safe; if the current operating environment is safe, the sharing link for page jump is generated according to the first address field and the page address field. If the current operating environment is not safe, an alarm is issued that the operating environment is at risk to remind the user that there is a risk in operation. By detecting whether the current operating environment is safe, the accuracy and security of the shared information can be effectively guaranteed.
[0054] Exemplarily, if the current operating environment is safe, the first address field and the page address field are spliced with a sharing link to obtain a sharing link for page jump. By splicing the first address field and the page address field with a sharing link, the sharing link can be accurately obtained, greatly improving the accuracy of sharing link generation.
[0055] Exemplarily, the first address field is daijia, and the page address field is https: / / test-hcz-static.pingan.com.cn / umc-mall / index.html. The first address field daijia and the page address field https: / / test-hcz-static.pingan.com.cn / umc-mall / index.html are concatenated to obtain a sharing link of https: / / test-hcz-static.pingan.com.cn / umc-mall / daijia / index.html.
[0056] Step S103: Generate keywords for preventing the sharing link from being blocked by mistake based on the sharing link and preset rules for preventing the sharing link from being blocked by mistake.
[0057] Among them, the preset anti-mistaken blocking rule is pre-designed based on the request end, and the preset anti-mistaken blocking rule can be set according to actual conditions, and the embodiment of the present invention does not make specific limitations on this.
[0058] In some embodiments, Figure 2 As shown, step S103 includes sub-steps S1031 and S1032.
[0059] Sub-step S1031, obtaining a keyword prefix matched by the requesting end according to the sharing link, and obtaining a keyword check digit corresponding to the requesting end from the preset anti-misblocking rule.
[0060] In some embodiments, the destination request end is determined according to the sharing link, and a mapping relationship table between a preset request end and a keyword prefix is obtained; the keyword prefix matched by the destination request end is queried from the mapping relationship table. The mapping relationship table can accurately obtain the keyword prefix matched by the request end, greatly improving the efficiency and accuracy of sharing link generation.
[0061] Exemplarily, the destination request end is WeChat, and the keyword prefix corresponding to WeChat is queried from the mapping relationship table, and the keyword prefix obtained is / base01 / share01.
[0062] It should be noted that the preset anti-mistaken blocking rule can be set according to actual conditions. For example, the preset anti-mistaken blocking rule can be a random check number rule, based on which a random number is generated and the random number is determined as a keyword check digit. Exemplarily, the random number generated based on the random check number rule is 1234, and / 1234 / is determined as a keyword check digit.
[0063] Sub-step S1032: combining the keyword prefix and the keyword check digit to obtain a keyword for preventing the shared link from being blocked by mistake.
[0064] The keyword prefix and the keyword check digit are concatenated to obtain a keyword for preventing the sharing link from being blocked by mistake. By concatenating the keyword prefix and the keyword check digit, the keyword for preventing the sharing link from being blocked by mistake can be accurately obtained.
[0065] Exemplarily, the destination request end is WeChat, and the keyword prefix corresponding to WeChat is queried from the mapping relationship table, and the keyword prefix is / base01 / share01; the random number generated based on the machine check number rule is 1234, and / 1234 / is determined as the keyword check digit; the keyword prefix / base01 / share01 and the keyword check digit / 1234 / are concatenated to obtain the keyword / base01 / share01 / 1234 / .
[0066] Step S104: update the sharing link according to the keyword to obtain a target sharing link, and perform sharing processing on the target sharing link.
[0067] The target sharing link is the link sent to the requesting end.
[0068] In some embodiments, keywords are inserted into the sharing link to update the sharing link and obtain the target sharing link. By inserting keywords into the sharing link, the sharing link can be accurately updated to obtain the target sharing link, which greatly improves the efficiency and accuracy of information sharing.
[0069] Exemplarily, the sharing link is https: / / test-hcz-static.pingan.com.cn / umc-mall / daijia / index.html; the keyword is / base01 / share01 / 1234 / ; the keyword / base01 / share01 / 1234 / is inserted into the sharing link https: / / test-hcz-static.pingan.com.cn / umc-mall / daijia / index.html, and the target sharing link is https: / / test-hcz-static.pingan.com.cn / base01 / share01 / 1234 / umc-mall / daijia / index.html.
[0070] In some embodiments, the requesting end receives the target sharing link, and the step of opening the shared information through the target sharing link is: extracting and deleting the keywords in the target sharing link to obtain the sharing link, and accessing the sharing link to obtain the shared information. By deleting the keywords in the target sharing link, the information to be shared can be accurately accessed.
[0071] In some embodiments, the request end receives the target sharing link, extracts the keywords in the target sharing link, and determines whether the keyword prefix in the keyword is a keyword matched by the request end. If the keyword prefix in the keyword is a keyword matched by the request end, the keyword in the target sharing link is deleted to obtain the sharing link, and the sharing link is accessed to obtain the sharing information. By verifying the keyword prefix, it is possible to effectively avoid accessing unsafe links, greatly improving the security of information access.
[0072] In some embodiments, the method for extracting and deleting the keywords in the target sharing link may be: calling the Nginx service, and extracting and deleting the keywords through the Nginx service, so as to accurately obtain the sharing link.
[0073] In some embodiments, after the Nginx service on the requesting end extracts the keyword, it determines whether the keyword is within the valid time period. If the keyword is within the preset valid time period, the keyword in the target sharing link is deleted to obtain the sharing link, and the sharing information is accessed through the sharing link; if the keyword is not within the preset valid time period, the target sharing link is blocked. Among them, the preset valid time period can be set according to actual conditions, and the embodiment of the present invention does not make specific limitations on this. For example, the valid time period can be set to 1 hour. By setting the valid time of the keyword, the risk of the target sharing link being maliciously shared and accessed is reduced, which greatly improves the security of the information.
[0074] The information sharing method provided in the above embodiment obtains an information sharing request, and obtains the target information of the information to be shared according to the information sharing request; then generates a sharing link for page jump according to the information sharing request and the target information; generates a keyword to prevent the sharing link from being blocked by mistake according to the sharing link and the preset anti-misblocking rule; then updates the sharing link according to the keyword, accurately obtains the target sharing link, and performs sharing processing on the target sharing link. This application can effectively reduce the probability of the sharing link being blocked by mistake by adding anti-misblocking keywords in the sharing link, thereby greatly improving the user's information sharing experience.
[0075] Please refer to Figure 3 , Figure 3 A flowchart of another information sharing method provided in an embodiment of the present application.
[0076] like Figure 3 As shown, the information sharing method includes steps S201 to S207.
[0077] Step S201: Obtain an information sharing request, and obtain target information of the information to be shared according to the information sharing request.
[0078] In some embodiments, an information sharing request is obtained, and target information of the information to be shared is obtained according to the information sharing request, and the target information is used to display specific details of the information to be shared. The method of obtaining the information sharing request can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this.
[0079] Step S202: Generate a sharing link for page jump according to the information sharing request and the target information.
[0080] In some embodiments, the requesting end that sends the information sharing request is determined according to the information sharing request, and the first address field corresponding to the requesting end is obtained; the page address field corresponding to the target information is obtained, and a sharing link for page jump is generated according to the first address field and the page address field. By determining the first address field and the page address field of the sharing link, the sharing link for page jump can be accurately obtained, which greatly improves the efficiency and accuracy of information sharing.
[0081] In some embodiments, the method for determining the requesting end that sends the information sharing request according to the information sharing request can be: determining the requesting end identifier carried in the information sharing request, obtaining a mapping relationship table between a preset requesting end identifier and the requesting end, and querying the requesting end corresponding to the requesting end identifier from the mapping relationship table to obtain the requesting end for this sharing. Among them, the mapping relationship table is established in advance based on the requesting end identifier and the requesting end, and the mapping relationship table can be established according to actual conditions, and the embodiments of the present application do not make specific limitations on this. Through the mapping relationship table and the requesting end identifier, the target requesting end for obtaining the information to be shared can be accurately obtained, which greatly improves the efficiency and accuracy of information sharing.
[0082] Step S203: Generate keywords for preventing the sharing link from being blocked by mistake based on the sharing link and preset rules for preventing the sharing link from being blocked by mistake.
[0083] In some embodiments, a keyword prefix matched by the requesting end is obtained according to the sharing link, and a keyword check bit corresponding to the requesting end is obtained from the preset anti-misblocking rule; the keyword prefix and the keyword check bit are combined to obtain a keyword for preventing the sharing link from being misblocked.
[0084] Step S204: update the sharing link according to the keyword to obtain a target sharing link, and perform sharing processing on the target sharing link.
[0085] In some embodiments, keywords are inserted into the sharing link to update the sharing link and obtain the target sharing link. By inserting keywords into the sharing link, the sharing link can be accurately updated to obtain the target sharing link, which greatly improves the efficiency and accuracy of information sharing.
[0086] In some embodiments, after receiving the target sharing link, the requesting end determines that the target sharing link is a risky link and blocks the target sharing link. The requesting end determines that the target sharing link is a risky link for unknown reasons and blocks access to the sharing link.
[0087] Step S205: Acquire the sharing link ban information sent by the requesting end, where the sharing link ban information is used to indicate that the target sharing link is banned.
[0088] In some embodiments, after the request end blocks the target sharing link, it sends sharing link blocking information to the sharing end of the target sharing link, and the sharing link blocking information is used to indicate that the target sharing link is blocked. The sharing end receives the sharing link blocking information to know that the target sharing link is blocked.
[0089] Step S206: regenerate keywords for preventing shared links from being mistakenly blocked according to the preset anti-mistaken blocking rules of the shared link ban information to obtain updated target keywords.
[0090] After obtaining the sharing link ban information, obtain the updated keyword prefix matched by the requesting end according to the sharing link, and obtain the updated keyword check bit corresponding to the requesting end from the preset anti-misblocking rule; combine the updated keyword prefix and the updated keyword check bit to obtain the updated keyword to prevent the sharing link from being misblocked. After the target sharing link is banned, regenerate the updated target keyword to quickly regenerate the updated target sharing link.
[0091] Step S207: update the sharing link according to the target keyword to obtain an updated target sharing link, and perform sharing processing on the updated target sharing link.
[0092] In some embodiments, the updated keyword is inserted into the sharing link to update the sharing link and obtain an updated target sharing link. After the target sharing link is blocked, the updated target keyword is regenerated to quickly regenerate the updated target sharing link, and the updated target sharing link is sent to the requesting end, so that the requesting end can obtain the available sharing link in time, which greatly improves the efficiency and accuracy of users in obtaining sharing information.
[0093] In some embodiments, the requesting end receives the updated target sharing link, and the step of opening the shared information through the updated target sharing link is: extracting and deleting the updated keyword in the updated target sharing link to obtain the sharing link, and accessing the sharing link to obtain the shared information. By deleting the updated keyword in the updated target sharing link, the information to be shared can be accurately accessed.
[0094] The information sharing method in this embodiment obtains the sharing link ban information sent by the requesting end, and the sharing link ban information is used to characterize that the target sharing link is banned; according to the preset anti-misblocking rules of the sharing link ban information, an updated keyword to prevent the sharing link from being mistakenly blocked is regenerated to obtain an updated target keyword; according to the target keyword, the sharing link is updated to obtain an updated target sharing link, and the updated target sharing link is shared. In this application, after the target sharing link is banned, the updated target keyword is regenerated to quickly regenerate the updated target sharing link, and the updated target sharing link is sent to the requesting end, so that the requesting end can obtain the available sharing link in time, which greatly shortens the change cycle of information sharing, minimizes the impact on the business, and greatly improves the efficiency and accuracy of users in obtaining sharing information.
[0095] See also Figure 4 , Figure 4 A schematic block diagram of an information sharing device provided in an embodiment of the present application.
[0096] like Figure 4 As shown, the information sharing device 300 includes an acquisition module 310, a generation module 320 and a sharing module 330, wherein:
[0097] The acquisition module 310 is used to acquire an information sharing request, and acquire target information of the information to be shared according to the information sharing request;
[0098] The generating module 320 is used to generate a sharing link for page jump according to the information sharing request and the target information;
[0099] The generating module 320 is further used to generate a keyword for preventing a shared link from being blocked by mistake according to the shared link and a preset rule for preventing a shared link from being blocked by mistake;
[0100] The generating module 320 is further used to update the sharing link according to the keyword to obtain a target sharing link;
[0101] The sharing module 330 is used to share the target sharing link.
[0102] In some embodiments, the generating module 320 is further configured to:
[0103] Determine a requesting end that sends the information sharing request according to the information sharing request, and obtain a first address field corresponding to the requesting end;
[0104] The page address field corresponding to the target information is obtained, and the sharing link for page jump is generated according to the first address field and the page address field.
[0105] In some embodiments, the generating module 320 is further configured to:
[0106] Check whether the current operating environment is safe;
[0107] If the current operating environment is safe, the following step is executed: generating the sharing link for page jump according to the first address field and the page address field.
[0108] In some embodiments, the generating module 320 is further configured to:
[0109] Obtaining a keyword prefix matched by the requesting end according to the sharing link, and obtaining a keyword check digit corresponding to the requesting end from the preset anti-misblocking rule;
[0110] The keyword prefix and the keyword check digit are combined to obtain a keyword for preventing the shared link from being blocked by mistake.
[0111] In some embodiments, the acquisition module 310 is further used to:
[0112] Determine the destination request end according to the sharing link, and obtain a mapping relationship table between a preset request end and a keyword prefix;
[0113] The keyword prefix matched by the destination request end is queried from the mapping relationship table.
[0114] In some embodiments, the generating module 320 is further configured to:
[0115] The keyword is inserted into the sharing link to update the sharing link and obtain the target sharing link.
[0116] See also Figure 5 , Figure 5 A schematic block diagram of another information sharing device provided in an embodiment of the present application.
[0117] like Figure 5 As shown, the information sharing device 400 includes an acquisition module 410, a generation module 420, a link reconstruction module 430 and a sharing module 440, wherein:
[0118] The acquisition module 410 is used to acquire an information sharing request, and acquire target information of the information to be shared according to the information sharing request;
[0119] The generating module 420 is used to generate a sharing link for page jump according to the information sharing request and the target information;
[0120] The generating module 420 is further used to generate a keyword for preventing the sharing link from being blocked by mistake according to the sharing link and the preset anti-misblocking rule;
[0121] The generating module 420 is further used to update the sharing link according to the keyword, obtain a target sharing link, and perform sharing processing on the target sharing link;
[0122] The acquisition module 410 is used to acquire the sharing link ban information sent by the requesting end, where the sharing link ban information is used to indicate that the target sharing link is banned;
[0123] The link reconstruction module 430 is used to regenerate a keyword for preventing a shared link from being blocked by mistake according to the preset anti-mistaken blocking rule of the shared link blocking information to obtain an updated target keyword;
[0124] The link reconstruction module 430 is further used to update the sharing link according to the updated target keyword to obtain an updated target sharing link;
[0125] The sharing module is used for performing sharing processing on the updated target sharing link at 440 .
[0126] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-mentioned information sharing device can refer to the corresponding process in the aforementioned information sharing method embodiment, and will not be repeated here.
[0127] See also Figure 6 , Figure 6 A schematic block diagram of the structure of a computer device provided in an embodiment of the present application.
[0128] like Figure 6 As shown, the computer device 500 includes a processor 502 and a memory 503 connected via a system bus 501 , wherein the memory 503 may include a storage medium and an internal memory.
[0129] The storage medium may store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor 502 may execute any one of the information sharing methods.
[0130] The processor 502 is used to provide computing and control capabilities and support the operation of the entire computer device.
[0131] The internal memory provides an environment for the operation of the computer program in the storage medium. When the computer program is executed by the processor, the processor can execute any information sharing method.
[0132] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0133] It should be understood that the processor 502 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0134] In one embodiment, the processor 502 is used to run a computer program stored in the memory to implement the following steps:
[0135] Obtaining an information sharing request, and obtaining target information of the information to be shared according to the information sharing request;
[0136] Generate a sharing link for page jump according to the information sharing request and the target information;
[0137] Generate a keyword for preventing the sharing link from being blocked by mistake according to the sharing link and the preset anti-misblocking rule;
[0138] The sharing link is updated according to the keyword to obtain a target sharing link, and the target sharing link is shared.
[0139] In one embodiment, when the processor 502 generates a sharing link for page jump according to the information sharing request and the target information, it is configured to implement:
[0140] Determine a requesting end that sends the information sharing request according to the information sharing request, and obtain a first address field corresponding to the requesting end;
[0141] The page address field corresponding to the target information is obtained, and the sharing link for page jump is generated according to the first address field and the page address field.
[0142] In one embodiment, before implementing the generating of the sharing link for page jump according to the first address field and the page address field, the processor 502 is further configured to implement:
[0143] Check whether the current operating environment is safe;
[0144] If the current operating environment is safe, the following step is executed: generating the sharing link for page jump according to the first address field and the page address field.
[0145] In one embodiment, when the processor 502 generates a keyword for preventing a shared link from being blocked by mistake according to the shared link and a preset anti-misblocking rule, the processor 502 is configured to implement:
[0146] Obtaining a keyword prefix matched by the requesting end according to the sharing link, and obtaining a keyword check digit corresponding to the requesting end from the preset anti-misblocking rule;
[0147] The keyword prefix and the keyword check digit are combined to obtain a keyword for preventing the shared link from being blocked by mistake.
[0148] In one embodiment, when the processor 502 implements the step of acquiring the keyword prefix matched by the requesting end according to the sharing link, it is configured to implement:
[0149] Determine the destination request end according to the sharing link, and obtain a mapping relationship table between a preset request end and a keyword prefix;
[0150] The keyword prefix matched by the destination request end is queried from the mapping relationship table.
[0151] In one embodiment, when the processor 502 updates the sharing link according to the keyword to obtain the target sharing link, it is configured to implement:
[0152] The keyword is inserted into the sharing link to update the sharing link and obtain the target sharing link.
[0153] In one embodiment, after implementing the sharing process on the target sharing link, the processor 502 is further configured to implement:
[0154] Acquire sharing link ban information sent by the requesting end, where the sharing link ban information is used to indicate that the target sharing link is banned;
[0155] Regenerate a keyword for preventing a shared link from being blocked by mistake according to the preset anti-mistaken blocking rule of the shared link blocking information to obtain an updated target keyword;
[0156] The sharing link is updated according to the updated target keyword to obtain an updated target sharing link, and the updated target sharing link is shared.
[0157] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the computer device described above can refer to the corresponding process in the aforementioned information sharing method embodiment, and will not be repeated here.
[0158] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions. The method implemented when the program instructions are executed can refer to the various embodiments of the information sharing method of the present application.
[0159] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may be non-volatile or volatile. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the computer device.
[0160] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.
[0161] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0162] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0163] It should also be understood that the term "and / or" used in the present specification refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0164] The serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.
Claims
1. An information sharing method, characterized in that: include: Obtaining an information sharing request, and obtaining target information of the information to be shared according to the information sharing request; Generate a sharing link for page jump according to the information sharing request and the target information; Generate a keyword to prevent the sharing link from being blocked by mistake according to the sharing link and the preset anti-misblocking rule; The sharing link is updated according to the keyword to obtain a target sharing link, and the target sharing link is shared.
2. The information sharing method according to claim 1, characterized in that: The generating a sharing link for page jump according to the information sharing request and the target information includes: Determine a requesting end that sends the information sharing request according to the information sharing request, and obtain a first address field corresponding to the requesting end; The page address field corresponding to the target information is obtained, and the sharing link for page jump is generated according to the first address field and the page address field.
3. The information sharing method according to claim 2, characterized in that: Before generating the sharing link for page jump according to the first address field and the page address field, the method further includes: Check whether the current operating environment is safe; If the current operating environment is safe, the following step is executed: generating the sharing link for page jump according to the first address field and the page address field.
4. The information sharing method according to claim 1, wherein: The generating a keyword for preventing a shared link from being blocked by mistake according to the shared link and a preset rule for preventing a shared link from being blocked by mistake includes: Obtaining a keyword prefix matched by the requesting end according to the sharing link, and obtaining a keyword check digit corresponding to the requesting end from the preset anti-misblocking rule; The keyword prefix and the keyword check digit are combined to obtain a keyword for preventing the shared link from being blocked by mistake.
5. The information sharing method according to claim 4, characterized in that: The obtaining the keyword prefix matched by the requesting end according to the sharing link includes: Determine the destination request end according to the sharing link, and obtain a mapping relationship table between a preset request end and a keyword prefix; The keyword prefix matched by the destination request end is queried from the mapping relationship table.
6. The information sharing method according to claim 1, wherein: The updating of the sharing link according to the keyword to obtain a target sharing link includes: The keyword is inserted into the sharing link to update the sharing link and obtain the target sharing link.
7. The information sharing method according to any one of claims 1 to 6, characterized in that: The sharing process of the target sharing link further includes: Acquire sharing link ban information sent by the requesting end, where the sharing link ban information is used to indicate that the target sharing link is banned; Regenerate a keyword for preventing a shared link from being blocked by mistake according to the preset anti-mistaken blocking rule of the shared link blocking information to obtain an updated target keyword; The sharing link is updated according to the updated target keyword to obtain an updated target sharing link, and the updated target sharing link is shared.
8. An information sharing device, characterized in that: The information sharing device includes an acquisition module, a generation module and a sharing module, wherein: The acquisition module is used to acquire an information sharing request, and acquire target information of the information to be shared according to the information sharing request; The generating module is used to generate a sharing link for page jump according to the information sharing request and the target information; The generating module is further used to generate a keyword for preventing the sharing link from being blocked by mistake according to the sharing link and the preset anti-misblocking rule; The generating module is further used to update the sharing link according to the keyword to obtain a target sharing link; The sharing module is used to share the target sharing link.
9. A computer device, characterized in that: The computer device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the information sharing method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the information sharing method according to any one of claims 1 to 7 are implemented.