WO2020207085A1 - 信息分享方法、装置、电子设备及存储介质 - Google Patents

信息分享方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2020207085A1
WO2020207085A1 PCT/CN2020/071238 CN2020071238W WO2020207085A1 WO 2020207085 A1 WO2020207085 A1 WO 2020207085A1 CN 2020071238 W CN2020071238 W CN 2020071238W WO 2020207085 A1 WO2020207085 A1 WO 2020207085A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
shared
sharing
code
application
Prior art date
Application number
PCT/CN2020/071238
Other languages
English (en)
French (fr)
Inventor
留春钿
孟宇
江琨
刘日华
张云亭
于北川
王展
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2020207085A1 publication Critical patent/WO2020207085A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Definitions

  • the present disclosure relates to the field of information processing technology. Specifically, the present disclosure relates to an information sharing method, device, electronic equipment, and storage medium.
  • the present disclosure provides an information sharing method, which includes:
  • the method after receiving a sharing request for the information to be shared in the current application, the method further includes:
  • the method after receiving the selection operation of the target application through the selection interface of the optional application, the method further includes:
  • obtaining the QR code of the information to be shared includes:
  • the selectable information sharing mode includes the QR code sharing mode
  • the QR code of the information to be shared is obtained.
  • the selectable information sharing mode further includes a non-QR code sharing mode. If the confirmation operation received through the user prompt interface is a non-QR code sharing mode confirmation operation, the method Also includes:
  • the two-dimensional code further includes an information type identifier of the information to be shared.
  • obtaining the two-dimensional code of the information to be shared further includes:
  • an information sharing device which includes:
  • the sharing request receiving module is used to receive the sharing request for the information to be shared in the current application
  • the QR code obtaining module is used to obtain the QR code of the information to be shared in response to the sharing request, and the QR code includes the identification of the information to be shared and the identification of the current application;
  • Sharing module used to share QR code.
  • the device further includes:
  • the display module is used to display a selection interface of optional applications to which the information to be shared can be shared after receiving a sharing request for the information to be shared in the current application;
  • the sharing request receiving module is also used to receive the selection operation of the target application through the selection interface of the optional application;
  • the sharing module is specifically used to: share the QR code to the target application.
  • the display module is further used for:
  • the sharing request receiving module is also used to receive the selection operation of the target object through the object selection interface;
  • the sharing module is specifically used to: share the QR code to the target object.
  • the display module when the display module obtains the two-dimensional code of the information to be shared, it is specifically used to:
  • the selectable information sharing mode includes the QR code sharing mode
  • the QR code acquisition module is specifically used to obtain the QR code of the information to be shared after receiving the confirmation operation of the QR code sharing mode through the user prompt interface.
  • the selectable information sharing mode also includes a non-QR code sharing mode. If the confirmation operation received through the user prompt interface is a non-QR code sharing mode confirmation operation, the sharing module Also used for:
  • the two-dimensional code further includes an identification of the type of information to be shared.
  • the two-dimensional code acquisition module when acquiring the two-dimensional code of the information to be shared, is also used to:
  • the present disclosure also provides an information sharing method, which includes:
  • the QR code includes the identification of the shared information and the application program identification;
  • the QR code also includes an information type identifier of the shared information, and the shared information is obtained from the server corresponding to the application according to the identifier of the shared information, including:
  • the shared information is obtained from the server corresponding to the application.
  • an information sharing device which includes:
  • the QR code parsing module is used to parse the QR code after receiving the scanning instruction for the QR code for sharing information.
  • the QR code includes the identification of the shared information and the application program identification;
  • the shared information acquisition module is used to start the application corresponding to the application ID, and obtain the shared information from the server corresponding to the application according to the shared information ID;
  • the shared information display module is used to display the acquired shared information to the user through the application.
  • the shared information acquisition module is specifically used to obtain the shared information from the server corresponding to the application according to the identifier of the shared information.
  • the shared information is obtained from the server corresponding to the application.
  • the present disclosure provides an electronic device including a processor and a memory
  • Memory used to store computer operation instructions
  • the processor is configured to execute the method shown in any one of the embodiments of the first aspect and the third aspect of the present disclosure by invoking a computer operation instruction.
  • the present disclosure provides a computer-readable storage medium that stores at least one instruction, at least one program, code set or instruction set, at least one instruction, at least one program, code set or instruction The set is loaded and executed by the processor to implement the method as shown in any one of the first aspect and the third aspect of the present disclosure.
  • the embodiments of the present disclosure implement the function of sharing information, better meet the actual needs of users, and further improve user experience.
  • FIG. 1 is a schematic flowchart of an information sharing method in an embodiment of the disclosure
  • FIG. 2 is a schematic flowchart of another information sharing method in an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of an information sharing device in an embodiment of the disclosure.
  • FIG. 4 is a schematic structural diagram of another information sharing device in an embodiment of the disclosure.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure.
  • the embodiment of the present disclosure provides an information sharing method. As shown in FIG. 1, the method may include:
  • Step S110 receiving a sharing request for information to be shared in the current application
  • the specific type of information to be shared is not limited in the embodiments of the present disclosure.
  • the information to be shared may be videos, pictures, location information, item sticker information, game information, or text.
  • the current application refers to the application that currently displays the information to be shared. If the current application to be shared is displayed through the application A, then the application A is the current application.
  • a sharing request represents an operation that the user wants to share information with others, that is, an action used by the user to share information.
  • the specific form of the operation that triggers the request can be configured as needed.
  • the user may be displaying the information to be shared.
  • the sharing request can be triggered by the relevant trigger of the client, where the specific form of the trigger can be configured according to actual needs, for example, it can be a designated trigger button or input box on the application interface that displays the information to be shared Specifically, for example, it may be a virtual button of "share" displayed on an application program interface displaying the information to be shared, and the operation of the user clicking the button is the user triggering the sharing request.
  • the sharing request can also be a user's voice command.
  • Step S120 in response to the sharing request, obtain the QR code of the information to be shared, the QR code including the identification of the information to be shared and the identification of the current application;
  • the identifier of the information to be shared is used to identify the information to be shared
  • the identifier of the current application is used to uniquely identify the current application
  • the specific forms of the identifier of the information to be shared and the identifier of the current application are not specified in the embodiments of the present disclosure. limited.
  • the terminal device can obtain the QR code of the information to be shared, and the QR code includes the identification of the information to be shared and the identification of the current application.
  • the information to be shared can be determined based on the identifier of the information to be shared, and the application program that shares the information to be shared can be determined according to the identifier of the current application program.
  • Step S130 sharing the QR code.
  • the QR code of the information to be shared after responding to a sharing request for the information to be shared in the current application, the QR code of the information to be shared can be obtained, because the QR code includes the identifier for identifying the information to be shared and the current The identification of the application, so that after sharing the QR code, the user who has obtained the QR code can automatically start the application based on the identification of the current application in the QR code, and can access the application from the application according to the identification of the shared information in the QR code
  • the server corresponding to the program obtains the information to be shared, which realizes the function of sharing information, better meets the actual needs of users, and further improves the user experience.
  • the method after receiving the sharing request for the information to be shared in the current application, the method further includes:
  • the optional applications to which the information to be shared can be shared refer to the specific applications to which the information to be shared can be shared, and the selection interface of the optional applications is specifically used to display the applications to which the information to be shared can be shared.
  • the program is the identification of the optional application
  • the target application refers to the application selected by the user in the optional application to which the information to be shared should be specifically shared, and the target application can be one or more . If the user chooses to share the information to be shared to application A, then application A is the target application.
  • the optional application selection interface can display the identification of the optional application, so that the user knows which applications the information to be shared can be shared with.
  • the specific expression form of the identification of the optional application is implemented in this disclosure The example does not make specific restrictions, such as the name of the application, or a picture used to identify the application, etc.
  • the user selects which application or applications to share the information to be shared with (that is, the user's identification of the target application is received). After selecting operation), the QR code of the information to be shared can be shared to the target application to realize the sharing of the information to be shared.
  • the optional applications include application A, application B, and application C.
  • application A and application can be displayed in the selection interface of the optional application
  • the identification of B and application C such as displaying the name of each application, to prompt the user to share the information to be shared to the application sharing including application A, application B and application C, if the user is based on the optional application
  • the application selected by the selection interface is application A, then application A is the target application, and subsequently, the QR code of the information to be shared can be shared to application A.
  • the method after receiving the selection operation of the target application through the selection interface of the selectable application, the method further includes:
  • the object of the target application refers to the way of sharing the information to be shared in the target application, for example, it can be shared by sending a message to a friend in the target application.
  • the object selection interface of the target application is specifically used to display the identification (identification of the object) of the way to share the information to be shared in the target application, and the target object refers to the target application selected by the user through the object selection interface The way to share the information to be shared in.
  • the user can know the specific methods that can be used to share the information to be shared in the target application. After the user chooses the method of sharing the information to be shared (that is, receiving the user's target object selection operation), The QR code of the information to be shared can be shared to the target audience to realize the sharing of the information to be shared.
  • obtaining the QR code of the information to be shared includes:
  • the selectable information sharing mode includes the QR code sharing mode
  • the QR code of the information to be shared is obtained.
  • selectable information sharing modes can also be displayed through the user prompt interface, so that the user knows which sharing modes are currently available to share the information to be shared, where the selectable information sharing modes include QR code sharing Mode, that is, sharing the information to be shared by means of QR codes.
  • the user's confirmation operation on the QR code sharing mode is received through the user prompt interface, it indicates that the user wants to share the information to be shared through the QR code sharing mode, and the QR code of the information to be shared can be obtained at this time.
  • the user's cancellation of the QR code sharing mode can also be received through the user prompt interface. At this time, it indicates that the user does not want to share the information to be shared through the QR code sharing mode. At this time, you can end the QR code Sharing mode The sharing process of sharing information to be shared.
  • the selectable information sharing mode further includes a non-QR code sharing mode. If the confirmation operation received through the user prompt interface is a confirmation operation for the non-QR code sharing mode, the method further includes:
  • the confirmation operation received through the user prompt interface is a non-QR code sharing mode confirmation operation
  • the information to be shared can be shared based on the sharing mode selected by the user.
  • the specific mode of the non-two-dimensional code sharing mode is not specifically limited in the embodiment of the present disclosure.
  • it may include a password sharing mode or a link mode.
  • the received sharing mode confirmation operation is the link sharing mode confirmation operation.
  • the link information of the information to be shared can be displayed, and the user can copy or share the link information to others in other ways to realize the sharing of the information to be shared.
  • the operation process information of the information sharing mode selected by the user can also be displayed through the information prompt interface, so that the user knows how to operate in the future. Sharing information sharing. For example, if the information sharing mode confirmation operation received through the user prompt interface is the confirmation operation of the QR code sharing mode, the information prompt interface can display the operation process information when the QR code sharing mode is adopted, for example, "Copy QR code, after opening the target application, paste the text information of the QR code".
  • the two-dimensional code also includes the information type identification of the information to be shared.
  • the QR code of the information to be shared can also include the information type identification .
  • the information type identifier is used to identify the type of information to be shared, that is, when obtaining the information to be shared according to the QR code, not only the identification of the information to be shared, but also the information type identification to obtain the information to be shared .
  • obtaining the QR code of the information to be shared further includes:
  • the source of obtaining the QR code can be pre-configured according to actual needs. For example, after receiving the sharing request, the QR code of the information to be shared can be generated in real time, or it can be judged in advance whether the information to be shared is stored locally If the QR code exists, the QR code of the information to be shared can be directly obtained locally. If it does not exist, the QR code of the information to be shared can be generated in real time.
  • the information to be shared may also be updated.
  • the time threshold can also be preset, that is, after receiving the sharing request, if Determine whether the QR code with the information to be shared is stored locally, and then determine whether the time between the generation of the QR code and the receipt of the sharing request exceeds the preset time threshold; if it does not exceed the time threshold, the locally stored QR code is used as If the QR code of the information to be shared exceeds the time threshold, the stored QR code is judged to be invalid, and the QR code of the information to be shared is generated in real time, and the information to be shared is shared based on the QR code generated in real time.
  • the locally stored two-dimensional code of the information to be shared can also be updated based on the newly generated two-dimensional code of the information to be shared.
  • the preset time threshold is 2 hours. If the generation time of the locally stored QR code is 3 hours from the time the sharing request is received, the local storage is determined at this time after the sharing request is received. There is a two-dimensional code to share information, but the generation time (3 hours) of the two-dimensional code exceeds the preset time threshold (2 hours), and the two-dimensional code of the information to be shared needs to be generated in real time.
  • the embodiment of the present disclosure also provides an information sharing method. As shown in FIG. 2, the method may include:
  • Step 210 After receiving the scanning instruction for the two-dimensional code for sharing information, parse the two-dimensional code.
  • the two-dimensional code includes the identification of the shared information and the application program identification.
  • the two-dimensional code for sharing information may be a two-dimensional code displayed through an application, or may be a two-dimensional code received through an application and saved locally.
  • the QR code can be parsed to obtain an identifier for identifying the shared information and an application identifier for identifying the application.
  • Step 220 Start the application program corresponding to the application program identifier, and obtain the sharing information from the server corresponding to the application program according to the shared information identifier.
  • the application corresponding to the application identification can be started, and then the sharing information can be obtained from the server corresponding to the application according to the identification of the shared information.
  • the specific implementation method of obtaining shared information from the server corresponding to the application program according to the identifier of the shared information is not specifically limited in the embodiments of the present disclosure.
  • a request for obtaining information may be sent to the server, and the request includes the identifier according to the shared information.
  • the server After receiving the request, the server obtains the sharing information according to the identifier of the sharing information, and returns the obtained sharing information.
  • Step 230 Display the acquired sharing information to the user through the application program.
  • the application corresponding to the application identifier can be automatically started, and the shared information can be obtained from the server corresponding to the application according to the identifier of the shared information, saving users viewing
  • the process of sharing information can better meet the actual needs of users and further improve the user experience.
  • the QR code also includes the information type identification of the shared information, and obtaining the shared information from the server corresponding to the application program according to the identification of the shared information includes:
  • the shared information is obtained from the server corresponding to the application.
  • the QR code for sharing information can also include the information type identification of the shared information.
  • the type of shared information can be determined according to the information type identification, and then the determined type can be obtained based on the identification of the shared information. Sharing information, obviously, compared to the method of obtaining shared information only based on the identifier of the shared information, the shared information can be obtained more quickly and accurately.
  • the method shown in FIG. 1 and the method shown in FIG. 2 are solutions based on the same principle, and are only described from two different perspectives.
  • the method shown in Fig. 1 corresponds to the process of sharing information to be shared
  • the method shown in Fig. 2 corresponds to the process of viewing the received shared information.
  • the foregoing descriptions of the two solutions may refer to each other.
  • the shared information shown in FIG. 2 corresponds to the information shared in the manner shown in FIG. 1.
  • an information sharing device 30 is also provided in the embodiment of the present disclosure.
  • the information sharing device 30 may include a sharing request receiving module 310 and a two-dimensional code.
  • the obtaining module 320 and the sharing module 330 where:
  • the sharing request receiving module 310 is configured to receive a sharing request for the information to be shared in the current application
  • the two-dimensional code obtaining module 320 is configured to obtain the two-dimensional code of the information to be shared in response to the sharing request, and the two-dimensional code includes the identification of the information to be shared and the identification of the current application;
  • the sharing module 330 is used to share the QR code.
  • the device further includes:
  • the display module is used to display a selection interface of optional applications to which the information to be shared can be shared after receiving a sharing request for the information to be shared in the current application;
  • the sharing request receiving module is also used to receive the selection operation of the target application through the selection interface of the optional application;
  • the sharing module is specifically used to: share the QR code to the target application.
  • the display module is also used for:
  • the sharing request receiving module is also used to receive the selection operation of the target object through the object selection interface;
  • the sharing module is specifically used to: share the QR code to the target object.
  • the display module when the display module obtains the two-dimensional code of the information to be shared, it is specifically used to:
  • the selectable information sharing mode includes the QR code sharing mode
  • the QR code acquisition module is specifically used to obtain the QR code of the information to be shared after receiving the confirmation operation of the QR code sharing mode through the user prompt interface.
  • the selectable information sharing mode also includes a non-QR code sharing mode. If the confirmation operation received through the user prompt interface is a non-QR code sharing mode confirmation operation, the sharing module is also used to:
  • the two-dimensional code also includes an identification of the type of information to be shared.
  • the two-dimensional code acquisition module when acquiring the two-dimensional code of the information to be shared, is also used to:
  • the QR code of the information to be shared can be obtained. Since the QR code includes an identifier for identifying the information to be shared, After sharing the two-dimensional code, the information to be shared can be obtained based on the two-dimensional code, which realizes the function of sharing information, which can better meet the actual needs of users, and further improve the user experience.
  • the embodiment of the present disclosure also provides an information sharing device 40.
  • the information sharing device 40 may include: a two-dimensional code analysis module 410, sharing The information acquisition module 420 and the shared information acquisition module 430, wherein:
  • the two-dimensional code parsing module 410 is configured to analyze the two-dimensional code after receiving the user's scanning instruction for the two-dimensional code of the shared information, and the two-dimensional code includes the identifier of the shared information and the application program identifier;
  • the shared information obtaining module 420 is used to start the application program corresponding to the application program identifier, and obtain the shared information from the server corresponding to the application program according to the shared information identifier;
  • the shared information display module 430 is configured to display the acquired shared information to the user through the application program.
  • the shared information obtaining module is specifically used to: when obtaining the shared information from the server corresponding to the application according to the identification of the shared information:
  • the shared information is obtained from the server corresponding to the application.
  • the information sharing device in the embodiments of the present disclosure can execute an information sharing method provided by the embodiments of the present disclosure, and its implementation principle is similar.
  • the actions performed by each module in the information sharing device in the embodiments of the present disclosure are the same as those
  • the steps in the information sharing method in each embodiment of the present disclosure correspond to the steps.
  • For the detailed function description of each module of the information sharing device please refer to the description in the corresponding information sharing method shown in the preceding text, which will not be repeated here. .
  • the embodiments of the present disclosure also provide an electronic device.
  • the electronic device may include, but is not limited to: a processor and a memory; the memory is used to store computer operations. Instruction; the processor is used to execute the method shown in the embodiment of the present disclosure by invoking a computer operation instruction.
  • the embodiment of the present disclosure also provides a computer-readable storage medium, and the computer-readable storage medium stores at least one instruction, at least one program, and code.
  • the set or instruction set, at least one instruction, at least one section of program, code set or instruction set is loaded and executed by the processor to implement the method shown in the foregoing embodiment, and details are not described herein again.
  • the QR code of the information to be shared after responding to a sharing request for the information to be shared in the current application, the QR code of the information to be shared can be obtained. Since the QR code includes an identifier for identifying the information to be shared, After sharing the QR code, the information to be shared can be obtained based on the QR code, and the function of sharing information is realized. And when parsing the QR code of the shared information, the application corresponding to the application ID can be automatically started, and the shared information can be obtained from the server corresponding to the application according to the ID of the shared information, which saves the user the process of viewing shared information and can be more It satisfies the actual needs of users well and further improves the user experience.
  • FIG. 5 shows a schematic structural diagram of an electronic device 500 applicable to the embodiment of the present disclosure.
  • the electronic device 500 may be a terminal device or a server.
  • terminal devices may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PAD (tablet computers), PMPs (portable multimedia players), vehicle terminals (for example, vehicle navigation terminals) Mobile terminals such as digital TVs, desktop computers, etc.
  • PDAs personal digital assistants
  • PAD tablet computers
  • PMPs portable multimedia players
  • vehicle terminals for example, vehicle navigation terminals
  • Mobile terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 5 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 502 or from a storage device 508.
  • the program in the memory (RAM) 503 executes various appropriate actions and processing.
  • the RAM 503 also stores various programs and data required for the operation of the electronic device 500.
  • the processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also connected to the bus 504.
  • the following devices can be connected to the I/O interface 505: including input devices 506 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 507 such as a device; a storage device 508 such as a magnetic tape and a hard disk; and a communication device 509.
  • the communication device 509 may allow the electronic device 500 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 5 shows an electronic device 500 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • the process described above with reference to the flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502.
  • the processing device 501 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the foregoing computer-readable medium carries one or more programs, and when the foregoing one or more programs are executed by the electronic device, the electronic device is caused to execute the method shown in the foregoing embodiment.
  • the computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented in a software manner, or may be implemented in a hardware manner.
  • the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the first obtaining unit can also be described as "a unit for obtaining at least two Internet Protocol addresses.”

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

一种信息分享方法、装置、电子设备及存储介质,该方法包括:接收针对当前应用程序中的待分享信息的分享请求(S110);响应于分享请求,获取待分享信息的二维码,二维码中包括待分享信息的标识和当前应用程序的标识(S120);分享二维码(S130)。本方法实现了分享信息的功能,满足了用户的实际需求,进一步的提高了用户的使用体验。

Description

信息分享方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求2019年4月11日在中国知识产权局提交的中国专利申请No.201910290227.7的优先权,通过引用将其全文并入本文。
技术领域
本公开涉及信息处理技术领域,具体而言,本公开涉及一种信息分享方法、装置、电子设备及存储介质。
背景技术
随着人们生活水平的提高以及互联网技术的快速发展,移动手机、平板电脑、电子书阅读器等电子设备也得到了前所未有的发展,而终端应用程序已经成为人们生活不可或缺的一部分,为了更好的满足人们的体验,更加丰富人们的生活,互联网应用迅速发展了起来。
通过互联网应用,用户可以随时随地与其他人进行互动,以及将自己感兴趣的一些信息分享至他人。如用户浏览互联网应用上的某一个用户的个人主页,并对该用户所发布的信息比较感兴趣时,很有可能会想要将该用户分享给其它用户。因此,如何实现信息分享、提升用户的使用体验,是目前各领域一直在重点关注的问题之一。
发明内容
第一方面,本公开提供了一种信息分享方法,该方法包括:
接收针对当前应用程序中的待分享信息的分享请求;
响应于分享请求,获取待分享信息的二维码,二维码中包括待分享信息的标识和当前应用程序的标识;
分享二维码。
本公开第一方面的可选实施例中,接收针对当前应用程序中的待分享信息的分享请求之后,还包括:
显示将待分享信息可分享至的可选应用程序的选择界面;
通过可选应用程序的选择界面接收对目标应用程序的选择操作;
分享二维码,包括:
将二维码分享至目标应用程序。
本公开第一方面的可选实施例中,通过可选应用程序的选择界面接收对目标应用程序的选择操作之后,还包括:
显示目标应用程序的对象选择界面;
通过对象选择界面接收目标对象的选择操作;
将二维码分享至目标应用程序,包括:
将二维码分享至目标对象。
本公开第一方面的可选实施例中,获取待分享信息的二维码,包括:
通过用户提示界面显示可选择的信息分享模式,可选择的信息分享模式包括二维码分享模式;
通过用户提示界面接收到对二维码分享模式的确认操作后,获取待分享信息的二维码。
本公开第一方面的可选实施例中,可选择的信息分享模式还包括非二维码分享模式,若通过用户提示界面接收到的确认操作为非二维码分享模式的确认操作,该方法还包括:
通过非二维码分享模式将待分享信息分享。
本公开第一方面的可选实施例中,二维码中还包括待分享信息的信息类型标识。
本公开第一方面的可选实施例中,获取待分享信息的二维码,还包括:
实时生成待分享信息的二维码,或从本地读取待分享信息的二维码。
第二方面,本公开提供了一种信息分享装置,该装置包括:
分享请求接收模块,用于接收针对当前应用程序中的待分享信息的分享请求;
二维码获取模块,用于响应于分享请求,获取待分享信息的二维码, 二维码中包括待分享信息的标识和当前应用程序的标识;
分享模块,用于分享二维码。
本公开第二方面的可选实施例中,该装置还包括:
显示模块,用于在接收针对当前应用程序中的待分享信息的分享请求之后,显示将待分享信息可分享至的可选应用程序的选择界面;
分享请求接收模块还用于,通过可选应用程序的选择界面接收对目标应用程序的选择操作;
分享模块具体用于:将二维码分享至目标应用程序。
本公开第二方面的可选实施例中,显示模块还用于:
在通过可选应用程序的选择界面接收对目标应用程序的选择操作之后,显示目标应用程序的对象选择界面;
分享请求接收模块还用于,通过对象选择界面接收目标对象的选择操作;
分享模块具体用于:将二维码分享至目标对象。
本公开第二方面的可选实施例中,显示模块在获取待分享信息的二维码时,具体用于:
通过用户提示界面显示可选择的信息分享模式,可选择的信息分享模式包括二维码分享模式;
二维码获取模块具体用于:在通过用户提示界面接收到对二维码分享模式的确认操作后,获取待分享信息的二维码。
本公开第二方面的可选实施例中,可选择的信息分享模式还包括非二维码分享模式,若通过用户提示界面接收到的确认操作为非二维码分享模式的确认操作,分享模块还用于:
通过非二维码分享模式将待分享信息分享。
本公开第二方面的可选实施例中,二维码中还包括待分享的信息类型标识。
本公开第二方面的可选实施例中,二维码获取模块在获取待分享信息的二维码时,还用于:
实时生成待分享信息的二维码,或从本地读取待分享信息的二维码。
第三方面,本公开还提供了一种信息分享方法,该方法包括:
在接收到针对分享信息的二维码的扫描指令后,解析二维码,二维码中包括分享信息的标识和应用程序标识;
启动应用程序标识对应的应用程序,并根据分享信息的标识从应用程序对应的服务器获取分享信息;
将获取的分享信息通过应用程序展示给用户。
本公开第三方面的可选实施例中,二维码中还包括分享信息的信息类型标识,根据分享信息的标识从应用程序对应的服务器获取分享信息,包括:
根据分享信息的标识和分享信息的信息类型标识,从应用程序对应的服务器获取分享信息。
第四方面,本公开提供了一种信息分享装置,该装置包括:
二维码解析模块,用于在接收到针对分享信息的二维码的扫描指令后,解析二维码,二维码中包括分享信息的标识和应用程序标识;
分享信息获取模块,用于启动应用程序标识对应的应用程序,并根据分享信息的标识从应用程序对应的服务器获取分享信息;
分享信息展示模块,用于将获取的分享信息通过应用程序展示给用户。
本公开第四方面的可选实施例中,若二维码中还包括分享信息的信息类型标识,分享信息获取模块在根据分享信息的标识从应用程序对应的服务器获取分享信息时,具体用于:
根据分享信息的标识和分享信息的信息类型标识,从应用程序对应的服务器获取分享信息。
第五方面,本公开提供了一种电子设备,该电子设备包括处理器和存储器;
存储器,用于存储计算机操作指令;
处理器,用于通过调用计算机操作指令,执行如本公开的第一方面和第三方面的任一实施例中所示的方法。
第六方面,本公开提供了一种计算机可读存储介质,该计算机可读存 储介质存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现如本公开的第一方面和第三方面的任一实施例中所示的方法。
本公开实施例提供的技术方案带来的有益效果是:
本公开实施例实现了分享信息的功能,更好的满足用户的实际需求,进一步的提高了用户的使用体验。
附图说明
为了更清楚地说明在本公开的实施例中的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍。
图1为本公开的实施例中一种信息分享方法的流程示意图;
图2为本公开的实施例中另一种信息分享方法的流程示意图;
图3为本公开的实施例中一种信息分享装置的结构示意图;
图4为本公开的实施例中另一种信息分享装置的结构示意图;
图5为本公开的实施例提供的一种电子设备的结构示意图。
具体实施方式
下面详细描述本公开的实施例,该实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本公开的技术感,而不能解释为对本公开的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”和“该”也可包括复数形式。应该进一步理解的是,本公开的说明书中使用的措辞“包括”是指存在该特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任 一单元和全部组合。
下面以具体地实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本公开的实施例进行描述。
本公开的实施例提供了一种信息分享方法,如图1所示,该方法可以包括:
步骤S110,接收针对当前应用程序中的待分享信息的分享请求;
其中,待分享信息具体是什么类型的信息本公开实施例不做限定,如待分享信息可以是视频、图片、地点信息、道具贴纸信息、游戏信息或文字等。当前应用程序指的当前展示待分享信息的应用程序,如当前待分享是通过应用程序A展示的,此时应用程序A即为当前应用程序。
其中,分享请求表示用户想要将信息分享至他人的操作,即用户用于进行信息分享的动作,触发该请求的操作的具体形式可以根据需要配置,例如,可以是用户在显示待分享信息的应用程序界面上指定操作位置的触发动作。
在实际应用中,可通过客户端的相关触发标识触发该分享请求,其中,触发标识的具体形式可以根据实际需要配置,比如,可以是显示待分享信息的应用程序界面上的指定触发按钮或输入框等,具体的,例如可以是在显示待分享信息的应用程序界面上显示的“分享”的虚拟按钮,用户点击该按钮的操作即为用户触发分享请求。另外,分享请求还可以是用户的语音指令。
步骤S120,响应于分享请求,获取待分享信息的二维码,二维码中包括待分享信息的标识和当前应用程序的标识;
其中,待分享信息的标识用于标识待分享信息,当前应用程序的标识用于唯一标识当前应用程序,该待分享信息的标识和当前应用程序的标识的具体形式,本公开实施例不做具体限定。
也就是说,终端设备在接收到针对当前应用程序中的待分享信息的分享请求后,可以获取待分享信息的二维码,该二维码中包括待分享信息的 标识和当前应用程序的标识,基于该待分享信息的标识可以确定待分享信息,以及根据当前应用程序的标识可以确定分享待分享信息的应用程序。
步骤S130,分享二维码。
在本公开实施例中,在响应于针对当前应用程序中的待分享信息的分享请求之后,可以获取待分享信息的二维码,由于二维码中包括用于标识待分享信息的标识和当前应用的标识,这样分享该二维码后,获取到该二维码的用户可以基于二维码中的当前应用的标识自动启动应用程序,并且可以根据二维码中的分享信息的标识从应用程序对应的服务器中获取到待分享信息,实现了分享信息的功能,更好的满足用户的实际需求,进一步的提高了用户的使用体验。
在本公开实施例中,接收针对当前应用程序中的待分享信息的分享请求之后,还包括:
显示将待分享信息可分享至的可选应用程序的选择界面;
通过可选应用程序的选择界面接收对目标应用程序的选择操作;
分享二维码,包括:
将二维码分享至目标应用程序。
其中,将待分享信息可分享至的可选应用程序指的是具体可以将待分享信息分享至哪些应用程序,可选应用程序的选择界面则具体用于显示能够将待分享信息分享至的应用程序即可选应用程序的标识,而目标应用程序则指的是用户在可选应用程序中选择的实际需要将待分享信息具体分享至的应用程序,并且该目标应用程序可以为一个或多个。如用户选择将待分享信息分享至应用程序A,此时应用程序A即为目标应用程序。
在实际应用中,可选应用程序的选择界面中可以显示可选应用程序的标识,以使用户知道具体可以将待分享信息分享至哪些应用程序,可选应用程序的标识具体表现形式本公开实施例不做具体限定,如可以是应用程序的名称,或用于标识应用程序的图片等。
进一步的,基于可选应用程序选择界面中显示的可选应用程序的标识,用户在选择好需要将待分享信息分享至哪个应用程序或哪些应用程序(即接收到用户对目标应用程序的标识的选择操作)之后,可以将待分享 信息的二维码分享至目标应用程序,以实现对待分享信息的分享。
在一示例中,假设可选应用程序包括应用程序A、应用程序B和应用程序C,此时在接收到分享请求后,即可在可选应用程序的选择界面中显示应用程序A、应用程序B和应用程序C的标识,如显示各应用程序的名称,以提示用户可以将待分享信息分享至的应用程序分享包括应用程序A、应用程序B和应用程序C,若用户基于可选应用程序的选择界面选择的应用程序为应用程序A,则应用程序A即为目标应用程序,后续则可以将待分享信息的二维码分享至应用程序A。
在本公开实施例中,通过可选应用程序的选择界面接收对目标应用程序的选择操作之后,还包括:
显示目标应用程序的对象选择界面;
通过对象选择界面接收目标对象的选择操作;
将二维码分享至目标应用程序,包括:
将二维码分享至目标对象。
其中,目标应用程序的对象指的是在目标应用程序中分享待分享信息的方式,如可以是通过目标应用中向好友发送消息方式分享待分享信息分享。目标应用程序的对象选择界面则具体用于显示在目标应用程序中分享待分享信息分享的方式的标识(对象的标识),而目标对象则指的是用户通过对象选择界面选择的在目标应用程序中分享待分享信息分享的方式。
也就是说,基于对象选择界面用户可以知晓具体在目标应用程序中可以采用哪些方式分享待分享信息,用户在选择好分享待分享信息分享的方式(即接收到用户目标对象的选择操作)之后,就可以将待分享信息的二维码分享至目标对象,以实现对待分享信息的分享。
在本公开实施例中,获取待分享信息的二维码,包括:
通过用户提示界面显示可选择的信息分享模式,可选择的信息分享模式包括二维码分享模式;
通过用户提示界面接收到对二维码分享模式的确认操作后,获取待分享信息的二维码。
在实际应用中,还可以通过用户提示界面显示可选择的信息分享模 式,以使用户知晓当前可以采用的哪些分享模式分享待分享信息,其中,该可选择的信息分享模式中包括二维码分享模式,即采用二维码的方式分享待分享信息。
相应的,若通过用户提示界面接收到用户对二维码分享模式的确认操作,则表明用户想要通过二维码分享模式分享待分享信息,此时可以获取待分享信息的二维码。当然,在实际应用中还可以通过用户提示界面接收到用户对二维码分享模式的取消操作,此时表明用户不想要通过二维码分享模式分享待分享信息,此时可以结束通过二维码分享模式分享待分享信息的分享流程。
在本公开实施例中,可选择的信息分享模式还包括非二维码分享模式,若通过用户提示界面接收到的确认操作为对非二维码分享模式的确认操作,该方法还包括:
通过非二维码分享模式将待分享信息分享。
在实际应用中,若用户并没有选择采用二维码分享模式分享待分享信息,而是选择了其它信息分享模式,即通过用户提示界面接收到的确认操作为非二维码分享模式的确定操作,则可以基于用户选择的分享模式将待分享信息分享。
其中,非二维码分享模式具体是什么模式,本公开实施例不做具体限定,如可以包括口令分享模式或链接模式等。
在一示例中,若用户通过用户提示界面选择的信息分享模式为链接分享模式,则接收到的分享模式确认操作是链接分享模式的确认操作。进一步的,在接收到该链接分享模式的确认操作后,则可以显示待分享信息的链接信息,用户可以复制或者其他方式将该链接信息分享至其他人,以实现将待分享信息分享。
在实际应用中,在通过用户提示界面接收到的信息分享模式确认操作后,还可以通过信息提示界面显示用户选择的信息分享模式的操作流程信息,以使用户知晓后续应该如何操作才可以将待分享信息分享。比如,若通过用户提示界面接收到的信息分享模式确认操作为二维码分享模式的确定操作,此时可以通过信息提示界面显示采用二维码分享模式时的操作 流程信息,如可以显示“复制二维码,在打开目标应用程序后粘贴该二维码”的文字信息。
在本公开实施例中,二维码中还包括待分享信息的信息类型标识。
在实际应用中,由于会存在大量的信息,因此可能会出现不同的信息采用相同的标识的情况,为了保证可以准确地标识待分享信息,待分享信息的二维码中还可以包括信息类型标识,该信息类型标识用于标识待分享信息的类型,也就是说,在根据二维码获取待分享的信息时,不仅仅根据待分享信息的标识,还可以根据信息类型标识来获取待分享信息。
在本公开实施例中,获取待分享信息的二维码,还包括:
实时生成待分享信息的二维码,或从本地读取待分享信息的二维码。
在实际应用中,二维码的获取来源可以根据实际需要预先配置,如可以是在接收到分享请求后,实时生成待分享信息的二维码,也可以预先判断本地是否存储有该待分享信息的二维码,若存在,则可以从本地直接获取待分享信息的二维码,若不存在,则再实时生成待分享信息的二维码。
当然,在实际应用中也有可能会出现待分享信息被更新的情况,为了保证待分享信息的二维码的时效性和准确性,也可以预先设置时间阈值,即在接收到分享请求后,若确定本地存储有待分享信息的二维码,则判断该二维码的生成时间距接收到分享请求的时长是否超过预先设置的时间阈值,若没有超过时间阈值,则将本地存储的二维码作为待分享信息的二维码,若超过时间阈值,则判断该存储的二维码失效,再实时生成待分享信息的二维码,基于实时生成的二维码实现待分享信息的分享,当然,此时还可以基于新生成的该待分享信息的二维码对本地存储的该待分享信息的二维码进行更新。
在一示例中,假设预先设置的时间阈值为2小时,若本地所存储的二维码的生成时间距接收到分享请求的时长为3小时,则在接收到分享请求后,此时确定本地存储有待分享信息的二维码,但是该二维码的生成时间距现在的时长(3小时)超过预先设置的时间阈值(2小时),此时需要实时生成待分享信息的二维码。
基于与图1中所示的方法相同的原理,本公开的实施例还提供了一种 信息分享方法,如图2所示,该方法可以包括:
步骤210,在接收到针对分享信息的二维码的扫描指令后,解析二维码,二维码中包括分享信息的标识和应用程序标识。
其中,分享信息的二维码可以为通过应用程序显示的二维码,也可以为通过应用程序接收到并保存在本地的二维码。在实际应用中,在收到用户针对分享信息的二维码的扫描指令后,可以解析二维码,进而得到用于标识分享信息的标识和用于标识应用程序的应用程序标识。
步骤220,启动应用程序标识对应的应用程序,并根据分享信息的标识从应用程序对应的服务器获取分享信息。
在实际应用中,解析出二维码中包括的分享信息的标识和应用程序标识后,可以启动应用程序标识对应的应用程序,然后根据分享信息的标识向应用程序对应的服务器获取分享信息。
其中,根据分享信息的标识向应用程序对应的服务器获取分享信息的具体实现方法,本公开实施例不做具体的限定,如可以向服务器发送获取信息的请求,该请求中包括根据分享信息的标识,服务器在接收到该请求后,根据分享信息的标识获取到分享信息后,返回获取到的分享信息。
步骤230,将获取的分享信息通过应用程序展示给用户。
在本公开实施例中,在解析分享信息的二维码时,可以自动启动应用程序标识对应的应用程序,并且可以根据分享信息的标识从应用程序对应的服务器中获取分享信息,节省了用户查看分享信息的流程,可以更好的满足用户的实际需求,进一步的提高了用户的使用体验。
在本公开实施例中,二维码中还包括分享信息的信息类型标识,根据分享信息的标识从应用程序对应的服务器获取分享信息,包括:
根据分享信息的标识和分享信息的信息类型标识,从应用程序对应的服务器获取分享信息。
在实际应用中,分享信息的二维码中还可以包括分享信息的信息类型标识,此时可以先根据信息类型标识确定出分享信息的类型,然后从确定的类型中再基于分享信息的标识获取分享信息,显然,相比于仅根据分享信息的标识获取分享信息的方式,可以更快速、准确地获取到分享信息。
需要说明的是,图1中所示的方法与图2中所示的方法是基于相同原理的方案,只是从两种不同的角度对方案进行的描述。图1所示的方法对应于对待分享信息进行分享时的流程,图2所示的方法则对应于对接收到的分享信息进行查看的流程。上述对于两种方案的描述可以相互参考,例如,图2中所示分享信息即对应于通过图1中所示的方式进行分享的信息。
基于与图1中所示方法相同的原理,本公开的实施例中还提供了一种信息分享装置30,如图3所示,该信息分享装置30可以包括分享请求接收模块310、二维码获取模块320和分享模块330,其中:
分享请求接收模块310,用于接收针对当前应用程序中的待分享信息的分享请求;
二维码获取模块320,用于响应于分享请求,获取待分享信息的二维码,二维码中包括待分享信息的标识和当前应用程序的标识;
分享模块330,用于分享二维码。
本公开实施例中,该装置还包括:
显示模块,用于在接收针对当前应用程序中的待分享信息的分享请求之后,显示将待分享信息可分享至的可选应用程序的选择界面;
分享请求接收模块还用于,通过可选应用程序的选择界面接收对目标应用程序的选择操作;
分享模块具体用于:将二维码分享至目标应用程序。
本公开实施例中,显示模块还用于:
在通过可选应用程序的选择界面接收对目标应用程序的选择操作之后,显示目标应用程序的对象选择界面;
分享请求接收模块还用于,通过对象选择界面接收目标对象的选择操作;
分享模块具体用于:将二维码分享至目标对象。
本公开实施例中,显示模块在获取待分享信息的二维码时,具体用于:
通过用户提示界面显示可选择的信息分享模式,可选择的信息分享模式包括二维码分享模式;
二维码获取模块具体用于:在通过用户提示界面接收到对二维码分享 模式的确认操作后,获取待分享信息的二维码。
本公开实施例中,可选择的信息分享模式还包括非二维码分享模式,若通过用户提示界面接收到的确认操作为非二维码分享模式的确认操作,分享模块还用于:
通过非二维码分享模式将待分享信息分享。
本公开实施例中,二维码中还包括待分享的信息类型标识。
本公开实施例中,二维码获取模块在获取待分享信息的二维码时,还用于:
实时生成待分享信息的二维码,或从本地读取待分享信息的二维码。
在本公开实施例中,在响应于针对当前应用程序中的待分享信息的分享请求之后,可以获取待分享信息的二维码,由于二维码中包括用于标识待分享信息的标识,这样分享该二维码后,就可以基于该二维码获取到待分享信息,实现了分享信息的功能,可以更好的满足用户的实际需求,进一步的提高了用户的使用体验。
基于与图2中所示方法相同的原理,本公开的实施例中还提供了一种信息分享装置40,如图4所示,该信息分享装置40可以包括:二维码解析模块410、分享信息获取模块420和分享信息获取模块430,其中:
二维码解析模块410,用于在接收到用户针对分享信息的二维码的扫描指令后,解析二维码,二维码中包括分享信息的标识和应用程序标识;
分享信息获取模块420,用于启动应用程序标识对应的应用程序,并根据分享信息的标识从应用程序对应的服务器获取分享信息;
分享信息展示模块430,用于将获取的分享信息通过应用程序展示给用户。
本公开实施例中,若二维码中还包括分享信息的信息类型标识,分享信息获取模块在根据分享信息的标识从应用程序对应的服务器获取分享信息时,具体用于:
根据分享信息的标识和分享信息的信息类型标识,从应用程序对应的服务器获取分享信息。
本公开实施例的信息分享装置可执行本公开的实施例所提供的一种 信息分享方法,其实现原理相类似,本公开各实施例中的信息分享装置中的各模块所执行的动作是与本公开各实施例中的信息分享方法中的步骤相对应的,对于信息分享装置的各模块的详细功能描述具体可以参见前文中所示的对应的信息分享方法中的描述,此处不再赘述。
基于与本公开的实施例中的信息分享方法相同的原理,本公开的实施例中还提供了一种电子设备,该电子设备可以包括但不限于:处理器和存储器;存储器用于存储计算机操作指令;处理器用于通过调用计算机操作指令执行本公开实施例所示的方法。
基于与本公开的实施例中的信息分享方法相同的原理,本公开的实施例中还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述实施例所示的方法,在此不再赘述。
在本公开实施例中,在响应于针对当前应用程序中的待分享信息的分享请求之后,可以获取待分享信息的二维码,由于二维码中包括用于标识待分享信息的标识,这样分享该二维码后,就可以基于该二维码获取到待分享信息,实现了分享信息的功能。并且在解析分享信息的二维码时,可以自动启动应用程序标识对应的应用程序,并根据分享信息的标识从应用程序对应的服务器中获取分享信息,节省了用户查看分享信息的流程,可以更好的满足用户的实际需求,进一步的提高了用户的使用体验。
本公开的实施例中的方案,下面参考图5,其示出了一种适用于本公开实施例的电子设备500的结构示意图,该电子设备500可以为终端设备或服务器。其中,终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图5示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图5所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(ROM)502中的程序 或者从存储装置508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有各种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波 一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例所示的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的 专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (10)

  1. 一种信息分享方法,包括:
    接收针对当前应用程序中的待分享信息的分享请求;
    响应于所述分享请求,获取所述待分享信息的二维码,所述二维码中包括所述待分享信息的标识和所述当前应用程序的标识;
    分享所述二维码。
  2. 根据权利要求1所述的方法,其中,所述接收针对当前应用程序中的待分享信息的分享请求之后,还包括:
    显示将所述待分享信息可分享至的可选应用程序的选择界面;
    通过所述可选应用程序的选择界面接收对目标应用程序的选择操作;
    所述分享所述二维码,包括:
    将所述二维码分享至所述目标应用程序。
  3. 根据权利要求2所述的方法,其中,所述通过所述可选应用程序的选择界面接收对目标应用程序的选择操作之后,还包括:
    显示所述目标应用程序的对象选择界面;
    通过所述对象选择界面接收目标对象的选择操作;
    所述将所述二维码分享至所述目标应用程序,包括:
    将所述二维码分享至所述目标对象。
  4. 根据权利要求1所述的方法,其中,所述获取所述待分享信息的二维码,包括:
    通过用户提示界面显示可选择的信息分享模式,所述可选择的信息分享模式包括二维码分享模式;
    通过所述用户提示界面接收到对二维码分享模式的确认操作后,获取所述待分享信息的二维码。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述二维码中还包括所述待分享信息的信息类型标识。
  6. 一种信息分享方法,包括:
    在接收到针对分享信息的二维码的扫描指令后,解析所述二维码,所述二维码中包括所述分享信息的标识和应用程序标识;
    启动所述应用程序标识对应的应用程序,并根据所述分享信息的标识从所述应用程序对应的服务器获取所述分享信息;
    将获取的所述分享信息通过所述应用程序展示给用户。
  7. 一种信息分享装置,包括:
    分享请求接收模块,用于接收针对当前应用程序中的待分享信息的分享请求;
    二维码获取模块,用于响应于所述分享请求,获取所述待分享信息的二维码,所述二维码中包括所述待分享信息的标识和所述当前应用程序的标识;
    分享模块,用于分享所述二维码。
  8. 一种信息分享装置,包括:
    二维码解析模块,用于在接收到针对分享信息的二维码的扫描指令后,解析所述二维码,所述二维码中包括所述分享信息的标识和应用程序标识;
    分享信息获取模块,用于启动所述应用程序标识对应的应用程序,并根据所述分享信息的标识从所述应用程序对应的服务器获取所述分享信息;
    分享信息展示模块,用于将获取的所述分享信息通过所述应用程序展示给用户。
  9. 一种电子设备,包括:处理器和存储器;
    所述存储器用于存储计算机操作指令;
    所述处理器用于通过调用所述计算机操作指令,执行权利要求1至6中任一项所述的方法。
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现权利要求1至6中任一项所述的方法。
PCT/CN2020/071238 2019-04-11 2020-01-09 信息分享方法、装置、电子设备及存储介质 WO2020207085A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910290227.7A CN109992732A (zh) 2019-04-11 2019-04-11 信息分享方法、装置、电子设备及存储介质
CN201910290227.7 2019-04-11

Publications (1)

Publication Number Publication Date
WO2020207085A1 true WO2020207085A1 (zh) 2020-10-15

Family

ID=67133283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/071238 WO2020207085A1 (zh) 2019-04-11 2020-01-09 信息分享方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN109992732A (zh)
WO (1) WO2020207085A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992732A (zh) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 信息分享方法、装置、电子设备及存储介质
CN111427712B (zh) * 2020-04-10 2023-06-13 深圳市微购科技有限公司 信息分享方法、***及可读存储介质
CN111639280B (zh) * 2020-05-27 2024-03-08 北京明略昭辉科技有限公司 一种信息分享方法及装置
CN111901896A (zh) * 2020-07-14 2020-11-06 维沃移动通信有限公司 信息分享方法、信息分享装置、电子设备及存储介质
CN112019422A (zh) * 2020-08-24 2020-12-01 北京达佳互联信息技术有限公司 信息分享方法、信息处理方法、相关装置及设备
CN112399010B (zh) * 2020-10-30 2021-08-24 维沃移动通信(杭州)有限公司 页面显示方法、装置和电子设备
CN114584599B (zh) * 2022-03-18 2023-05-16 北京字跳网络技术有限公司 游戏数据处理方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142994A (zh) * 2014-07-30 2014-11-12 腾讯科技(深圳)有限公司 一种数据列表获取的方法、终端及***
CN106027368A (zh) * 2016-05-04 2016-10-12 北京奔影网络科技有限公司 业务数据处理方法及装置
CN106878358A (zh) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 信息分享方法、装置及终端设备
CN108197245A (zh) * 2017-12-29 2018-06-22 天脉聚源(北京)科技有限公司 基于微信平台分享商品的方法及装置
CN109521918A (zh) * 2018-10-15 2019-03-26 北京达佳互联信息技术有限公司 一种信息分享方法、装置、电子设备及存储介质
CN109992732A (zh) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 信息分享方法、装置、电子设备及存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087698B (zh) * 2011-03-03 2015-12-02 天地融科技股份有限公司 一种信息传输方法及***、条形码显示及读取装置
CN103577421A (zh) * 2012-07-23 2014-02-12 ***通信集团公司 一种应用二维码的方法、设备和***
US9075801B2 (en) * 2013-01-18 2015-07-07 Nokia Technologies Oy Method and apparatus for sharing content via encoded data representations
CN104660678B (zh) * 2015-01-16 2018-05-18 深信服科技股份有限公司 应用数据分享方法和装置
CN106202308A (zh) * 2016-07-01 2016-12-07 乐视控股(北京)有限公司 一种信息分享的方法及电子设备
CN108335254A (zh) * 2017-01-17 2018-07-27 腾讯科技(深圳)有限公司 一种数据信息处理方法及装置
CN107067059A (zh) * 2017-04-10 2017-08-18 珠海市魅族科技有限公司 分享信息的方法和装置
CN109003194B (zh) * 2017-06-06 2023-07-14 腾讯科技(北京)有限公司 评论分享方法、终端以及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142994A (zh) * 2014-07-30 2014-11-12 腾讯科技(深圳)有限公司 一种数据列表获取的方法、终端及***
CN106878358A (zh) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 信息分享方法、装置及终端设备
CN106027368A (zh) * 2016-05-04 2016-10-12 北京奔影网络科技有限公司 业务数据处理方法及装置
CN108197245A (zh) * 2017-12-29 2018-06-22 天脉聚源(北京)科技有限公司 基于微信平台分享商品的方法及装置
CN109521918A (zh) * 2018-10-15 2019-03-26 北京达佳互联信息技术有限公司 一种信息分享方法、装置、电子设备及存储介质
CN109992732A (zh) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 信息分享方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN109992732A (zh) 2019-07-09

Similar Documents

Publication Publication Date Title
WO2020207085A1 (zh) 信息分享方法、装置、电子设备及存储介质
CN110046021B (zh) 一种页面显示方法、装置、***、设备和存储介质
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
WO2021218518A1 (zh) 视频的处理方法、装置、设备及介质
WO2020248745A1 (zh) 用户界面中字符的显示方法、装置、电子设备及存储介质
WO2021012952A1 (zh) 消息处理方法、装置及电子设备
US20230015800A1 (en) A method, apparatus, medium and electronic device for configuring a gift list in a live broadcast room
US20230239546A1 (en) Theme video generation method and apparatus, electronic device, and readable storage medium
JP2023515105A (ja) マルチメディア会議データ処理方法、装置、及び電子機器
CN115600629A (zh) 车辆信息二维码生成方法、电子设备和计算机可读介质
CN110618768B (zh) 信息呈现方法和装置
CN111652675A (zh) 展示方法、装置和电子设备
WO2021227953A1 (zh) 图像特效配置方法、图像识别方法、装置及电子设备
WO2020207083A1 (zh) 信息分享的方法、装置、电子设备及计算机可读存储介质
CN114489891A (zh) 云应用程序的控制方法、***、装置、可读介质和设备
WO2021143317A1 (zh) 邀请链接信息处理方法、装置、电子设备及可读介质
US20240073488A1 (en) Live video processing method and apparatus, device and medium
WO2020224302A1 (zh) 用户信息处理方法、装置、电子设备及计算机存储介质
CN104219274A (zh) 使用个人计算机促进访问和与移动设备交互的***和方法
CN110619101B (zh) 用于处理信息的方法和装置
WO2023098576A1 (zh) 图像处理方法、装置、设备及介质
AU2018403361B2 (en) Data transmission
CN111382039A (zh) 上报用户行为事件的方法、装置、电子设备及存储介质
WO2021233379A1 (zh) 配置视频特效方法、装置、设备及存储介质
CN111212296B (zh) 直播间礼物列表配置方法、装置、介质及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20787982

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.02.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20787982

Country of ref document: EP

Kind code of ref document: A1