CN112463418A - Cross-device information sharing method, device, medium and electronic device - Google Patents

Cross-device information sharing method, device, medium and electronic device Download PDF

Info

Publication number
CN112463418A
CN112463418A CN202011496938.9A CN202011496938A CN112463418A CN 112463418 A CN112463418 A CN 112463418A CN 202011496938 A CN202011496938 A CN 202011496938A CN 112463418 A CN112463418 A CN 112463418A
Authority
CN
China
Prior art keywords
application
target
information
file
communication connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011496938.9A
Other languages
Chinese (zh)
Inventor
黄超华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN202011496938.9A priority Critical patent/CN112463418A/en
Publication of CN112463418A publication Critical patent/CN112463418A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • 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/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/0482Interaction with lists of selectable items, e.g. menus

Landscapes

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

Abstract

The disclosure relates to a cross-device information sharing method, device, medium and electronic device, wherein the method comprises: establishing a short-distance wireless communication connection with a target device; acquiring application information of the installed application program of the target equipment; selecting a target file to be shared, responding to the sharing operation of the target file, popping up and displaying an application list, wherein the application list comprises application icons corresponding to the application information; and when receiving a trigger operation on a target application icon in the application list, transmitting the target file to a target application program corresponding to the target application icon in the target equipment. The embodiment of the disclosure can simply and conveniently realize that the local file between the devices is directly shared to the application program in another device.

Description

Cross-device information sharing method, device, medium and electronic device
Technical Field
The embodiment of the disclosure relates to the technical field of communication, and in particular relates to a cross-device information sharing method, a cross-device information sharing device, a computer-readable storage medium and an electronic device for implementing the cross-device information sharing method.
Background
With the rise of the mobile internet, content sharing gradually becomes an important means for people to communicate in daily social contact, for example, users often share information such as characters, pictures, videos and the like frequently in network social activities.
At present, the information sharing mode of the mobile terminal mainly comprises the application of sharing the local file to the local. For example, a user opens an application program such as a browser, pops up a local application list when selecting to share information in a display interface of the application program, and then selects an application icon in the application list to open a corresponding local application program, thereby realizing information sharing.
However, the current sharing method cannot simply and conveniently realize the scene of directly sharing the local file between the devices to the application program in another device.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, embodiments of the present disclosure provide a cross-device information sharing method, a cross-device information sharing apparatus, and a computer-readable storage medium and an electronic device implementing the cross-device information sharing method.
In a first aspect, an embodiment of the present disclosure provides a cross-device information sharing method, including:
establishing a short-distance wireless communication connection with a target device;
acquiring application information of the installed application program of the target equipment;
selecting a target file to be shared, responding to the sharing operation of the target file, popping up and displaying an application list, wherein the application list comprises application icons corresponding to the application information;
and when receiving a trigger operation on a target application icon in the application list, transmitting the target file to a target application program corresponding to the target application icon in the target equipment.
In some embodiments of the present disclosure, the method further comprises:
analyzing to obtain the file type of the target file;
the popup display application list responding to the sharing operation of the target file comprises the following steps:
determining target application information corresponding to the target file based on the file type and a preset corresponding relation, wherein the preset corresponding relation comprises corresponding relations between different file types and different application information;
and popping up and displaying an application list based on the target application information, wherein the application list comprises an application icon corresponding to the target application information.
In some embodiments of the present disclosure, the selecting a target file to be shared includes:
receiving a selection operation in an interface of an application installed in the local equipment;
and responding to the selection operation to determine the target file to be shared.
In some embodiments of the present disclosure, the method further comprises:
after short-distance wireless communication connection with the target equipment is established, authorization prompt information is sent to the target equipment, and the authorization prompt information indicates the target equipment to start authorization for acquiring application information of an installed application program;
the acquiring the application information of the installed application program of the target device includes:
and after the target device starts authorization for acquiring the application information of the installed application program, acquiring the application information of the installed application program of the target device.
In some embodiments of the present disclosure, the obtaining application information of the installed application program of the target device includes:
and after the short-distance wireless communication connection with the target equipment is established, receiving the application information of the self-installed application program sent by the target equipment.
In some embodiments of the disclosure, the establishing a short-range wireless communication connection with a target device includes:
and establishing any one of a Bluetooth communication connection, a hotspot communication connection, an infrared communication connection and a WiFi communication connection with the target device.
In some embodiments of the present disclosure, the application information includes one or more of an application identification, an application name, and an application digital signature.
In a second aspect, an embodiment of the present disclosure provides an inter-device information sharing apparatus, including:
the wireless communication connection establishing module is used for establishing short-distance wireless communication connection with the target equipment;
the application information acquisition module is used for acquiring the application information of the installed application program of the target equipment;
the sharing display module is used for selecting a target file to be shared, responding to the sharing operation of the target file, popping up and displaying an application list, wherein the application list comprises application icons corresponding to the application information;
and the file transmission module is used for transmitting the target file to a target application program corresponding to the target application icon in the target equipment when receiving the trigger operation of the target application icon in the application list.
In a third aspect, an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the cross-device information sharing method described in any one of the foregoing embodiments.
In a fourth aspect, an embodiment of the present disclosure provides an electronic device, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the steps of the cross-device information sharing method according to any one of the above embodiments by executing the executable instructions.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
in the embodiment of the disclosure, after a terminal establishes short-distance wireless communication connection with a target device, application information of an installed application program of the target device is acquired, a user selects a target file to be shared at the terminal, the terminal responds to a sharing operation of the target file to pop up and display an application list, the application list comprises an application icon corresponding to the application information, and finally when the terminal receives a triggering operation of the target application icon in the application list, the target file is transmitted to the target application program corresponding to the target application icon in the target device. Therefore, the scheme of the embodiment can simply and conveniently realize that the local files among the devices are directly shared to the application program in another device.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a cross-device information sharing method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a cross-device information sharing method according to another embodiment of the present disclosure;
FIG. 3 is a flowchart of a cross-device information sharing method according to another embodiment of the present disclosure;
fig. 4 is a schematic view of an application scenario of a cross-device information sharing method according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a cross-device information sharing apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic view of an electronic device for implementing a cross-device information sharing method according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
It is to be understood that, hereinafter, "at least one" means one or more, "a plurality" means two or more. "and/or" is used to describe the association relationship of the associated objects, meaning that there may be three relationships, for example, "a and/or B" may mean: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
Fig. 1 is a flowchart of a cross-device information sharing method shown in an embodiment of the present disclosure, where the cross-device information sharing method may include the following steps:
step S101: a short-range wireless communication connection is established with the target device.
For example, the target device 20 may be a smart terminal such as a smart phone, a tablet computer, a wearable smart device, and the like, but is not limited thereto. Short-range wireless communications may include, but are not limited to, bluetooth communications, hotspot communications, infrared communications, WiFi communications, and the like.
Specifically, referring to fig. 4, in some embodiments of the present disclosure, the terminal 10 establishes a short-range wireless communication connection with the target device 20, which may specifically be: any one of a bluetooth communication connection, a hotspot communication connection, an infrared communication connection, and a WiFi communication connection with the target device 20 is established, but is not limited thereto.
Step S102: and acquiring the application information of the installed application program of the target equipment.
Illustratively, in some embodiments of the present disclosure, the application information may include, but is not limited to, one or more of an application identification ID, an application name, and an application digital signature. For example, the installed applications of the target device 20, such as a smartphone, may each have a unique identification ID, a uniquely identifiable application name, such as an instant messaging application, a video application, etc., or an application digital signature. An application digital signature may uniquely identify an application.
Specifically, as shown in fig. 4, the terminal 10 establishes a short-range wireless communication connection with the target device 20, and can acquire application information of a plurality of applications installed by the target device 20 through the short-range wireless communication connection. For example, after establishing the bluetooth communication connection, application information such as any one or more of the application identification ID, the application name, and the application digital signature of the plurality of application programs that have been installed by the target device 20 can be acquired through the bluetooth communication connection.
Step S103: selecting a target file to be shared, responding to the sharing operation of the target file, popping up and displaying an application list, wherein the application list comprises application icons corresponding to the application information.
Illustratively, the target file may be, but is not limited to, a document file such as a word file, a video file, or an audio file, among others. Optionally, in some embodiments of the present disclosure, selecting a target file to be shared may specifically include:
step i): a selection operation is received in an interface of an application installed on the local device.
Step ii): and responding to the selection operation to determine the target file to be shared.
Specifically, for example, a selection operation such as clicking an object file icon is received in an interface of a file management application installed locally in the terminal 10, and an object file to be shared such as a word document file may be determined in response to the selection operation. That is, the user may locally select a target file to be shared, such as a word document file, in the terminal 10, for example, in an interface of the file management application, the target file to be shared is determined by selection. For example, clicking on an object file in the interface of the instant messaging application, or locally inputting information in the terminal 10 to search for the local object file.
After a target file is selected, the target file may be shared through a sharing operation, for example, long-pressing an icon of the target file, and the terminal pops up and displays an application list in response to the sharing operation, where the application list includes an application icon corresponding to the acquired application information of the application program installed in the target device 20.
Illustratively, in conjunction with fig. 4, the terminal 10 pops up a display window control, such as the popup window 101, in response to a long-press operation on an icon of a target file, such as a file a, and the application list may be presented in the popup window 101, that is, the acquired application icon corresponding to the installed application in the target device 20, such as an icon 201 corresponding to the installed application a in the target device 20, an icon 202 corresponding to the installed application B in the target device 20, and the like, are displayed in the popup window 101. These icons 201, 202, and the like in the popup 101 may be generated based on the acquired application information, such as an application name, of the corresponding installed application in the target device 20. The installed application a may be a video application or an instant messaging application, and the installed application B may be a document processing application, which is not limited to this, and is only exemplified here.
Step S104: and when receiving a trigger operation on a target application icon in the application list, transmitting the target file to a target application program corresponding to the target application icon in the target equipment.
Illustratively, the trigger operation may include a click operation, but is not limited thereto. Specifically, after the acquired icon 201 corresponding to the installed application a and the icon 202 corresponding to the installed application B in the target device 20 are displayed in the pop-up window 101, if the user clicks the target application icon such as the icon 202 in the pop-up window 101, and the terminal 10 receives, for example, a click operation on the icon 202, the target file such as the file a may be transmitted to the target application program such as the application B corresponding to the target application icon such as the icon 202 in the target device 20 through a short-distance wireless communication connection such as a bluetooth connection.
In the above cross-device information sharing method according to the embodiment of the present disclosure, after the terminal 10 establishes short-distance wireless communication connection with the target device 20, application information of an application installed on the target device 20 is acquired, a user selects a target file to be shared at the terminal 10, the terminal 10 pops up an application list in response to a sharing operation on the target file, where the application list includes an application icon corresponding to the application information, and finally, when the terminal 10 receives a trigger operation on the target application icon in the application list, the target file is transmitted to the target application program corresponding to the target application icon in the target device 20. Therefore, the scheme of the embodiment can simply and conveniently realize that the local files among the devices are directly shared to the application program in another device.
Fig. 2 shows a flowchart of another cross-device information sharing method according to an embodiment of the present disclosure, where the cross-device information sharing method may include the following steps:
step S101: a short-range wireless communication connection is established with the target device.
Step S102: and acquiring the application information of the installed application program of the target equipment.
Step S103: and selecting a target file to be shared.
It is understood that, steps S101, S102 and S103 may specifically refer to the corresponding detailed description in the foregoing embodiments, and are not repeated herein.
Step S201: and analyzing to obtain the file type of the target file.
Illustratively, the file types may include, but are not limited to, a document file type, a picture file type, a video file type, an audio file type, and the like.
Specifically, after the user selects a target file in the terminal 10, the terminal 10 may parse the target file to obtain a file type, for example, obtain attribute information of the target file to determine the file type. The attribute information may generally include file name, type information, file creation time, modification time, and the like.
Step S202: and determining target application information corresponding to the target file based on the file type and a preset corresponding relation, wherein the preset corresponding relation comprises corresponding relations between different file types and different application information.
For example, the preset correspondence may be stored in the terminal 10 in the form of a mapping table, which may include correspondence between different file types and different application information. For example, the video file type and the audio file type correspond to the application information of the application program a, such as an application name, the document file type corresponds to the application information of the application program B, such as an application name, and the picture file type corresponds to the application information of the application program C, such as an application name. The application C may be, for example, a picture processing application installed in the target device 20.
Specifically, if a target file selected by the user is a document file such as a word file, the file type of the file a is determined by analysis to be the document file type, and then the target application information such as the application name of the application program B is searched in the preset corresponding relationship, where the target application information corresponds to the file a.
Step S203: and popping up and displaying an application list based on the target application information, wherein the application list comprises an application icon corresponding to the target application information.
For example, since the target application information corresponding to the file a is the application information of the application program B, such as an application name, the application list at this time may be displayed in a pop-up manner based on the found application information of the application program B, such as the application name, for example, the application list at this time may be presented in the pop-up window 101, that is, only the application icon 202 corresponding to the target application information, such as the application information of the application program B, is displayed in the pop-up window 101, and the icon 201 corresponding to the application information of the application program a is not displayed.
In the method of this embodiment, the application icons in the application list of the pop-up display target device are related to the file type, for example, the document file corresponds to only the application icon related to the document application program, so that it is avoided that icons corresponding to all the application programs installed in the target device 20 are displayed each time, thereby facilitating the operation of selecting the target application icon in the application list by the user, and simultaneously, the processing speed of the pop-up display can be increased, thereby increasing the overall processing speed during the file sharing between the devices to a certain extent.
Fig. 3 shows a flowchart of another cross-device information sharing method according to an embodiment of the present disclosure. Optionally, on the basis of the above embodiments, in some embodiments of the present disclosure, the method may further include the following steps:
step S301: and sending authorization prompt information to the target equipment, wherein the authorization prompt information indicates that the target equipment starts authorization for acquiring the application information of the installed application program.
Specifically, step S301 may be executed after step S101 described above. The terminal 10 sends authorization prompt information to the target device 20, where the authorization prompt information instructs the target device 20 to start authorization to acquire application information of the application program installed in itself.
For example, in some embodiments, the authorization prompt message may carry terminal identification information of the terminal 10, and the target device 20 may start authorization to acquire application information of an installed application when determining that the terminal 10 is a legal terminal based on the terminal identification information. For example, the target device 20 is configured to store the terminal identification information of a plurality of valid terminals in advance, and then search the stored terminal identification information based on the terminal identification information of the terminal 10, and if the terminal 10 is found, it is determined that the terminal 10 is a valid terminal.
Step S302: and after the target device starts authorization for acquiring the application information of the installed application program, acquiring the application information of the installed application program of the target device.
Specifically, after the target device 20 starts authorization to acquire application information of an application program installed in itself, the terminal 10 may acquire application information, such as an application name and the like, of all application programs installed in the target device 20 through a short-range wireless communication connection, such as a bluetooth communication connection. The above steps S103 to S104 may be performed after step S302.
In the method of this embodiment, the target device 20 may start authorization to acquire application information of the application installed on the target device 20 according to the authorization request sent by the terminal 10, so that the terminal 10 may acquire the application information of the application installed on the target device 20, so that a user may share the application on the target device 20 on the terminal 10 in time, and meanwhile, the security of using the target device 20 is improved, and situations such as illegal acquisition of application information are avoided.
Optionally, in other embodiments of the present disclosure, the acquiring the application information of the installed application program of the target device in step S102 may specifically include: and after the short-distance wireless communication connection with the target equipment is established, receiving the application information of the self-installed application program sent by the target equipment.
Specifically, as an example, after the terminal 10 establishes a short-range wireless communication connection, such as a bluetooth communication connection, with the target device 20, it receives application information, such as an application name, of the application installed in itself, which is transmitted by the target device 20. That is, after the short-distance wireless communication connection is established, the target device 20 may actively send application information of the application program installed in itself to the terminal 10, so that the user may share the application program on the target device 20 in time on the terminal 10, and the overall processing speed during the inter-device file sharing is improved to a certain extent.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc. Additionally, it will also be readily appreciated that the steps may be performed synchronously or asynchronously, e.g., among multiple modules/processes/threads.
Based on the same inventive concept, the embodiment of the present disclosure provides a cross-device information sharing apparatus, and as shown in fig. 5, the cross-device information sharing apparatus may include a wireless communication connection establishing module 501, an application information obtaining module 502, a sharing display module 503, and a file transmission module 504. The wireless communication connection establishing module 501 is configured to establish a short-range wireless communication connection with a target device. The application information obtaining module 502 is configured to obtain application information of the installed application program of the target device. The sharing display module 503 is configured to select a target file to be shared, and pop up and display an application list in response to a sharing operation on the target file, where the application list includes an application icon corresponding to the application information. The file transmission module 504 is configured to transmit the target file to a target application program corresponding to a target application icon in the target device when receiving a trigger operation on the target application icon in the application list.
The cross-device information sharing device of the embodiment can simply and conveniently realize that the cross-device local file is directly shared to an application program in another device.
Optionally, in some embodiments of the present disclosure, the apparatus may further include an analysis module, configured to analyze the file type of the target file. Correspondingly, the popup display application list in response to the sharing operation on the target file by the sharing display module may specifically include: determining target application information corresponding to the target file based on the file type and a preset corresponding relation, wherein the preset corresponding relation comprises corresponding relations between different file types and different application information; and popping up and displaying an application list based on the target application information, wherein the application list comprises an application icon corresponding to the target application information.
Optionally, in some embodiments of the present disclosure, the selecting, by the sharing display module, a target file to be shared may specifically include: receiving a selection operation in an interface of an application installed in the local equipment; and responding to the selection operation to determine the target file to be shared.
Optionally, in some embodiments of the present disclosure, the apparatus may further include an information transceiver module, configured to send authorization prompt information to the target device after establishing the short-range wireless communication connection with the target device, where the authorization prompt information indicates that the target device starts authorization to acquire application information of an application installed in the target device. Correspondingly, the acquiring of the application information of the installed application program of the target device by the application information acquiring module may specifically include: and after the target device starts authorization for acquiring the application information of the installed application program, acquiring the application information of the installed application program of the target device.
Optionally, in other embodiments of the present disclosure, the acquiring, by the application information acquiring module, application information of the installed application program of the target device may specifically include: and after the short-distance wireless communication connection with the target equipment is established, receiving the application information of the self-installed application program sent by the target equipment.
Optionally, in some embodiments of the present disclosure, the establishing a short-range wireless communication connection between the wireless communication connection establishing module and the target device may specifically include: any one of a bluetooth communication connection, a hotspot communication connection, an infrared communication connection, and a WiFi communication connection with the target device is established, but is not limited thereto.
Optionally, in some embodiments of the present disclosure, the application information may include, but is not limited to, one or more of an application identification, an application name, and an application digital signature.
The specific manner in which the above-mentioned embodiments of the apparatus, and the corresponding technical effects brought about by the operations performed by the respective modules, have been described in detail in the embodiments related to the method, and will not be described in detail herein.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units. The components shown as modules or units may or may not be physical units, i.e. may be located in one place or may also be distributed over a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the wood-disclosed scheme. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the cross-device information sharing method according to any one of the embodiments.
By way of example, and not limitation, such readable storage media can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
The embodiment of the disclosure also provides an electronic device, which includes a processor and a memory, wherein the memory is used for storing the executable instruction of the processor. Wherein the processor is configured to perform the steps of the cross-device information sharing method in any of the above embodiments via execution of the executable instructions.
In particular, FIG. 6 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a smartphone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 6, electronic device 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of electronic device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 600.
The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 600 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the electronic device 600, the sensor component 614 may also detect a change in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, orientation or acceleration/deceleration of the electronic device 600, and a change in the temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the electronic device 600 and other devices in a wired or wireless manner. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the steps of the above-described methods.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A cross-device information sharing method is characterized by comprising the following steps:
establishing a short-distance wireless communication connection with a target device;
acquiring application information of the installed application program of the target equipment;
selecting a target file to be shared, responding to the sharing operation of the target file, popping up and displaying an application list, wherein the application list comprises application icons corresponding to the application information;
and when receiving a trigger operation on a target application icon in the application list, transmitting the target file to a target application program corresponding to the target application icon in the target equipment.
2. The cross-device information sharing method according to claim 1, further comprising:
analyzing to obtain the file type of the target file;
the popup display application list responding to the sharing operation of the target file comprises the following steps:
determining target application information corresponding to the target file based on the file type and a preset corresponding relation, wherein the preset corresponding relation comprises corresponding relations between different file types and different application information;
and popping up and displaying an application list based on the target application information, wherein the application list comprises an application icon corresponding to the target application information.
3. The cross-device information sharing method according to claim 2, wherein the selecting the target file to be shared includes:
receiving a selection operation in an interface of an application installed in the local equipment;
and responding to the selection operation to determine the target file to be shared.
4. The cross-device information sharing method according to claim 2, further comprising:
after short-distance wireless communication connection with the target equipment is established, authorization prompt information is sent to the target equipment, and the authorization prompt information indicates the target equipment to start authorization for acquiring application information of an installed application program;
the acquiring the application information of the installed application program of the target device includes:
and after the target device starts authorization for acquiring the application information of the installed application program, acquiring the application information of the installed application program of the target device.
5. The method according to claim 2, wherein the obtaining application information of the installed application of the target device includes:
and after the short-distance wireless communication connection with the target equipment is established, receiving the application information of the self-installed application program sent by the target equipment.
6. The method according to any one of claims 1 to 5, wherein the establishing of the short-range wireless communication connection with the target device includes:
and establishing any one of a Bluetooth communication connection, a hotspot communication connection, an infrared communication connection and a WiFi communication connection with the target device.
7. The cross-device information sharing method according to claim 6, wherein the application information includes one or more of an application identification, an application name, and an application digital signature.
8. An inter-device information sharing apparatus, comprising:
the wireless communication connection establishing module is used for establishing short-distance wireless communication connection with the target equipment;
the application information acquisition module is used for acquiring the application information of the installed application program of the target equipment;
the sharing display module is used for selecting a target file to be shared, responding to the sharing operation of the target file, popping up and displaying an application list, wherein the application list comprises application icons corresponding to the application information;
and the file transmission module is used for transmitting the target file to a target application program corresponding to the target application icon in the target equipment when receiving the trigger operation of the target application icon in the application list.
9. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the cross-device information sharing method according to any one of claims 1 to 7.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the steps of the cross-device information sharing method according to any one of the claims 1 to 7 via executing the executable instructions.
CN202011496938.9A 2020-12-17 2020-12-17 Cross-device information sharing method, device, medium and electronic device Pending CN112463418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011496938.9A CN112463418A (en) 2020-12-17 2020-12-17 Cross-device information sharing method, device, medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011496938.9A CN112463418A (en) 2020-12-17 2020-12-17 Cross-device information sharing method, device, medium and electronic device

Publications (1)

Publication Number Publication Date
CN112463418A true CN112463418A (en) 2021-03-09

Family

ID=74803614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011496938.9A Pending CN112463418A (en) 2020-12-17 2020-12-17 Cross-device information sharing method, device, medium and electronic device

Country Status (1)

Country Link
CN (1) CN112463418A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176954A (en) * 2021-04-22 2021-07-27 Oppo广东移动通信有限公司 Application calling method and device, storage medium and electronic equipment
CN113885986A (en) * 2021-09-29 2022-01-04 北京搜狗科技发展有限公司 Data transmission method and device and electronic equipment
WO2022068578A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 File sharing method and electronic device
WO2023109607A1 (en) * 2021-12-13 2023-06-22 华为技术有限公司 Application interface cross-device display method, device, and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022068578A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 File sharing method and electronic device
CN113176954A (en) * 2021-04-22 2021-07-27 Oppo广东移动通信有限公司 Application calling method and device, storage medium and electronic equipment
WO2022222667A1 (en) * 2021-04-22 2022-10-27 Oppo广东移动通信有限公司 Methods and apparatuses for calling application program, storage medium, and electronic device
EP4318239A4 (en) * 2021-04-22 2024-08-28 Guangdong Oppo Mobile Telecommunications Corp Ltd Methods and apparatuses for calling application program, storage medium, and electronic device
CN113885986A (en) * 2021-09-29 2022-01-04 北京搜狗科技发展有限公司 Data transmission method and device and electronic equipment
WO2023109607A1 (en) * 2021-12-13 2023-06-22 华为技术有限公司 Application interface cross-device display method, device, and system

Similar Documents

Publication Publication Date Title
CN107908351B (en) Application interface display method and device and storage medium
CN112463418A (en) Cross-device information sharing method, device, medium and electronic device
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
US9807219B2 (en) Method and terminal for executing user instructions
EP2924552B1 (en) Method and mobile terminal for executing user instructions
EP3147802B1 (en) Method and apparatus for processing information
CN104679599A (en) Application program duplicating method and device
JP2016530818A (en) CALL METHOD, CALL DEVICE, CALL SYSTEM, PROGRAM, AND RECORDING MEDIUM
CN107239527A (en) web access method and device
CN109525652B (en) Information sharing method, device, equipment and storage medium
CN110413169A (en) A kind of information displaying method, device and medium
CN114741292A (en) Test script management method and device, electronic equipment and storage medium
CN105117115B (en) A kind of method and apparatus for showing electronic document
CN105101121B (en) A kind of method and device that information is sent
CN107885571B (en) Display page control method and device
CN106447747B (en) Image processing method and device
CN106919302B (en) Operation control method and device of mobile terminal
CN111368329B (en) Message display method and device, electronic equipment and storage medium
CN105376318A (en) File transmission method, device and system
JP2017520877A5 (en)
JP2017520877A (en) SEARCH METHOD, SEARCH DEVICE, PROGRAM, AND RECORDING MEDIUM
CN106506808B (en) Method and device for prompting communication message
US10812465B2 (en) Method for logging into account on mobile device, mobile device, and non-transitory computer readable storage medium
CN111859208A (en) Display method, display device and storage medium
CN105677406A (en) Application operating 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