CN113094608A - Content sharing method and device, electronic equipment and medium - Google Patents
Content sharing method and device, electronic equipment and medium Download PDFInfo
- Publication number
- CN113094608A CN113094608A CN202110391695.0A CN202110391695A CN113094608A CN 113094608 A CN113094608 A CN 113094608A CN 202110391695 A CN202110391695 A CN 202110391695A CN 113094608 A CN113094608 A CN 113094608A
- Authority
- CN
- China
- Prior art keywords
- sharing
- application
- carrier
- content
- shared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000004590 computer program Methods 0.000 claims abstract description 25
- 230000006870 function Effects 0.000 claims description 34
- 238000004891 communication Methods 0.000 claims description 17
- 230000015654 memory Effects 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 7
- 238000004806 packaging method and process Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 15
- 239000000969 carrier Substances 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000003999 initiator Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9554—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9558—Details of hyperlinks; Management of linked annotations
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present disclosure provides a content sharing method, including: receiving a sharing instruction; responding to a sharing instruction, and generating a first sharing carrier for sharing the content of the first application; processing the first shared carrier by using a second application to obtain a second shared carrier, wherein the second shared carrier can be identified by a third application in the target electronic equipment, and the first application is different from the third application; and sharing the second sharing carrier to the target electronic equipment through the sharing channel, so that the target electronic equipment identifies the second sharing carrier through the third application to acquire the content of the first application. In addition, the disclosure also provides a content sharing device, an electronic device, a computer readable storage medium and a computer program product. The method and the device provided by the disclosure can be used in the financial field, the internet technical field or other fields.
Description
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a content sharing method, a content sharing apparatus, an electronic device, a readable storage medium, and a computer program product.
Background
Currently, when a user shares content of a target application, the user generally uses a sharing function provided by the target application to implement the sharing. However, because different applications have different data encoding modes and content storage modes, the sharing function provided by the target application can only share the content of the target application through a specified sharing channel, and the generated sharing carrier, such as a two-dimensional code picture, cannot be directly identified by other applications.
In the process of realizing the method, the problems that the sharing channel is limited and the sharing carrier cannot be directly identified by other applications exist in the sharing function of the conventional application are found.
Disclosure of Invention
In view of the above, the present disclosure provides a content sharing method, a content sharing apparatus, an electronic device, a readable storage medium, and a computer program product.
One aspect of the present disclosure provides a content sharing method, including: receiving a sharing instruction; responding to the sharing instruction, and generating a first sharing carrier for sharing the content of the first application; processing the first shared carrier by using a second application to obtain a second shared carrier, wherein the second shared carrier can be identified by a third application in the target electronic device, and the first application is different from the third application; and sharing the second sharing carrier to the target electronic device through a sharing channel, so that the target electronic device identifies the second sharing carrier through the third application to acquire the content of the first application.
According to an embodiment of the present disclosure, the generating, in response to the sharing instruction, a first share bearer for sharing content of a first application includes: storing the content of the first application, wherein the content of the first application comprises a user identity identifier, a page identifier, a function page and/or a content page; generating a function link and/or a content link of the first application based on the function page and/or the content page according to the content of the sharing instruction; and modifying the function link and/or the content link by using the user identity and the page identity to obtain the first sharing carrier.
According to an embodiment of the disclosure, the second sharing carrier includes any one of a two-dimensional code picture, a sharing link, and a clickable icon.
According to an embodiment of the present disclosure, the processing the first shared carrier by using a second application to obtain the second shared carrier includes: acquiring the coding rule of the first application by using the second application; decoding the first sharing carrier based on the coding rule to obtain a sharing address; acquiring the coding rule of the third application through a communication link by using the second application; and packaging the sharing address based on the coding rule of the third application to obtain the two-dimensional code picture.
According to an embodiment of the present disclosure, the processing the first shared carrier by using a second application to obtain the second shared carrier includes: acquiring the coding rule of the first application by using the second application; decoding the first sharing carrier based on the coding rule to obtain a sharing address; and establishing a sharing link pointing to the sharing address.
According to an embodiment of the present disclosure, the processing the first shared carrier by using a second application to obtain the second shared carrier includes: generating a frame image of the first application; editing the frame of image into an image button based on an interface editing method; acquiring the coding rule of the first application by using the second application; decoding the first sharing carrier based on the coding rule to obtain a sharing address; and establishing the relation between the sharing address and the image button to obtain the dot icon.
According to an embodiment of the present disclosure, the sharing channel includes the third application, a short message or an email.
Another aspect of the present disclosure provides a content sharing apparatus including a receiving module, a first processing module, a second processing module, and a sharing module. Wherein: the receiving module is used for receiving a sharing instruction; the first processing module is used for responding to the sharing instruction and generating a first sharing carrier used for sharing the content of the first application; a second processing module, configured to process the first shared carrier using a second application to obtain a second shared carrier, where the second shared carrier is identifiable by a third application in the target electronic device, and the first application is different from the third application; and the sharing module is used for sharing the second sharing carrier to target electronic equipment through a sharing channel so that the target electronic equipment identifies the second sharing carrier through the third application to acquire the content of the first application.
According to an embodiment of the present disclosure, the first processing module includes a first processing unit, a second processing unit, and a third processing unit. The first processing unit is configured to store content of the first application, where the content of the first application includes a user identity identifier, a page identifier, and a function page and/or a content page; the second processing unit is used for generating a function link and/or a content link of the first application based on the function page and/or the content page according to the content of the sharing instruction; and a third processing unit, configured to modify the function link and/or the content link using the user identity and the page identity to obtain the first sharing carrier.
According to an embodiment of the disclosure, the second sharing carrier includes any one of a two-dimensional code picture, a sharing link, and a clickable icon.
According to an embodiment of the present disclosure, the second processing module includes a fourth processing unit, a fifth processing unit, and a sixth processing unit.
According to an embodiment of the present disclosure, the fourth processing unit is configured to: acquiring the coding rule of the first application by using the second application; decoding the first sharing carrier based on the coding rule to obtain a sharing address; acquiring the coding rule of the third application through a communication link by using the second application; and packaging the sharing address based on the coding rule of the third application to obtain the two-dimensional code picture.
According to an embodiment of the present disclosure, the fifth processing unit is configured to: acquiring the coding rule of the first application by using the second application; decoding the first sharing carrier based on the coding rule to obtain a sharing address; and establishing a sharing link pointing to the sharing address.
According to an embodiment of the present disclosure, the sixth processing unit is configured to: generating a frame image of the first application; editing the frame of image into an image button based on an interface editing method; acquiring the coding rule of the first application by using the second application; decoding the first sharing carrier based on the coding rule to obtain a sharing address; and establishing the relation between the sharing address and the image button to obtain the dot icon.
According to an embodiment of the present disclosure, the sharing channel includes the third application, a short message or an email.
Another aspect of the present disclosure provides an electronic device including: one or more processors; memory to store one or more instructions, wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement a method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
Another aspect of the disclosure provides a computer program product comprising computer executable instructions for implementing the method as described above when executed.
According to the embodiment of the disclosure, after the sharing instruction is received, a first sharing carrier used for sharing the content of the first application is generated, the first sharing carrier is processed by the second application to obtain a second sharing carrier, and the second sharing carrier is shared to the target electronic device through the sharing channel, so that the third application on the target electronic device can identify the second sharing carrier to obtain the content of the first application. By adopting the technical means, the problem that the content cannot be directly shared due to different application coding methods is solved, and the user experience is further improved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an exemplary system architecture 100 to which a content sharing method may be applied, according to an embodiment of the present disclosure;
fig. 2 schematically illustrates a flow diagram of a content sharing method 200 according to an embodiment of the present disclosure;
fig. 3a schematically shows a schematic diagram of a first share carrier generated by a video application according to an embodiment of the present disclosure;
fig. 3b schematically shows a schematic diagram of an identification result of a social application for the first share carrier in fig. 3a according to an embodiment of the present disclosure;
fig. 4 schematically shows a schematic diagram of a content sharing flow according to another embodiment of the present disclosure;
fig. 5 schematically illustrates a block diagram of a content sharing apparatus according to an embodiment of the present disclosure;
fig. 6 schematically shows a block diagram of an electronic device 600 adapted to implement the above described method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In order to solve the problem that contents cannot be directly shared among different applications, a password type content sharing method exists in the related art. The user can directly generate a corresponding password in the sharing function of the appointed application, and the password can be stored in the memory clipboard and sent to the shared target user through other applications. However, other applications generally cannot directly recognize the password, and after receiving the password, the other applications need to store the password in the memory clipboard, so as to jump to the designated application, and then the designated application recognizes the password in the memory clipboard, so as to obtain the content that the user wants to share. The related content sharing method generally has the problems of complex operation and poor user experience.
Therefore, embodiments of the present disclosure provide a content sharing method, a content sharing apparatus, an electronic device, a readable storage medium, and a computer program product, which are used to solve the problem that content cannot be directly shared among different applications, so as to improve user experience. The content sharing method comprises the following steps: receiving a sharing instruction; responding to a sharing instruction, and generating a first sharing carrier for sharing the content of the first application; processing the first shared carrier by using a second application to obtain a second shared carrier, wherein the second shared carrier can be identified by a third application in the target electronic equipment, and the first application is different from the third application; and sharing the second sharing carrier to the target electronic equipment through the sharing channel, so that the target electronic equipment identifies the second sharing carrier through the third application to acquire the content of the first application.
Fig. 1 schematically illustrates an exemplary system architecture 100 to which a content sharing method may be applied, according to an embodiment of the disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, 104 and a network 105.
The terminal devices 101, 102, 103, 104 may be electronic devices having a display screen and supporting at least one input mode, such as voice input, touch input, keyboard input, and the like, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. Various applications may be installed on the terminal devices 101, 102, 103, 104, including but not limited to shopping applications, browser applications, social applications, communication applications, and the like.
The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103, 104. The network 105 may include various connection types, such as wired and/or wireless communication links, and so forth. At least one of the terminal devices 101, 102, 103, and 104 may serve as an initiator of content sharing, and the other terminal devices may serve as a shared party, and a user may use the network 105 to implement information interaction between the terminal devices 101, 102, 103, and 104, so as to implement content sharing of target shared content among the terminal devices 101, 102, 103, and 104.
It should be noted that the content sharing method provided by the embodiment of the present disclosure may generally be executed by a terminal device serving as an initiator of content sharing in the terminal devices 101, 102, 103, and 104, and accordingly, the content sharing apparatus provided by the embodiment of the present disclosure may generally be disposed in the terminal devices 101, 102, 103, and 104. In addition, the content sharing method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that can communicate with the terminal devices 101, 102, 103, and 104, and accordingly, the content sharing apparatus provided by the embodiment of the present disclosure may also be provided in a server or a server cluster that can communicate with the terminal devices 101, 102, 103, and 104.
It should be understood that the number of terminal devices and networks in fig. 1 is merely illustrative. There may be any number of terminal devices and networks, as desired for implementation.
Fig. 2 schematically illustrates a flow chart of a content sharing method 200 according to an embodiment of the present disclosure.
As shown in FIG. 2, the method 200 includes operations S210-S240.
In operation S210, a sharing instruction is received.
According to an embodiment of the disclosure, the sharing instruction includes a sharing instruction generated by the sharing function of the first application in response to the input information of the user, where the input information of the user may be voice information, touch information, and the like for the first application, or information generated when the user uses the second application.
In operation S220, a first share bearer for sharing content of a first application is generated in response to the sharing instruction.
According to the embodiment of the disclosure, the content of the first application may be some functions of the first application, and may also be some page content of the first application, and here, the content of the first application is not limited.
According to the embodiment of the disclosure, the first shared carrier is generated by the first application based on the encoding mode of the first application, and the first shared carrier may include carriers in the forms of links, two-dimensional codes, puncturable icons, passwords and the like.
In operation S230, the first shared carrier is processed using the second application, resulting in a second shared carrier.
According to the embodiment of the disclosure, the second application includes various encoding and decoding applications, and the second application can perform data interaction with the first application in the memory and also can communicate with a third application in the target electronic device through a wired or wireless communication link.
According to an embodiment of the present disclosure, the second shared carrier is capable of being identified by a third application in the target electronic device.
According to an embodiment of the present disclosure, the third application may include a browser application, a social application, a communication application, and the like, and the third application may be other applications of the same type as the first application or may be different types of applications from the first application.
In operation S240, the second sharing carrier is shared to the target electronic device through the sharing channel.
According to the embodiment of the disclosure, after the target electronic device receives the second shared carrier, the third application in the device can be used for identifying the second shared carrier, so that the content of the first application shared by the user is acquired.
According to an embodiment of the present disclosure, the third application may directly open the content of the first application without having to jump from the third application to the first application in the target electronic device in order to open the content of the first application.
According to the embodiment of the disclosure, after the sharing instruction is received, a first sharing carrier used for sharing the content of the first application is generated, the first sharing carrier is processed by the second application to obtain a second sharing carrier, and the second sharing carrier is shared to the target electronic device through the sharing channel, so that the third application on the target electronic device can identify the second sharing carrier to obtain the content of the first application. By adopting the technical means, the problem that the content cannot be directly shared due to different application coding methods is solved, and the user experience is further improved.
The method shown in fig. 2 is further explained below with reference to fig. 3a, 3b and 4 in connection with specific embodiments.
It should be noted that, unless explicitly stated that there is an execution sequence between different operations or there is an execution sequence between different operations in technical implementation, the execution sequence between multiple operations may not be sequential, or multiple operations may be executed simultaneously in the flowchart in this disclosure.
According to the embodiment of the disclosure, after a user inputs a sharing instruction, the first application can clearly determine the content of the first application to be shared according to the sharing instruction, and the content of the first application can include a user identity identifier, a page identifier and some specified functions or contents.
According to an embodiment of the present disclosure, modifying the link using the user identity and the page identity may include: at the end of the link is added a string representing the user's identity and page.
In an embodiment of the present disclosure, the first shared carrier exists in a linked form, and in other embodiments of the present disclosure, the first shared carrier may be further packaged, and the linked form carrier is converted into another form carrier, for example, the link may be packaged as a two-dimensional code picture, a puncturable icon, an identification password, and the like.
Fig. 3a schematically shows a schematic diagram of a first share carrier generated by a video application according to an embodiment of the present disclosure.
As shown in fig. 3a, the first shared carrier may be a carrier existing in the form of a two-dimensional code picture. The two-dimensional code picture can comprise a page identifier and a user identifier, wherein the page identifier can show general content in the page, and the user identifier can be a user identifier of a content or function provider or a user identifier of a sharing initiator.
Fig. 3b schematically shows a schematic diagram of an identification result of a social application for the first sharing carrier in fig. 3a according to an embodiment of the present disclosure.
Based on the business purpose, in order to increase the installation amount and the number of users of the application and promote the application, different applications generally adopt different encoding modes, and when other applications different from the first application are directly used to identify the first sharing carrier, it is possible to obtain an identification result of the "two-dimensional code not found" shown in fig. 3b, so that the sharing content of the first application cannot be directly obtained.
Therefore, in the embodiments of the present disclosure, the above technical problem is solved by processing the first shared carrier using the second application.
Fig. 4 schematically shows a schematic diagram of a content sharing process according to another embodiment of the present disclosure.
As shown in fig. 4, the content sharing process includes sharing the content of the first application to the second electronic device in the first electronic device by using the related method of operations S210 to S240 in the content sharing method 200, and processing the obtained content of the first application in the second electronic device.
According to an embodiment of the present disclosure, after obtaining the sharing instruction 410, the first electronic device 420 sends the sharing instruction 410 to the first application 421, and the first application 421 may generate the first sharing carrier 422 based on the content specified in the sharing instruction 410. Specifically, the generation flow of the first shared carrier 422 may include:
first, the content of the first application 421 is saved in the memory of the first electronic device 420 for further processing of the content.
Then, according to the content of the sharing instruction 410, based on the function page and/or the content page, a function link and/or a content link of the first application 421 is generated.
Finally, the functional links and/or content links are modified using the user identity and the page identity to obtain the first share carrier 422.
According to an embodiment of the present disclosure, the first shared carrier 422 may be processed using the second application 423 to obtain a second shared carrier 424 that may be recognized by a third application 431 in the second electronic device 430. Specifically, the processing flow of the first shared carrier 422 may include:
first, the encoding rule of the first application 421 is acquired using the second application 423.
According to an embodiment of the present disclosure, the applied encoding rules include different encoding formats selected according to different character sets, for example, according to the UCS character set, there are two encoding formats, UCS-2 and UCS-4; according to the UNICODE character set, there are encoding formats such as UTF-8, UTF-16, UTF-32, etc.
Then, the first sharing carrier 422 is decoded based on the encoding rule to obtain the sharing address.
According to the embodiment of the present disclosure, after the encoding rule of the first application 421 is obtained, the first share carrier generated by using the sharing function built in the first application 421 may be reversely compiled according to the encoding rule, and the address of the first share carrier on the server side is obtained as the sharing address of the first share carrier 422.
Finally, after determining the shared address, a second shared carrier 424 may be generated using the second application 423 that points to the shared address.
The second shared carrier 424 may include carriers in the forms of two-dimensional code pictures, sharing links, clickable icons, and the like, and the carriers in different forms may be generated by different methods.
According to the embodiment of the disclosure, the second application 423 may be used to obtain the encoding rule of the third application 431 in the second electronic device 430 through the communication link, and based on the encoding rule of the third application 431 and the construction rule of the two-dimensional code, the shared address may be packaged into a two-dimensional code picture.
According to the embodiment of the present disclosure, the second application 423 may be used to establish a connection pointing to the sharing address according to a general rule that the browser accesses the server address, so as to obtain the sharing link.
According to an embodiment of the present disclosure, a frame image of the content of the first application 421 may be first acquired; then generating a button of the uncharacteristic pointing target according to an interface editing method; packaging the button by using the frame image to obtain an image button; and finally, determining a specific pointing target of the image button, namely enabling the image button to point to the sharing address to obtain a clickable icon.
According to the embodiment of the present disclosure, the above method may be implemented by an existing encoding and decoding tool, or may be implemented by a program compiled according to a related algorithm by using a programming language such as C, JAVA, PYTHON, and the like, and details of a specific implementation method are not described herein again.
According to the embodiment of the disclosure, the generated second sharing carrier 424 may be sent to the target electronic device through the third application 431, an online channel such as a short message or an email, so that the target electronic device obtains the shared content of the first application 421.
In addition, the second sharing carrier 424 in the form of a two-dimensional code picture can also be shared to the target electronic device through a channel under a line. For example, the user may store and print the two-dimensional code picture generated by the second application, and the target user may scan the two-dimensional code picture to be printed by using the application having the two-dimensional code scanning function, so that the target electronic device obtains the shared content of the first application 421.
According to the embodiment of the disclosure, after the third application 431 identifies the content of the first application 421, the second electronic device 430 jumps to the first application 421 and automatically opens the content shared by the first electronic device 420. In the case that the second electronic device 430 does not include the first application 421, after the third application 431 identifies the content of the first application 421, the user may automatically jump to the download page of the first application 421, and after the first application 421 is downloaded, the content shared by the first electronic device 420 is automatically opened.
Fig. 5 schematically shows a block diagram of a content sharing apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the content sharing apparatus includes a receiving module 510, a first processing module 520, a second processing module 530, and a sharing module 540.
The receiving module 510 is configured to receive a sharing instruction.
The first processing module 520 is configured to generate a first sharing carrier for sharing the content of the first application in response to the sharing instruction.
A second processing module 530, configured to process the first shared carrier using a second application to obtain a second shared carrier, where the second shared carrier is identifiable by a third application in the target electronic device, and the first application is different from the third application.
The sharing module 540 is configured to share the second sharing carrier with the target electronic device through the sharing channel, so that the target electronic device identifies the second sharing carrier through the third application to obtain the content of the first application.
According to the embodiment of the disclosure, after the sharing instruction is received, a first sharing carrier used for sharing the content of the first application is generated, the first sharing carrier is processed by the second application to obtain a second sharing carrier, and the second sharing carrier is shared to the target electronic device through the sharing channel, so that the third application on the target electronic device can identify the second sharing carrier to obtain the content of the first application. By adopting the technical means, the problem that the content cannot be directly shared due to different application coding methods is solved, and the user experience is further improved.
According to an embodiment of the present disclosure, the first processing module 520 includes a first processing unit, a second processing unit, and a third processing unit. The first processing unit is used for storing the content of a first application, wherein the content of the first application comprises a user identity identifier, a page identifier, a function page and/or a content page; the second processing unit is used for generating a function link and/or a content link of the first application based on the function page and/or the content page according to the content of the sharing instruction; and the third processing unit is used for modifying the functional link and/or the content link by using the user identity identification and the page identification to obtain the first sharing carrier.
According to the embodiment of the disclosure, the second sharing carrier comprises any one of a two-dimensional code picture, a sharing link and a puncturable icon.
The second processing module 530 includes a fourth processing unit, a fifth processing unit, and a sixth processing unit according to an embodiment of the present disclosure.
According to an embodiment of the disclosure, the fourth processing unit is configured to: acquiring an encoding rule of the first application by using the second application; decoding the first sharing carrier based on the encoding rule to obtain a sharing address; obtaining an encoding rule of a third application through the communication link using the second application; and packaging the sharing address based on the coding rule of the third application to obtain the two-dimensional code picture.
According to an embodiment of the disclosure, the fifth processing unit is to: acquiring an encoding rule of the first application by using the second application; decoding the first sharing carrier based on the encoding rule to obtain a sharing address; and establishing a sharing link pointing to the sharing address.
According to an embodiment of the present disclosure, the sixth processing unit is configured to: generating a frame image of a first application; editing a frame of image into an image button based on an interface editing method; acquiring an encoding rule of the first application by using the second application; decoding the first sharing carrier based on the encoding rule to obtain a sharing address; and establishing a relation between the sharing address and the image button to obtain a clickable icon.
According to the embodiment of the disclosure, the sharing channel includes a third application, a short message or an email.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
It should be noted that the content sharing method and device provided by the embodiment of the disclosure can be used in the field of internet technology or communication technology, and are used for solving the problem that content cannot be directly shared among existing applications, so as to improve the use experience of users. In addition, the content sharing method and device provided by the embodiment of the disclosure can also be used in any other fields except the internet technical field and the communication technical field, and the content sharing method and device provided by the embodiment of the disclosure are not limited to the application field.
Fig. 6 schematically shows a block diagram of an electronic device 600 adapted to implement the above described method according to an embodiment of the present disclosure. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 601 may also include onboard memory for caching purposes. Processor 601 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are stored. The processor 601, the ROM602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM602 and/or RAM 603. It is to be noted that the programs may also be stored in one or more memories other than the ROM602 and RAM 603. The processor 601 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM602 and/or RAM 603 described above and/or one or more memories other than the ROM602 and RAM 603.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method provided by the embodiments of the present disclosure, when the computer program product is run on an electronic device, the program code being configured to cause the electronic device to implement the content sharing method provided by the embodiments of the present disclosure.
The computer program, when executed by the processor 601, performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, downloaded and installed through the communication section 609, and/or installed from the removable medium 611. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.
Claims (11)
1. A content sharing method, comprising:
receiving a sharing instruction;
responding to the sharing instruction, and generating a first sharing carrier for sharing the content of the first application;
processing the first shared carrier by using a second application to obtain a second shared carrier, wherein the second shared carrier can be identified by a third application in a target electronic device, and the first application is different from the third application; and
and sharing the second sharing carrier to target electronic equipment through a sharing channel so that the target electronic equipment identifies the second sharing carrier through the third application to acquire the content of the first application.
2. The method of claim 1, wherein the generating, in response to the sharing instruction, a first share carrier for sharing content of a first application comprises:
saving the content of the first application, wherein the content of the first application comprises a user identity identifier, a page identifier, a function page and/or a content page;
generating a function link and/or a content link of the first application based on the function page and/or the content page according to the content of the sharing instruction; and
and modifying the function link and/or the content link by using the user identity identification and the page identification to obtain the first sharing carrier.
3. The method according to claim 1, wherein the second sharing carrier comprises any one of a two-dimensional code picture, a sharing link and a puncturable icon.
4. The method of claim 3, wherein the processing the first shared carrier using a second application to obtain the second shared carrier comprises:
obtaining an encoding rule of the first application using the second application;
decoding the first sharing carrier based on the coding rule to obtain a sharing address;
obtaining, using the second application, an encoding rule of the third application over a communication link; and
and packaging the sharing address based on the coding rule of the third application to obtain the two-dimensional code picture.
5. The method of claim 3, wherein the processing the first shared carrier using a second application to obtain the second shared carrier comprises:
obtaining an encoding rule of the first application using the second application;
decoding the first sharing carrier based on the coding rule to obtain a sharing address; and
and establishing a sharing link pointing to the sharing address.
6. The method of claim 3, wherein the processing the first shared carrier using a second application to obtain the second shared carrier comprises:
generating a frame image of the first application;
editing the frame of image into an image button based on an interface editing method;
obtaining an encoding rule of the first application using the second application;
decoding the first sharing carrier based on the coding rule to obtain a sharing address; and
and establishing a relation between the sharing address and the image button to obtain the clickable icon.
7. The method of claim 1, wherein the sharing channel comprises the third application, a text message, or an email.
8. A content sharing apparatus, comprising:
the receiving module is used for receiving a sharing instruction;
the first processing module is used for responding to the sharing instruction and generating a first sharing carrier used for sharing the content of the first application;
a second processing module, configured to process the first shared carrier using a second application to obtain a second shared carrier, where the second shared carrier is identifiable by a third application in a target electronic device, and the first application is different from the third application; and
and the sharing module is used for sharing the second sharing carrier to the target electronic equipment through a sharing channel so that the target electronic equipment identifies the second sharing carrier through the third application to acquire the content of the first application.
9. An electronic device, comprising:
one or more processors;
a memory to store one or more instructions that,
wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 7.
11. A computer program product comprising computer executable instructions for implementing the method of any one of claims 1 to 7 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110391695.0A CN113094608A (en) | 2021-04-12 | 2021-04-12 | Content sharing method and device, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110391695.0A CN113094608A (en) | 2021-04-12 | 2021-04-12 | Content sharing method and device, electronic equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113094608A true CN113094608A (en) | 2021-07-09 |
Family
ID=76676372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110391695.0A Pending CN113094608A (en) | 2021-04-12 | 2021-04-12 | Content sharing method and device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113094608A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686396A (en) * | 2013-11-19 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Video sharing method and device |
CN104883343A (en) * | 2014-02-28 | 2015-09-02 | 致伸科技股份有限公司 | Online sharing method, system and transaction machine thereof |
CN105792197A (en) * | 2016-02-26 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | WIFI password sharing method and system |
CN110098995A (en) * | 2018-01-31 | 2019-08-06 | 阿里巴巴集团控股有限公司 | Information processing method, information display method, device, electronic equipment and server |
CN110311961A (en) * | 2019-06-19 | 2019-10-08 | 北京达佳互联信息技术有限公司 | Method and system, client and the server-side that information is shared |
-
2021
- 2021-04-12 CN CN202110391695.0A patent/CN113094608A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686396A (en) * | 2013-11-19 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Video sharing method and device |
CN104883343A (en) * | 2014-02-28 | 2015-09-02 | 致伸科技股份有限公司 | Online sharing method, system and transaction machine thereof |
CN105792197A (en) * | 2016-02-26 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | WIFI password sharing method and system |
WO2017143817A1 (en) * | 2016-02-26 | 2017-08-31 | 上海斐讯数据通信技术有限公司 | Wifi password sharing method and system |
CN110098995A (en) * | 2018-01-31 | 2019-08-06 | 阿里巴巴集团控股有限公司 | Information processing method, information display method, device, electronic equipment and server |
CN110311961A (en) * | 2019-06-19 | 2019-10-08 | 北京达佳互联信息技术有限公司 | Method and system, client and the server-side that information is shared |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9077770B2 (en) | Mobile web app infrastructure | |
EP3553705A1 (en) | Service processing method and device | |
US20200133617A1 (en) | Interface display method and apparatus | |
CN107656768B (en) | Method and system for controlling page jump | |
CN113805973B (en) | Application program control method and device, application program development method and device | |
CN110069308B (en) | Page starting method and device, electronic equipment and storage medium | |
CN111581555B (en) | Document loading method, device, equipment and storage medium | |
CN113434241A (en) | Page skipping method and device | |
CN112036558A (en) | Model management method, electronic device, and medium | |
CN111309617A (en) | Application program control method and device, storage medium and electronic equipment | |
CN111782988A (en) | Method, device, computer system and storage medium for determining source of application program | |
CN111913920A (en) | Electronic business card generating method, device, computer system and computer readable medium | |
CN112965916B (en) | Page testing method, page testing device, electronic equipment and readable storage medium | |
CN111177634A (en) | Multi-language supporting file content loading method, device, equipment and medium | |
CN113761871A (en) | Rich text rendering method and device, electronic equipment and storage medium | |
CN113572763B (en) | Data processing method and device, electronic equipment and storage medium | |
CN113553123B (en) | Data processing method, device, electronic equipment and storage medium | |
CN111309407A (en) | Processing method and device for integrated third-party library | |
CN111324376A (en) | Function configuration method and device, electronic equipment and computer readable medium | |
CN115495175A (en) | Picture display method and device, terminal equipment and computer medium | |
WO2024208097A1 (en) | Webpage authentication method and apparatus, and medium and electronic device | |
CN116561013B (en) | Testing method and device based on target service framework, electronic equipment and medium | |
CN113094608A (en) | Content sharing method and device, electronic equipment and medium | |
CN113835790B (en) | Paging page display method and device based on Android | |
CN112445478B (en) | Graphic file processing method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |