CN112231648A - Information transmission method and device, electronic equipment and storage medium - Google Patents

Information transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112231648A
CN112231648A CN201910636843.3A CN201910636843A CN112231648A CN 112231648 A CN112231648 A CN 112231648A CN 201910636843 A CN201910636843 A CN 201910636843A CN 112231648 A CN112231648 A CN 112231648A
Authority
CN
China
Prior art keywords
information
receiver
target
operation identification
application program
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
Application number
CN201910636843.3A
Other languages
Chinese (zh)
Inventor
赵以诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910636843.3A priority Critical patent/CN112231648A/en
Publication of CN112231648A publication Critical patent/CN112231648A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • G06F21/128Restricting unauthorised execution of programs involving web programs, i.e. using technology especially used in internet, generally interacting with a web browser, e.g. hypertext markup language [HTML], applets, java

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an information transmission method, an information transmission device, electronic equipment and a storage medium, wherein the method comprises the following steps: in an application program, obtaining operation identification information of an information receiver, wherein the operation identification information comprises: the identity of the information receiver and the transmission identification information; acquiring in-application information matched with the current authority of the application program according to the transmission identification information, and generating an information selection interface according to the in-application information; responding to at least one item of target information selected by the information selection interface, and providing the target information to the information receiver according to the identity. The technical scheme of the embodiment of the invention can simplify the information transmission process and improve the safety and timeliness of information transmission.

Description

Information transmission method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an information transmission method and device, electronic equipment and a storage medium.
Background
A mature application platform usually has rich user resources. Accordingly, in order to provide richer applications and service capabilities for users, the application platform is opened to a third party manufacturer to allow the third party manufacturer to access, and provide authorized user information and data to the third party manufacturer for use under the condition of authorization of the user.
In the prior art, the application platform can adopt two authorization modes for third-party manufacturers. The first authorization mode is that a user provides a login account and a password matched with an application platform to a third-party manufacturer, so that the third-party manufacturer can directly acquire the authority according to the acquired login account and password. The second authorization is to apply an authorization layer. The authorization by the application authorization layer may include two ways: (1) after code scanning login, a user session control session identifier which uniquely represents a logged-in user is provided, so that intelligent equipment/IOT (Internet of Things) equipment can request data by using the user identity; (2) the OAuth protocol is applied. The user authorizes the smart device/IOT device, which uses an Access Token with validity period and authority limit to Access the user-specified data.
In the process of implementing the invention, the inventor finds that the prior art has the following defects: the way that the user provides the login account and the password to the third-party manufacturer for authorization has higher security risk. The user can not limit the scope of the third-party manufacturer authority, and the recovery of the third-party manufacturer authority has certain difficulty. In order to ensure security, the user needs to modify the password after the information transmission is completed. The authorization mode of code scanning login cannot reliably distinguish whether a real user or a third-party platform agent user initiates a request, and the third-party platform can acquire all permissions of the user, so that user data leakage is easily caused. In an authorization mode applying the OAuth protocol, user operation and switching are complex, and user data is easily acquired by third-party intelligent equipment when the user data is not authorized.
Disclosure of Invention
The embodiment of the invention provides an information transmission method, an information transmission device, electronic equipment and a storage medium, which are used for simplifying the information transmission process and improving the safety and timeliness of information transmission.
In a first aspect, an embodiment of the present invention provides an information transmission method, including:
in an application program, obtaining operation identification information of an information receiver, wherein the operation identification information comprises: the identity of the information receiver and the transmission identification information;
acquiring in-application information matched with the current authority of the application program according to the transmission identification information, and generating an information selection interface according to the in-application information;
responding to at least one item of target information selected by the information selection interface, and providing the target information to the information receiver according to the identity.
In a second aspect, an embodiment of the present invention further provides an information transmission method, including:
acquiring operation identification information of an information receiver, and providing the operation identification information to the information sender, wherein the operation identification information is used for being provided for the information sender to use in an application program;
wherein the operation identification information includes: the identity of the information receiver and the transmission identification information;
acquiring at least one item of target information provided by the information sender;
the target information is selected from the application information matched with the current authority of the application program by the information sender, and the target information is provided for the information receiver through the identity.
In a third aspect, an embodiment of the present invention further provides an information transmission method, including:
acquiring an identity of an information receiver provided by an information sender and an information identifier matched with at least one item of target information;
the target information is information selected by the information sender in an information selection interface generated in an application program, and the information selection interface is generated according to the in-application information matched with the current authority of the application program;
and providing the download address of the target information to the information receiver for the information receiver to download the target information.
In a fourth aspect, an embodiment of the present invention further provides an information transmission apparatus, including:
an operation identification information obtaining module, configured to obtain, in an application program, operation identification information of an information receiver, where the operation identification information includes: the identity of the information receiver and the transmission identification information;
the information selection interface generation module is used for acquiring the in-application information matched with the current authority of the application program according to the transmission identification information and generating an information selection interface according to the in-application information;
and the first target information providing module is used for responding to at least one item of target information selected aiming at the information selection interface and providing the target information to the information receiver according to the identity.
In a fifth aspect, an embodiment of the present invention further provides an information transmission apparatus, including:
the operation identification information receiving module is used for acquiring operation identification information of an information receiving party and providing the operation identification information for the information sending party, and the operation identification information is used for being provided for the information sending party to use in an application program;
wherein the operation identification information includes: the identity of the information receiver and the transmission identification information;
the target information acquisition module is used for acquiring at least one item of target information provided by the information sender;
the target information is selected from the application information matched with the current authority of the application program by the information sender, and the target information is provided for the information receiver through the identity.
In a sixth aspect, an embodiment of the present invention further provides an information transmission apparatus, including:
the identification information acquisition module is used for acquiring the identity of the information receiver provided by the information sender and the information identification matched with at least one item of target information;
the target information is information selected by the information sender in an information selection interface generated in an application program, and the information selection interface is generated according to the in-application information matched with the current authority of the application program;
and the second target information providing module is used for providing the download address of the target information to the information receiving party so that the information receiving party can download the target information.
In a seventh aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the information transmission method according to any of the first aspects.
In an eighth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the information transmission method described in any of the first aspects.
In a ninth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the information transmission method according to any of the second aspects.
In a tenth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the information transmission method according to any of the second aspects.
In an eleventh aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the information transmission method according to any of the third aspects.
In a twelfth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the information transmission method according to any of the third aspects.
According to the embodiment of the invention, the information sender further acquires the in-application information matched with the current authority of the application program according to the operation identification information of the information receiver acquired in the application program, so that the information selection interface is generated according to the in-application information, and the target information selected aiming at the information selection interface is provided for the information receiver, thereby solving the problems of complicated flow, low safety and timeliness and the like of an authorization mode adopted in the existing information transmission process, simplifying the flow of information transmission, and improving the safety and timeliness of information transmission.
Drawings
Fig. 1 is a flowchart of an information transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart of an information transmission method according to a second embodiment of the present invention;
fig. 3a is a flowchart of an information transmission method according to a third embodiment of the present invention;
fig. 3b is a schematic diagram of an information transmission flow according to a third embodiment of the present invention;
fig. 3c is a schematic view of an interaction flow of information transmission according to a third embodiment of the present invention;
fig. 3d is a schematic diagram of a system architecture for information transmission according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of an information transmission apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of an information transmission apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of an information transmission apparatus according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a seventh embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of an information transmission method according to an embodiment of the present invention, where the embodiment is applicable to a case where information transmission between two devices is completed safely and efficiently, and the method may be executed by an information transmission apparatus, which may be implemented by software and/or hardware, and may be generally integrated in an electronic device (typically, various terminal devices) for sending information, and used in cooperation with an electronic device for receiving information and an electronic device for storing information. Accordingly, as shown in fig. 1, the method comprises the following operations:
s110, in the application program, obtaining operation identification information of an information receiver, wherein the operation identification information comprises: the identity of the information receiver and the transmission identification information.
An application may be, among other things, a computer program for performing one or more specific tasks. In an alternative embodiment of the invention, the application may comprise a network storage class application. The network storage application program can utilize an ultra-large capacity storage space to store various data information of users, such as videos, audios, various document files and the like. The information sender and the information receiver may be various types of terminal devices, such as a smart phone, a smart television, or other types of terminals, and may also be a browser or an application program, as long as sending and receiving of information can be completed, which is not limited in the embodiment of the present invention. The operation identification information may be auxiliary information for the information receiving side to receive information, such as a two-dimensional code, voiceprint information, or a serial code. The identity of the information receiver is used for uniquely identifying the information receiver, and the transmission identification information of the information receiver can be used for identifying the function of the operation identification information. For example, the transmission identification information may identify that the operation identification information is used to transmit information.
In the embodiment of the invention, before information transmission is carried out between the information sender and the information receiver, the information receiver can obtain corresponding operation identification information through an application program and provide the operation identification information to the information sender. The operation identification information can be used as an intermediate medium for transmitting information between the information sender and the information receiver. Illustratively, the information receiver provides a two-dimensional code as the operation identification information to the information sender. The information sender can acquire the identity of the information receiver and transmit the identification information by scanning the two-dimensional code. The information sender can identify the two-dimensional code through transmitting the identification information and is used for sending information to the information receiver, and the information receiver is identified according to the identity so as to carry out subsequent information transmission operation.
In an optional embodiment of the present invention, the obtaining, in the application program, the operation identification information of the information receiver may include at least one of: in the application program, scanning the information two-dimensional code displayed by the information receiver to acquire the operation identification information of the information receiver; in the application program, identifying the voiceprint signal sent by the information receiver and acquiring operation identification information of the information receiver; and responding to the sequence code input in the application program and provided by the information sender, and acquiring the operation identification information of the information receiver.
It should be noted that the information receiving side may provide the operation identification information to the information transmitting side in various ways. Illustratively, the information receiving side displays the two-dimensional code to the information sending side, and the information sending side scans the two-dimensional code to obtain the operation identification information. Or, the information receiving party displays a section of voiceprint signal to the information sending party, and the information sending party can acquire the operation identification information by identifying the voiceprint signal through a voice recognition technology. Or, the information receiver can also display a section of sequence code to the information sender, and the information sender can acquire the operation identification information after identifying the sequence code. Of course, a person skilled in the art may also establish other generation manners of the operation identification information in the technical background of the present technical solution, which is not limited in this embodiment of the present invention.
And S120, acquiring the in-application information matched with the current authority of the application program according to the transmission identification information, and generating an information selection interface according to the in-application information.
The current permission may be a permission that a user side matched with the information sender has for the application program, for example, a user has an operation permission for a certain file holder in the application program. The in-application information may be data information associated with the sender of the information in the application program, and illustratively, the in-application information includes, but is not limited to, various types of videos, audios, text files, various types of messages or instructions (e.g., various control instructions included in a virtual remote control), and the like. The information selection interface can be a visual interface used for displaying the information in the application program, wherein the information sender has the operation authority in the application program. For example, the information selection interface may be a file selection list.
In the embodiment of the invention, after the information sender acquires the operation identification information of the information receiver, the in-application information matched with the current authority can be acquired through the application program. In order to facilitate the information sender to quickly locate the information to be sent, a matched information selection interface can be generated at the information sender according to the information in the application so as to be displayed to a user.
In a specific example, assuming that the application is a network disk, the current permission may be a file acquisition permission of the user in the network disk. For example, the user has operation rights to all video files in the network disk. Furthermore, after the user acquires the two-dimensional code provided by the third-party device through the network disk, the network disk can form a file selection list according to all video files stored in the network disk by the user for the user to select.
In an optional embodiment of the present invention, before the acquiring, according to the transmission identification information, in-application information matched with the current authority of the application program, and generating an information selection interface according to the in-application information, the method may further include: detecting the current authority of the application program; and if the current authority does not meet the information transmission condition, providing an authority input interface for acquiring user authority information in the application program so as to improve the current authority of the application program, or refusing to transmit information in the application program.
The information transmission condition may be a condition for limiting the information transmission by the information sender. For example, the information transmission condition may be: the information sender can download or transmit all video files in the application program under the current authority. The user authority information authority input interface can be a visual interface modified by the user according to the authority information.
It should be noted that, a user may set various permissions at different levels in an application, and the current permissions are different in level and different in operable permission for information in the application. Therefore, in order to ensure that the information can be transmitted smoothly, the information sender can firstly detect the current authority of the application program before generating the information selection interface. If the current authority is determined to meet the information transmission condition, an information selection interface can be generated according to the in-application information matched with the current authority of the application program; otherwise, a permission input interface for acquiring the user permission information can be provided for the user in the application program. The user can change the current authority through a user authority information authority input interface provided by the application program of the information sender, for example, the current authority is changed to a higher level, so as to improve the current authority of the application program. Alternatively, it is also possible to directly refuse to transmit information within the information sender application when it is determined that the current authority does not satisfy the information transmission condition. Therefore, the information receiver can only obtain the information authorized by the information sender user. Therefore, the information transmission method provided by the embodiment of the invention has higher safety and privacy.
S130, responding to at least one item of target information selected by the information selection interface, and providing the target information to the information receiver according to the identity.
The target information can be one or more pieces of in-application information selected by a user through an information selection interface and received by an information sender.
Correspondingly, after the user determines the target information to be transmitted through the information selection interface, the information sender transmits the target information to the information receiver according to the identity of the information receiver included in the operation identification information.
In an optional embodiment of the present invention, the providing, in response to at least one item of target information selected for the information selection interface, the target information to the information recipient according to the identity includes: responding to at least one item of target information selected aiming at the information selection interface, and acquiring an information identifier of the at least one item of target information; and sending the identity identification and the information identification to a server so that the server provides a download address of the target information to the information receiver for the information receiver to download the target information.
Wherein the information identifier may be used to identify the target information. Illustratively, the information identifier may be a name of the target information, or the like.
Optionally, if the information sender uses the information stored in the server as the target information, during information transmission, the information identifier of the target information may be first obtained, so as to send the identity identifier of the information receiver and the information identifier of the target information to the server in a unified manner. After receiving the identity identifier of the information receiver and the information identifier of the target information, the server can acquire the storage path of the target information according to the information identifier, and then provide the download address matched with the storage path of the target information for the information receiver. The information receiver can download according to the download address of the target information, thereby completing the transmission process of the information.
In an optional embodiment of the present invention, the providing, in response to at least one item of target information selected for the information selection interface, the target information to the information recipient according to the identity includes: responding to at least one item of target information selected by the information selection interface, and establishing communication connection with the information receiver according to a connection mode included in the operation identification information; and providing the target information stored locally to the information receiver through the communication connection.
The operation identification information may further include a connection mode, where the connection mode is used to specify a communication connection mode between the information sender and the information receiver, such as bluetooth connection or wireless connection.
Optionally, if the information sender uses the locally stored information as the target information, when the information is transmitted, the connection mode included in the operation identification information may be first identified, and a communication connection may be established with the information receiver according to the connection mode. After the connection is successful, the information sender can provide the locally stored target information to the information receiver, thereby completing the information transmission process.
Therefore, in the embodiment of the invention, no matter the target information is stored in the server or is stored locally at the information sender, the target information is transmitted to the information receiver without the prior authorization operation, and the information transmission flow between the information sender and the information receiver is simplified. Meanwhile, the information transmission method provided by the embodiment of the invention can realize that the user can walk immediately after use, and subsequent logout operation is not required to be executed, so that the problem of information data leakage caused by forgetting to logout of the user can be effectively avoided, and the safety and timeliness of the information are further improved.
According to the embodiment of the invention, the information sender further acquires the in-application information matched with the current authority of the application program according to the operation identification information of the information receiver acquired in the application program, so that the information selection interface is generated according to the in-application information, and the target information selected aiming at the information selection interface is provided for the information receiver, thereby solving the problems of complicated flow, low safety and timeliness and the like of an authorization mode adopted in the existing information transmission process, simplifying the flow of information transmission, and improving the safety and timeliness of information transmission.
Example two
Fig. 2 is a flowchart of an information transmission method according to a second embodiment of the present invention, where the present embodiment is applicable to a case where information transmission between two devices is completed safely and efficiently, and the method may be executed by an information transmission apparatus, which may be implemented by software and/or hardware, and may be generally integrated in an electronic device (typically, various terminal devices) for receiving information, and used in cooperation with an electronic device for sending information and an electronic device for storing information. Accordingly, as shown in fig. 2, the method includes the following operations:
s210, obtaining operation identification information of an information receiver, and providing the operation identification information to the information sender, wherein the operation identification information is used for being provided for the information sender to use in an application program.
Wherein the operation identification information includes: the identity of the information receiver and the transmission identification information.
In the embodiment of the invention, before information transmission is carried out between the information sender and the information receiver, the information receiver can obtain corresponding operation identification information through an application program and provide the operation identification information to the information sender so as to enable the information sender to be used in the application program. The operation identification information can be used as an intermediate medium for transmitting information between the information sender and the information receiver. Illustratively, the information receiver provides a two-dimensional code as the operation identification information to the information sender. The information sender can acquire the identity of the information receiver and transmit the identification information by scanning the two-dimensional code. The information sender can identify the two-dimension code through transmitting the identification information and is used for sending information to the information receiver, and the information receiver is identified according to the identity to perform subsequent information transmission operation.
In an optional embodiment of the present invention, the information receiving side may include: the end application installation package SDK (Software Development Kit)) or a browser.
In an optional embodiment of the present invention, obtaining operation identification information of an information receiver and providing the operation identification information to the information sender may include: applying for operation identification information to a server, and receiving the operation identification information which is fed back by the server and is set in a data form. Wherein the dataform can include at least one of: two-dimensional codes, voiceprint information, or sequence codes.
The server may be a device that provides services for both the information receiver and the information sender. Or, two servers can be adopted to provide services for the information receiver and the information sender respectively, wherein the server of the information receiver is responsible for generating operation identification information; the server of the information sender is responsible for the downloading process of the target information.
In the embodiment of the present invention, the operation identification information provided by the information receiver to the information sender may be generated by the server. Specifically, when information needs to be transmitted, the information receiver applies for operation identification information used in the application program to the server. After receiving the application, the server may generate operation identification information in a set data format (such as a two-dimensional code, voiceprint information, or a serial code) and feed back the operation identification information to the information receiving party.
In an optional embodiment of the present invention, the two-dimensional code comprises an expiration time; and the operation of applying for operating the identification information to the server is periodically executed to avoid the expiration of the two-dimensional code.
Wherein, the expiration time can be used for limiting the effective use time of the two-dimensional code.
Correspondingly, if the operation identification information is in the form of data of the two-dimensional code, optionally, an expiration time may also be set for the two-dimensional code. The benefits of this arrangement are: the validity period of the two-dimensional code can be limited, so that an information receiver can be prevented from obtaining the information stored by an information sender without limit, and the safety of information data is ensured. Correspondingly, in order to avoid information transmission failure caused by expiration of the two-dimensional code, an information receiver can periodically apply for and receive operation identification information from the server.
S220, acquiring at least one item of target information provided by the information sender.
The target information is selected from the application information matched with the current authority of the application program by the information sender, and the target information is provided for the information receiver through the identity.
In the embodiment of the invention, after the information sender acquires the operation identification information of the information receiver, the in-application information matched with the current authority can be acquired through the application program. In order to facilitate the information sender to quickly locate the information to be sent, a matched information selection interface can be generated at the information sender according to the information in the application so as to be displayed to a user. The user can determine the target information to be transmitted through the information selection interface of the information sender, and correspondingly, the information sender transmits the target information to the information receiver according to the identity of the information receiver included in the operation identification information.
In an optional embodiment of the present invention, the acquiring at least one item of target information provided by the information sender may include: periodically sending an information request to the server in a long polling mode; the information request is used for indicating the server to send an information downloading address of the target information to the information receiver, wherein the information downloading address is information acquired by the server when acquiring at least one information identifier of the target information provided by the information sender; and when an information downloading address sent by the server is received, downloading the at least one item of target information from the server according to the information downloading address.
The information request may be a request for obtaining information. Specifically, the information request may be a request sent by the information receiver to the server, for obtaining an information download address of the target information. The information downloading address is the storage address of the target information in the server.
If the target information is stored in the server, and the server acquires the information identifier of the target information provided by the information sender, an information download address matched with the target information can be generated. Optionally, the information receiving party may periodically send an information request to the server in a long polling manner to obtain an information download address matched with the target information. When the server detects an information request sent by the information receiver, the information download address is provided for the information receiver. And after the information receiving party receives the information downloading address sent by the server, the corresponding target information can be downloaded from the server according to the information downloading address.
The information receiving method and the information receiving device have the advantages that the information receiving party provides the operation identification information used in the application program to the information sending party, so that the information sending party can obtain the in-application information matched with the current authority of the application program, the information selection interface is generated according to the in-application information, the target information selected aiming at the information selection interface is provided to the information receiving party, the problems that an authorization mode adopted in the existing information transmission process is complex in process, low in safety and timeliness and the like are solved, the information transmission process is simplified, and the safety and timeliness of information transmission are improved.
EXAMPLE III
Fig. 3a is a flowchart of an information transmission method according to a third embodiment of the present invention, where this embodiment is applicable to a case where information transmission between two devices is completed safely and efficiently, and this method may be executed by an information transmission apparatus, which may be implemented by software and/or hardware, and may be generally integrated in a server for storing information, and used in cooperation with devices (typically, various terminal devices) for sending and receiving information. Accordingly, as shown in fig. 3a, the method comprises the following operations:
s310, obtaining the identity of the information receiver provided by the information sender and the information identification matched with the at least one item of target information.
The target information is information selected by the information sender in an information selection interface generated in an application program, and the information selection interface is generated according to the in-application information matched with the current authority of the application program.
In the embodiment of the invention, before information transmission is carried out between the information sender and the information receiver, the information receiver can obtain corresponding operation identification information through an application program and provide the operation identification information to the information sender. The operation identification information can be used as an intermediate medium for transmitting information between the information sender and the information receiver. Illustratively, the information receiver provides a two-dimensional code as the operation identification information to the information sender. The information sender can acquire the identity of the information receiver and transmit the identification information by scanning the two-dimensional code. The information sender can identify the two-dimension code through transmitting the identification information and is used for sending information to the information receiver, and the information receiver is identified according to the identity to perform subsequent information transmission operation. Correspondingly, if the information sender takes the information stored in the server as the target information, the information sender can firstly acquire the information identifier of the target information when transmitting the information, so as to uniformly send the identity identifier of the information receiver and the information identifier of the target information to the server.
In an optional embodiment of the present invention, before the obtaining the identity of the information receiver provided by the information sender and the information identifier matched with the at least one item of target information, the method may further include: receiving an application request of operation identification information of an information receiver, wherein the operation identification information is used for being provided for an information sender to use in an application program, and the operation identification information comprises: the identity of the information receiver and the transmission identification information; according to the application request, the operation identification information in a set data form is provided for the information receiving party, so that the information receiving party displays the operation identification information to the information sending party; wherein the dataform can include at least one of: two-dimensional codes, voiceprint information, or sequence codes.
The application request may be a request for applying for the operation identification information to the server.
In the embodiment of the present invention, the information receiving party may send an application request for applying for obtaining the operation identification information to the server. Correspondingly, after receiving the application, the server can generate operation identification information in a set data form (such as a two-dimensional code, voiceprint information or a serial code) and feed the operation identification information back to the information receiving party. The information receiver can display the operation identification information to the information sender so that the information sender sends information to the information receiver according to the received operation identification information.
S320, providing the download address of the target information to the information receiver for the information receiver to download the target information.
Correspondingly, after receiving the identity identifier of the information receiver and the information identifier of the target information, the server can acquire the storage path of the target information according to the information identifier, and then provide the download address matched with the storage path of the target information for the information receiver. The information receiver can download according to the download address of the target information, thereby completing the transmission process of the information.
In an optional embodiment of the present invention, the providing the download address of the target information to the information receiving side for the information receiving side to download the target information may include: sending the information identification matched with the at least one item of target information to a file downloading module, and receiving a file downloading address matched with the target information and fed back by the file downloading module; writing the file downloading address into an information queue matched with the information receiving party; and detecting an information request sent by the information receiving party through a file extraction interface of the file extraction module, acquiring the file downloading address from the information queue according to the detected information request, and sending the file downloading address to the information receiving party so that the information receiving party downloads the target information.
The file downloading module can be used for downloading various files from the server and managing file downloading tasks of the server. The information queue may be a queue for holding download addresses. Illustratively, a Redis queue may be used as the information queue. The file extraction interface may be used to receive and parse information requests.
Specifically, after receiving the information identifier matched with the target information, the server may send the information identifier to an internal file downloading module. And the file downloading module inquires a downloading address of the target information according to the information identifier and feeds the downloading address back to the server. The server can further write the corresponding file download address into a dedicated information queue matched with the information receiving party. When a file extraction interface of a file extraction module in the server detects an information request sent by an information receiving party, a written file downloading address can be obtained from the information queue and sent to the information receiving party, so that the information receiving party can download target information from the server according to the file downloading address.
In an optional embodiment of the present invention, the file download address matched with the target information fed back by the file download module includes: an expiration time; after acquiring the file download address from the information queue according to the detected information request and sending the file download address to the information receiver, the method may further include: receiving a file downloading address which is sent by the information receiver and matched with the target information; and if the current system time is determined not to exceed the expiration time in the file download address, providing the target information matched with the file download address to the information receiver.
Similarly, in order to ensure the security of the information data, a corresponding expiration time may also be set in the file download address. Correspondingly, when the information receiver requests the server to download the file according to the received file download address, the server can compare the expiration time in the file download address with the system time. And if the server determines that the current system time does not exceed the expiration time in the file download address, providing the target information matched with the file download address to the information receiver.
Fig. 3b is a schematic diagram of an information transmission flow provided by the third embodiment of the present invention, and fig. 3c is a schematic diagram of an interaction flow of information transmission provided by the third embodiment of the present invention. Fig. 3d is a schematic diagram of a system architecture for information transmission according to a third embodiment of the present invention. In a specific example, the application may be a web disk for storing information, as shown in fig. 3b, 3c and 3 d. The information receiver (web end/device end) can request the file extraction module of the network disk to acquire a two-dimensional code with a validity period as a temporary device identifier and provide the temporary device identifier for the information sender. After the information sender (the network disk client) opens the network disk, a user scans the two-dimensional code to obtain a file selection list popped up by the information sender. And the user browses the file selection list to select target information and clicks to send the target information, so that the file can be sent. The user transfers the file sent by the information sender through the network disk server, and sends the file download address to the information receiver, so that the information receiver can download the related file from the network disk server.
It should be noted that, as shown in fig. 3d, the information receiver may be an end SDK provided by the network disk or a browser, and registers through the registration interface acquired by the file extraction module, and obtains a unique two-dimensional code with expiration time to uniquely identify the information receiver. And the information receiver periodically updates the two-dimension code to avoid the expiration of the two-dimension code. The information receiver can request the file extraction interface of the file extraction module in a long polling mode, and when a new file sends a message, the message can be timely obtained and the file starts to be downloaded. An information sender (IOS end/Android end) scans the two-dimensional code to obtain a temporary unique identifier of an information receiver, and sends the unique identifier and a file/file list to be sent to a file sending module in a server (server) when sending a file to the information receiver. After receiving a file/file list sent by a user, a file sending module requests a Personal Cloud Storage (PCS) to generate a file downloading address with expiration time, and writes the address into a queue of corresponding equipment in Redis through an rpush command. After receiving a file extraction request of an information receiver, a file extraction module periodically acquires information of the corresponding information receiver from the Redis in an lpop mode and sends the information to the information receiver. In the whole process, the user does not need to authorize in advance, and in the case of logging in the application program, the whole information transmission operation only needs three steps of scanning, selecting a file and sending. The information receiver can only obtain the file authorized by the user, and the user can walk as he or she uses without logging out, so that the privacy is prevented from being revealed due to forgetting to log out.
The embodiment of the invention obtains the identity identification of the information receiver provided by the information sender and the information identification matched with at least one item of target information through the server, and provides the download address of the target information to the information receiver so that the information receiver can download the target information, thereby solving the problems of complicated flow, low safety and timeliness and the like of an authorization mode adopted in the existing information transmission process, simplifying the information transmission flow, and improving the safety and timeliness of information transmission.
Example four
Fig. 4 is a schematic diagram of an information transmission apparatus according to a fourth embodiment of the present invention, and as shown in fig. 4, the apparatus includes: an operation identification information acquisition module 410, an information selection interface generation module 420, and a first target information providing module 430, wherein:
an operation identification information obtaining module 410, configured to obtain, within the application program, operation identification information of the information receiver, where the operation identification information includes: the identity of the information receiver and the transmission identification information;
an information selection interface generating module 420, configured to obtain, according to the transmission identification information, in-application information that matches the current permission of the application program, and generate an information selection interface according to the in-application information;
the first target information providing module 430 is configured to provide the target information to the information recipient according to the identity in response to the at least one item of target information selected for the information selection interface.
According to the embodiment of the invention, the information sender further acquires the in-application information matched with the current authority of the application program according to the operation identification information of the information receiver acquired in the application program, so that the information selection interface is generated according to the in-application information, and the target information selected aiming at the information selection interface is provided for the information receiver, thereby solving the problems of complicated flow, lower safety and timeliness and the like in an authorization mode adopted in the existing information transmission process, simplifying the flow of information transmission, and improving the safety and timeliness of information transmission.
Optionally, the operation identification information obtaining module 410 is specifically configured to: in the application program, scanning the information two-dimensional code displayed by the information receiver to acquire the operation identification information of the information receiver; in the application program, identifying the voiceprint signal sent by the information receiver and acquiring operation identification information of the information receiver; and responding to the sequence code input in the application program and provided by the information sender, and acquiring the operation identification information of the information receiver.
Optionally, the first target information providing module 430 is specifically configured to: responding to at least one item of target information selected aiming at the information selection interface, and acquiring an information identifier of the at least one item of target information; and sending the identity identification and the information identification to a server so that the server provides a download address of the target information to the information receiver for the information receiver to download the target information.
Optionally, the first target information providing module 430 is specifically configured to: responding to at least one item of target information selected by the information selection interface, and establishing communication connection with the information receiver according to a connection mode included in the operation identification information; and providing the target information stored locally to the information receiver through the communication connection.
Optionally, the application program includes a network storage class application program.
Optionally, the apparatus further comprises: the current authority detection module is used for detecting the current authority of the application program; and the permission input interface providing module is used for providing a permission input interface for acquiring user permission information in the application program if the current permission does not meet the information transmission condition so as to improve the current permission of the application program or refuse to transmit information in the application program.
The information transmission device can execute the information transmission method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the information transmission method provided in any embodiment of the present invention, reference may be made to the technical details not described in detail in this embodiment.
EXAMPLE five
Fig. 5 is a schematic diagram of an information transmission apparatus according to a fifth embodiment of the present invention, and as shown in fig. 5, the apparatus includes: an operation identification information receiving module 510 and a target information obtaining module 520, wherein:
an operation identification information receiving module 510, configured to obtain operation identification information of an information receiving party, and provide the operation identification information to the information sending party, where the operation identification information is used by the information sending party in an application program;
wherein the operation identification information includes: the identity of the information receiver and the transmission identification information;
a target information obtaining module 520, configured to obtain at least one item of target information provided by the information sender;
the target information is selected from the application information matched with the current authority of the application program by the information sender, and the target information is provided for the information receiver through the identity.
The information receiving method and the information receiving device have the advantages that the information receiving party provides the operation identification information used in the application program to the information sending party, so that the information sending party can obtain the in-application information matched with the current authority of the application program, the information selection interface is generated according to the in-application information, the target information selected aiming at the information selection interface is provided to the information receiving party, the problems that an authorization mode adopted in the existing information transmission process is complex in process, low in safety and timeliness and the like are solved, the information transmission process is simplified, and the safety and timeliness of information transmission are improved.
Optionally, the operation identification information receiving module 510 is specifically configured to: applying for operation identification information to a server, and receiving the operation identification information which is fed back by the server and is set in a data form. Wherein the dataform comprises at least one of: two-dimensional code, voiceprint information and sequence code.
Optionally, the two-dimensional code includes an expiration time; and the operation of applying for operating the identification information to the server is periodically executed to avoid the expiration of the two-dimensional code.
Optionally, the target information obtaining module 520 is specifically configured to: periodically sending an information request to the server in a long polling mode; the information request is used for indicating the server to send an information downloading address of the target information to the information receiver, wherein the information downloading address is information acquired by the server when acquiring at least one information identifier of the target information provided by the information sender; and when an information downloading address sent by the server is received, downloading the at least one item of target information from the server according to the information downloading address.
Optionally, the information receiving side includes: the end application installs the package SDK or browser.
The information transmission device can execute the information transmission method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the information transmission method according to the second embodiment of the present invention, reference may be made to the information transmission method not described in detail in this embodiment.
EXAMPLE six
Fig. 6 is a schematic diagram of an information transmission apparatus according to a sixth embodiment of the present invention, and as shown in fig. 6, the apparatus includes: an identification information obtaining module 610 and a second target information providing module 620, wherein:
an identification information obtaining module 610, configured to obtain an identity of an information receiver provided by an information sender, and an information identifier matched with at least one item of target information;
the target information is information selected by the information sender in an information selection interface generated in an application program, and the information selection interface is generated according to the in-application information matched with the current authority of the application program;
a second target information providing module 620, configured to provide the download address of the target information to the information receiving party, so that the information receiving party downloads the target information.
The embodiment of the invention obtains the identity identification of the information receiver provided by the information sender and the information identification matched with at least one item of target information through the server, and provides the download address of the target information to the information receiver so that the information receiver can download the target information, thereby solving the problems of complicated flow, low safety and timeliness and the like of an authorization mode adopted in the existing information transmission process, simplifying the information transmission flow, and improving the safety and timeliness of information transmission.
Optionally, the second target information providing module 620 includes: the first file downloading address receiving unit is used for sending the information identifier matched with the at least one item of target information to a file downloading module and receiving a file downloading address matched with the target information and fed back by the file downloading module; the file download address writing unit is used for writing the file download address into an information queue matched with the information receiving party; the file downloading address sending unit is used for acquiring the file downloading address from the information queue according to the detected information request and sending the file downloading address to the information receiving party so that the information receiving party downloads the target information.
Optionally, the apparatus further comprises: an application request receiving module, configured to receive an application request of operation identification information of an information receiver, where the operation identification information is used for being provided to an information sender for use in an application program, and the operation identification information includes: the identity of the information receiver and the transmission identification information; an operation identification information providing module, configured to provide the operation identification information in a set data form to the information receiving party according to the application request, so that the information receiving party displays the operation identification information to the information sending party; wherein the dataform comprises at least one of: two-dimensional code, voiceprint information and sequence code.
Optionally, the file download address matched with the target information and fed back by the file download module includes: an expiration time; accordingly, the second target information providing module 620 further includes: the second file download address receiving unit is used for receiving a file download address which is sent by the information receiver and matched with the target information; and the target information providing unit is used for providing target information matched with the file downloading address to the information receiver if the current system time is determined not to exceed the expiration time in the file downloading address.
The information transmission device can execute the information transmission method provided by the third embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the information transmission method provided in the third embodiment of the present invention, reference may be made to the technical details not described in detail in this embodiment.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of an electronic device according to a seventh embodiment of the present invention. FIG. 7 illustrates a block diagram of an electronic device 712 suitable for use to implement embodiments of the present invention. The electronic device 712 shown in fig. 7 is only an example and should not bring any limitations to the function and the scope of use of the embodiments of the present invention. The electronic device 512 is typically a terminal device that assumes an information transmission function.
As shown in fig. 7, electronic device 712 is embodied in the form of a general purpose computing device. Components of electronic device 712 may include, but are not limited to: one or more processors 716, a storage device 728, and a bus 718 that couples the various system components (including the storage device 728 and the processors 716).
Bus 718 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Electronic device 712 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 712 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 728 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 730 and/or cache Memory 732. The electronic device 712 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 734 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the bus 718 by one or more data media interfaces. Storage 728 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 736 having a set (at least one) of program modules 726, which may include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment, may be stored in, for example, storage 728. Program modules 726 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The electronic device 712 may also communicate with one or more external devices 714 (e.g., keyboard, pointing device, camera, display 724, etc.), with one or more devices that enable a user to interact with the electronic device 712, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 712 to communicate with one or more other computing devices. Such communication may be through an Input/Output (I/O) interface 722. Also, the electronic device 712 can communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter 720. As shown, the network adapter 720 communicates with the other modules of the electronic device 712 via the bus 718. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 712, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 716 executes various functional applications and data processing by executing programs stored in the storage device 728, for example, to implement the information transmission method provided by the above-described embodiment of the present invention.
That is, the processing unit implements, when executing the program: in an application program, obtaining operation identification information of an information receiver, wherein the operation identification information comprises: the identity of the information receiver and the transmission identification information; acquiring in-application information matched with the current authority of the application program according to the transmission identification information, and generating an information selection interface according to the in-application information; responding to at least one item of target information selected by the information selection interface, and providing the target information to the information receiver according to the identity.
Example eight
An eighth embodiment of the present invention is an electronic device, which is provided in the embodiment of the present invention and is configured to execute the information transmission method provided in the second embodiment of the present invention, and the electronic device is typically a terminal device that performs an information receiving function. The electronic device includes: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the information transmission method according to the second embodiment of the present invention: acquiring operation identification information of an information receiver, and providing the operation identification information to the information sender, wherein the operation identification information is used for being provided for the information sender to use in an application program; wherein the operation identification information includes: the identity of the information receiver and the transmission identification information; acquiring at least one item of target information provided by the information sender; the target information is selected from the application information matched with the current authority of the application program by the information sender, and the target information is provided for the information receiver through the identity. The specific structure and the details thereof can be referred to fig. 7 and the seventh embodiment.
Example nine
The ninth embodiment is an electronic device, which is provided in the third embodiment of the present invention and is used for executing the information transmission method provided in the third embodiment of the present invention, and the electronic device is typically a server device that bears an information storage function. The electronic device includes: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the information transmission method provided by the third embodiment of the present invention: acquiring an identity of an information receiver provided by an information sender and an information identifier matched with at least one item of target information; the target information is information selected by the information sender in an information selection interface generated in an application program, and the information selection interface is generated according to the in-application information matched with the current authority of the application program; and providing the download address of the target information to the information receiver for the information receiver to download the target information. The specific structure and the details thereof can be referred to fig. 7 and the seventh embodiment.
Example ten
An embodiment tenth of the present invention further provides a computer storage medium storing a computer program, which when executed by a computer processor is configured to execute the information transmission method according to the first embodiment of the present invention: in an application program, obtaining operation identification information of an information receiver, wherein the operation identification information comprises: the identity of the information receiver and the transmission identification information; acquiring in-application information matched with the current authority of the application program according to the transmission identification information, and generating an information selection interface according to the in-application information; responding to at least one item of target information selected by the information selection interface, and providing the target information to the information receiver according to the identity.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, 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), an optical fiber, 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 context of this document, 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
EXAMPLE eleven
An eleventh embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the information transmission method according to the second embodiment: acquiring operation identification information of an information receiver, and providing the operation identification information to the information sender, wherein the operation identification information is used for being provided for the information sender to use in an application program; wherein the operation identification information includes: the identity of the information receiver and the transmission identification information; acquiring at least one item of target information provided by the information sender; the target information is selected from the application information matched with the current authority of the application program by the information sender, and the target information is provided for the information receiver through the identity. The specific details thereof are described with reference to the example ten.
Example twelve
The twelfth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the information transmission method described in the third embodiment: acquiring an identity of an information receiver provided by an information sender and an information identifier matched with at least one item of target information; the target information is information selected by the information sender in an information selection interface generated in an application program, and the information selection interface is generated according to the in-application information matched with the current authority of the application program; and providing the download address of the target information to the information receiver for the information receiver to download the target information. The specific details thereof are described with reference to the example ten.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (20)

1. An information transmission method, comprising:
in an application program, obtaining operation identification information of an information receiver, wherein the operation identification information comprises: the identity of the information receiver and the transmission identification information;
acquiring in-application information matched with the current authority of the application program according to the transmission identification information, and generating an information selection interface according to the in-application information;
responding to at least one item of target information selected by the information selection interface, and providing the target information to the information receiver according to the identity.
2. The method according to claim 1, wherein the obtaining of the operation identification information of the information receiver in the application program comprises at least one of the following:
in the application program, scanning the information two-dimensional code displayed by the information receiver to acquire the operation identification information of the information receiver;
in the application program, identifying the voiceprint signal sent by the information receiver and acquiring operation identification information of the information receiver;
and responding to the sequence code input in the application program and provided by the information sender, and acquiring the operation identification information of the information receiver.
3. The method of claim 1, wherein providing the target information to the information recipient according to the identity in response to the at least one target information selected for the information selection interface comprises:
responding to at least one item of target information selected aiming at the information selection interface, and acquiring an information identifier of the at least one item of target information;
and sending the identity identification and the information identification to a server so that the server provides a download address of the target information to the information receiver for the information receiver to download the target information.
4. The method of claim 1, wherein providing the target information to the information recipient according to the identity in response to the at least one target information selected for the information selection interface comprises:
responding to at least one item of target information selected by the information selection interface, and establishing communication connection with the information receiver according to a connection mode included in the operation identification information;
and providing the target information stored locally to the information receiver through the communication connection.
5. The method of any of claims 1-4, wherein the application comprises a network storage class application.
6. The method according to claim 1, before the obtaining, according to the transmission identification information, in-application information that matches the current authority of the application program, and generating an information selection interface according to the in-application information, further comprising:
detecting the current authority of the application program;
and if the current authority does not meet the information transmission condition, providing an authority input interface for acquiring user authority information in the application program so as to improve the current authority of the application program, or refusing to transmit information in the application program.
7. An information transmission method, comprising:
acquiring operation identification information of an information receiver, and providing the operation identification information to the information sender, wherein the operation identification information is used for being provided for the information sender to use in an application program;
wherein the operation identification information includes: the identity of the information receiver and the transmission identification information;
acquiring at least one item of target information provided by the information sender;
the target information is selected from the application information matched with the current authority of the application program by the information sender, and the target information is provided for the information receiver through the identity.
8. The method of claim 7, wherein the obtaining operation identification information of the information receiver and providing the operation identification information to the information sender comprises:
applying for operation identification information to a server;
receiving the operation identification information in a set data form fed back by the server;
wherein the dataform comprises at least one of: two-dimensional code, voiceprint information and sequence code.
9. The method of claim 8, wherein the two-dimensional code comprises an expiration time;
and the operation of applying for operating the identification information to the server is periodically executed to avoid the expiration of the two-dimensional code.
10. The method of claim 8, wherein the obtaining at least one item of target information provided by the information sender comprises:
periodically sending an information request to the server in a long polling mode;
the information request is used for indicating the server to send an information downloading address of the target information to the information receiver, wherein the information downloading address is information acquired by the server when acquiring at least one information identifier of the target information provided by the information sender;
and when an information downloading address sent by the server is received, downloading the at least one item of target information from the server according to the information downloading address.
11. The method according to any one of claims 7-10, wherein the information receiver comprises: the end application installs the package SDK or browser.
12. An information transmission method, comprising:
acquiring an identity of an information receiver provided by an information sender and an information identifier matched with at least one item of target information;
the target information is information selected by the information sender in an information selection interface generated in an application program, and the information selection interface is generated according to the in-application information matched with the current authority of the application program;
and providing the download address of the target information to the information receiver for the information receiver to download the target information.
13. The method of claim 12, wherein providing the download address of the target information to the information receiver for the information receiver to download the target information comprises:
sending the information identification matched with the at least one item of target information to a file downloading module, and receiving a file downloading address matched with the target information and fed back by the file downloading module;
writing the file downloading address into an information queue matched with the information receiving party;
detecting an information request sent by the information receiver through a file extraction interface of the file extraction module;
and acquiring the file downloading address from the information queue according to the detected information request, and sending the file downloading address to the information receiving party so that the information receiving party downloads the target information.
14. The method of claim 12, wherein before obtaining the identity of the information receiver provided by the information sender and the information identifier matching with the at least one item of target information, the method further comprises:
receiving an application request of operation identification information of an information receiver, wherein the operation identification information is used for being provided for an information sender to use in an application program, and the operation identification information comprises: the identity of the information receiver and the transmission identification information;
according to the application request, the operation identification information in a set data form is provided for the information receiving party, so that the information receiving party displays the operation identification information to the information sending party;
wherein the dataform comprises at least one of: two-dimensional code, voiceprint information and sequence code.
15. The method according to claim 13, wherein the file download address matched with the target information fed back by the file download module comprises: an expiration time;
after the file download address is obtained from the information queue according to the detected information request and sent to the information receiver, the method further includes:
receiving a file downloading address which is sent by the information receiver and matched with the target information;
and if the current system time is determined not to exceed the expiration time in the file download address, providing the target information matched with the file download address to the information receiver.
16. An information transmission apparatus, comprising:
an operation identification information obtaining module, configured to obtain, in an application program, operation identification information of an information receiver, where the operation identification information includes: the identity of the information receiver and the transmission identification information;
the information selection interface generation module is used for acquiring the in-application information matched with the current authority of the application program according to the transmission identification information and generating an information selection interface according to the in-application information;
and the first target information providing module is used for responding to at least one item of target information selected aiming at the information selection interface and providing the target information to the information receiver according to the identity.
17. An information transmission apparatus, comprising:
the operation identification information receiving module is used for acquiring operation identification information of an information receiving party and providing the operation identification information for the information sending party, and the operation identification information is used for being provided for the information sending party to use in an application program;
wherein the operation identification information includes: the identity of the information receiver and the transmission identification information;
the target information acquisition module is used for acquiring at least one item of target information provided by the information sender;
the target information is selected from the application information matched with the current authority of the application program by the information sender, and the target information is provided for the information receiver through the identity.
18. An information transmission apparatus, comprising:
the identification information acquisition module is used for acquiring the identity of the information receiver provided by the information sender and the information identification matched with at least one item of target information;
the target information is information selected by the information sender in an information selection interface generated in an application program, and the information selection interface is generated according to the in-application information matched with the current authority of the application program;
and the second target information providing module is used for providing the download address of the target information to the information receiving party so that the information receiving party can download the target information.
19. An electronic device, characterized in that the device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the information transmission method of any one of claims 1-6, or the information transmission method of any one of claims 7-11, or the information transmission method of any one of claims 12-15.
20. A computer storage medium on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out an information transmission method according to any one of claims 1 to 6, or an information transmission method according to any one of claims 7 to 11, or an information transmission method according to any one of claims 12 to 15.
CN201910636843.3A 2019-07-15 2019-07-15 Information transmission method and device, electronic equipment and storage medium Pending CN112231648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910636843.3A CN112231648A (en) 2019-07-15 2019-07-15 Information transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910636843.3A CN112231648A (en) 2019-07-15 2019-07-15 Information transmission method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112231648A true CN112231648A (en) 2021-01-15

Family

ID=74111184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910636843.3A Pending CN112231648A (en) 2019-07-15 2019-07-15 Information transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112231648A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103245A (en) * 2016-02-23 2017-08-29 中兴通讯股份有限公司 The right management method and device of file
CN107911483A (en) * 2017-12-12 2018-04-13 阿里巴巴集团控股有限公司 A kind of information transferring method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103245A (en) * 2016-02-23 2017-08-29 中兴通讯股份有限公司 The right management method and device of file
CN107911483A (en) * 2017-12-12 2018-04-13 阿里巴巴集团控股有限公司 A kind of information transferring method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈懋等著: "《通用信息技术基础》", 上海财经大学出版社, pages: 46 *

Similar Documents

Publication Publication Date Title
CN109598115B (en) Method, device, equipment, system, platform and medium for realizing authorized login
US9130927B2 (en) Single certificate service system and operational method thereof
US10142321B2 (en) Single sign-on processing for associated mobile applications
US11477641B2 (en) System and method for authentication session transfer using application download links
US9641498B2 (en) Single sign-on processing for associated mobile applications
CN110574350B (en) Method and system for performing a prioritized generation of a second factor certificate
CN111478849B (en) Service access method, device and storage medium
WO2014039373A1 (en) Securely handling server certificate errors in synchronization communication
EP3272093B1 (en) Method and system for anti-phishing using smart images
CN111757422B (en) Equipment activation method and device, user terminal, equipment to be activated and storage medium
CN109800557B (en) Block chain-based integrated processing method, device, server, equipment and medium
US20180337922A1 (en) Method and device for controlling smart device, server and storage medium
CN110719590A (en) One-key login method, device, equipment and storage medium based on mobile phone number
US10848972B2 (en) Mobile device wireless restricted peripheral sessions
CN110830479B (en) Multi-card-based one-key login method, device, equipment and storage medium
CN113032805A (en) Data access method and device, electronic equipment and storage medium
CN109388917B (en) Hardware equipment authentication method, device, equipment and storage medium
CN110855655A (en) Information verification method, device, equipment and storage medium
CN108601064B (en) Method for providing and acquiring related information of wireless access point
CN108282472B (en) WIFI authentication method, device, server and storage medium
CN114422236B (en) Intelligent device access method and device and electronic device
CN112231648A (en) Information transmission method and device, electronic equipment and storage medium
CN112395204B (en) Method, system, related device and medium for obtaining test coverage rate
US20140282839A1 (en) Unified enterprise device enrollment
CN117240618B (en) Household cloud box access method, device, equipment and storage 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