CN111857498B - Data interaction method and device and electronic equipment - Google Patents
Data interaction method and device and electronic equipment Download PDFInfo
- Publication number
- CN111857498B CN111857498B CN202010615634.3A CN202010615634A CN111857498B CN 111857498 B CN111857498 B CN 111857498B CN 202010615634 A CN202010615634 A CN 202010615634A CN 111857498 B CN111857498 B CN 111857498B
- Authority
- CN
- China
- Prior art keywords
- data
- terminal device
- input
- user
- shared data
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/101—Access control lists [ACL]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application provides a data interaction method and device and an electronic device, which belong to the technical field of communication, and the method comprises the following steps: receiving user input of shared data and first contact information; responding to the input of the user on the shared data and the first contact information, and determining a second terminal device corresponding to the first contact information; and distributing the data sharing permission of the first terminal equipment to the second terminal equipment so that the second terminal equipment acquires the shared data from the first terminal equipment based on the data sharing permission. According to the scheme, the data sharing permission is distributed to the terminal equipment in advance, and the data acquisition user can directly acquire the required data from the terminal equipment under the condition that the data providing user of the terminal equipment does not perform real-time operation, so that the flexibility of data sharing is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data interaction method, a data interaction apparatus, an electronic device, and a storage medium.
Background
With the development of electronic devices, users can share various data through data interaction between the electronic devices.
The following two data sharing methods are common at present: one is that the data providing user uploads transmission data to a third-party server and sends a transmission request to the data acquiring user, and the data acquiring user agrees to receive the transmission request and then sends the transmission request to the data acquiring user through the third-party server; the other is that the data providing user uploads the transmission data to a third-party cloud disk, and the data acquisition user can acquire the required data by logging in the third-party cloud disk.
It can be found that, in the two manners, the data obtaining user manner is passive data obtaining, and cannot actively obtain data of the data providing user, so that it is difficult to ensure that the data providing user can provide the data providing user to the user when the user needs a certain data, and the flexibility of data sharing is reduced.
Disclosure of Invention
The embodiment of the application provides a data interaction method and device and electronic equipment, and can solve the problem that in the prior art, a data acquisition user can only passively receive data provided by a data providing user, and cannot actively acquire the data of the data providing user, so that the flexibility of data sharing is low.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a data interaction method, which is applied to a first terminal device, and the method includes:
receiving user input of shared data and first contact information;
responding to the input of the user on the shared data and the first contact information, and determining a second terminal device corresponding to the first contact information;
and distributing the data sharing authority of the first terminal device to the second terminal device, so that the second terminal device obtains the shared data from the first terminal device based on the data sharing authority.
In a second aspect, an embodiment of the present application provides another data interaction method, which is applied to a second terminal device, and the method includes:
receiving a third input of the second contact information by the user;
responding to the third input, and determining a first terminal device corresponding to the second contact information;
under the condition that the data sharing authority of the first terminal equipment is possessed, displaying a data identifier of shared data in the first terminal equipment;
receiving fourth input of the user on at least one target data identifier in the data identifiers of the shared data;
and responding to the fourth input, and acquiring target shared data indicated by the target data identification from the first terminal equipment.
In a third aspect, an embodiment of the present application provides a data interaction apparatus, which is applied to a first terminal device, and the apparatus includes:
the first receiving module is used for receiving the input of a user on the shared data and the first contact information;
the first determination module is used for responding to the input of the user on the shared data and the first contact information, and determining a second terminal device corresponding to the first contact information;
and the allocating module is used for allocating the data sharing authority of the first terminal device to the second terminal device so that the second terminal device can acquire the shared data from the first terminal device based on the data sharing authority.
In a fourth aspect, an embodiment of the present application provides another data interaction apparatus, which is applied to a second terminal device, and the apparatus includes:
the second receiving module is used for receiving third input of the second contact person information from the user;
a second determining module, configured to determine, in response to the third input, a first terminal device corresponding to the second contact information;
the display module is used for displaying a data identifier of shared data in the first terminal equipment under the condition that the data sharing authority of the first terminal equipment is possessed;
the third receiving module is used for receiving fourth input of at least one target data identifier in the data identifiers of the shared data from the user;
and the acquisition module is used for responding to the fourth input and acquiring the target shared data indicated by the target data identification from the first terminal equipment.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the data interaction method according to the first aspect and the second aspect.
In a sixth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the data interaction method according to the first aspect or the second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the data interaction method according to the first aspect or the second aspect.
According to the data interaction method, the data interaction device, the electronic device and the storage medium, the data sharing permission is allocated to the terminal device in advance, and the data acquisition user can directly acquire required data from the terminal device under the condition that the data providing user of the terminal device does not perform real-time operation, so that the flexibility of data sharing is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a first data interaction method according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating an effect of a second data interaction method according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an effect of a data interaction interface according to an embodiment of the present disclosure;
FIG. 4 is a second schematic diagram illustrating an effect of a data interaction interface according to an embodiment of the present application;
fig. 5 is a third schematic diagram illustrating an effect of a data interaction interface according to an embodiment of the present application;
FIG. 6 is a fourth schematic diagram illustrating an effect of a data interaction interface according to an embodiment of the present disclosure;
FIG. 7 is a fifth schematic diagram illustrating an effect of a data interaction interface according to an embodiment of the present disclosure;
FIG. 8 is a sixth schematic view illustrating an effect of a data interaction interface according to an embodiment of the present application;
FIG. 9 is a seventh schematic diagram illustrating an effect of a data interaction interface according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram illustrating an effect of a data interaction interface according to an embodiment of the present application;
fig. 11 is a schematic diagram illustrating an effect of a second data interaction method according to an embodiment of the present application;
FIG. 12 is a ninth view illustrating an effect of a data interaction interface according to an embodiment of the present application;
FIG. 13 is a diagram illustrating a data interaction interface according to an embodiment of the present disclosure;
FIG. 14 is a schematic diagram illustrating an eleventh effect of a data interaction interface according to an embodiment of the present application;
FIG. 15 is a flowchart illustrating interaction steps of a fourth data interaction method according to an embodiment of the present application;
fig. 16 is a block diagram illustrating a data interaction apparatus according to an exemplary embodiment of the present invention;
fig. 17 is a block diagram illustrating a structure of another data interaction apparatus according to an embodiment of the present application;
fig. 18 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A data interaction method, a data interaction apparatus, an electronic device, and a storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present application provides a first data interaction method, where the method is applied to a first terminal device, and the method includes:
In the embodiment of the present application, the first terminal device refers to an electronic device having data storage, data processing, and data transmission functions, for example: personal computers, tablet computers, cell phones, etc. It should be noted that, the data sharing method and the data sharing device are applicable to solving the problem that in the prior art, data sharing requires a third-party cloud disk to store and provide, so that a user cannot acquire data in other terminal devices in real time. The input of the user for the shared data and the first contact information may be operations in the forms of clicking, long-pressing, sliding, gesture input, and the like, and may be determined specifically according to actual requirements, which is not limited herein. In an embodiment of the present application, the first terminal device is a terminal device of a data providing user. The first contact information refers to personal information of the data-acquirable user, such as: phone number, name, address, avatar, social account number, etc.
In the embodiment of the present application, the second terminal device is similar to the first terminal device in step 101, except that the second terminal device refers to a terminal device of a data acquisition user in the embodiment of the present application. The first terminal device stores the incidence relation between the first contact information and the second terminal device in advance, and the second terminal device corresponding to the first contact information can be determined quickly through the incidence relation.
Step 103, allocating the data sharing right of the first terminal device to the second terminal device, so that the second terminal device obtains the shared data from the first terminal device based on the data sharing right.
In this embodiment of the present application, the data sharing permission of the first terminal device is a credential for the second terminal device to obtain shared data from the first terminal device, and the data sharing permission is stored in the first terminal device and the second terminal device together, respectively. When the second terminal device requests to acquire the shared data from the first terminal device, the first terminal device automatically sends the shared data to the second terminal device under the condition that the second terminal device has the data sharing authority, and a data providing user does not need to operate the second terminal device.
According to the first data interaction method provided by the embodiment of the application, the data sharing permission of the terminal equipment is pre-assigned, so that the data acquisition user can directly acquire required data from the terminal equipment under the condition that the data providing user of the terminal equipment does not perform real-time operation, and the flexibility of data sharing is improved.
Referring to fig. 2, an embodiment of the present application provides a second data interaction method, where the method is applied to a first terminal device, and the method includes:
Wherein, the target connection mode comprises: any one of a wireless network connection, a bluetooth connection, a near field communication connection, an inter-pass application connection.
In this embodiment of the present application, the target connection mode is a communication connection mode that can be accessed only by verifying an identity, for example: the wireless network connection can be accessed only by inputting the password into the first terminal equipment and the second terminal equipment, and the Bluetooth connection can be connected only by passing the mutual authentication of the first terminal equipment and the second terminal equipment. The inter-transmission application connection is a communication connection mode based on a hotspot network of the first terminal device and the second terminal device through the installed inter-transmission application, and before the communication connection is established, the first terminal device and the second terminal device need to perform mutual authentication.
If the first terminal device and the second terminal device have mutually verified identities when establishing the communication connection based on the target connection mode in advance, the first terminal device automatically allocates the data sharing authority of the first terminal device to the second terminal device without performing a verification process, and certainly, the second terminal device can also allocate the data sharing authority of the second terminal device to the first terminal device at the same time.
According to the embodiment of the application, under the condition that the first terminal device and the second terminal device are in communication connection in a target connection mode in advance, verification is not needed, the data sharing permission of the second terminal device is automatically allocated to the first terminal device, and the allocation efficiency of the data sharing permission is improved.
In this embodiment of the application, the first input may be an input mode in the form of clicking, long-pressing, sliding, gesture input, voice input, and the like for the data to be shared, and may be specifically determined according to actual requirements, which is not limited herein.
In the embodiment of the application, the shortcut for sharing data is a quick start link for data to be shared. When a data providing user needs to share data to be shared, a shortcut of the shared data can be generated in a display interface by performing first input on the data to be shared, and the user can move a display area of the shortcut and open the shared data by opening the shortcut.
And step 204, receiving a second input of the shortcut of the shared data by the user.
In the embodiment of the present application, the second input may be an input manner in the form of a short-cut click, a long-cut press, a slide, a gesture input, a voice input, or the like for the data to be shared.
In the embodiment of the present application, the display area includes, for example: first contact information of an address list interface, an application program interface, a video call interface and the like. .
The data providing user can move the shortcut of the data to be shared to the first contact information of the data obtaining user needing to be shared through long-pressing, clicking, sliding, gesture input and the like, and therefore the first terminal equipment of the data obtaining user is determined according to the first contact information. For example: the shortcut is dragged to a contact in the address book, or the shortcut can be moved to a character display area in the character image, or the shortcut can be a display area containing the name or address of the user.
And step 206, inquiring a target contact way corresponding to the first contact information in the address book.
In the embodiment of the application, the address book stores the association relationship between the first contact information and the target contact information of the data acquisition user in advance, so that the target contact information corresponding to the first contact information can be acquired quickly by inquiring the address book.
And step 207, taking the terminal device corresponding to the target contact way as a second terminal device corresponding to the first contact information.
Wherein the first contact information comprises: at least one of a user facial image, a user name, a user address, a user application account, a user contact.
In the embodiment of the application, each contact address in the address book corresponds to a terminal device, so that the terminal device corresponding to the target contact address of the first contact information is taken as the second terminal device.
For example, referring to fig. 3, a main interface of the first terminal device is displayed, where the main interface includes a "photo", "target data", and a "communication" application, and a user may select and input "shared data", so that a shortcut of shared data that is suspended while being sucked is generated on the right side of the main interface. Further, referring to fig. 4, the user may use the terminal device corresponding to the "contact address" with the name "XX" as the second terminal device by moving the shortcut to the interface of the "address book" and moving the shortcut to the display area of the "contact address" with the name "XX".
In the embodiment of the application, if the second terminal device does not have the data sharing authority of the first terminal device, a first data sharing request containing an identifiable identifier is generated and sent to the second terminal device.
Illustratively, referring to fig. 5, an application program interface includes a session bar of users a-E, a user may drag a shortcut of shared data to a display area of the session bar corresponding to "user a" to be required to perform data sharing, then retrieve the number of the reached contact address according to the "user a", and display the number in a floating window form, after the data providing user selects a target contact address of "00000000000", determine a terminal device corresponding to the number, and display "do data sharing with user a? And after the data provides the user to select 'OK', the terminal equipment corresponding to the number is used as the second terminal equipment of the user A.
If the second terminal device does not have the data sharing authority of the first terminal device, referring to fig. 6, it is displayed that "does not have the data sharing authority of the user a, and whether to request acquisition? After the data providing user selects 'OK' for confirmation, a first data sharing request is sent to the first terminal device of 'user a'.
Step 209, in a case of receiving the data sharing confirmation information returned by the second terminal device according to the identifiable identifier, allocating the data sharing permission of the first terminal device to the second terminal device.
In this embodiment, referring to fig. 7, the first data sharing request may be in the form of a short message, the identifiable identifier may be a two-dimensional code, the content of the short message may be a data sharing request sent by the user XX, and the user XX clicks on the data sharing requesthttps:// www.*****.comConfirming that the data sharing authority can be distributed to the user XX; refusing to ignore ", the data acquisition user can open a page of 'opening the data sharing authority' in the browser by clicking the link in the data acquisition user,therefore, confirmation is completed by scanning the two-dimensional code displayed in the page, and data sharing confirmation information is sent to the first terminal device.
According to the embodiment of the application, the shortcut of the shared data is dragged to the contact information by the user, so that the data sharing permission of the first terminal equipment is distributed to the second terminal equipment corresponding to the contact information, and the data sharing efficiency is improved.
In the embodiment of the application, the first terminal device verifies whether the second terminal device has the data sharing authority of the first terminal device.
Further, a user may manage shared data through a data sharing setting interface, and referring to fig. 8, an effect diagram of the data sharing setting interface is shown, where a "data sharing" option is included, and thus a slider type switch option corresponding to the "data sharing" option is included, and the user may turn on and off a data sharing function by sliding the switch option.
Further, the data management option and the user management option are also included. The user may jump to the data management interface shown in fig. 9 by selecting the "data management" option. The data management interface comprises a local data list, and if a dot mark exists on the left side of each piece of data in the local data list, the data belong to the data sharing list, so that data sharing can be performed. An editing function option is arranged at the upper right corner of the data management interface, a user can trigger the data management interface to display an editing function bar of each local data by selecting the editing function option, a hook option is displayed on the rightmost side of each local data, and the user can determine the data to be edited by selecting the hook option. Besides the conventional function options such as copy, cut and delete, the edit function bar is also provided with a more function option.
By clicking the more function option, a function floating window containing the compression, renaming, label, sharing and detailed information function options is displayed in the data management interface, the sharing function option is mainly explained here, and other function options can refer to a conventional function implementation mode and are not specifically described here.
Specifically, after clicking local data "backup" to be edited by the selected check item, the user can display a function floating window containing a "sharing" function option by clicking "more", and then add the checked local data "backup" to the data sharing list by selecting the "sharing" function option in the function floating window.
Of course, referring to fig. 10, the data in the data sharing list may also be deleted through the page, the local data "books" with dot marks on the left side are checked, then the "more" function option is selected to open the function floating window, the function floating window includes the "shared cancellation" function option, and the local data "books" may be deleted from the data sharing list by selecting the "shared cancellation" function option.
In the embodiment of the application, the shared data corresponding to the target data identifier is sent to the second terminal device after the verification of the data sharing authority is passed, otherwise, the prompt message is refused to be returned if the verification is not passed.
According to the second data interaction method provided by the embodiment of the application, the data sharing permission is pre-allocated to the terminal device, and the data acquisition user can directly acquire the required data from the terminal device under the condition that the data providing user of the terminal device does not perform real-time operation, so that the flexibility of data sharing is improved. And the data sharing authority can be distributed to the terminal equipment through the contact information in the display area of the shortcut of the shared data, so that the convenience of data sharing is improved.
Referring to fig. 11, an embodiment of the present application provides a third data interaction method, where the method is applied to a second terminal device, and the method includes:
and 301, receiving a third input of the user for the second contact information.
In the embodiment of the present application, the second contact information is similar to the first contact information in step 101, except that the second contact information is stored in the second terminal device. The third input may be an input in the form of a click, long press, swipe, gesture input, etc. for the second contact information.
In the embodiment of the application, the terminal device corresponding to the second contact information is used as the first terminal device of the data providing user.
Step 303, displaying a data identifier of the shared data in the first terminal device under the condition that the data sharing authority of the first terminal device is possessed.
In the embodiment of the application, if the data sharing authority of the first terminal device is available, a shared data list containing a data identifier of shared data in the first terminal device is directly obtained from the first terminal device for displaying.
Further, if the data sharing authority of the first terminal device is not available, a second data sharing request may be sent to the first terminal device, so as to actively obtain the data sharing request of the first terminal device.
For example, referring to fig. 12, after the data obtaining user selects data with a name "XX" through the address book of the second terminal device, the data obtaining user displays "whether to share data with XX? After the data acquisition user selects "OK" to confirm, determining whether the data sharing permission of the first terminal device corresponding to "XX" exists, and if not, displaying "temporarily does not have the data sharing permission of XX, and whether to request acquisition? And sending a second data sharing request to the XX first terminal equipment after the data acquisition user selects OK to confirm, and displaying that whether the data sharing request is sent and the opposite side carries out voice prompt after passing, if the user selects OK, displaying the voice prompt after acquiring the data sharing permission, and if the user selects Cancel, not carrying out voice prompt after acquiring the data sharing permission.
The data identifier of the shared data may be included in a data sharing list, where the data sharing list may be set by the first terminal device in a unified manner for the second terminal devices of different data obtaining users, or may be set by the second terminal devices of different data obtaining users in a separate manner, and may be specifically determined according to actual requirements, which is not limited herein.
And step 304, receiving a fourth input of the user to at least one target data identification in the data identifications of the shared data.
In an embodiment of the present application, the fourth input may be an input in the form of a user clicking, long pressing, sliding, gesture input, or the like, on at least one target data identifier of the data identifiers of the shared data.
Step 305, responding to the fourth input, and acquiring the target shared data indicated by the target data identification from the first terminal equipment.
In this embodiment of the application, since the second terminal device has the data sharing right of the first terminal device, the first terminal device sends the target shared data indicated by the target data identifier to the target shared data.
For example, referring to fig. 13, after the user selects data with a name of "XX" from the interface of the "address book" to provide the user, the terminal device corresponding to the "XX" is used as the second terminal device, and the "data sharing list" of the "XX" is acquired and displayed. And displaying prompt information of whether to acquire backup data to the local according to selection input of the data acquisition user for the backup data in the data list, and acquiring the backup data from the second terminal equipment after the data acquisition user selects and inputs OK.
Further, referring to fig. 14, the data obtaining user may also display a "check bar" on the left side of each data by selecting an "edit" function option in the "select data sharing list", and the user may check the required "backup" data by selecting and display "whether to obtain the selected batch data locally? And after the data acquisition user selects and inputs the OK, acquiring the hooked backup data from the second terminal equipment.
According to the third data interaction method provided by the embodiment of the application, the data sharing permission of the terminal equipment is pre-assigned, and the data acquisition user can directly acquire the required data from the terminal equipment under the condition that the data providing user of the terminal equipment does not perform real-time operation, so that the flexibility of data sharing is improved.
Referring to fig. 15, an embodiment of the present application provides a flowchart of interaction steps of a fourth data interaction method, where the method is applied to a data interaction system, where the data interaction system includes a first terminal device and a second terminal device, and the method includes:
step 401, the first terminal device receives user input of shared data and first contact information.
Step 402, the first terminal device responds to the input of the user for the shared data and the first contact information, and determines a second terminal device corresponding to the first contact information.
Step 403, the first terminal device allocates the data sharing right of the first terminal device to the second terminal device, so that the second terminal device obtains the shared data from the first terminal device based on the data sharing right.
And step 404, the second terminal device receives a third input of the second contact information from the user.
Step 405, the second terminal device determines, in response to the third input, the first terminal device corresponding to the second contact information.
Step 406, the second terminal device displays the data identifier of the shared data in the first terminal device under the condition that the second terminal device has the data sharing authority of the first terminal device.
Step 407, the second terminal device receives a fourth input of the user to at least one target data identifier in the data identifiers of the shared data.
Step 408, the second terminal device, in response to the fourth input, acquires the target shared data indicated by the target data identifier from the first terminal device.
According to the fourth data interaction method provided by the embodiment of the application, the data sharing permission of the terminal equipment is pre-assigned, so that the data acquisition user can directly acquire required data from the terminal equipment under the condition that the data providing user of the terminal equipment does not perform real-time operation, and the flexibility of data sharing is improved.
It should be noted that, in the data interaction method provided in the embodiment of the present application, the execution main body may be a data interaction device, or a control module in the data interaction device, which is used for executing the loaded data interaction method. In the embodiment of the present application, a data interaction method performed by a data interaction device is taken as an example to describe the method for replying a message provided in the embodiment of the present application.
Referring to fig. 16, an embodiment of the present application further provides a block diagram of a data interaction apparatus 50, where the apparatus is applied to a first terminal device, and the apparatus includes:
a first receiving module 501, configured to receive user input of shared data and first contact information;
a first determining module 502, configured to determine, in response to the user's input of shared data and first contact information, a second terminal device corresponding to the first contact information;
an allocating module 503, configured to allocate the data sharing permission of the first terminal device to the second terminal device, so that the second terminal device obtains the shared data from the first terminal device based on the data sharing permission.
Optionally, the first receiving module 501 is further configured to:
receiving a first input of a user for sharing data;
displaying a shortcut to the shared data in response to the first input;
receiving a second input of a shortcut to the shared data by the user;
and responding to the second input, and acquiring the first contact information in the display area where the shortcut of the shared data is located.
Optionally, the first determining module 502 is further configured to:
inquiring a target contact way corresponding to the first contact person information in an address book;
taking the terminal equipment corresponding to the target contact way as second terminal equipment corresponding to the first contact person information;
wherein the first contact information comprises: at least one of a user facial image, a user name, a user address, a user application account, a user contact.
Optionally, the apparatus further includes:
a connection module 504, configured to allocate a data sharing permission of the first terminal device to the second terminal device when the first terminal device and the second terminal device are in communication connection in a target connection manner;
wherein, the target connection mode comprises: any one of a wireless network connection, a bluetooth connection, a near field communication connection, an inter-pass application connection.
Optionally, the allocating module 503 is further configured to:
sending a first data sharing request carrying an identifiable identifier to the second terminal equipment;
and under the condition of receiving data sharing confirmation information returned by the second terminal equipment according to the identifiable identifier, distributing the data sharing permission of the first terminal equipment to the second terminal equipment.
Optionally, the apparatus further includes:
an interaction module 505 for:
receiving a data acquisition request sent by the second terminal device based on the data sharing permission, wherein the data acquisition request comprises: identifying the target data;
and sending the target shared data indicated by the target data identification to the second terminal equipment.
According to the data interaction device provided by the embodiment of the application, the data sharing permission is distributed to the terminal equipment in advance, and the data required by the data providing user can be directly obtained and provided from the terminal equipment under the condition that the data providing user does not perform real-time operation, so that the flexibility of data sharing is improved.
Referring to fig. 17, an embodiment of the present application further provides a block diagram of another data interaction apparatus 60, where the apparatus is applied to a second terminal device, and the apparatus includes:
a second receiving module 601, configured to receive a third input of the second contact information by the user;
a second determining module 602, configured to determine, in response to the third input, a first terminal device corresponding to the second contact information;
a display module 603, configured to display a data identifier of shared data in the first terminal device under the condition that the data sharing authority of the first terminal device is possessed;
a third receiving module 604, configured to receive a fourth input of at least one target data identifier in the data identifiers of the shared data from the user;
an obtaining module 605, configured to obtain, from the first terminal device, the target shared data indicated by the target data identifier in response to the fourth input.
According to the other data interaction device provided by the embodiment of the application, the data sharing permission is allocated to the terminal equipment in advance, so that the data needed by the data providing user can be directly obtained and provided from the terminal equipment under the condition that the data providing user does not perform real-time operation, and the flexibility of data sharing is improved.
The data interaction device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The data interaction device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The data interaction device provided in the embodiment of the present application can implement each process implemented by the data interaction method in the method embodiments of fig. 1 to 14, and is not described here again to avoid repetition.
Fig. 18 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 18 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
A user input unit 707, configured to receive user input on the shared data and the first contact information;
a processor 710 for determining a second terminal device corresponding to first contact information in response to the user's input of shared data and the first contact information; and distributing the data sharing authority of the first terminal device to the second terminal device, so that the second terminal device obtains the shared data from the first terminal device based on the data sharing authority.
According to the embodiment of the application, the data sharing permission is distributed to the terminal equipment in advance, and the data acquisition user can directly acquire the required data from the terminal equipment under the condition that the data providing user of the terminal equipment does not perform real-time operation, so that the flexibility of data sharing is improved.
Optionally, the user input unit 707 is further configured to receive a first input of the shared data by the user;
a display unit 706 for displaying a shortcut to the shared data in response to the first input;
a user input unit 707 further configured to receive a second input of a shortcut to the shared data by the user;
the processor 710 is further configured to, in response to the second input, obtain first contact information in a display area where the shortcut of the shared data is located.
Optionally, the processor 710 is further configured to query a target contact address corresponding to the first contact information in the address book;
taking the terminal equipment corresponding to the target contact way as second terminal equipment corresponding to the first contact information;
wherein the first contact information comprises: at least one of a user facial image, a user name, a user address, a user application account, a user contact.
Optionally, the processor 710 is further configured to, under a condition that the first terminal device and the second terminal device are in communication connection in a target connection manner, allocate a data sharing permission of the first terminal device to the second terminal device;
wherein, the target connection mode comprises: any one of a wireless network connection, a bluetooth connection, a near field communication connection, an inter-pass application connection.
Optionally, the interface unit 708 is configured to send a first data sharing request carrying an identifiable identifier to the second terminal device;
the processor 710 is further configured to, in a case that data sharing confirmation information returned by the second terminal device according to the identifiable identifier is received, allocate the data sharing permission of the first terminal device to the second terminal device.
Optionally, the interface unit 708 is configured to receive a data obtaining request sent by the second terminal device based on the data sharing permission, where the data obtaining request includes: identifying target data; and sending the target shared data indicated by the target data identification to the second terminal equipment.
According to the embodiment of the application, the data sharing authority is distributed to the terminal equipment through the contact information in the display area where the shortcut of the shared data is located, and the convenience of data sharing is improved.
The user input unit 707 is configured to receive a third input of the second contact information by the user;
a processor 710, configured to determine, in response to the third input, a first terminal device corresponding to the second contact information;
a display unit 706, configured to display a data identifier of shared data in the first terminal device when the data sharing authority of the first terminal device is possessed;
a user input unit 707, further configured to receive a fourth input of at least one target data identifier in the data identifiers of the shared data from the user;
an interface unit 708, configured to, in response to the fourth input, obtain, from the first terminal device, target shared data indicated by the target data identifier.
According to the embodiment of the application, the data sharing permission is distributed to the terminal equipment in advance, and the data acquisition user can directly acquire the required data from the terminal equipment under the condition that the data providing user of the terminal equipment does not perform real-time operation, so that the flexibility of data sharing is improved.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the data interaction method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the data interaction method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present application or the portions shared in the prior art may be essentially embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A data interaction method is applied to a first terminal device, and comprises the following steps:
receiving user input of shared data and first contact information;
responding to the input of the user on the shared data and the first contact information, and determining a second terminal device corresponding to the first contact information;
distributing the data sharing authority of the first terminal device to the second terminal device, so that the second terminal device obtains the shared data from the first terminal device based on the data sharing authority;
the allocating the data sharing permission of the first terminal device to the second terminal device includes:
sending a first data sharing request carrying an identifiable identifier to the second terminal equipment;
under the condition that data sharing confirmation information returned by the second terminal equipment according to the identifiable identifier is received, distributing the data sharing permission of the first terminal equipment to the second terminal equipment; the first data sharing request comprises a short message, and the content of the short message comprises a link; the link is used for displaying the two-dimensional code in a page; the two-dimensional code is used for scanning by the second terminal equipment to send data sharing confirmation information to the first terminal equipment;
wherein the receiving of the user input for the shared data and the first contact information comprises:
receiving a first input of a user for sharing data;
displaying a shortcut to the shared data in response to the first input;
receiving a second input of a shortcut to the shared data by the user;
responding to the second input, and acquiring first contact person information in a display area where the shortcut of the shared data is located;
the shortcut of the shared data is used for opening the shared data.
2. The method of claim 1, wherein determining the second terminal device corresponding to the first contact information comprises:
inquiring a target contact way corresponding to the first contact person information in an address book;
taking the terminal equipment corresponding to the target contact way as second terminal equipment corresponding to the first contact information;
wherein the first contact information comprises: at least one of a user facial image, a user name, a user address, a user application account, a user contact.
3. The method of claim 1, prior to the receiving user input of shared data and first contact information, further comprising:
under the condition that the first terminal device is in communication connection with the second terminal device in a target connection mode, distributing the data sharing permission of the first terminal device to the second terminal device;
wherein, the target connection mode comprises: any one of a wireless network connection, a bluetooth connection, a near field communication connection, an inter-pass application connection.
4. The method according to claim 1, further comprising, after said assigning the data sharing right of the shared data to the second terminal device:
receiving a data acquisition request sent by the second terminal device based on the data sharing permission, wherein the data acquisition request comprises: identifying target data;
and sending the target shared data indicated by the target data identification to the second terminal equipment.
5. A data interaction method is applied to a second terminal device, and comprises the following steps:
receiving a third input of the second contact information by the user;
responding to the third input, and determining a first terminal device corresponding to the second contact information;
under the condition that the data sharing authority of the first terminal equipment is possessed, displaying a data identifier of shared data in the first terminal equipment;
receiving fourth input of the user on at least one target data identifier in the data identifiers of the shared data;
in response to the fourth input, acquiring target shared data indicated by the target data identification from the first terminal equipment;
the first terminal equipment is used for receiving a first input of a user for shared data; displaying a shortcut to the shared data in response to the first input; receiving a second input of a shortcut to the shared data by the user; responding to the second input, and acquiring first contact person information in a display area where the shortcut of the shared data is located; the shortcut of the shared data is used for opening the shared data;
the first contact information corresponds to the second terminal device, the first contact information is used for determining the second terminal device, and the first terminal device is used for allocating the data sharing authority of the first terminal device to the second terminal device, so that the second terminal device obtains the shared data from the first terminal device based on the data sharing authority.
6. A data interaction device is applied to a first terminal device, and the device comprises:
the first receiving module is used for receiving the input of a user on the shared data and the first contact information;
the first determination module is used for responding to the input of the user on the shared data and the first contact information, and determining a second terminal device corresponding to the first contact information;
the distribution module is used for distributing the data sharing authority of the first terminal device to the second terminal device so that the second terminal device can obtain the shared data from the first terminal device based on the data sharing authority;
the apparatus is further configured to:
sending a first data sharing request carrying an identifiable identifier to the second terminal equipment;
under the condition that data sharing confirmation information returned by the second terminal equipment according to the identifiable identifier is received, distributing the data sharing permission of the first terminal equipment to the second terminal equipment; the first data sharing request comprises a short message, and the content of the short message comprises a link; the link is used for displaying the two-dimensional code in a page; the two-dimensional code is used for scanning by the second terminal equipment to send data sharing confirmation information to the first terminal equipment;
wherein the first receiving module is further configured to:
receiving a first input of a user for sharing data;
displaying a shortcut to the shared data in response to the first input;
receiving a second input of a shortcut to the shared data by the user;
responding to the second input, and acquiring first contact person information in a display area where the shortcut of the shared data is located;
the shortcut of the shared data is used for opening the shared data.
7. A data interaction device is applied to a second terminal device, and the device comprises:
the second receiving module is used for receiving third input of the second contact person information from the user;
a second determining module, configured to determine, in response to the third input, a first terminal device corresponding to the second contact information;
the display module is used for displaying a data identifier of shared data in the first terminal equipment under the condition that the data sharing authority of the first terminal equipment is possessed;
the third receiving module is used for receiving fourth input of at least one target data identifier in the data identifiers of the shared data from the user;
an obtaining module, configured to obtain, from the first terminal device, target shared data indicated by the target data identifier in response to the fourth input;
the first terminal equipment is used for receiving a first input of a user for sharing data; displaying a shortcut to the shared data in response to the first input; receiving a second input of a shortcut to the shared data by the user; responding to the second input, and acquiring first contact person information in a display area where the shortcut of the shared data is located; the shortcut of the shared data is used for opening the shared data;
the first contact information corresponds to the second terminal device, the first contact information is used for determining the second terminal device, and the first terminal device is used for allocating the data sharing authority of the first terminal device to the second terminal device, so that the second terminal device obtains the shared data from the first terminal device based on the data sharing authority.
8. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the data interaction method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010615634.3A CN111857498B (en) | 2020-06-30 | 2020-06-30 | Data interaction method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010615634.3A CN111857498B (en) | 2020-06-30 | 2020-06-30 | Data interaction method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111857498A CN111857498A (en) | 2020-10-30 |
CN111857498B true CN111857498B (en) | 2022-05-20 |
Family
ID=72988965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010615634.3A Active CN111857498B (en) | 2020-06-30 | 2020-06-30 | Data interaction method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111857498B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506398B (en) * | 2020-11-25 | 2023-06-09 | 飞毯信息技术有限公司 | Image-text display method and device and computer readable medium for the same |
CN113163007B (en) * | 2021-04-19 | 2022-11-18 | 逑美科技(上海)有限公司 | Networking display method of equipment in Internet of things |
CN113238999B (en) * | 2021-05-20 | 2024-08-30 | 广州极飞科技股份有限公司 | Data sharing method, device, electronic equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534448A (en) * | 2016-10-13 | 2017-03-22 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal-based method and system of sharing contact information |
CN108597564A (en) * | 2018-02-28 | 2018-09-28 | 泰康保险集团股份有限公司 | Medical data sharing method and system |
WO2019186554A1 (en) * | 2018-03-26 | 2019-10-03 | KAZUAR Advanced Technologies Ltd. | Method of secure communication among protected containers and system thereof |
CN110770717A (en) * | 2017-05-17 | 2020-02-07 | 谷歌有限责任公司 | Automatic image sharing with designated users over a communication network |
CN110888707A (en) * | 2019-11-19 | 2020-03-17 | 维沃移动通信有限公司 | Message sending method and electronic equipment |
-
2020
- 2020-06-30 CN CN202010615634.3A patent/CN111857498B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534448A (en) * | 2016-10-13 | 2017-03-22 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal-based method and system of sharing contact information |
CN110770717A (en) * | 2017-05-17 | 2020-02-07 | 谷歌有限责任公司 | Automatic image sharing with designated users over a communication network |
CN108597564A (en) * | 2018-02-28 | 2018-09-28 | 泰康保险集团股份有限公司 | Medical data sharing method and system |
WO2019186554A1 (en) * | 2018-03-26 | 2019-10-03 | KAZUAR Advanced Technologies Ltd. | Method of secure communication among protected containers and system thereof |
CN110888707A (en) * | 2019-11-19 | 2020-03-17 | 维沃移动通信有限公司 | Message sending method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111857498A (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10065119B2 (en) | Game accessing method and processing method, server, terminal, and system | |
CN111857498B (en) | Data interaction method and device and electronic equipment | |
CN106055996B (en) | Multimedia information sharing method and mobile terminal | |
US10327015B2 (en) | Picture combining method, terminal, and picture combining system | |
CN109388620A (en) | A kind of method and the first electronic equipment of striding equipment access data | |
US10021213B2 (en) | Systems and methods for adaptive cloning of mobile devices | |
CN105721175A (en) | Group processing method, group file processing method, and group file processing device | |
CN112306325B (en) | Interaction control method and device | |
CN113794795B (en) | Information sharing method and device, electronic equipment and readable storage medium | |
US11271977B2 (en) | Information processing apparatus, information processing system, information processing method, and non-transitory recording medium | |
CN112073289A (en) | Instant messaging control method and device | |
CN113504859A (en) | Transmission method and device | |
CN113726943A (en) | Control method and electronic device | |
CN112486444A (en) | Screen projection method, device, equipment and readable storage medium | |
CN112286632B (en) | Cloud platform, cloud platform management method and device, electronic equipment and storage medium | |
CN112235412B (en) | Message processing method and device | |
CN111565382B (en) | Transmission method and electronic equipment | |
CN111400684B (en) | Electronic license information acquisition method, system, device, equipment and storage medium | |
CN102868766B (en) | A kind of mthods, systems and devices for realizing remote control | |
CN111817944A (en) | Picture sharing method and device and electronic equipment | |
CN114422236B (en) | Intelligent device access method and device and electronic device | |
CN107659716B (en) | Resource sharing method and mobile terminal | |
CN115695355A (en) | Data sharing method and device, electronic equipment and medium | |
CN114095886A (en) | Information sending method, information sending device and electronic equipment | |
CN114489414A (en) | File processing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |