Data sharing method
By generating and converting rich media card SMS sharing requests, parsing and converting them into a format compatible with third-party social applications, and generating wake-up parameters, the sharing of rich media card SMS on platforms such as WeChat has been realized. This solves the problem of cross-platform sharing in existing technologies and improves the accuracy of data transmission and user experience.
Patent Information
- Application Number
- CN202411386819.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-17
AI Technical Summary
Existing rich media card text messages cannot be integrated with internet social media platforms such as WeChat, DingTalk, and Weibo for content sharing. Users can only share single text messages, single images, or audio/video within the text messaging application, and cannot share the entire rich media card text message, which limits its application and dissemination on a wider range of social media platforms.
By generating a sharing request carrying a target short message, parsing and converting it into a format compatible with third-party social applications, generating wake-up parameters, and assembling them into the social application platform interface to achieve data sharing, it supports sharing on platforms such as WeChat.
It enables the dissemination and sharing of rich media card text messages on a wider range of social media platforms, improves the accuracy and efficiency of data sharing, enhances user experience, reduces the coupling of terminal devices, and ensures a consistent information display and interactive experience.
Smart Images

Figure CN119325070A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a data sharing method. Background Art
[0002] With the development of mobile communication technology, traditional SMS services are gradually upgraded. For example, rich media card SMS is an upgraded version of traditional SMS. Rich media card SMS can realize SMS interaction, intelligence and online, with rich message display forms and convenient message interaction methods.
[0003] However, the current rich media card SMS cannot open up content sharing channels with other Internet social media platforms such as WeChat, DingTalk, Weibo, etc. Users can only share single text, single pictures or audio and video in the SMS application, and cannot share the entire rich media card SMS, which seriously hinders the integration of rich media SMS and the Internet ecosystem and greatly limits the service quality of rich media card SMS. Therefore, it is necessary to provide a more efficient method that can open up sharing channels and share the entire rich media card SMS. Summary of the invention
[0004] The purpose of the embodiment of the present invention is to provide a data sharing method to solve the problem that the entire rich media card short message cannot be shared in the prior art and the data sharing efficiency is low.
[0005] To solve the above technical problems, the embodiments of the present invention are implemented as follows: In a first aspect, an embodiment of the present invention provides a data sharing method, the method comprising: generating a first sharing request carrying a target short message, wherein the target short message is multimedia information to be shared, wherein the first sharing request is used to trigger a receiving end of the first sharing request to parse and extract content from the target short message based on the first sharing request to obtain first information, converting the first information into third-party social application information in a preset format of the third-party social application based on a preset format of the third-party social application, and generating a wake-up parameter for data sharing based on page address information of the third-party social application information, wherein the third-party social application is set in the terminal device; receiving the wake-up parameter, and assembling the wake-up parameter into an interface of a third-party social application platform corresponding to the third-party social application; The target short message is shared by calling the interface to share the third-party social application information.
[0006] In a second aspect, an embodiment of the present invention provides a data sharing method, the method comprising: receiving a first sharing request carrying a target short message, wherein the target short message is multimedia information to be shared; Parsing and extracting content from the target short message based on the first sharing request to obtain first information; Based on a preset format of the third-party social application, converting the first information into third-party social application information in a preset format that conforms to the third-party social application; A wake-up parameter for data sharing is generated based on the page address information of the third-party social application information, and the wake-up parameter is sent to a terminal device so that the terminal device shares the target short message based on the wake-up parameter. The third-party social application is set in the terminal device.
[0007] In a third aspect, an embodiment of the present invention provides a data sharing device, the device comprising: a first sharing request generating module, configured to generate a first sharing request carrying a target short message, wherein the target short message is multimedia information to be shared, and the first sharing request is used to trigger a receiving end of the first sharing request to parse and extract content from the target short message based on the first sharing request to obtain first information, convert the first information into third-party social application information in a preset format of the third-party social application based on a preset format of the third-party social application, and generate a wake-up parameter for data sharing based on page address information of the third-party social application information, wherein the third-party social application is set in the terminal device; A wake-up parameter assembly module, used to receive the wake-up parameters and assemble the wake-up parameters into an interface of a third-party social application platform corresponding to the third-party social application; The information sharing module is used to share the third-party social application information by calling the interface to share the target short message.
[0008] In a fourth aspect, an embodiment of the present invention provides a data sharing device, the device comprising: A first sharing request receiving module, configured to receive a first sharing request carrying a target short message, wherein the target short message is multimedia information to be shared; A data parsing module, configured to parse and extract content from the target short message based on the first sharing request to obtain first information; A data conversion module, configured to convert the first information into third-party social application information in a preset format of the third-party social application based on the preset format of the third-party social application; A wake-up parameter generation module is used to generate wake-up parameters for data sharing based on the page address information of the third-party social application information, and send the wake-up parameters to the terminal device so that the terminal device shares the target short message based on the wake-up parameters. The third-party social application is set in the terminal device.
[0009] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the data sharing method provided in the above embodiment.
[0010] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the data sharing method provided in the above embodiment are implemented.
[0011] In a seventh aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the data sharing method provided in the above embodiment are implemented.
[0012] It can be seen from the technical solution provided by the above embodiment of the present invention that the embodiment of the present invention receives a first sharing request carrying a target short message, and parses and extracts the content of the target short message based on the first sharing request to obtain the first information, and then converts the first information into third-party social application information in a preset format of the third-party social application based on the preset format of the third-party social application, and finally generates a wake-up parameter for data sharing based on the page address information of the third-party social application information, and sends the wake-up parameter to the terminal device, so that the terminal device shares the target short message based on the wake-up parameter. In this way, by parsing and extracting the content of the target short message, the target short message (i.e., the first information) shared by the user can be accurately obtained, which is conducive to improving the accuracy of data sharing, and then by converting the first information into third-party social application information in a preset format of the third-party social application, the accurate conversion of information can be achieved based on format matching, and the entire target short message can be shared, so that users of the third-party social application can directly view and share the target short message based on the third-party social application, so that the target short message can be disseminated and shared on a wider range of social media platforms, which is conducive to improving sharing efficiency and data transmission accuracy, and also to improving user experience. Finally, by generating a wake-up parameter for data sharing and sending it to the terminal device, the user can directly share the target short message through the terminal device, which is also conducive to improving data sharing efficiency and user experience. In addition, by triggering the receiving end based on the preset format of the third-party social application, converting the first information into a third-party social application that conforms to the preset format of the third-party social application, and generating wake-up parameter information based on the page address information of the third-party social application information, and assembling the wake-up parameter into the interface of the third-party social application platform through the terminal device, the data sharing method can effectively reduce the coupling degree between the target short message and the terminal device, and the terminal device of the sharee can experience a consistent information display and interactive experience without supporting the parsing of the target short message, which can make the target short message receivable and experiential to all users through mutual integration with existing Internet social media before the terminal fully covers the support, which is conducive to improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0014] Figure 1A schematic diagram of a data sharing method of the present invention; Figure 2 This is a schematic diagram of a rich media card text message; Figure 3 A schematic diagram of sharing a rich media card SMS in the related art; Figure 4 is a flow chart of another data sharing method of the present invention; Figure 5 A schematic diagram of sharing a target short message using the data sharing method of the present invention; Figure 6 It is a schematic diagram of the principle of the data sharing method of the present invention; Figure 7 A business process diagram of the data sharing method of the present invention; Figure 8 A schematic diagram of the system timing of the data sharing method of the present invention; Fig. 9 It is a structural schematic diagram of a data sharing device of the present invention; Fig.10 It is a structural schematic diagram of another data sharing device of the present invention; Fig.11 The figure is a schematic structural diagram of an electronic device of the present invention. DETAILED DESCRIPTION
[0015] An embodiment of the present invention provides a data sharing method.
[0016] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0017] like Figure 1 As shown, the embodiment of this specification provides a data sharing method, and the execution subject of the method can be a terminal device, wherein the terminal device can be a certain terminal device such as a mobile phone, a tablet computer, or a computer device such as a laptop or a desktop computer, or an IoT device (specifically such as a smart watch, a car device, etc.). In this embodiment, a server is used as an example for detailed description. For the execution process of the terminal device, please refer to the following related content, which will not be repeated here. The method can specifically include the following steps: In step S102, a first sharing request carrying a target short message is generated.
[0018] The target short message in the embodiment of this specification is a multimedia message to be shared, which may include text, pictures, audio, video, location and other contents. The target short message in the form of multimedia information in the embodiment of this specification may be a rich media card short message, such as Figure 2 As shown. Rich Media Card Messages (RMCM) are a form of message that contains multimedia content. They can be sent and displayed on multiple platforms. They have the characteristics of multimedia content, formatted layout, interactivity and personalization. They can provide a richer and more interesting way of information exchange, thereby providing more marketing and publicity opportunities for enterprises and organizations. The Rich Media Communication Technology (Rich Communication Suite, RCS) related to Rich Media Card Messages is a technology that integrates communication technology and information technology. This technology includes communication technology services, information technology services and information processing services. RCS is a new generation of international standard for messaging services. It uses the native SMS button on smartphones as the entry point, supports a variety of rich media messages, and can achieve a one-stop business experience such as search, interaction, sharing and payment.
[0019] Rich media card SMS is an upgraded version of traditional SMS service, including 5G messages (5G subscription account messages, 5G industry messages, etc.), reading letters and other specific display forms, which can realize the interactive, intelligent and online SMS. Rich media card SMS provides a new application service based on SMS portal, which can bring users a new experience of "message as a service". Rich media card SMS can rely on the SMS window of the terminal, without installing applications, and individual users can send text, pictures, audio and video, location and other content. Enterprise customers can provide individual users with a convenient one-stop experience in the chatbot message window, thereby realizing a closed service loop.
[0020] Although rich media card SMS provides a variety of message display forms and convenient message interaction methods, it is still unable to open up content sharing channels with other Internet social media such as WeChat. Figure 3 As shown, users can only share single text, single picture or audio and video in the SMS application, and cannot share the entire rich media card SMS, which seriously hinders the integration of rich media SMS and the Internet ecosystem, affects the dissemination and sharing of rich media card SMS, reduces the user experience and information dissemination effect, and limits its application on a wider range of social media platforms, thereby greatly limiting the core marketing and service advantages of rich media card SMS. The embodiments of this specification provide a data sharing method that can share rich media card SMS as a whole.
[0021] Among them, the first sharing request is used to trigger the receiving end of the first sharing request to parse and extract the content of the target short message based on the first sharing request to obtain the first information, and based on the preset format of the third-party social application, convert the first information into third-party social application information that conforms to the preset format of the third-party social application, and generate wake-up parameters for data sharing based on the page address information of the third-party social application information, and the third-party social application is set in the terminal device.
[0022] In implementation, the receiving end of the first sharing request may adopt an information sharing transfer system independent of the terminal device and the server. The information sharing transfer system first parses and extracts the content of the target short message to obtain the first information, and then converts the first information into third-party social application information in a preset format of the third-party social application based on the preset format of the third-party social application, and finally generates a wake-up parameter for data sharing based on the page address information of the third-party social application information.
[0023] Among them, the third-party social application is set in the terminal device. The third-party social application can be WeChat, Tencent QQ, Weibo, Xiaohongshu, Douyin, etc.
[0024] In step S104, the wake-up parameters are received and assembled into an interface of the third-party social application platform corresponding to the third-party social application.
[0025] The wake-up parameter is a parameter generated by the receiving end of the first sharing request for data sharing, and is used to provide the terminal device with the sharing wake-up capability of the third-party social application. Taking WeChat as an example, the third-party social application, the wake-up parameter can be a WeChat sharing call parameter including the deeplink of the WeChat applet rich media card SMS page.
[0026] After receiving the wake-up parameter, the terminal device assembles it into the interface of the third-party social application platform so as to call the wake-up parameter by calling the interface.
[0027] In implementation, the interface of the third-party social application platform may include an interface for generating a signature, an interface for configuring sharing information, an interface for processing sharing callbacks, an interface for sharing, and the like.
[0028] In step S106, the third-party social application information is shared by calling an interface to share the target short message.
[0029] In the embodiments of this specification, the processing of the above step S104 can be varied. An optional processing method is provided below. For details, please refer to the processing of the following steps S1042-S1044.
[0030] In step S1042 , wake-up parameters are received and cached.
[0031] In step S1044, based on the acquired sharing instruction, the wake-up parameter is assembled into the interface of the third-party social application platform of the third-party social application corresponding to the sharing instruction. The sharing instruction is used to indicate the type of third-party social application used for sharing. For example, the current sharing instruction may indicate sharing by using WeChat or Weibo.
[0032] After receiving the wake-up parameters, by caching them, and when receiving the sharing instruction (when receiving the user's choice to share the target short message to the designated third-party social application), assembling the wake-up parameters into the interface of the third-party social application platform corresponding to the sharing instruction, the target short message page is opened in the designated third-party social application, which is conducive to further improving the accuracy and efficiency of data sharing. Taking WeChat as an example, when the user jumps to the WeChat applet rich media card SMS (i.e., the target short message) page, the rich media card SMS can be shared to WeChat friends, group chats, and WeChat Moments on the page, realizing the data sharing of the target short message.
[0033] In the embodiment of the present specification, the interface in the above step S104 includes: a first interface for opening the information page of the third-party social application program and a second interface for sharing the target short message.
[0034] Furthermore, if the third-party social application is an instant messaging application, such as WeChat, the first interface may be an H5 interface, and the second interface may be an SDK forwarding interface.
[0035] In the embodiment of the present specification, the data sharing method may further include step S108: based on the acquired second sharing request, the receiving end of the target short message shares the target short message multiple times.
[0036] The second sharing request can be understood as a request for re-sharing obtained by the target short message receiving end. Taking WeChat as an example, when a user jumps to the target short message page and shares the target short message data, the sharee can view and interact with the target short message when the sharee receives and opens the page, and can also share it for the second time, realizing user fission, thereby further improving the efficiency of data sharing and user experience.
[0037] like Figure 4As shown, an embodiment of the present specification provides another data sharing method, the execution subject of the method can be a terminal device or server that is independent of the data sharing sending end and receiving end of the target short message, wherein the terminal device can be a certain terminal device such as a mobile phone, a tablet computer, or a computer device such as a laptop or a desktop computer, or an IoT device (specifically such as a smart watch, a car device, etc.). The server can be an independent server, or a server cluster composed of multiple servers, etc. The server can be a background server in the financial field or the online shopping field, or a background server of a certain application, etc. In this embodiment, the server is used as an example for detailed description. For the execution process of the terminal device, please refer to the following related content, which will not be repeated here. The method can specifically include the following steps: In step S202, a first sharing request carrying a target short message is received, where the target short message is multimedia information to be shared.
[0038] The processing of step S202 may refer to the processing of the previous step S102, and will not be repeated here.
[0039] In step S204, the target short message is parsed and content extracted based on the first sharing request to obtain first information.
[0040] The first sharing request received may also become a message, which includes a target short message and may be presented in the form of a data packet. By performing protocol parsing and content extraction processing on the data packet, the target short message in the form of multimedia information shared by the user can be accurately obtained. The target short message includes content in various forms such as text, pictures, and videos.
[0041] In step S206, based on a preset format of the third-party social application, the first information is converted into third-party social application information in a preset format that complies with the third-party social application.
[0042] Taking WeChat as a third-party social application as an example, through step S206, the first information extracted in step S204 can be converted into a WeChat mini-program card short message (equivalent to converting the target short message into the third-party social application information). By matching the extracted first information with the preset format of the third-party social application, accurate conversion of the information can be achieved, so that users of the third-party social application can directly view and share the target short message.
[0043] In step S208, a wake-up parameter for data sharing is generated based on the page address information of the third-party social application information, and the wake-up parameter is sent to the terminal device so that the terminal device shares the target short message based on the wake-up parameter. The third-party social application is set in the terminal device.
[0044] By generating wake-up parameters and sending them to the terminal device, the target short message can be deeply integrated with the third-party social application platform, thereby providing the terminal device with the third-party social application sharing wake-up capability, thereby improving data sharing efficiency. Taking WeChat as an example, the target short message is deeply integrated with the WeChat platform through the wake-up parameters, so that when the user sees a rich media card SMS of interest in the WeChat applet, he can directly share it through the WeChat sharing function, such as Figure 5 As shown, Figure 5 It is a schematic diagram of sharing a target short message using the data sharing method of the present invention.
[0045] Figure 6 is a schematic diagram of the principle of the data sharing method of the present invention, Figure 6 The target short message in the data sharing method takes rich media card text messages as an example, and the third-party social application takes WeChat as an example. Steps S204-S208 in the data sharing processing method are implemented through a rich media card text message sharing transit system. When the rich media card text message sending platform sends information to the terminal device, the terminal device displays the message and sends a message sharing request to the rich media card text message sharing transit system. The rich media card text message is extracted and converted by the rich media card text message sharing transit system, and WeChat wake-up processing is performed based on the sharing channel determined by the terminal device, and finally data sharing is realized through WeChat.
[0046] Figure 7 is a business process diagram of the data sharing method of the present invention, Figure 7 The target short message in the example is a rich media card SMS, and the third-party social application is WeChat. Figure 7 It can be seen that in this business process, the rich media card SMS is first received through the terminal device, the user locks the rich media card SMS to be shared and chooses to share, and initiates a sharing request for the rich media card SMS through the terminal device to the rich media card SMS sharing transit system. The rich media card SMS sharing transit system parses the message corresponding to the rich media card SMS, and converts and processes the message, generates a rich media card SMS applet in the WeChat of the terminal device, generates WeChat sharing wake-up information based on the rich media card SMS applet, and triggers the terminal device to select WeChat sharing and wake up WeChat based on the WeChat sharing wake-up information, and finally shares the rich media card SMS through the WeChat of the terminal device.
[0047] In the embodiments of this specification, the target short message is a multimedia message in the form of a card. The target short message can be a 5G message, a letter reading message, or other forms of multimedia messages.
[0048] In the embodiment of the present specification, the information content of the target short message may include: message type, message style, number of message cards, text content in the message, multimedia uniform resource locator, and name of the message interactive control in the user interface.
[0049] In implementation, the information content of the target short message can be realized through a first sharing request in message form, that is: the first sharing request carries the information content of the target short message, which can be specifically in message form, and the message includes the information content and information parameters of the target short message, wherein the information content of the target short message is a key message.
[0050] Among them, the message types of the target short message include: 5G information, reading information, etc. If it is a 5G message, the message style of the target short message includes: text + button (i.e. text + message interactive control in the user interface), multimedia + button, multimedia + text + button, etc.; if it is a reading information, the message style of the target short message includes: picture and text, video and text, etc. The text content in the message includes the title content and the body content. The multimedia uniform resource locator (UniformResourceLocator, referred to as URL) includes the thumbnail and source file in the message.
[0051] In addition, the information content of the target short message also includes the operation rules of the message interactive controls in the user interface, such as: opening a link requires providing a uniform resource locator, making a call requires providing a phone number, etc.
[0052] In the embodiment of this specification, the processing of the above step S208 can be varied. An optional processing method is provided below. For details, please refer to the processing of the following steps S2082-S2086.
[0053] In step S2082, page address information of the third-party social application information is obtained based on the third-party social application information.
[0054] In step S2084, the page address information of the third-party social application information is converted into third-party social application deep link information.
[0055] In step S2086, wake-up parameters for data sharing are generated according to the third-party social application deep link information, and the wake-up parameters are sent to the terminal device.
[0056] Continuing to use WeChat as a third-party social application, the target short message takes the rich media card SMS as an example. After completing the assembly of the WeChat applet rich media card SMS, obtain the WeChat applet page address to which the rich media card SMS belongs and convert it into a deeplink (i.e. deep link information), and then assemble and integrate this deeplink into the WeChat sharing call parameters (i.e. wake-up parameters) required by the terminal device and send it to the terminal device.
[0057] In the embodiment of the present specification, the preset format of the third-party social application in the above step S206 may include: one or more of: a card cover, a card title, a card body, and a card message interactive control of the third-party social application information.
[0058] Figure 8 is a system timing diagram of the data sharing method of the present invention, Figure 8 The rich media card short message sharing transfer system is used as the execution subject of steps S202-S208. Figure 8 It can be seen that the specific implementation steps of the data sharing method in the embodiment of this specification may include the following process: 1) After the user receives a rich media card message on the terminal device, long press the card message to choose to share. At this time, the terminal carries the message of the rich media card message to request the rich media card message sharing transfer system. Among them, the key messages carried by the terminal include message type (5G message, reading message, other), message style (5G message includes text + button, multimedia + button, multimedia + text + button, etc., reading message includes picture and text, video and text, etc.), card quantity, text content (including title and body), multimedia URL (including thumbnail and source file), button name, button operation, etc.; 2) After receiving the sharing request from the terminal device, the rich media card SMS sharing transit system parses the message transmitted by the terminal device, and then calls the open performance of the WeChat applet to assemble the above message into a WeChat applet rich media card SMS page according to its development specifications. The style and information interaction method of the WeChat applet rich media card SMS page are consistent with the terminal device, and the basic framework of the WeChat applet rich media card SMS page includes the card cover, card title, card text and card button (i.e., card message interactive control).
[0059] 3) After completing the assembly of the WeChat mini-program rich media card SMS, the rich media card SMS sharing transit system obtains the WeChat mini-program page address to which the rich media card SMS belongs and converts it into a deeplink, and then assembles and integrates this deeplink into the WeChat sharing call parameters (i.e. wake-up parameters) required by the terminal device for the terminal device.
[0060] 4) The rich media card SMS sharing transit system returns the parameters including the deeplink of the WeChat applet rich media card SMS page to the terminal device. The terminal device caches the parameters in preparation for enabling the parameters when the user selects a specific sharing channel.
[0061] 5) When the user chooses to share to WeChat on the terminal device, the terminal device will assemble the cached WeChat sharing call parameters including the deeplink of the WeChat Mini Program rich media card SMS page into the app wake-up SDK interface provided by the WeChat platform, thereby opening the WeChat Mini Program rich media card SMS page in the WeChat app. After the user jumps to the WeChat Mini Program rich media card SMS page, he can complete operations such as sharing to friends, group chats, and WeChat circles on the page. In addition, when the person being shared receives and opens the page, he can view and interact with the rich media card SMS, and can also share it a second time to achieve user fission.
[0062] Through the above steps, it is possible to ensure that the rich media card SMS is quickly and accurately converted into the card SMS of the WeChat applet, and realize smooth sharing on the WeChat platform, effectively filling the technical gap that the rich media card SMS does not support direct WeChat sharing on the terminal, opening up the channel for the content sharing of rich media card SMS and third-party social applications such as WeChat, facilitating users to share information to other platforms, expanding the scope and influence of data dissemination, and promoting deep integration with the Internet ecosystem. It can also enhance social interaction, allowing users to share the entire rich media card SMS, improve user participation and interactivity, enhance the sociality and interactivity of information, and bring users a richer and more diverse information experience. In addition, the above method is also conducive to reducing the coupling degree between rich media card SMS and terminal devices. The sharee d does not need to support the parsing of rich media card SMS, and can also experience a consistent display and interactive experience, so that all users can receive and experience it. By decoupling the strong binding relationship between rich media card SMS and terminal devices, more users can understand and experience rich media card SMS, which is conducive to expanding the user group and product awareness, and promoting the application of rich media card SMS.
[0063] In summary, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recorded in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.
[0064] The above is a data sharing method provided by one or more embodiments of this specification. Based on the same idea, one or more embodiments of this specification also provide a data sharing device, such as Fig. 9 shown.
[0065] The data sharing device comprises: A first sharing request generating module 310 is used to generate a first sharing request carrying a target short message, where the target short message is multimedia information to be shared. The first sharing request is used to trigger the receiving end of the first sharing request to parse and extract the target short message based on the first sharing request to obtain first information, convert the first information into third-party social application information in a preset format of the third-party social application based on a preset format of the third-party social application, and generate a wake-up parameter for data sharing based on the page address information of the third-party social application information, where the third-party social application is set in the terminal device; A wake-up parameter assembly module 320, for receiving the wake-up parameters and assembling the wake-up parameters into an interface of a third-party social application platform corresponding to the third-party social application; The information sharing module 330 is used to share the third-party social application information by calling an interface to share the target short message.
[0066] In the embodiment of the present specification, the interface in the wake-up parameter assembly module 320 includes: a first interface for opening a third-party social application information page and a second interface for sharing a target short message.
[0067] In the embodiment of this specification, the third-party social application in the wake-up parameter assembly module 320 is an instant messaging application, the first interface is an H5 interface, and the second interface is an SDK forwarding interface.
[0068] In the embodiment of this specification, the wake-up parameter assembly module 320 includes: A parameter receiving unit, used for receiving and caching wake-up parameters; A parameter assembly unit is used to assemble the wake-up parameters into the interface of the third-party social application platform of the third-party social application corresponding to the sharing instruction based on the obtained sharing instruction, and the sharing instruction is used to indicate the type of the third-party social application used for sharing.
[0069] In the embodiment of this specification, the data sharing device also includes: The multiple sharing module is used for enabling the receiving end of the target short message to share the target short message multiple times based on the acquired second sharing request. The multiple sharing module is arranged at the receiving end of the target short message.
[0070] One or more embodiments of the present specification also provide another data sharing device, such as Fig.10 shown.
[0071] The data sharing device comprises: A first sharing request receiving module 410 is used to receive a first sharing request carrying a target short message, where the target short message is the multimedia information to be shared; The data parsing module 420 is used to parse and extract the content of the target short message based on the first sharing request to obtain the first information; The data conversion module 430 is used to convert the first information into third-party social application information in a preset format of the third-party social application based on the preset format of the third-party social application; The wake-up parameter generation module 440 is used to generate wake-up parameters for data sharing based on the page address information of the third-party social application information, and send the wake-up parameters to the terminal device so that the terminal device shares the target short message based on the wake-up parameters. The third-party social application is set in the terminal device.
[0072] In the embodiment of the present specification, the target short message in the first sharing request receiving module 410 is information in the form of a card, and the target short message includes: 5G information or letter reading information.
[0073] In the embodiment of the present specification, the information content of the target short message in the first sharing request receiving module 410 includes: message type, message style, number of message cards, text content in the message, multimedia uniform resource locator, and one or more of the names of message interactive controls in the user interface.
[0074] In the embodiment of this specification, the wake-up parameter generation module 440 includes: A page address information acquisition unit, used to acquire page address information of the third-party social application information based on the third-party social application information; An information conversion unit, configured to convert page address information of the third-party social application information into third-party social application deep link information; The wake-up parameter generation unit is used to generate wake-up parameters for data sharing according to the deep link information of the third-party social application, and send the wake-up parameters to the terminal device.
[0075] In the embodiment of the present specification, the preset format of the third-party social application in the data conversion module 430 includes: one or more of the card cover, card title, card body and card message interactive control of the third-party social application information.
[0076] The embodiment of the present invention provides a data sharing device, which first receives a first sharing request carrying a target short message through a first sharing request receiving module, and performs parsing and content extraction processing on the target short message based on the first sharing request through a data parsing module to obtain first information, and then uses a data conversion module to convert the first information into third-party social application information in a preset format that conforms to the third-party social application based on the preset format of the third-party social application, and finally generates a wake-up parameter for data sharing based on the page address information of the third-party social application information through a wake-up parameter generation module, and sends the wake-up parameter to a terminal device, so that the terminal device shares the target short message based on the wake-up parameter. In this way, by parsing and extracting the content of the target short message, the target short message (i.e., the first information) shared by the user can be accurately obtained, which is conducive to improving the accuracy of data sharing, and then by converting the first information into third-party social application information in a preset format that conforms to the third-party social application, accurate conversion of information can be achieved based on format matching, and the entire target short message can be shared, so that users of the third-party social application can directly view and share the target short message based on the third-party social application, so that the target short message can be disseminated and shared on a wider range of social media platforms, which is conducive to improving sharing efficiency and data transmission accuracy, and also conducive to improving user experience. Finally, by generating wake-up parameters for data sharing and sending them to the terminal device, the user can directly share the target short message through the terminal device, which is conducive to improving data sharing efficiency and user experience. In addition, by triggering the receiving end based on the preset format of the third-party social application, converting the first information into a third-party social application that conforms to the preset format of the third-party social application, and generating wake-up parameter information based on the page address information of the third-party social application information, and assembling the wake-up parameters into the interface of the third-party social application platform through the terminal device, the data sharing method can effectively reduce the coupling degree between the target short message and the terminal device, and the terminal device of the sharee can experience consistent information display and interactive experience without supporting the parsing of the target short message, which can make the target short message receivable and experiential to all users through mutual integration with existing Internet social media before the terminal fully covers and supports it, which is conducive to improving user experience.
[0077] Those skilled in the art should understand that the above-mentioned data sharing device can be used to implement the data sharing method mentioned above, and the detailed description thereof should be similar to the description of the method mentioned above, and will not be further described here to avoid redundancy.
[0078] Based on the same idea, one or more embodiments of this specification also provide an electronic device, such as Fig.11The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0079] Among them, the processor 510 is used to: generate a first sharing request carrying a target short message, where the target short message is the multimedia information to be shared, and the first sharing request is used to trigger the receiving end of the first sharing request to parse and extract the target short message based on the first sharing request to obtain first information, and based on the preset format of the third-party social application, convert the first information into third-party social application information that conforms to the preset format of the third-party social application, and generate a wake-up parameter for data sharing based on the page address information of the third-party social application information, and the third-party social application is set in the terminal device; receive the wake-up parameter, and assemble the wake-up parameter into the interface of the third-party social application platform corresponding to the third-party social application; share the third-party social application information by calling the interface to share the target short message.
[0080] The processor 510 is further configured to: set the interface to include: a first interface for opening a third-party social application information page and a second interface for sharing a target short message.
[0081] The processor 510 is further used to: set the third-party social application as an instant messaging application, and the first interface is an H5 interface, and the second interface is an SDK forwarding interface.
[0082] Processor 510 is also used to: receive and cache wake-up parameters; based on the obtained sharing instructions, assemble the wake-up parameters into the interface of the third-party social application platform of the third-party social application corresponding to the sharing instructions, and the sharing instructions are used to indicate the type of third-party social application used for sharing.
[0083] In addition, the processor 510 is further configured to: based on the obtained second sharing request, the receiving end of the target short message shares the target short message multiple times.
[0084] It should be understood that in the embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 510 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 501 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 501 can also communicate with the network and other electronic devices through a wireless communication system.
[0085] The electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0086] The audio output unit 503 can convert the audio data received by the RF unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 can also provide audio output related to a specific function performed by the electronic device 500 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, etc.
[0087] The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The graphics processor 5041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 506. The image frame processed by the graphics processor 5041 can be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502. The microphone 5042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 501 in the case of a telephone call mode.
[0088] The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and / or the backlight when the electronic device 500 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 505 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0089] The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0090] The user input unit 507 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5051 and other input devices 5072. The touch panel 5051, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch panel 5051). The touch panel 5051 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the processor 510, receives the command sent by the processor 510 and executes it. In addition, the touch panel 5051 can be implemented using multiple types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 5051, the user input unit 507 may also include other input devices 5072. Specifically, other input devices 5072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0091] Furthermore, the touch panel 5051 may be overlaid on the display panel 5061. When the touch panel 5051 detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of touch event. Then, the processor 510 provides corresponding visual output on the display panel 5061 according to the type of touch event. Fig.11 In the figure, the touch panel 5051 and the display panel 5061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 5051 and the display panel 5061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0092] The interface unit 508 is an interface for connecting an external device to the electronic device 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 500 or may be used to transmit data between the electronic device 500 and an external device.
[0093] The memory 509 can be used to store software programs and various data. The memory 509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 509 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0094] The processor 510 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 509 and calling data stored in the memory 509, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 510.
[0095] The electronic device 500 may also include a power source 511 (such as a battery) for supplying power to various components. Preferably, the power source 511 may be logically connected to the processor 510 via a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0096] Preferably, an embodiment of the present invention further provides an electronic device, including a processor 510, a memory 509, and a computer program stored in the memory 509 and executable on the processor 510. When the computer program is executed by the processor 510, each process of the above-mentioned data sharing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0097] One or more embodiments of the present specification also provide another electronic device, which includes but is not limited to: a radio frequency unit, a network module, an audio output unit, an input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
[0098] Among them, the processor is used to: receive a first sharing request carrying a target short message, where the target short message is the multimedia information to be shared; parse and extract the content of the target short message based on the first sharing request to obtain first information; based on the preset format of the third-party social application, convert the first information into third-party social application information that conforms to the preset format of the third-party social application; generate a wake-up parameter for data sharing based on the page address information of the third-party social application information, and send the wake-up parameter to the terminal device, so that the terminal device shares the target short message based on the wake-up parameter, and the third-party social application is set in the terminal device.
[0099] The processor is further used to: set the target short message to be information in the form of a card, and the target short message includes: 5G information or letter reading information.
[0100] The processor is further used to: set the information content of the target short message to include: one or more of: message type, message style, number of message cards, text content in the message, multimedia uniform resource locator, and name of the message interactive control in the user interface.
[0101] The processor is also used to: obtain page address information of the third-party social application information based on the third-party social application information; convert the page address information of the third-party social application information into third-party social application deep link information; generate wake-up parameters for data sharing based on the third-party social application deep link information, and send the wake-up parameters to the terminal device.
[0102] The processor is further used to: set the preset format of the third-party social application to include: one or more of the card cover, card title, card body and card message interactive control of the third-party social application information.
[0103] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned data sharing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0104] An embodiment of the present invention further provides a computer program product, including a computer program. When the computer program is executed by a processor, the various processes of the above-mentioned data sharing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0105] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0106] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0107] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0109] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0110] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0111] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0112] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device 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, commodity or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0113] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0114] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A data sharing method, applied to a terminal device, characterized in that: The method comprises: generating a first sharing request carrying a target short message, wherein the target short message is multimedia information to be shared, wherein the first sharing request is used to trigger a receiving end of the first sharing request to parse and extract content from the target short message based on the first sharing request to obtain first information, converting the first information into third-party social application information in a preset format that conforms to the third-party social application based on a preset format of the third-party social application, and generating a wake-up parameter for data sharing based on page address information of the third-party social application information, wherein the third-party social application is set in the terminal device; receiving the wake-up parameter, and assembling the wake-up parameter into an interface of a third-party social application platform corresponding to the third-party social application; The target short message is shared by calling the interface to share the third-party social application information.
2. The method according to claim 1, characterized in that The interface includes: a first interface for opening a third-party social application information page and a second interface for sharing the target short message.
3. The method according to claim 2, characterized in that The third-party social application is an instant messaging application, the first interface is an H5 interface, and the second interface is an SDK forwarding interface.
4. The method according to claim 1, characterized in that: The receiving the wake-up parameter and assembling the wake-up parameter into an interface of a third-party social application platform corresponding to the third-party social application includes: Receiving and buffering the wake-up parameters; Based on the acquired sharing instruction, the wake-up parameter is assembled into an interface of a third-party social application platform of a third-party social application corresponding to the sharing instruction, wherein the sharing instruction is used to indicate the type of the third-party social application for sharing.
5. The method according to claim 1, characterized in that The method further comprises: Based on the acquired second sharing request, the receiving end of the target short message shares the target short message multiple times.
6. A data sharing method, characterized in that: The method comprises: receiving a first sharing request carrying a target short message, wherein the target short message is multimedia information to be shared; Parsing and extracting content from the target short message based on the first sharing request to obtain first information; Based on a preset format of the third-party social application, converting the first information into third-party social application information in a preset format that conforms to the third-party social application; A wake-up parameter for data sharing is generated based on the page address information of the third-party social application information, and the wake-up parameter is sent to a terminal device so that the terminal device shares the target short message based on the wake-up parameter. The third-party social application is set in the terminal device.
7. The method according to claim 6, characterized in that The target short message is information in a card format, and the target short message includes: 5G information or letter reading information.
8. The method according to claim 6, characterized in that The information content of the target short message includes: one or more of: message type, message style, number of message cards, text content in the message, multimedia uniform resource locator, and name of a message interactive control in a user interface.
9. The method according to claim 6, characterized in that The generating a wake-up parameter for data sharing based on the page address information of the third-party social application information, and sending the wake-up parameter to the terminal device, includes: Acquire page address information of the third-party social application information based on the third-party social application information; Converting the page address information of the third-party social application information into third-party social application deep link information; Generate a wake-up parameter for data sharing according to the third-party social application deep link information, and send the wake-up parameter to the terminal device.
10. The method according to claim 6, characterized in that The preset format of the third-party social application includes: one or more of a card cover, a card title, a card body, and a card message interactive control of the third-party social application information.
Citation Information
Patent Citations
Resource sharing method
CN104811485A
Sharing method and terminal equipment
CN110471895A
Message forwarding method and device between clients, and terminal
CN112087362A
Application program packaging method and system based on HTML5 and readable medium
CN113835748A
Data processing and interaction method and device of application program, equipment and storage medium
CN114168220A
Cited By
Short message card sharing method, electronic device, and system
WO2026166372A1