Media transmission method and system only limited to WeChat browser access and resource downloading

By setting multiple WeChat browser authentications during the sharing link transfer process, it ensures that resources are only downloaded under the WeChat browser, solving the problem of third-party browsers bypassing authentication and realizing safe transmission and downloading of resources.

CN118740441APending Publication Date: 2024-10-01SHANGHAI MEDIA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410771131.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, shared links are easily bypassed by third-party browsers during the circulation process, leading to data leakage problems.

Method used

By generating the entrance page, details page and download page, it is sequentially determined whether the user's device is a WeChat browser. Resource downloading is only allowed after it is confirmed to be a WeChat browser. The verification mechanism of the WeChat browser is used to prevent third-party browsers or external plug-ins. Sniff access.

Benefits of technology

It effectively avoids resource leakage and ensures that resources can only be accessed and downloaded through the WeChat browser on the mobile terminal. The built-in signature mechanism and anti-tampering mechanism of the WeChat browser are used to prevent data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740441A_ABST
    Figure CN118740441A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data transmission, in particular to a media transmission method and system only limited to WeChat browser access and resource downloading, and the method comprises the steps: S1, generating an entrance page when to-be-transmitted resources need to be sent; s2, when the entrance page is accessed, whether the user agent identifier is a WeChat browser or not is judged; s3, returning to the detail page, and judging whether the user agent identifier is a WeChat browser or not after the user equipment skips to the detail page; and S4, returning a downloading page to the user equipment, and downloading the to-be-transmitted resource. In the embodiment of the invention, three checking steps are sequentially set for the circulation process of the to-be-transmitted resource, so that the user equipment can only call a WeChat browser for access in the access process through the mobile terminal, and download is carried out when the user equipment has the download permission; and the problem of resource leakage caused by a sniffing mode of a third-party browser or an external plug-in is avoided by utilizing the verification and tamper-proof mechanism of the WeChat browser.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a media transmission method and system limited to WeChat browser access and resource download. Background Art

[0002] Radio and television are the media that broadcast audio and video programs to a wide area through radio waves or wires, collectively referred to as broadcasting. Broadcasting that only broadcasts sound is called audio broadcasting; broadcasting that broadcasts both images and sound is called television broadcasting. In a narrow sense, broadcasting is the use of radio waves and wires to transmit content using only sound. In a broad sense, broadcasting includes what we usually think of as sound-only broadcasting and television in which both sound and images coexist. In the production process of radio and television, the processes of collecting and editing, shooting, editing and post-processing, film review, modification, and exporting of related materials are involved. Among them, film review is the process of reviewing the processed radio and television materials to determine whether the relevant content meets the production requirements. Usually, the film reviewer browses the relevant materials and records the relevant review opinions for the video frames that need to be adjusted, and then transfers them back to the production staff for modification.

[0003] In the prior art, due to the workflow issues of different producers, in the process of circulating production content between multiple parties, the source files may be circulated in a cloud storage sharing manner. For example, the source files are stored in a certain cloud storage service, and a sharing link is created and the corresponding permissions, passwords, etc. are configured. Then, the source files can be obtained by others by passing the sharing link.

[0004] However, during the actual implementation, the inventors found that during the circulation of shared links, some people would use a third-party browser with resource sniffing function to access the shared links, thereby bypassing the authentication process in the cloud storage system and downloading the source files, causing data leakage. Summary of the invention

[0005] In view of the above-mentioned problems existing in the prior art, a media transmission method that is limited to WeChat browser access and resource download is provided; on the other hand, a media transmission system for implementing the media transmission method is also provided.

[0006] The specific technical solutions are as follows:

[0007] A media transmission method limited to WeChat browser access and resource download, comprising:

[0008] Step S1: When the resource to be transmitted needs to be sent, an entry page is generated;

[0009] Step S2: When the user device accesses the entry page, determining whether the user agent identifier of the user device is the WeChat browser;

[0010] If yes, go to step S3;

[0011] If not, a prompt dialog box is generated and the access process is stopped;

[0012] Step S3: returning a details page to the user device, and after the user device jumps to the details page, determining whether the user agent identifier of the user device is the WeChat browser;

[0013] If yes, go to step S4;

[0014] If not, a prompt dialog box is generated and the access process is stopped;

[0015] Step S4: returning a download page to the user equipment, and the user equipment downloads the resource to be transmitted via the download page.

[0016] On the other hand, the step S1 comprises:

[0017] Step S11: generating the entry page and the sharing link corresponding to the entry page respectively for the resource to be transmitted;

[0018] Step S12: when the user device accesses the sharing link, determining whether the user device is a mobile terminal;

[0019] If yes, go to step S13;

[0020] If not, a prompt dialog box is generated and the access process is stopped;

[0021] Step S13: redirecting the initial page corresponding to the sharing link to the entry page, and transmitting a sharing identifier to the user device, so that the user device accesses the entry page.

[0022] On the other hand, the step S2 comprises:

[0023] Step S21: when the user device accesses the entry page, determining whether the user agent identifier of the user device is the WeChat browser;

[0024] If yes, go to step S22;

[0025] If not, a prompt dialog box is generated and the access process is stopped;

[0026] Step S22: Acquire sharing information from the user device, and return to the detail page according to the sharing information.

[0027] On the other hand, the step S4 comprises:

[0028] Step S41: returning the download page to the user equipment, and when the user equipment accesses the download page, parsing the request parameter transmitted by the user equipment to obtain a download address corresponding to the resource to be transmitted;

[0029] Step S42: creating an anchor element according to the download address and embedding the anchor element into the page container of the download page;

[0030] Step S43: the user equipment downloads the resource to be transmitted by triggering the anchor element.

[0031] On the other hand, the step S41 further includes:

[0032] Step A41: after the user device accesses the download page, the browser proxy identifier currently used by the user device is determined to determine whether the user device has switched to a third-party browser;

[0033] If yes, the request parameter transmitted by the user equipment is parsed to obtain a download address corresponding to the resource to be transmitted, and then the process goes to step S42;

[0034] If not, a prompt page is generated to enable the user device to switch to the third-party browser, and then return to step A41.

[0035] A media transmission system limited to WeChat browser access and resource download, used to implement the above media transmission method, comprising:

[0036] A first page generation module, which generates an entry page when the resource to be transmitted needs to be sent;

[0037] A first judgment module, the first judgment module is connected to the first page generation module, and when the user device accesses the entry page, the first judgment module judges whether the user agent identifier of the user device is the WeChat browser;

[0038] The first judgment module generates a prompt dialog box and stops the access process when the user agent identifier is not the WeChat browser;

[0039] a second page generating module, the second page generating module being connected to the first judging module, the second page generating module returning a details page to the user device, and judging whether the user agent identifier of the user device is the WeChat browser after the user device jumps to the details page;

[0040] The second page generation module generates a prompt dialog box and stops the access process when the user agent identifier is not the WeChat browser;

[0041] A third page generation module, wherein the third page generation module is connected to the second page generation module, and the third page generation module returns a download page to the user equipment, and the user equipment downloads the resource to be transmitted via the download page.

[0042] On the other hand, the first page generation module includes:

[0043] A sharing link generation module, wherein the sharing link generation module generates the entry page and the sharing link corresponding to the entry page for the resource to be transmitted;

[0044] A device determination module, the device determination module is connected to the sharing link generation module, and the device determination module determines whether the user device is a mobile terminal when the user device accesses the sharing link;

[0045] The device determination module generates a prompt dialog box and stops the access process when the user device is not a mobile terminal;

[0046] A redirection module, the redirection module is connected to the device judgment module, the redirection module redirects the initial page corresponding to the sharing link to the entry page, and transmits a sharing identifier to the user device so that the user device accesses the entry page.

[0047] On the other hand, the first determination module includes:

[0048] An entry page judgment module, wherein when a user device accesses the entry page, the entry page judgment module judges whether the user agent identifier of the user device is the WeChat browser;

[0049] The entry page judgment module generates a prompt dialog box and stops the access process when the user agent identifier is not the WeChat browser;

[0050] A sharing information circulation module, the sharing information circulation module is connected to the entry page judgment module, the sharing information circulation module obtains sharing information from the user device, and returns the detail page according to the sharing information.

[0051] On the other hand, the third page generation module includes:

[0052] A download page return module, wherein the download page return module returns the download page to the user equipment. When the user equipment accesses the download page, the download page return module parses the request parameter transmitted by the user equipment to obtain a download address corresponding to the resource to be transmitted;

[0053] A container generation module, the container generation module is connected to the download page return module, the container generation module creates an anchor element according to the download address and embeds the anchor element into the page container of the download page;

[0054] An element triggering module, the element triggering module is connected to the container generating module, and the element triggering module downloads the resource to be transmitted when the user equipment triggers the anchor element.

[0055] On the other hand, the third page generation module further includes:

[0056] A download page determination module, wherein after the user device accesses the download page, the download page determination module determines the browser proxy identifier currently used by the user device to determine whether the user device switches to a third-party browser;

[0057] A parsing module, the parsing module is connected to the download page determination module, the parsing module parses the request parameter transmitted by the user equipment to obtain a download address corresponding to the resource to be transmitted, and then turns to the step S32;

[0058] A prompt module, wherein the prompt module is connected to the download page judgment module to generate a prompt page so that the user device switches to the third-party browser.

[0059] The above technical solution has the following advantages or beneficial effects:

[0060] In response to the problem in the prior art that the sharing link transfer process may be bypassed by a third-party browser, in this solution, three checking steps are set in sequence for the transfer process of the resources to be transmitted, so that when the user device accesses the resource through a mobile terminal, it can only access the WeChat browser and download it when it has the download permission. The verification and anti-tampering mechanism of the WeChat browser itself is used to avoid the problem of resource leakage caused by third-party browsers or external plug-ins through sniffing. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The embodiments of the present invention will be described more fully with reference to the attached drawings, which are provided for illustration and description only and are not intended to limit the scope of the present invention.

[0062] Figure 1 It is an overall schematic diagram of an embodiment of the present invention;

[0063] Figure 2 This is a schematic diagram of sub-steps of step S1 in an embodiment of the present invention;

[0064] Figure 3 This is a schematic diagram of sub-steps of step S2 in an embodiment of the present invention;

[0065] Figure 4 This is a schematic diagram of sub-steps of step S4 in an embodiment of the present invention;

[0066] Figure 5 This is a schematic diagram of sub-steps of step A41 in an embodiment of the present invention;

[0067] Figure 6 A schematic diagram of a system in an embodiment of the present invention;

[0068] Figure 7 This is a schematic diagram of a first page generation module in an embodiment of the present invention;

[0069] Figure 8 This is a schematic diagram of a first judgment module in an embodiment of the present invention;

[0070] Fig. 9 This is a schematic diagram of a third page generation module in an embodiment of the present invention;

[0071] Fig.10 Schematic diagram of a download page return module in an embodiment of the present invention. DETAILED DESCRIPTION

[0072] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0073] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0074] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

[0075] The present invention comprises:

[0076] A media transmission method that is limited to WeChat browser access and resource download, such as Figure 1 As shown, including:

[0077] Step S1: When the resource to be transmitted needs to be sent, an entry page is generated;

[0078] Step S2: When the user device accesses the entry page, determine whether the user agent identifier of the user device is a WeChat browser;

[0079] If yes, go to step S3;

[0080] If not, a prompt dialog box is generated and the access process is stopped;

[0081] Step S3: Returning the details page to the user device, after the user device jumps to the details page, determining whether the user agent identifier of the user device is a WeChat browser;

[0082] If yes, go to step S4;

[0083] If not, a prompt dialog box is generated and the access process is stopped;

[0084] Step S4: Return the download page to the user equipment, and the user equipment downloads the resource to be transmitted via the download page.

[0085] Specifically, in response to the problem in the prior art that the sharing link circulation process may be bypassed by a third-party browser, in this solution, adjustments are made to the circulation process of the resources to be transmitted, and the front-end page related to the sharing link is bound to be browsed only through the WeChat browser, and three check steps are set in sequence, so that when the user device accesses it through the mobile terminal, it can only call the WeChat browser for access, and download it when it has the download permission. The verification and anti-tampering mechanism of the WeChat browser itself is used to avoid the problem of resource leakage caused by third-party browsers or external plug-ins through sniffing.

[0086] In the implementation process, the above technical solution is mainly configured as a software embodiment in a computer device, such as a cloud storage server, to realize the flow of radio and television production materials as described in the background technology. Among them, the media transmission method mainly relies on three pages set in sequence on the front end side, including an entry page, a material details page and a download page.

[0087] When a shared link is generated, in order to achieve control over the overall access process, WeChat should be used as the main means of circulation of the shared link, that is, the two parties in interaction pass the shared link through WeChat, and then the recipient directly calls the WeChat browser in WeChat to access the shared link, thereby entering the above-mentioned page. During the access process, a verification mechanism is used to prevent the recipient from calling other types of browsers to bypass the corresponding control components. The WeChat browser itself is a browser program built into WeChat. As a component of the WeChat program, it has been added with a corresponding signature mechanism, and third-party plug-ins cannot be added to avoid the possibility of the browser being modified.

[0088] Furthermore, the entry page, material details page, and download page are all H5 pages implemented based on Flutter Web, which can achieve good cross-platform effects and have consistent display effects in WeChat browsers. In the material details page, a corresponding player component is also provided to preview the material. At this time, you can further set custom functions and player skin styles for the material.

[0089] In one embodiment, Figure 2 As shown, step S1 includes:

[0090] Step S11: Generate an entry page and a sharing link corresponding to the entry page for the resources to be transmitted;

[0091] Step S12: When the user device accesses the shared link, it is determined whether the user device is a mobile terminal;

[0092] If yes, go to step S13;

[0093] If not, a prompt dialog box is generated and the access process is stopped;

[0094] Step S13: redirecting the initial page corresponding to the sharing link to the entry page, and transmitting the sharing identifier to the user device so that the user device accesses the entry page.

[0095] Specifically, in order to achieve control over the access process of the user device, in this embodiment, after the resources to be transmitted are stored in the cloud space, an entry page and a sharing link corresponding to the entry page are generated for the resources to be transmitted. Among them, the sharing link is used to point to a portal page, which is not used to display the actual content, but is only used to collect the request sent by the user device, and parse the request to obtain the device type information, such as browser UA, display resolution, etc. When the user device accesses the sharing link, it is easy to determine whether the user device is a mobile terminal based on the device type information, for example, the browser UA is a mobile browser, the aspect ratio of the display resolution is significantly different from that of the desktop, etc. When the user device is not a mobile terminal, other methods can be used to control the access process of the user device. Only when the user device is a mobile terminal, the initial page corresponding to the sharing link is redirected to the entry page, and the sharing identifier is passed to the user device so that the user device accesses the entry page.

[0096] During the implementation process, the page is redirected to the flutterweb entry page path through the window.location.replace method, and the sharing ID is passed as the sharing identifier through the get parameter.

[0097] In one embodiment, Figure 3 As shown, step S2 includes:

[0098] Step S21: When the user device accesses the entry page, determine whether the user agent identifier of the user device is a WeChat browser;

[0099] If yes, go to step S22;

[0100] If not, a prompt dialog box is generated and the access process is stopped;

[0101] Step S22: Acquire sharing information from the user device and return to the details page according to the sharing information.

[0102] Specifically, in order to achieve a better verification effect, in this embodiment, after the user device is redirected to the entry page, the entry page extracts the user agent identifier (userAgent) according to the received request, and then determines whether it is a WeChat browser according to the user agent identifier. After determining that it is a WeChat browser, the user device is based on the get parameters in the sharing link, and the FutureBuilder asynchronous request interface is used to obtain the sharing type, permissions and other data and return the details page.

[0103] As an optional implementation, when the details page is configured with an authentication link, a login component may be first returned to the user device, and then the details page may be returned after the user device logs in through the login component.

[0104] In one embodiment, Figure 4 As shown, step S4 includes:

[0105] Step S41: returning a download page to the user device. When the user device accesses the download page, parsing the request parameters transmitted by the user device to obtain a download address corresponding to the resource to be transmitted;

[0106] Step S42: creating an anchor element according to the download address and embedding the anchor element into the page container of the download page;

[0107] Step S43: The user equipment downloads the resource to be transmitted by triggering the anchor element.

[0108] Specifically, in order to control the download process, in this embodiment, when it is determined that the user device has the corresponding download permission and needs to download, a download page is returned to the user device. The download page is bound to the download option of the front-end page. When the user device triggers the download button, the resource download address is encrypted and passed to the download page via the get parameter. Subsequently, the request parameter is parsed and decrypted to obtain the download address corresponding to the resource to be transmitted. Then, an anchor element object is created, which is used to generate the HTML content. Tag, and assign the download address to the href attribute. Then, extract the page container in the download page through the function window.document.querySelector("body"), add the anchor element to the page container, and then call AnchorElement.click() to trigger the download function.

[0109] In one embodiment, Figure 5 As shown, step S41 also includes:

[0110] Step A41: after the user device accesses the download page, the browser proxy identifier currently used by the user device is determined to determine whether the user device has switched to a third-party browser;

[0111] If yes, parse the request parameter transmitted by the user device to obtain the download address corresponding to the resource to be transmitted, and then turn to step S42;

[0112] If not, a prompt page is generated to enable the user device to switch to the third-party browser, and then return to step A41.

[0113] Specifically, to implement the download process, in this embodiment, after the user device accesses the download page, the browser proxy identifier currently used by the user device is also judged, so as to determine whether the user device has switched from the WeChat browser to the third-party browser. Since the WeChat browser itself does not provide a download function, the user device needs to switch to a third-party browser for downloading. Therefore, by adding a step of detecting the browser proxy identifier, it can be determined whether the user device has completed the switch. If not, a prompt page is generated to enable the user device to switch to the third-party browser.

[0114] A media transmission system limited to WeChat browser access and resource download is used to implement the above media transmission method, such as Figure 6 As shown, including:

[0115] A first page generating module 1, the first page generating module 1 generates an entry page when it is necessary to send the resource to be transmitted;

[0116] A first judgment module 2, the first judgment module 2 is connected to the first page generation module 1, and when the user device accesses the entry page, the first judgment module 2 determines whether the user agent identifier of the user device is a WeChat browser;

[0117] The first judgment module 2 generates a prompt dialog box and stops the access process when the user agent identifier is not a WeChat browser;

[0118] The second page generating module 3 is connected to the first judging module 2, and the second page generating module 3 returns the details page to the user device, and after the user device jumps to the details page, determines whether the user agent identifier of the user device is a WeChat browser;

[0119] The second page generating module 3 generates a prompt dialog box and stops the access process when the user agent identifier is not a WeChat browser;

[0120] The third page generating module 4 is connected to the second page generating module 3. The third page generating module 4 returns a download page to the user equipment, and the user equipment downloads the resource to be transmitted via the download page.

[0121] Specifically, in response to the problem in the prior art that the sharing link circulation process may be bypassed by a third-party browser, in this solution, adjustments are made to the circulation process of the resources to be transmitted, and the front-end page related to the sharing link is bound to be browsed only through the WeChat browser, and three checking steps, namely the first judgment module 2, the second page generation module 3 and the third page generation module 4, are set in sequence, so that when the user device accesses through the mobile terminal, it can only call the WeChat browser for access, and download when it has the download permission. The verification and anti-tampering mechanism of the WeChat browser itself is used to avoid the problem of resource leakage caused by third-party browsers or external plug-ins through sniffing.

[0122] In one embodiment, Figure 7 As shown, the first page generation module 1 includes:

[0123] A sharing link generation module 11, the sharing link generation module 11 generates an entry page and a sharing link corresponding to the entry page for the resource to be transmitted;

[0124] The device determination module 12 is connected to the sharing link generation module 11. When the user device accesses the sharing link, the device determination module 12 determines whether the user device is a mobile terminal;

[0125] The device determination module 12 generates a prompt dialog box and stops the access process when the user device is not a mobile terminal;

[0126] The redirection module 13 is connected to the device determination module 12. The redirection module 13 redirects the initial page corresponding to the sharing link to the entry page, and transmits the sharing identifier to the user device so that the user device can access the entry page.

[0127] Specifically, in order to achieve control over the access process of the user device, in this embodiment, after the resources to be transmitted are stored in the cloud space, the sharing link generation module 11 generates a portal page and a sharing link corresponding to the portal page for the resources to be transmitted. Among them, the sharing link is used to point to a portal page, which is not used to display the actual content, but is only used to collect the request sent by the user device, and parse the request to obtain the device type information, such as browser UA, display resolution, etc. When the user device accesses the sharing link, the device judgment module 12 can easily determine whether the user device is a mobile terminal based on the device type information, for example, the browser UA is a mobile browser, the aspect ratio of the display resolution is significantly different from that of the desktop, etc. When the user device is not a mobile terminal, other methods can be used to control the access process of the user device. Only when the user device is a mobile terminal, the redirection module 13 redirects the initial page corresponding to the sharing link to the portal page, and transmits the sharing identifier to the user device, so that the user device accesses the portal page.

[0128] In one embodiment, Figure 8 As shown, the first judgment module 2 includes:

[0129] The entry page judgment module 21 judges whether the user agent identifier of the user device is a WeChat browser when the user device accesses the entry page;

[0130] The entry page judgment module 21 generates a prompt dialog box and stops the access process when the user agent identifier is not a WeChat browser;

[0131] The sharing information circulation module 22 is connected to the entry page judgment module 21 . The sharing information circulation module 22 obtains sharing information from the user device and returns the detail page according to the sharing information.

[0132] Specifically, in order to achieve a better verification effect, in this embodiment, after the user device is redirected to the entry page, the entry page judgment module 21 extracts the user agent identifier (userAgent) according to the received request, and then determines whether it is a WeChat browser according to the user agent identifier. After determining that it is a WeChat browser, the sharing information flow module 22 obtains the sharing type, permissions and other data for the user device according to the get parameters in the sharing link through the FutureBuilder asynchronous request interface and returns the details page.

[0133] In one embodiment, Fig. 9 As shown, the third page generation module 4 includes:

[0134] The download page return module 41 returns the download page to the user device. When the user device accesses the download page, the download page return module parses the request parameters transmitted by the user device to obtain the download address corresponding to the resource to be transmitted;

[0135] A container generation module 42, the container generation module 42 is connected to the download page return module 41, and the container generation module creates an anchor element according to the download address and embeds the anchor element into the page container of the download page;

[0136] The element triggering module 43 is connected to the container generating module 42, and the element triggering module 43 downloads the resource to be transmitted when the user equipment triggers the anchor element.

[0137] Specifically, in order to control the download process, in this embodiment, when it is determined that the user device has the corresponding download permission and needs to download, the download page return module 41 returns a download page to the user device. The download page is bound to the download option of the front-end page. When the user device triggers the download button, the resource download address is encrypted and passed to the download page through the get parameter. Subsequently, the request parameter is parsed and decrypted to obtain the download address corresponding to the resource to be transmitted. Then, an anchor element object is created, which is used to generate the HTML content. Tag, and assign the download address to the href attribute. Then, the container generation module 42 extracts the page container in the download page, adds the anchor element to the page container, and then the element triggering module 43 calls AnchorElement.click() to trigger the download function.

[0138] In one embodiment, Fig.10 As shown, the download page returning module 41 also includes:

[0139] The download page determination module 411 determines the browser proxy identifier currently used by the user device after the user device accesses the download page, so as to determine whether the user device has switched to a third-party browser;

[0140] The parsing module 412 is connected to the download page determination module 411, and the parsing module 412 parses the request parameters transmitted by the user equipment to obtain a download address corresponding to the resource to be transmitted;

[0141] The prompt module 413 is connected to the download page determination module 411 to generate a prompt page to enable the user device to switch to the third-party browser.

[0142] Specifically, to implement the download process, in this embodiment, after the user device accesses the download page, the download page judgment module 411 also judges the browser proxy identifier currently used by the user device, thereby judging whether the user device has switched from the WeChat browser to the third-party browser. Since the WeChat browser itself does not provide a download function, the user device needs to switch to a third-party browser for downloading. Therefore, by adding a detection step for the browser proxy identifier through the parsing module 412, it can be judged whether the user device has completed the switch. If not, the prompt module 413 generates a prompt page to enable the user device to switch to the third-party browser.

[0143] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims

1. A media transmission method limited to WeChat browser access and resource download, It is characterized in that include: Step S1: When the resource to be transmitted needs to be sent, an entry page is generated; Step S2: When the user device accesses the entry page, determining whether the user agent identifier of the user device is the WeChat browser; If yes, go to step S3; If not, a prompt dialog box is generated and the access process is stopped; Step S3: returning a details page to the user device, and after the user device jumps to the details page, determining whether the user agent identifier of the user device is the WeChat browser; If yes, go to step S4; If not, a prompt dialog box is generated and the access process is stopped; Step S4: returning a download page to the user equipment, and the user equipment downloads the resource to be transmitted via the download page.

2. The media transmission method according to claim 1, It is characterized in that The step S1 comprises: Step S11: generating the entry page and the sharing link corresponding to the entry page respectively for the resource to be transmitted; Step S12: when the user device accesses the sharing link, determining whether the user device is a mobile terminal; If yes, go to step S13; If not, a prompt dialog box is generated and the access process is stopped; Step S13: redirecting the initial page corresponding to the sharing link to the entry page, and transmitting a sharing identifier to the user device so that the user device accesses the entry page.

3. The media transmission method according to claim 1, It is characterized in that The step S2 comprises: Step S21: when the user device accesses the entry page, determining whether the user agent identifier of the user device is the WeChat browser; If yes, go to step S22; If not, a prompt dialog box is generated and the access process is stopped; Step S22: Acquire sharing information from the user device, and return to the detail page according to the sharing information.

4. The media transmission method according to claim 1, It is characterized in that The step S4 comprises: Step S41: returning the download page to the user equipment, and when the user equipment accesses the download page, parsing the request parameter transmitted by the user equipment to obtain a download address corresponding to the resource to be transmitted; Step S42: creating an anchor element according to the download address and embedding the anchor element into the page container of the download page; Step S43: the user equipment downloads the resource to be transmitted by triggering the anchor element.

5. The media transmission method according to claim 4, It is characterized in that The step S41 further includes: Step A41: after the user device accesses the download page, the browser proxy identifier currently used by the user device is determined to determine whether the user device has switched to a third-party browser; If yes, the request parameter transmitted by the user equipment is parsed to obtain a download address corresponding to the resource to be transmitted, and then the process goes to step S42; If not, a prompt page is generated to enable the user device to switch to the third-party browser, and then return to step A41.

6. A media transmission system that is limited to WeChat browser access and resource downloads, It is characterized in that Used to implement the media transmission method according to any one of claims 1 to 5, comprising: A first page generation module, which generates an entry page when the resource to be transmitted needs to be sent; A first judgment module, the first judgment module is connected to the first page generation module, and when the user device accesses the entry page, the first judgment module judges whether the user agent identifier of the user device is the WeChat browser; The first judgment module generates a prompt dialog box and stops the access process when the user agent identifier is not the WeChat browser; a second page generating module, the second page generating module being connected to the first judging module, the second page generating module returning a details page to the user device, and judging whether the user agent identifier of the user device is the WeChat browser after the user device jumps to the details page; The second page generation module generates a prompt dialog box and stops the access process when the user agent identifier is not the WeChat browser; A third page generation module, wherein the third page generation module is connected to the second page generation module, and the third page generation module returns a download page to the user equipment, and the user equipment downloads the resource to be transmitted via the download page.

7. The media transmission system according to claim 6, It is characterized in that The first page generation module includes: A sharing link generation module, wherein the sharing link generation module generates the entry page and the sharing link corresponding to the entry page for the resource to be transmitted; A device determination module, the device determination module is connected to the sharing link generation module, and the device determination module determines whether the user device is a mobile terminal when the user device accesses the sharing link; The device determination module generates a prompt dialog box and stops the access process when the user device is not a mobile terminal; A redirection module, the redirection module is connected to the device judgment module, the redirection module redirects the initial page corresponding to the sharing link to the entry page, and transmits a sharing identifier to the user device so that the user device accesses the entry page.

8. The media transmission system according to claim 6, It is characterized in that The first judgment module includes: An entry page judgment module, wherein when a user device accesses the entry page, the entry page judgment module judges whether the user agent identifier of the user device is the WeChat browser; The entry page judgment module generates a prompt dialog box and stops the access process when the user agent identifier is not the WeChat browser; A sharing information circulation module, the sharing information circulation module is connected to the entry page judgment module, the sharing information circulation module obtains sharing information from the user device, and returns the detail page according to the sharing information.

9. The media transmission system according to claim 6, It is characterized in that The third page generation module includes: A download page return module, wherein the download page return module returns the download page to the user equipment. When the user equipment accesses the download page, the download page return module parses the request parameter transmitted by the user equipment to obtain a download address corresponding to the resource to be transmitted; A container generation module, the container generation module is connected to the download page return module, the container generation module creates an anchor element according to the download address and embeds the anchor element into the page container of the download page; An element triggering module, the element triggering module is connected to the container generating module, and the element triggering module downloads the resource to be transmitted when the user equipment triggers the anchor element.

10. The media transmission system according to claim 9, It is characterized in that The download page return module also includes: A download page determination module, wherein after the user device accesses the download page, the download page determination module determines the browser proxy identifier currently used by the user device to determine whether the user device switches to a third-party browser; A parsing module, the parsing module is connected to the download page determination module, and the parsing module parses the request parameter transmitted by the user equipment to obtain a download address corresponding to the resource to be transmitted; A prompt module, wherein the prompt module is connected to the download page judgment module to generate a prompt page so that the user device switches to the third-party browser.