CN112596642B - Data sharing method, device, equipment and readable storage medium - Google Patents

Data sharing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN112596642B
CN112596642B CN202011494278.0A CN202011494278A CN112596642B CN 112596642 B CN112596642 B CN 112596642B CN 202011494278 A CN202011494278 A CN 202011494278A CN 112596642 B CN112596642 B CN 112596642B
Authority
CN
China
Prior art keywords
application
icon
data sharing
application icon
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
Application number
CN202011494278.0A
Other languages
Chinese (zh)
Other versions
CN112596642A (en
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.)
Shenzhen Ioco Communication Software Co ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011494278.0A priority Critical patent/CN112596642B/en
Publication of CN112596642A publication Critical patent/CN112596642A/en
Application granted granted Critical
Publication of CN112596642B publication Critical patent/CN112596642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a data sharing method, a data sharing device, data sharing equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: and determining a second application icon corresponding to the first application icon, and providing the target data of the first application corresponding to the first application icon to the second application corresponding to the second application icon. The electronic equipment can share the target data among the plurality of application programs based on the corresponding relation among the application program icons, and a user can share the target data among the plurality of application programs only by operating the application program icons, so that the electronic equipment is simple to operate and high in data sharing efficiency.

Description

Data sharing method, device, equipment and readable storage medium
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a data sharing method, apparatus, device, and readable storage medium.
Background
At present, electronic devices have become an indispensable part of people in work and life, and various different Applications (APPs) can be installed in the electronic devices to realize different functions and provide different services for users.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: in a plurality of application programs installed in the electronic equipment, the same part of data (target data) is needed to be used in the running process of part of the application programs, but the target data is only stored in the storage position of one or more application programs, when other application programs need to use the target data, a user needs to perform multiple operations to share the target data among the application programs, the operation is complicated, and the data sharing efficiency is low.
Disclosure of Invention
The embodiment of the application aims to provide a data sharing method, a data sharing device, data sharing equipment and a readable storage medium, and the problems of complex operation and low efficiency in the process of sharing target data among a plurality of application programs can be solved.
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 sharing method, where the method includes:
determining a second application icon corresponding to the first application icon;
and providing the target data of the first application program corresponding to the first application program icon to the second application program corresponding to the second application program icon.
In a second aspect, an embodiment of the present application provides another data sharing method, where the apparatus includes:
the determining module is used for determining a second application icon corresponding to the first application icon;
and the providing module is used for providing the target data of the first application program corresponding to the first application program icon to the second application program corresponding to the second application program icon.
In a third aspect, an embodiment of 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 method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth 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 method according to the first aspect.
In the embodiment of the application, the electronic device determines a second application icon corresponding to the first application icon, and provides target data of the first application corresponding to the first application icon to a second application corresponding to the second application icon. The electronic equipment can share the target data among the plurality of application programs based on the corresponding relation among the application program icons, and a user can share the target data among the plurality of application programs only by operating the application program icons, so that the electronic equipment is simple to operate and high in data sharing efficiency.
Drawings
FIG. 1 is a flow chart of steps of a method of data sharing provided in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram of a display screen provided in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram of another display screen provided in accordance with an exemplary embodiment;
FIG. 4 is a schematic diagram of yet another display screen provided in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram of yet another display screen provided in accordance with an exemplary embodiment;
FIG. 6 is a block diagram of a data sharing apparatus according to an example embodiment;
FIG. 7 is a schematic diagram of an electronic device provided in accordance with an exemplary embodiment;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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.
The data sharing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart illustrating steps of a data sharing method according to an exemplary embodiment, where the method includes:
step 101, determining a second application icon corresponding to the first application icon.
In this embodiment, the data sharing method may be applied to an electronic device with a display screen, such as a mobile phone, a tablet computer, a notebook computer, and a computer. An application icon of an application may be displayed in the display screen, and the electronic device may determine a first application icon and a second application icon corresponding to the first application icon from the display screen.
Illustratively, step 101 may be implemented as follows:
displaying a plurality of application icons in a data sharing area;
determining a first application icon from a plurality of application icons based on the data sharing area;
and taking other application icons except the first application icon in the plurality of application icons as second application icons.
As shown in fig. 2, fig. 2 is a schematic structural diagram of a display screen provided according to an exemplary embodiment, a data sharing area 201 is included in the display screen 200, and the electronic device may display an application icon in the data sharing area 201 and display the application icon in the display screen at a place other than the data sharing area 201. The data sharing area 201 is used to determine a data sharing relationship between a plurality of applications to share target data between the plurality of applications. The electronic device may display the data sharing area 201 in the display screen 200 in response to an input of a user, and display a plurality of application icons selected by the user in the data sharing area 201 in response to a selection operation of the application icon located outside the data sharing area 201 by the user. The specific process of displaying the data sharing area by the electronic device may be set according to the requirement, which is not limited in this embodiment.
After the electronic device displays the data sharing area 201 and displays the plurality of application icons in the data sharing area 201, the electronic device may determine a first application icon from the plurality of application icons displayed in the data sharing area 201 and determine other application icons except the first application icon as a second application icon based on the data sharing area. As shown in fig. 2, after the electronic device displays an application icon 2011 of application a, an application icon 2012 of application B, and an application icon 2013 of application C in the data sharing area 201, the electronic device may determine that the first application icon is the application icon 2011 and determine that the application icon 2012 and the application icon 2013 are the second application icon based on the data sharing area 201.
The electronic device may display the application icons in the data sharing area at the same time in another position of the display screen after displaying the application icons in the data sharing area, or may delete the application icons in the data sharing area displayed in another position of the display screen after displaying the application icons in the data sharing area.
Optionally, the step of determining the first application icon from the plurality of application icons based on the data sharing area may be implemented as follows:
receiving a second input of the user;
responding to a second input, and moving the application program icon selected by the second input to a preset position of the data sharing area;
and taking the application icon at the preset position as a first application icon.
In this embodiment, the electronic device may use an application icon located at a preset position in the data sharing area as the first application icon. As shown in fig. 2, the preset position may be a leftmost position in the data sharing area 201, the second input may be a drag operation on an application icon 2011 located outside the data sharing area 201, and the user may drag the application icon 2011 to the leftmost side of the data sharing area 201. At this time, the electronic device may determine that the application icon 2011 located at the leftmost position in the data sharing area 201, i.e., at a preset position, is the first application icon. The specific form of the second input may be set according to a requirement, the preset position may include one or more application icons, and the specific position of the preset position in the data sharing area may be set according to a requirement, which is not limited in this embodiment. The user can manually determine the first application icon through the preset position, and flexibly control the first application corresponding to the first application icon.
In practical application, a user can directly operate the application icon and move the application icon to a preset position in the display area to determine the first application icon. The electronic equipment can determine the first application icon and the second application icon based on the data sharing area, so that the user operation can be simplified, and the selection efficiency of the first application and the second application can be improved.
And step 102, providing the target data of the first application program corresponding to the first application program icon to the second application program corresponding to the second application program icon.
The target data may be data of a preset type, for example, the target data may include one or more multimedia data such as a picture, a video, a text, and an audio, and may also include user information such as account information, user settings, and chat content. The specific type of the target data may be set according to requirements, which is not limited in this embodiment.
In this embodiment, after determining the first application icon and the second application icon, the electronic device may provide target data of the first application to the second application. For example, after determining the application icon 2011, and the application icon 2012 and the application icon 2013, the electronic device may obtain multimedia data from the storage location of the first application (i.e., application a) during the running of the second application (i.e., application B and application C) to provide the multimedia data for the application B and the application C. The method for providing the target data for the application program by the electronic device may be set according to requirements, which is not limited in this embodiment.
In summary, in this embodiment, the electronic device determines the second application icon corresponding to the first application icon, and provides the target data of the first application corresponding to the first application icon to the second application corresponding to the second application icon. The electronic equipment can share the target data among the plurality of application programs based on the corresponding relation among the application program icons, and a user can share the target data among the plurality of application programs only by operating the application program icons, so that the electronic equipment is simple to operate and high in data sharing efficiency.
Optionally, based on the data sharing area, the step of determining the first application icon from the plurality of application icons may be further implemented by:
moving an application icon of an application program with preset target data to a preset position of a data sharing area;
and taking the application icon at the preset position as a first application icon.
In this embodiment, the user may directly move the application icon of the application having the preset target data to the preset position of the data sharing area, and the electronic device may use the application icon at the preset position as the first application icon. With reference to the above example, the preset target data may be account information, the application a has account information, and when the user uses the application B and the application C, if the user wants to log in the application B and the application C through the account information of the application a, the user may drag the application icon 2011 to a preset position in the data sharing area 201, and drag the application icon 2012 and the application icon 2013 to other positions in the data sharing area except for the preset position. The electronic device may determine the application icon 2011 located at a preset position as a first application icon and determine the application icons 2012 and 2013 located outside the preset position as second application icons.
Optionally, based on the data sharing area, the step of determining the first application icon from the plurality of application icons may be further implemented by:
and determining a first application icon and a second application icon from a plurality of application icons included in the data sharing area based on the target data corresponding to the data sharing area.
In this embodiment, the data sharing area may correspond to the target data, and the electronic device may determine the first application icon and the second application icon from the plurality of application icons in the data sharing area according to the target data corresponding to the data sharing area. For example, if the target data is multimedia data, the electronic device may scan the storage location of application a, the storage location of application B, and the storage location of application C, determine application a having the multimedia data stored in the storage locations, determine application a having the multimedia data stored therein as a first application, and determine application icon 2011 as a first application icon. Further, it may be determined that the application B and the application C that do not store multimedia data are the second application, and the application icon 2012 and the application icon 2013 are the second application icon.
In practical applications, the method for the electronic device to determine the first application program including the target data from the plurality of application programs may include, but is not limited to, a method for scanning a storage location of the application program. One or more data sharing areas can be displayed in the display screen, and each data sharing area can respectively correspond to different types of target data. For example, the first data sharing region may correspond to multimedia data, and the second data sharing region may correspond to account information.
Optionally, step 101 may also be implemented as follows:
displaying a first application icon in a data sharing area;
receiving a first input of a target application program icon outside the data sharing area by a user;
in response to the first input, displaying a target application icon in the data sharing area and determining the target application icon as a second application icon.
In this embodiment, the electronic device may first establish a data sharing area based on a first application icon selected by a user, display the first application icon in the data sharing area, then use the application icon selected by the user as a second application icon, and display the second application icon in the data sharing area.
For example, as shown in fig. 3, fig. 3 is a schematic structural diagram of another display screen provided according to an exemplary embodiment, where the display screen includes a first sub-screen 301 and a second sub-screen 302, and the electronic device may display a data sharing area 3021 at a target position in the first sub-screen 301 or the second sub-screen 302 and display an application icon 3011 in the data sharing area 3021 in response to a fifth input of an application icon 3011 of an application a (the application a is a first application) by a user. The target position may be a preset display position, for example, a certain position in the second sub-screen 302, or a display position automatically determined by the electronic device from the display screen in the process of displaying the data sharing area. In the process of displaying the data sharing area, the electronic device may display the data sharing area in only one of the sub-screens, and display other contents except the data sharing area in the other sub-screens, so as to facilitate the user to manage the data sharing area. The form of the fifth input may include, but is not limited to, a user operation of clicking a physical key or a virtual key, which is not limited by the embodiment.
The first input may be a drag operation of dragging an application icon, the target application icon being an application icon selected by a user from outside the data sharing area. The user may drag a target application icon outside the data sharing area into the data sharing area 3021, for example, drag the application icon 3012 of application E and the application icon 3013 of application D into the data sharing area 3021. The electronic device may display an application icon 3012 and an application icon 3013 in the data sharing area 3021 in response to a drag operation by the user, and treat the application icon 3012 and the application icon 3013 as a second application icon. The specific form of the first input may be set according to the requirement, which is not limited in this embodiment.
In practical application, a user can establish a data sharing area based on an application icon and determine a plurality of application programs sharing target data, so that the user can conveniently determine the plurality of application programs according to actual requirements and share the target data among the plurality of application programs.
Optionally, step 101 may also be implemented as follows:
receiving a third input to the plurality of application icons in the display screen;
in response to a third input, displaying a data sharing control in the display screen;
receiving a fourth input to the data sharing control;
in response to a fourth input, a first application icon and a second application icon are determined from the plurality of application icons based on the operational property of the third input.
And the third input is used for selecting a plurality of application program icons and displaying a data sharing control in the display screen. For example, as shown in fig. 4, fig. 4 is a schematic structural diagram of another display screen provided according to an exemplary embodiment, the third input may be a drag operation of dragging an application icon, and the user may drag an application icon 402 of application B, drag the application icon 402 onto an application icon 401 of application a, and make the application icon 402 cover a part or all of the application icon 401. The electronic device may determine that the application icon 401 and the application icon 402 are the application icon selected by the user in response to a drag operation by the user when the application icon 402 covers a preset area (for example, 80%) of the application icon 401, and display the data sharing control 403 in the display screen. For another example, the third input may be a sliding operation of sliding in a preset direction in the display screen, and the electronic device may take the application icon 401 and the application icon 402 located on the sliding trajectory as application icons selected by the user and display the data sharing control 403 in the display screen in response to the sliding operation by the user. The specific form of the third input and data sharing control may be set according to the requirement, which is not limited in this embodiment.
The fourth input is used for operating the data sharing control to determine the first application icon and the second application icon and establish a data sharing relationship between the first application and the second application. As shown in fig. 4, the data sharing control 403 may include a determination button 4031, and the fourth input may be a 4031 click operation of clicking the determination button. The electronic equipment can receive the click operation of the user, and respond to the click operation to establish and store the data sharing relation between the application program A and the application program B. Meanwhile, the electronic device may determine that the application icon 402 dragged by the user is the second application icon and the overlaid application icon 401 is the first application icon according to the operation attribute of the third input. On the contrary, if a user clicks the cancel button 4032 included in the data sharing control 403, the electronic device may cancel establishing the data sharing relationship between the application a and the application B in response to the user clicking. The data sharing control may be set as needed, and the specific form of the third input and the fourth input may be set as the data sharing control, which is not limited in this embodiment.
In practical application, the electronic device can establish a data sharing relationship among a plurality of application programs based on the data sharing control, so that a user can conveniently establish the data sharing relationship among the plurality of application programs, a data sharing area does not need to be displayed, and the display space of the display screen can be saved.
Optionally, step 102 may be implemented as follows:
the method I comprises the following steps:
receiving a calling request of a second application program to the target data;
in response to the call request, the target data is acquired from the storage position of the target data, and the target data is provided for the second application program
In this embodiment, after determining the data sharing relationship among the plurality of application programs through the data sharing area, the electronic device may provide target data for the application programs in the running process of the application programs. With reference to the foregoing example, after the target data is multimedia data stored in the storage location of the application a, in the running process of the application B, if the application B initiates a call request for calling multimedia data (for example, a picture) to the electronic device, the electronic device may, in response to the call request initiated by the application B, obtain the picture from the storage location of the application a and provide the picture for the application B. Specifically, in the running process of the Application B, if an Application Programming Interface (API) for reading the picture in the Application B is called, the electronic device may execute the API for calling the picture, read the picture from the storage location of the Application a, and provide the picture for the Application B. The specific process of the electronic device for providing the target data for the application program in the running process of the application program may be set according to requirements, which is not limited in this embodiment.
In practical application, after the electronic device determines the data sharing relationship among a plurality of application programs according to the data sharing area, in the running process of the application programs, the target data can be acquired from the storage positions of the target data, the target data is provided for the application programs, the target data can be prevented from migrating among the storage positions of the plurality of application programs, the storage pressure of the electronic device can be reduced, and the data sharing efficiency is improved.
The second method comprises the following steps:
obtaining target data from a storage location of a first application;
the target data is stored in a storage location of the second application.
In this embodiment, after determining the data sharing relationship among the plurality of application programs through the data sharing area, the electronic device may directly store the target data in the storage location of the second application program, so as to provide the target data for the second application program during the running process of the second application program. In connection with the above example, the electronic device may copy multimedia data from the storage location of application a and store the copied multimedia data in folders for storing multimedia data in the storage locations of application B and application C, respectively. At this time, since the storage locations of the application B and the application C already store the multimedia data, the electronic device may directly obtain the multimedia data from the storage location of the application B during the operation of the application B, so as to provide the multimedia data for the application B. The method for copying and storing the target data by the electronic device may refer to the prior art, which is not limited by this embodiment.
In practical application, after determining the data sharing relationship among the plurality of application programs according to the data sharing area, the electronic device may directly copy the target data from the storage location of the target data, store the target data in the application program that needs to share the target data, and facilitate the calling of the target data by the plurality of application programs.
Optionally, step 101 may also be implemented as follows:
in response to a sixth input, the first application icon and the second application icon are determined.
In this embodiment, the electronic device may determine, from all the applications, the first application and the second application that may share the target data, and the corresponding first application icon and the second application icon. For example, as shown in fig. 5, fig. 5 is a schematic structural diagram of another display provided according to an exemplary embodiment, the display includes a first sub-screen 501 and a second sub-screen 502, a sixth input may be a click operation of clicking a physical key or a virtual key, for example, or the sixth input may be a click operation of clicking a data sharing area, after the electronic device receives the click operation of the user, the electronic device may determine, according to target data (multimedia data) corresponding to the data sharing area, a first application (application a) including multimedia data from all applications and a second application (application E and application D) needing to call the multimedia data in response to the click operation, and then enlarge, highlight or display an application icon 5012 of application E and an application icon 5013 of application D in different colors, to facilitate the user in identifying the application icons 5012 and 5013 as quickly as possible. Meanwhile, the electronic device may also enlarge or highlight the application icons 5011 corresponding to the application icons 5012 and 5013. At this time, the electronic device may use the application icon 5011 as a first application icon, and the user may select a part or all of the application icons 5012 and 5013, which are enlarged or highlighted, as a second application icon in the data sharing area 5021. The display mode of the application icon may be set according to the requirement, which is not described in detail in this embodiment.
The specific process of the electronic device automatically determining the first application icon and the second application icon from all the application icons can be set according to requirements, and this embodiment does not limit this. After the first application icon and the second application icon are determined, the electronic equipment displays the first application icon and the corresponding second application icon through different display effects, so that a user can distinguish different application icons conveniently, and the selection efficiency of the application icons is improved.
When the data sharing area is multiple, the electronic device may determine, in response to a sixth input, that each data sharing area corresponds to the first application icon and the second application icon, respectively. As shown in fig. 5, the electronic device may determine, in response to the sixth input, an application icon 5011, an application icon 5012, and an application icon 5013 corresponding to the data-sharing area 5021, and an application icon 5014 (a first application icon in the data-sharing area 5022), an application icon 5015, and an application icon 5016 (a second application icon in the data-sharing area 5022) corresponding to the data-sharing area 5022, respectively. And the first application icon and the second application icon corresponding to different data sharing areas can be respectively displayed through different display effects. As shown in fig. 5, the application icons 5012 and 5013 corresponding to the data sharing area 5021 are different from the application icons 5015 and 5016 corresponding to the data sharing area 5022 in display effect.
In practical applications, the electronic device may determine, from all the application programs, a plurality of application programs sharing target data according to API interfaces in the application programs. For example, if the target data corresponding to the data sharing area is multimedia data, the target application program interface may include an API interface for calling the multimedia data. The electronic device, after receiving the sixth input, may scan all applications, determining application a, application B, and application C that include API interfaces for calling multimedia data, in response to the sixth input. For another example, if the target data corresponding to the data sharing area is account information, the target application program interface may include an API interface for calling the account information, and the API interfaces for calling the account information in the multiple application programs are the same API interface. After receiving the sixth input, the electronic device may scan all the application programs in response to the sixth input, determine an API interface for calling account information in each application program, and determine an application program a, an application program B, and an application program C that include the same API interface from all the application programs. Further, it may be determined from the application a, the application B, and the application C that the application a including the account information is the first application, the application B and the application C that do not include the account information are the second application, and the corresponding first application icon and the second application icon. In the account information sharing process, when the API (application programming interface) interfaces for calling the account information by the application programs are the same API interface, the application programs can log in the same server through the same account information.
In practical application, the electronic device may determine the application program capable of sharing the target data from all the application programs according to the application program interface corresponding to the target data, and may quickly and accurately determine the application program capable of sharing the target data. In the data sharing process, after determining the first application program and the corresponding second application program, the electronic device may directly provide the target data of the first application program to the corresponding second application program after the user selects the corresponding second application program icon, or may provide the target data to the second application program in the running process of the second application program. Meanwhile, after the user moves the second application program in the data sharing area out of the data sharing area, the electronic device may not provide the target data to the second application program.
Optionally, the display screen includes a first sub-screen and a second sub-screen, and in response to the sixth input, the step of determining the first application icon and the second application icon may be implemented as follows:
and under the condition that the first sub-screen and the second sub-screen are detected to be converted from the folding state to the non-folding state, determining the first application icon and the second application icon.
In this embodiment, when the display screen includes the first sub-screen and the second sub-screen, the electronic device may determine the first application icon and the second application icon when detecting that the first sub-screen and the second sub-screen are converted from the folded state to the unfolded state. For example, a user may manually start a selection function of the electronic device, and after the selection function of the electronic device is started, the user may first fold the first sub-screen and the second sub-screen to make the first sub-screen and the second sub-screen in a folded state, and then open the first sub-screen and the second sub-screen to make the first sub-screen and the second sub-screen in an unfolded state. In the process that a user folds and opens the first sub-screen and the second sub-screen, the electronic device can acquire an included angle between the first sub-screen and the second sub-screen through a sensor, and if the included angle between the first sub-screen and the second sub-screen is smaller than a first preset angle, the first sub-screen and the second sub-screen are determined to be in a folded state; and continuously acquiring an included angle between the first sub-screen and the second sub-screen, if the included angle between the first sub-screen and the second sub-screen is larger than a second preset angle, determining that the first sub-screen and the second sub-screen are in an unfolded state, and if the first sub-screen and the second sub-screen are detected to be switched from the folded state to the unfolded state, determining a plurality of application programs capable of sharing target data from all the application programs, and further determining a first application program icon of the first application program and a second application program icon of the second application program. The method for the electronic device to determine that the first sub-screen and the second sub-screen are in the folded state and the unfolded state may include, but is not limited to, determining by an angle between the first sub-screen and the second sub-screen. After the first application icon and the second application icon are selected and determined, the user can close the selection function of the electronic device to avoid the situation that the electronic device determines the application icons again in the process of folding the display screen by the user.
In practical application, a user can determine a first application icon and a second application icon from all application icons by folding and unfolding the screen, and simultaneously can respectively display the first application icon and the second application icon and other application icons except the first application icon and the second application icon through different display effects, so that the user can conveniently select and determine a plurality of first application icons and second application icons.
It should be noted that, in the data sharing method provided in the embodiment of the present application, the execution main body may be a data sharing device, or a control module in the data sharing device for executing the data sharing method. In the embodiment of the present application, a data sharing method performed by a data sharing apparatus is taken as an example, and the data sharing method provided in the embodiment of the present application is described.
Fig. 6 is a schematic structural diagram of a data sharing device according to an exemplary embodiment, and as shown in fig. 6, the data sharing device 600 includes: a determination module 601 and a provision module 602.
The determining module 601 is configured to determine a second application icon corresponding to the first application icon;
the providing module 602 is configured to provide target data of the first application corresponding to the first application icon to the second application corresponding to the second application icon.
In summary, in this embodiment, the electronic device determines the second application icon corresponding to the first application icon, and provides the target data of the first application corresponding to the first application icon to the second application corresponding to the second application icon. The electronic equipment can share the target data among the plurality of application programs based on the corresponding relation among the application program icons, and a user can share the target data among the plurality of application programs only by operating the application program icons, so that the electronic equipment is simple to operate and high in data sharing efficiency.
Optionally, the determining module 601 is specifically configured to display a first application icon in the data sharing area; receiving a first input of a target application program icon outside the data sharing area by a user; in response to the first input, displaying a target application icon in the data sharing area and determining the target application icon as a second application icon.
Optionally, the determining module 601 may include:
a display unit for displaying a plurality of application icons in the data sharing area;
a first determination unit configured to determine a first application icon from the plurality of application icons based on the data sharing area;
and the second determining unit is used for taking other application icons except the first application icon in the plurality of application icons as second application icons.
Optionally, the first determining unit is specifically configured to receive a second input of the user; responding to a second input, and moving an application program icon selected by the second input to a preset position of the data sharing area; and taking the application icon at the preset position as a first application icon.
Optionally, the determining module 601 is specifically configured to receive a third input to a plurality of application icons in the display screen; in response to a third input, displaying a data sharing control in the display screen; receiving a fourth input to the data sharing control; in response to a fourth input, a first application icon and a second application icon are determined from the plurality of application icons based on the operational property of the third input.
Optionally, the providing module 602 is specifically configured to receive a call request of the second application program for the target data; and responding to the calling request, acquiring the target data from the storage position of the target data, and providing the target data for the second application program.
Optionally, the providing module 602 is specifically configured to obtain the target data from the storage location of the first application; the target data is stored in a storage location of the second application.
The data sharing device in the embodiment of the present application may be a device, or may 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 sharing 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 sharing apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment, where the electronic device 700 includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, and when the program or the instruction is executed by the processor 701, the process of the data sharing method embodiment is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 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 is omitted here.
The processor 810 is configured to determine a second application icon corresponding to the first application icon;
and providing the target data of the first application program corresponding to the first application program icon to the second application program corresponding to the second application program icon.
In summary, in this embodiment, the electronic device determines the second application icon corresponding to the first application icon, and provides the target data of the first application corresponding to the first application icon to the second application corresponding to the second application icon. The electronic equipment can share the target data among the plurality of application programs based on the corresponding relation among the application program icons, and a user can share the target data among the plurality of application programs only by operating the application program icons, so that the electronic equipment is simple to operate and high in data sharing efficiency.
Optionally, the processor 810 is specifically configured to display a first application icon in the data sharing area; receiving a first input of a target application program icon outside the data sharing area by a user; in response to the first input, displaying a target application icon in the data sharing area and determining the target application icon as a second application icon.
In practical application, a user can establish a data sharing area based on an application icon and determine a plurality of application programs sharing target data, so that the user can conveniently determine the plurality of application programs according to actual requirements and share the target data among the plurality of application programs.
Optionally, the processor 810 is specifically configured to display a plurality of application icons in the data sharing area;
determining a first application icon from a plurality of application icons based on the data sharing area;
and taking other application icons except the first application icon in the plurality of application icons as second application icons.
In practical application, a user can directly operate the application icon, the electronic device can determine the first application icon and the second application icon based on the data sharing area, user operation can be simplified, and selection efficiency of the first application and the second application is improved.
Optionally, the processor 810 is specifically configured to receive a second input from the user;
responding to a second input, and moving the application program icon selected by the second input to a preset position of the data sharing area;
and taking the application icon at the preset position as a first application icon.
In practical application, a user can directly operate the application icon and move the application icon to a preset position in the display area to determine the first application icon. The electronic equipment can determine the first application icon and the second application icon based on the data sharing area, so that the user operation can be simplified, and the selection efficiency of the first application and the second application can be improved.
Optionally, the processor 810 is specifically configured to receive a call request of the second application program for the target data; and responding to the calling request, acquiring the target data from the storage position of the target data, and providing the target data for the second application program.
In practical application, after the electronic device determines the data sharing relationship among a plurality of application programs according to the data sharing area, in the running process of the application programs, the target data can be acquired from the storage positions of the target data, the target data is provided for the application programs, the target data can be prevented from migrating among the storage positions of the plurality of application programs, the storage pressure of the electronic device can be reduced, and the data sharing efficiency is improved.
Optionally, the processor 810 is specifically configured to obtain the target data from the storage location of the first application; the target data is stored in a storage location of the second application.
In practical application, after determining the data sharing relationship among the plurality of application programs according to the data sharing area, the electronic device may directly copy the target data from the storage location of the target data, store the target data in the application program that needs to share the target data, and facilitate the calling of the target data by the plurality of application programs.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 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. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
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 sharing 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 execute a program or an instruction to implement each process of the above data sharing 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 solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as 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 method for sharing data, comprising:
determining a second application icon corresponding to the first application icon;
providing target data of the first application program corresponding to the first application program icon to a second application program corresponding to the second application program icon;
the determining the second application icon corresponding to the first application icon includes:
displaying a plurality of application icons in a data sharing area; determining the first application icon from the plurality of application icons based on the data sharing area; taking other application icons except the first application icon in the plurality of application icons as the second application icon;
the determining the first application icon from the plurality of application icons based on the data sharing region includes:
receiving a second input of the user;
responding to the second input, and moving the application program icon selected by the second input to a preset position of the data sharing area;
and taking the application program icon at the preset position as the first application program icon.
2. The method of claim 1, wherein determining the second application icon corresponding to the first application icon comprises:
displaying the first application icon in a data sharing area; receiving a first input of a target application program icon outside the data sharing area by a user; in response to the first input, displaying the target application icon in the data sharing area and determining that the target application icon is the second application icon.
3. The method of claim 1, wherein determining the second application icon corresponding to the first application icon comprises:
receiving a third input to the plurality of application icons in the display screen;
displaying a data sharing control in the display screen in response to the third input;
receiving a fourth input to the data sharing control;
in response to the fourth input, determining the first application icon and the second application icon from the plurality of application icons based on an operational property of the third input.
4. The method according to any one of claims 1-3, wherein providing the target data of the first application corresponding to the first application icon to the second application corresponding to the second application icon comprises:
receiving a calling request of the second application program to the target data;
and responding to the calling request, acquiring the target data from the storage position of the target data, and providing the target data for the second application program.
5. The method according to any one of claims 1-3, wherein providing the target data of the first application corresponding to the first application icon to the second application corresponding to the second application icon comprises:
obtaining the target data from a storage location of the first application;
storing the target data in a storage location of the second application.
6. A data sharing apparatus, comprising:
the determining module is used for determining a second application icon corresponding to the first application icon;
a providing module, configured to provide target data of a first application corresponding to the first application icon to a second application corresponding to the second application icon;
wherein, the determining the second application icon corresponding to the first application icon includes: displaying a plurality of application icons in a data sharing area; determining the first application icon from the plurality of application icons based on the data sharing area; taking other application icons except the first application icon in the plurality of application icons as the second application icon; the determining the first application icon from the plurality of application icons based on the data sharing region includes: receiving a second input of the user; responding to the second input, and moving the application program icon selected by the second input to a preset position of the data sharing area; and taking the application program icon at the preset position as the first application program icon.
7. 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 sharing method of any one of claims 1-5.
8. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the data sharing method according to any one of claims 1 to 5.
CN202011494278.0A 2020-12-16 2020-12-16 Data sharing method, device, equipment and readable storage medium Active CN112596642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011494278.0A CN112596642B (en) 2020-12-16 2020-12-16 Data sharing method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011494278.0A CN112596642B (en) 2020-12-16 2020-12-16 Data sharing method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112596642A CN112596642A (en) 2021-04-02
CN112596642B true CN112596642B (en) 2022-06-07

Family

ID=75196942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011494278.0A Active CN112596642B (en) 2020-12-16 2020-12-16 Data sharing method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112596642B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072189A (en) * 2015-08-18 2015-11-18 广东威创视讯科技股份有限公司 Desktop area sharing method and system
CN107710160A (en) * 2015-07-08 2018-02-16 株式会社日立制作所 Computer and storage area management method
CN108008925A (en) * 2017-11-07 2018-05-08 深圳天珑无线科技有限公司 Application data sharing method, device, terminal and storage medium under span mode
CN110633032A (en) * 2019-07-15 2019-12-31 华为技术有限公司 Icon display method and device for terminal equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999379B (en) * 2012-12-14 2015-08-12 东莞宇龙通信科技有限公司 terminal and data sharing method
JP2015055913A (en) * 2013-09-10 2015-03-23 ソニー株式会社 Information processor, method of processing information and program
CN110737638A (en) * 2018-07-19 2020-01-31 杭州海康威视数字技术股份有限公司 data sharing method, device, electronic equipment and storage medium
CN109726224B (en) * 2019-01-03 2021-09-17 苏州达家迎信息技术有限公司 Data sharing method and device between application programs, terminal, server and medium
CN110096375B (en) * 2019-03-29 2023-07-25 努比亚技术有限公司 Method and device for sharing data by application programs and computer readable storage medium
CN110703966B (en) * 2019-10-17 2021-06-11 广州视源电子科技股份有限公司 File sharing method, device and system, corresponding equipment and storage medium
CN111177710B (en) * 2019-12-31 2021-07-06 维沃移动通信有限公司 Application authorization method, electronic device and storage medium
CN111736787A (en) * 2020-06-24 2020-10-02 北京云族佳科技有限公司 Screen sharing method and device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107710160A (en) * 2015-07-08 2018-02-16 株式会社日立制作所 Computer and storage area management method
CN105072189A (en) * 2015-08-18 2015-11-18 广东威创视讯科技股份有限公司 Desktop area sharing method and system
CN108008925A (en) * 2017-11-07 2018-05-08 深圳天珑无线科技有限公司 Application data sharing method, device, terminal and storage medium under span mode
CN110633032A (en) * 2019-07-15 2019-12-31 华为技术有限公司 Icon display method and device for terminal equipment

Also Published As

Publication number Publication date
CN112596642A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN112162685B (en) Attribute adjusting method and device and electronic equipment
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN113141295B (en) Message display method and device and electronic equipment
CN113467660A (en) Information sharing method and electronic equipment
CN113360062A (en) Display control method and device, electronic equipment and readable storage medium
WO2023030115A1 (en) Interface display method and apparatus
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
CN113179205A (en) Image sharing method and device and electronic equipment
CN112269501A (en) Icon moving method and device and electronic equipment
CN112558851B (en) Object processing method, device, equipment and readable storage medium
CN113282213A (en) Interface display method and device
WO2024012508A1 (en) Functional interface display method and apparatus
WO2023155858A1 (en) Document editing method and apparatus
WO2023155874A1 (en) Application icon management method and apparatus, and electronic device
CN112596642B (en) Data sharing method, device, equipment and readable storage medium
WO2022161243A1 (en) Information display method and apparatus, and electronic device
CN112399010B (en) Page display method and device and electronic equipment
CN111796736B (en) Application sharing method and device and electronic equipment
CN111796733B (en) Image display method, image display device and electronic equipment
CN112181269B (en) Content display method and device and electronic equipment
CN114116087A (en) Interface operation method and device between two systems, electronic equipment and medium
CN114489414A (en) File processing method and device
CN114020389A (en) Application program display method and device and electronic equipment
CN113407290A (en) Application notification display method and device and electronic equipment

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
TR01 Transfer of patent right

Effective date of registration: 20230719

Address after: 518048 room 901, building 1, Shenzhen new generation industrial park, 136 Zhongkang Road, Meidu community, Meilin street, Futian District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN IOCO COMMUNICATION SOFTWARE Co.,Ltd.

Address before: No.168 Jinghai East Road, Chang'an Town, Dongguan City, Guangdong Province

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right