CN111901896A - Information sharing method, information sharing device, electronic equipment and storage medium - Google Patents

Information sharing method, information sharing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111901896A
CN111901896A CN202010677346.0A CN202010677346A CN111901896A CN 111901896 A CN111901896 A CN 111901896A CN 202010677346 A CN202010677346 A CN 202010677346A CN 111901896 A CN111901896 A CN 111901896A
Authority
CN
China
Prior art keywords
target data
electronic equipment
electronic device
identifier
identifiable
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
CN202010677346.0A
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.)
Vivo Mobile Communication 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 CN202010677346.0A priority Critical patent/CN111901896A/en
Publication of CN111901896A publication Critical patent/CN111901896A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides an information sharing method, an information sharing device, an electronic device and a storage medium, which belong to the technical field of communication, and the method comprises the following steps: under the condition of displaying target data, triggering image acquisition to acquire a scene image; acquiring an identifiable identifier corresponding to the target data under the condition that the second electronic equipment exists in the scene image; and displaying the recognizable mark so that the second electronic equipment acquires the target data according to the recognizable mark. According to the scheme, the information acquisition user only needs to place the second electronic equipment in the shooting range of the first electronic equipment of the information sharing user, so that the first electronic equipment can display the recognizable identification of the target data being displayed for the information acquisition user to scan through the second electronic equipment to acquire the target data, and the user can more efficiently share the information.

Description

Information sharing method, information sharing device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information sharing method, an information sharing apparatus, an electronic device, and a storage medium.
Background
With the increasing popularity of portable electronic devices, the service content that users can obtain through portable electronic devices is becoming richer.
In the related art, a user typically obtains various content information through an application installed in a portable electronic device, such as: at this time, if the users need to share the information content being watched, a sharing link needs to be sent to the other side by means of a third-party application program for the other side to click and view.
In the mode, because the two users needing information sharing mutually cooperate on the third-party application program, the operation is complex, and the efficiency of information sharing among the users is low.
Disclosure of Invention
The embodiment of the application provides an information sharing method, an information sharing device, electronic equipment and a storage medium, and can solve the problems that in the related art, users need to cooperate with each other to perform complicated operations to complete information sharing, and the information sharing efficiency is low.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an information sharing method, which is applied to a first electronic device, and the method includes:
acquiring a scene image under the condition of displaying target data;
under the condition that the scene image comprises the second electronic equipment, acquiring an identifiable identifier corresponding to the target data;
and displaying the identifiable identification so that the second electronic equipment acquires the target data according to the identifiable identification.
In a second aspect, an embodiment of the present application provides another information sharing method, which is applied to a second electronic device, and the method includes:
receiving a first input of a user;
displaying a preview interface in response to the first input;
and under the condition that the preview interface comprises the recognizable mark, acquiring target data according to the recognizable mark.
In a third aspect, an embodiment of the present application provides an information sharing apparatus, which is applied to a first electronic device, and the apparatus includes:
the trigger module is used for acquiring a scene image under the condition of displaying target data;
the generating module is used for acquiring the identifiable identifier corresponding to the target data under the condition that the scene image is confirmed to comprise the second electronic equipment;
and the display module is used for displaying the identifiable identifier so that the second electronic equipment acquires the target data according to the identifiable identifier.
In a fourth aspect, an embodiment of the present application provides another information sharing apparatus, which is applied to a second electronic device, and the apparatus includes:
the first receiving module is used for receiving a first input of a user;
the acquisition module is used for responding to the first input and displaying a preview interface;
and the acquisition module is used for acquiring the target data according to the recognizable identifier under the condition that the preview interface comprises the recognizable identifier.
In a fifth 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, where the program or instructions, when executed by the processor, implement the steps of the information sharing method according to the first aspect and the second aspect.
In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and the program or instructions, when executed by a processor, implement the steps of the information sharing method according to the first aspect and the second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement the information sharing method according to the first aspect and the second aspect.
According to the information sharing method, the information sharing device, the electronic equipment and the storage medium, a user only needs to place the second electronic equipment in a shooting range of the first electronic equipment of the information sharing user, and the first electronic equipment can display the identifiable identification corresponding to the target data on the display screen, so that the information acquisition user can scan through the second electronic equipment to acquire the target data.
Drawings
Fig. 1 is a flowchart illustrating steps of an information sharing method according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating steps of another information sharing method according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating steps of another information sharing method according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating steps of another information sharing method according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating an information sharing apparatus according to an embodiment of the present disclosure;
fig. 6 is a block diagram illustrating another two information sharing apparatuses according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 shows a hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
An information sharing method, an information sharing apparatus, an electronic device, and a storage medium according to embodiments of the present application are described in detail below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present application provides an information sharing method applied to a first electronic device, where the method includes:
step 101, acquiring a scene image under the condition of displaying the target data.
In this embodiment, the first electronic device is an electronic device having functions of data transmission, data processing, data transmission, and the like, and includes a camera module for capturing images, such as a smart phone, a tablet computer, and a notebook computer. The target data refers to contents included in various displayed application program interfaces of the first electronic device, such as: videos played by the video application program interface, music played by the music application program interface, web pages displayed by the browser application program interface, reports displayed by the information application program and the like. The scene image is an image obtained by shooting a current scene by the first electronic device through the carried camera shooting component, the camera in the camera shooting component may be a front-facing camera or a rear-facing camera, or both, and the scene image can be determined according to actual requirements, and is not limited here.
In practical application, when a user watches target data through first electronic equipment, a camera shooting assembly on the first electronic equipment automatically acquires an image of a current scene so as to confirm whether second electronic equipment needing information sharing exists in a scene image. Certainly, the function user on the first electronic device can be turned on or turned off according to actual needs, so that redundant data processing resources are prevented from being consumed when information sharing is not needed. Of course, the image capturing module may also be started every preset time period, where the preset time period may be a default, such as two seconds, or may be set by a user, and this is not specifically limited in this embodiment of the application.
And 102, acquiring an identifiable identifier corresponding to the target data under the condition that the scene image is confirmed to include the second electronic device.
In this embodiment of the application, the second electronic device is similar to the first electronic device, and reference may be specifically made to the description of the first electronic device in step 101, which is not described herein again. The recognizable identifier corresponding to the target data is an identifier that can be recognized by the second electronic device and obtains a data address of the target data, and may specifically be a coded identifier, for example: the two-dimensional code, the barcode or other coding identifiers with identifiable characteristics may also be directly a data address of the target data, and may be determined specifically according to actual requirements, which is not specifically limited herein.
In this embodiment of the application, optionally, the holder of the first electronic device is an information sharing user, that is, a user who needs to share the target data in the first electronic device with the second electronic device, and the holder of the second electronic device is an information obtaining user who needs to obtain the target data being displayed by the first electronic device through the second electronic device. The information acquisition user only needs to place the second electronic equipment in the shooting range of the first electronic equipment of the information sharing user, and the first electronic equipment can automatically identify the second electronic equipment through an image identification technology, so that the identifiable identification can be acquired according to the displayed target data under the condition of the second electronic equipment of the information acquisition user.
Step 103, displaying the recognizable identifier, so that the second electronic device obtains the target data according to the recognizable identifier.
In the embodiment of the application, the first electronic device provides the second electronic device with the recognizable identification corresponding to the display target data through the camera shooting component. Through the scheme of this application embodiment, if need carry out information sharing between the user, only need the information sharing user to face the second electronic equipment with the camera of its first electronic equipment, perhaps the information acquisition user places the shooting scope of first electronic equipment with its second electronic equipment, can trigger first electronic equipment automatic display show the corresponding distinguishable sign of target data that shows, then the second electronic equipment accessible subassembly shoots the display screen of first electronic equipment, thereby acquiree and discern distinguishable sign, thereby obtain target data, this kind of mode simple operation, can make the user carry out information sharing through its electronic equipment high efficiency.
For example: the user B sees that the user A watches a certain movie through the first electronic device, and at the moment, the user B wants the user A to share the movie to the user B, the user A can face the second electronic device of the user B through the front camera or the rear camera of the first electronic device of the user A, so that the first electronic device of the user A can display the identifiable identifier corresponding to the movie, and the user B can download the movie by identifying the identifiable identifier through the second electronic device of the user B, or open an application program interface or a webpage where the movie is located to watch the movie.
The first electronic device can display the recognizable mark in a preset area of a display screen of the first electronic device, the preset area can be the upper side and the lower side, the left side and the right side of the display screen or other areas which do not affect the target data watched by the information sharing user, the preset area can also be a display area which is set by the user according to the self requirement, the display area can be determined specifically according to the actual requirement, and the display area is not limited.
According to the information sharing method, the information acquisition user only needs to place the second electronic device in the shooting range of the first electronic device of the information sharing user, and the recognizable identification of the target data displayed on the display screen of the first electronic device can be used for the information acquisition user to scan through the second electronic device so as to acquire the target data.
Referring to fig. 2, an embodiment of the present application provides another information sharing method, which is applied to a first electronic device, and the method includes:
step 201, at least one scene image in a preset time period is collected.
In this embodiment of the application, the preset time period refers to a duration of each image acquisition cycle of the first electronic device, and may be 1s, 2s, 5s, and the like, which may be determined according to actual requirements, and is not limited herein. The current scene is a scene that can be shot by the camera component of the first electronic equipment at the current time point.
Under the condition that the first electronic device displays the target data, in order to avoid the situation that the electronic device which does not need to perform information sharing flashes from the range of the scene which can be shot by the first electronic device, the first electronic device mistakenly judges the electronic device as the second electronic device, and false recognition is generated, the current scene needs to be periodically acquired according to a certain preset time period.
Step 202, determining that the plurality of scene images include a target scene image of the second electronic device.
In this embodiment of the application, the device identification model may be obtained by pre-training a sample device image, and may be specifically implemented by using a conventional image identification network algorithm, which is not specifically limited herein. The first electronic device inputs a plurality of scene images in a preset time period into a pre-trained device recognition model for recognition, and accordingly determines that N target scene images of the second electronic device exist, wherein N is greater than or equal to 0.
Step 203, confirming that the second electronic device is included in the scene images under the condition that the number of the target scene images is larger than the number threshold.
In the embodiment of the application, in order to avoid that the electronic device which does not need to share information is mistakenly identified, the number of the second electronic devices is larger than the number threshold value according to the fact that the second electronic devices exist in the acquired scene image. The number threshold needs to be less than or equal to the number of the acquired scene images, so as to determine that the second electronic device in the scene images needs to share information. For example: the method comprises the steps that 10 scene images are collected by first electronic equipment within 5s, 2 scene images are collected per second, wherein the same electronic equipment, namely 6 target scene images exist in the scene images collected within 1s-3s, at the moment, if the number threshold is 5, second electronic equipment needing information sharing can be determined to exist in the scene images, and if the number threshold is 7, second electronic equipment needing information sharing does not exist in the scene images.
Through the scheme of this embodiment, if the second electronic equipment in the current scene needs to carry out information sharing, can trigger first electronic equipment to carry out information sharing through placing second electronic equipment to the shooting within range of first electronic equipment for a period of time, avoided the problem of misidentification.
Step 204, obtaining the identifiable identifier corresponding to the target data, including: and under the condition that the type of the target data is a local data source type, generating an identifiable identifier corresponding to the target data according to the equipment identifier of the first electronic equipment and the first data address of the target data.
In this embodiment of the application, the device identifier refers to a unique identifier of the first electronic device, the first electronic device can be queried through the device identifier, and the local data source type refers to a data type of the target data stored on the first electronic device. In the case that the target data in the first electronic device is data stored locally in the first electronic device, the information contained in the recognizable identifier at least includes the device identifier of the first electronic device and the first data address of the target data on the first electronic device, so that the second electronic device can generate an information acquisition request for the target data according to the device identifier and the first data address.
According to the data address of the locally stored target data and the equipment identifier of the first electronic equipment, the identifiable identifier is generated, so that a user can conveniently share the locally stored target data.
Step 205, acquiring the identifiable identifier corresponding to the target data, including: and under the condition that the target data is of a different place data source type, acquiring a second data address of the target data, and acquiring the identifiable identifier corresponding to the target data according to the second data address.
In this embodiment of the present application, the offsite data source type refers to a data type in which the target data is not locally stored in the first electronic device, for example, the target data is stored in a server storage device. If the target data is of a displaced data source type, i.e., not stored on the first electronic device, the first electronic device has a second data address for downloading the target data from the displaced storage device.
According to the embodiment of the application, the recognizable identification is generated according to the second data address corresponding to the target data stored on the line, so that the target data on the line can be conveniently shared among the electronic devices
Optionally, the recognizable identifier at least includes: any one of a two-dimensional code and a barcode.
The recognizable mark in the embodiment of the application is displayed through displaying the code mark such as a two-dimensional code and a bar code, and therefore the electronic equipment can shoot and recognize the recognizable mark to acquire target data, and information sharing is conveniently carried out.
Step 206, displaying the recognizable identifier, so that the second electronic device acquires the target data according to the recognizable identifier.
This step can refer to the detailed description of step 103, which is not repeated herein.
And step 207, updating the recognizable mark according to a preset period.
In the embodiment of the present application, the preset period refers to an update period of the recognizable identifier. In order to prevent the target data from being acquired by the user not allowed by the information sharing user due to malicious propagation of the recognizable identifier, the recognizable identifier may be updated according to a preset period. Specifically, when the target data is of the local data source type, the first data address of the target data may be changed, so as to regenerate the identifiable identifier corresponding to the first data address, so as to update the identifiable identifier; in the case that the target data is of the type of the data source of the different place, the different place storage device may be requested to provide the second data address again, so as to regenerate the identifiable identifier corresponding to the second data address, and update the identifiable identifier. In this way, the information acquiring user needs to capture the effectively recognizable identification through the second electronic device of the user by photographing the first electronic device in real time.
According to the embodiment of the application, the recognizable mark is updated according to the preset period, so that the condition that the recognizable mark is spread maliciously is avoided.
And step 208, receiving an information acquisition request sent by the second electronic device according to the identifiable identifier when the type of the target data is a local data source type.
In this embodiment of the application, if the target data is stored locally in the first electronic device, the second electronic device sends an information acquisition request to the first electronic device after recognizing the identifiable identifier corresponding to the target data.
Step 209, sending the target data to the second electronic device according to a target communication mode.
Wherein the target communication mode at least comprises: any one of a wireless network connection, a bluetooth connection, a mobile network connection.
In this embodiment of the present application, the target communication mode refers to a communication mode in which the first electronic device and the second electronic device perform information sharing, for example: wireless network connection, bluetooth connection, mobile network connection, etc. can be used for data transmission. The wireless network connection may be a hotspot set by the first electronic device or the second electronic device for connection with the peer device, or may be through the same wireless network connected to a third party. The first electronic device locally inquires corresponding target data by acquiring the first data address contained in the information acquisition request, and sends the target data to the second electronic device in a communication mode that the first electronic device and the second electronic device are connected.
According to the embodiment of the application, the second electronic equipment can share information through multiple communication modes, and the flexibility of information sharing is improved.
According to the information sharing method, the information acquisition user only needs to place the second electronic device in the shooting range of the first electronic device of the information sharing user, so that the recognizable identification of the target data displayed on the display screen of the first electronic device can be used for the information acquisition user to scan through the second electronic device to acquire the target data, the operation of the whole process is simple, and the information sharing can be performed more efficiently among the users. In addition, the first electronic equipment can display the locally stored or the allopatric stored corresponding target data, so that users can share the locally stored and allopatric stored information conveniently and quickly, information sharing of multiple communication modes is supported, and flexibility of data sharing is improved.
Referring to fig. 3, an embodiment of the present application provides another information sharing method applied to a second electronic device, where the method includes:
step 301, a first input of a user is received.
In this embodiment, the first input may be a key input, a touch screen input, a gesture input, a voice input, and the like of the second electronic device by the user.
Step 302, responding to the first input, displaying a preview interface.
In the embodiment of the application, the browsing interface refers to an image captured by the second electronic device through the camera component of the second electronic device. Under the condition that the first electronic device displays the identifiable identification, the information acquisition user can face the display screen of the second electronic device through the camera of the second electronic device so as to acquire the identifiable identification displayed on the display screen of the first electronic device in the browsing interface.
And 303, under the condition that the preview interface comprises an identifiable identifier, acquiring target data according to the identifiable identifier.
In the embodiment of the application, when the recognizable mark is recognized from the browsing interface, the second electronic device automatically acquires the data address of the target data according to the recognizable mark, so as to acquire the target data according to the data address.
According to the information sharing method, the information acquisition user only needs to place the second electronic device in the shooting range of the first electronic device of the information sharing user, and the recognizable identification of the target data displayed on the display screen of the first electronic device can be used for the information acquisition user to scan through the second electronic device to acquire the target data.
Referring to fig. 4, an embodiment of the present application provides still another information sharing method applied to a second electronic device, where the method includes:
step 401, a first input of a user is received.
This step can refer to the detailed description of step 301, and is not described herein again.
Step 402, responding to the first input, and displaying a preview interface.
This step can refer to the detailed description of step 302, and is not repeated here.
And 403, acquiring a second data address according to the identifiable identifier when the browsing interface contains the identifiable identifier and the target data is of a different data source type.
In the embodiment of the application, when the target data is stored on line, that is, stored in the third-party storage device, the second electronic device downloads the target data from the third-party storage device according to the second data address indicated by the recognizable identifier.
Step 404, obtaining the target data from the server corresponding to the second data address.
In the embodiment of the present application, the server refers to a third-party storage device in which target data is stored.
According to the data sharing method and device, the data address of the target data is indicated through the recognizable identification of the first electronic device, so that the second electronic device can recognize and download the target data from the line, and users can share the data stored in the line more conveniently.
And 405, acquiring a first data address and an equipment identifier according to the identifiable identifier under the condition that the browsing interface contains the identifiable identifier and the type of the target data is the type of the local data source of the first electronic equipment.
In this embodiment of the application, if the target data is stored locally in the first electronic device, the recognizable identifier indicates that there are the device identifier of the first electronic device and the first data address of the target data in the first electronic device.
Step 406, sending an information acquisition request carrying the first data address to the first electronic device corresponding to the device identifier.
In the embodiment of the application, the second electronic device queries the first electronic device where the target data is located according to the device identifier, and sends an information acquisition request containing the first data address to the first electronic device.
Step 407, receiving the target data sent by the first electronic device according to the first data address.
In the embodiment of the application, after receiving an information acquisition request sent by second electronic equipment, first electronic equipment locally queries target data corresponding to a first data address, so as to return the target data to the second electronic equipment.
According to the method and the device, the first electronic equipment displays the recognizable identification indicating the equipment identification and the first data address for the second electronic equipment to recognize, so that the second electronic equipment can acquire target data from the first electronic equipment, and a user can conveniently share information of local data.
Optionally, the first input includes: any one of key input, touch screen input, gesture input, and voice input.
In this embodiment, the first input may be a user clicking a shortcut key of his portable electronic device, for example: AI (Artificial Intelligence) keys of a mobile phone or a tablet computer, hot keys of a notebook computer and the like can be provided with keys with function triggering functions; or touch screen input with preset sliding patterns, such as drawing circles, triangles and the like on the screen; or the user performs a preset gesture action on the electronic device, for example: swinging hands, drawing circles, etc.; or a preset statement of the user controls the electronic device, for example, "start information sharing", "start camera scanning", and the like. The specific form of the first input may be determined according to actual requirements, and is not limited herein.
According to the information sharing method provided by the embodiment of the application, the information acquisition user can enable the recognizable identification of the target data displayed on the display screen of the first electronic device to be scanned by the information acquisition user through the second electronic device to acquire the target data only by placing the second electronic device in the shooting range of the first electronic device of the information sharing user, the operation of the whole process is simple, and the information sharing can be performed more efficiently among the users. And the first electronic equipment of the scheme can display the corresponding target data stored locally or in different places, so that the users can share the information stored locally and in different places conveniently.
It should be noted that, in the information sharing method provided in the embodiment of the present application, the execution main body may be an information sharing device, or a control module in the information sharing device, configured to execute the loaded information sharing method. In the embodiment of the present application, an information sharing method executed by an information sharing apparatus is taken as an example to describe the information sharing method provided in the embodiment of the present application.
Referring to fig. 5, an embodiment of the present application further provides a block diagram of an information sharing apparatus 50, which is applied to a first electronic device, where the method includes:
the triggering module 501 is configured to trigger image acquisition and obtain a scene image under the condition that the target content is displayed.
A generating module 502, configured to acquire an identifiable identifier corresponding to the target content when it is determined that the second electronic device exists in the scene image.
A display module 503, configured to display the identifiable identifier, so that the second electronic device obtains the target content according to the identifiable identifier.
Optionally, the generating module 502 is further configured to:
under the condition that the type of the target data is a local data source type, generating an identifiable identifier corresponding to the target data according to the equipment identifier of the first electronic equipment and the first data address of the target data;
and under the condition that the target data is of a different place data source type, acquiring a second data address of the target data, and acquiring the identifiable identifier corresponding to the target data according to the second data address.
Optionally, the generating module 502 further includes:
receiving an information acquisition request sent by the second electronic equipment according to the identifiable identifier under the condition that the type of the target data is a local data source type;
sending the target data to the second electronic equipment according to a target communication mode;
wherein the target communication mode at least comprises: any one of a wireless network connection, a bluetooth connection, a mobile network connection.
Optionally, the triggering module 501 is further configured to:
collecting at least one scene image in a preset time period;
the confirming that the scene image includes the second electronic device includes:
determining that the plurality of scene images include a target scene image of the second electronic device;
and confirming that the second electronic equipment is included in the scene images under the condition that the number of the target scene images is larger than the number threshold.
Optionally, the recognizable identifier at least includes: any one of a two-dimensional code and a barcode.
Optionally, the display module 503 is further configured to:
and updating the identifiable identification according to a preset period.
According to the information sharing device provided by the embodiment of the application, the information acquisition user only needs to place the second electronic equipment in the shooting range of the first electronic equipment of the information sharing user, so that the recognizable identification of the target data displayed on the display screen of the first electronic equipment is used for the information acquisition user to scan through the second electronic equipment so as to acquire the target data, the operation of the whole process is simple, and the information sharing can be performed more efficiently among the users.
Referring to fig. 6, an embodiment of the present application further provides a block diagram of another information sharing apparatus 60, which is applied to a second electronic device, and the apparatus includes:
the first receiving module 601 is configured to receive a first input of a user.
And the acquisition module 602 is configured to trigger image acquisition in response to the first input, and acquire a browsing interface.
The obtaining module 603 is configured to, when the browsing interface includes an identifiable identifier, obtain target content according to the identifiable identifier.
Optionally, the obtaining module 603 is further configured to:
under the condition that the type of the target data is the type of a local data source of the first electronic equipment, acquiring a first data address and an equipment identifier according to the identifiable identifier;
sending an information acquisition request carrying the first data address to first electronic equipment corresponding to the equipment identifier;
and receiving target data sent by the first electronic equipment according to the first data address.
Optionally, the obtaining module 603 is further configured to:
under the condition that the target data is of a different place data source type, acquiring a second data address according to the identifiable identifier;
and acquiring target data from the server corresponding to the second data address.
According to the information sharing device, the information acquisition user only needs to place the second electronic equipment in the shooting range of the first electronic equipment of the information sharing user, and the recognizable identification of the target data displayed on the display screen of the first electronic equipment can be used for the information acquisition user to scan through the second electronic equipment so as to acquire the target data.
The information sharing device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a kiosk, and the like, and the embodiments of the present application are not particularly limited.
The information 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 information sharing device provided in the embodiment of the present application can implement each process implemented by the information sharing method in the method embodiments of fig. 1 to fig. 4, and is not repeated here to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the above-mentioned embodiment of the image obtaining method, and can achieve the same technical effect, and no further description is provided 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 implementing an embodiment of the present application.
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 acquire a scene image in a case where the target data is displayed; and acquiring an identifiable identifier corresponding to the target data under the condition that the scene image comprises the second electronic equipment.
A display unit 806, configured to display the identifiable identifier, so that the second electronic device obtains the target data according to the identifiable identifier.
An input unit 807 for receiving a first input by a user;
a display unit 806, further configured to display a preview interface in response to the first input;
the processor 810 is further configured to, if the preview interface includes a recognizable identifier, obtain target data according to the recognizable identifier.
According to the scheme, the information acquisition user only needs to place the second electronic equipment in the shooting range of the first electronic equipment of the information sharing user, so that the first electronic equipment can display the recognizable identification of the target data being displayed for the information acquisition user to scan through the second electronic equipment to acquire the target data, and the user can more efficiently share the information.
Optionally, the processor 810 is further configured to, when the type of the target data is a local data source type, generate an identifiable identifier corresponding to the target data according to the device identifier of the first electronic device and the first data address of the target data;
and under the condition that the type of the target data is a different-place data source type, acquiring a second data address of the target data, and acquiring an identifiable identifier corresponding to the target data according to the second data address.
Optionally, the interface unit 808 is further configured to receive an information acquisition request sent by the second electronic device according to the identifiable identifier, when the type of the target data is a local data source type;
sending the target data to the second electronic equipment according to a target communication mode;
wherein the target communication mode at least comprises: any one of a wireless network connection, a bluetooth connection, a mobile network connection.
Optionally, the input unit 804 is configured to acquire at least one scene image within a preset time period;
a processor 810, further configured to:
determining that the plurality of scene images include a target scene image of the second electronic device;
and confirming that the second electronic equipment is included in the scene images under the condition that the number of the target scene images is larger than the number threshold.
Optionally, the recognizable identifier at least includes: any one of a two-dimensional code and a barcode.
Optionally, the processor 810 is further configured to update the identifiable identifier according to a preset period.
Optionally, the processor 810 is further configured to:
under the condition that the type of the target data is the type of a local data source of the first electronic equipment, acquiring a first data address and an equipment identifier according to the identifiable identifier;
sending an information acquisition request carrying the first data address to first electronic equipment corresponding to the equipment identifier;
and receiving target data sent by the first electronic equipment according to the first data address.
Optionally, the processor 810 is further configured to:
under the condition that the type of the target data is a different-place data source type, acquiring a second data address according to the identifiable identifier;
and acquiring target data from the server corresponding to the second data address.
The first electronic equipment can display the corresponding target data stored locally or in different places, so that users can share the information stored locally and in different places conveniently, information sharing of multiple communication modes is supported, and flexibility of data sharing is improved.
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 embodiment of the image obtaining method, 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-mentioned embodiment of the image acquisition method, 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 (11)

1. An information sharing method is applied to a first electronic device, and comprises the following steps:
acquiring a scene image under the condition of displaying target data;
under the condition that the scene image comprises the second electronic equipment, acquiring an identifiable identifier corresponding to the target data;
and displaying the identifiable identification so that the second electronic equipment acquires the target data according to the identifiable identification.
2. The method of claim 1, wherein obtaining the recognizable identifier corresponding to the target data comprises:
under the condition that the type of the target data is a local data source type, generating an identifiable identifier corresponding to the target data according to the equipment identifier of the first electronic equipment and the first data address of the target data;
and under the condition that the type of the target data is a different-place data source type, acquiring a second data address of the target data, and acquiring an identifiable identifier corresponding to the target data according to the second data address.
3. The method of claim 2, further comprising, after said displaying said identifiable indicia:
receiving an information acquisition request sent by the second electronic equipment according to the identifiable identifier under the condition that the type of the target data is a local data source type;
sending the target data to the second electronic equipment according to a target communication mode;
wherein the target communication mode at least comprises: any one of a wireless network connection, a bluetooth connection, a mobile network connection.
4. The method of claim 1, wherein said capturing a scene image comprises:
collecting at least one scene image in a preset time period;
the confirming that the scene image includes the second electronic device includes:
determining that the plurality of scene images include a target scene image of the second electronic device;
and confirming that the second electronic equipment is included in the scene images under the condition that the number of the target scene images is larger than the number threshold.
5. The method of claim 1, wherein the identifiable identity comprises at least: any one of a two-dimensional code and a barcode.
6. The method of claim 1, further comprising, after said displaying said identifiable indicia:
and updating the identifiable identification according to a preset period.
7. An information sharing method is applied to a second electronic device, and comprises the following steps:
receiving a first input of a user;
displaying a preview interface in response to the first input;
and under the condition that the preview interface comprises the recognizable mark, acquiring target data according to the recognizable mark.
8. The method of claim 7, wherein obtaining target data based on the identifiable identifier comprises:
under the condition that the type of the target data is the type of a local data source of the first electronic equipment, acquiring a first data address and an equipment identifier according to the identifiable identifier;
sending an information acquisition request carrying the first data address to first electronic equipment corresponding to the equipment identifier;
and receiving target data sent by the first electronic equipment according to the first data address.
9. The method of claim 7, wherein obtaining target data based on the identifiable identifier comprises:
under the condition that the type of the target data is a different-place data source type, acquiring a second data address according to the identifiable identifier;
and acquiring target data from the server corresponding to the second data address.
10. An information sharing apparatus applied to a first electronic device, the apparatus comprising:
the trigger module is used for acquiring a scene image under the condition of displaying target data;
the generating module is used for acquiring the identifiable identifier corresponding to the target data under the condition that the scene image is confirmed to comprise the second electronic equipment;
and the display module is used for displaying the identifiable identifier so that the second electronic equipment acquires the target data according to the identifiable identifier.
11. An information sharing apparatus applied to a second electronic device, the apparatus comprising:
the first receiving module is used for receiving a first input of a user;
the acquisition module is used for responding to the first input and displaying a preview interface;
and the acquisition module is used for acquiring the target data according to the recognizable identifier under the condition that the preview interface comprises the recognizable identifier.
CN202010677346.0A 2020-07-14 2020-07-14 Information sharing method, information sharing device, electronic equipment and storage medium Pending CN111901896A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010677346.0A CN111901896A (en) 2020-07-14 2020-07-14 Information sharing method, information sharing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010677346.0A CN111901896A (en) 2020-07-14 2020-07-14 Information sharing method, information sharing device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111901896A true CN111901896A (en) 2020-11-06

Family

ID=73192709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010677346.0A Pending CN111901896A (en) 2020-07-14 2020-07-14 Information sharing method, information sharing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111901896A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672057A (en) * 2020-12-25 2021-04-16 维沃移动通信有限公司 Shooting method and device
CN113194024A (en) * 2021-03-22 2021-07-30 维沃移动通信(杭州)有限公司 Information display method and device and electronic equipment
CN113268211A (en) * 2021-05-13 2021-08-17 维沃移动通信(杭州)有限公司 Image acquisition method and device, electronic equipment and storage medium
CN113973287A (en) * 2021-10-18 2022-01-25 珠海格力电器股份有限公司 Information acquisition and transmission method, device, equipment and storage medium
CN114338897A (en) * 2021-12-16 2022-04-12 杭州逗酷软件科技有限公司 Object sharing method and device, electronic equipment and storage medium
WO2022152174A1 (en) * 2021-01-18 2022-07-21 华为技术有限公司 Screen projection method and electronic device
CN115052184A (en) * 2022-06-02 2022-09-13 北京达佳互联信息技术有限公司 Content sharing method and device, electronic equipment, storage medium and program product
CN115129198A (en) * 2022-06-13 2022-09-30 中移互联网有限公司 Data acquisition method and device, electronic equipment and storage medium
CN115793967A (en) * 2022-11-04 2023-03-14 拉卡拉支付股份有限公司 Data storage method, data storage device, electronic device, storage medium, and program product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252428A (en) * 2013-06-28 2014-12-31 华为终端有限公司 Equipment identifying method and equipment
CN104869144A (en) * 2014-02-26 2015-08-26 联想(北京)有限公司 Information sharing method and electronic equipment
CN106202308A (en) * 2016-07-01 2016-12-07 乐视控股(北京)有限公司 A kind of method of Information Sharing and electronic equipment
CN107169042A (en) * 2017-04-24 2017-09-15 北京小米移动软件有限公司 A kind of method, device and the computer-readable recording medium of shared picture
CN108289057A (en) * 2017-12-22 2018-07-17 北京达佳互联信息技术有限公司 Data sharing method, system and mobile terminal
CN108495276A (en) * 2018-02-28 2018-09-04 维沃移动通信有限公司 A kind of sharing method and device of digital business card
CN109451343A (en) * 2018-11-20 2019-03-08 广州酷狗计算机科技有限公司 Video sharing method, apparatus, terminal and storage medium
CN109992732A (en) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 Information sharing method, device, electronic equipment and storage medium
CN111209072A (en) * 2020-01-07 2020-05-29 维沃移动通信有限公司 Application sharing method, first electronic device and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252428A (en) * 2013-06-28 2014-12-31 华为终端有限公司 Equipment identifying method and equipment
CN104869144A (en) * 2014-02-26 2015-08-26 联想(北京)有限公司 Information sharing method and electronic equipment
CN106202308A (en) * 2016-07-01 2016-12-07 乐视控股(北京)有限公司 A kind of method of Information Sharing and electronic equipment
CN107169042A (en) * 2017-04-24 2017-09-15 北京小米移动软件有限公司 A kind of method, device and the computer-readable recording medium of shared picture
CN108289057A (en) * 2017-12-22 2018-07-17 北京达佳互联信息技术有限公司 Data sharing method, system and mobile terminal
CN108495276A (en) * 2018-02-28 2018-09-04 维沃移动通信有限公司 A kind of sharing method and device of digital business card
CN109451343A (en) * 2018-11-20 2019-03-08 广州酷狗计算机科技有限公司 Video sharing method, apparatus, terminal and storage medium
CN109992732A (en) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 Information sharing method, device, electronic equipment and storage medium
CN111209072A (en) * 2020-01-07 2020-05-29 维沃移动通信有限公司 Application sharing method, first electronic device and readable storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672057B (en) * 2020-12-25 2022-07-15 维沃移动通信有限公司 Shooting method and device
CN112672057A (en) * 2020-12-25 2021-04-16 维沃移动通信有限公司 Shooting method and device
WO2022152174A1 (en) * 2021-01-18 2022-07-21 华为技术有限公司 Screen projection method and electronic device
CN113194024A (en) * 2021-03-22 2021-07-30 维沃移动通信(杭州)有限公司 Information display method and device and electronic equipment
CN113268211A (en) * 2021-05-13 2021-08-17 维沃移动通信(杭州)有限公司 Image acquisition method and device, electronic equipment and storage medium
CN113973287A (en) * 2021-10-18 2022-01-25 珠海格力电器股份有限公司 Information acquisition and transmission method, device, equipment and storage medium
CN113973287B (en) * 2021-10-18 2023-10-10 珠海格力电器股份有限公司 Information acquisition and transmission method, device, equipment and storage medium
CN114338897A (en) * 2021-12-16 2022-04-12 杭州逗酷软件科技有限公司 Object sharing method and device, electronic equipment and storage medium
WO2023109895A1 (en) * 2021-12-16 2023-06-22 杭州逗酷软件科技有限公司 Object sharing method and apparatus, electronic device, and storage medium
CN114338897B (en) * 2021-12-16 2024-01-16 杭州逗酷软件科技有限公司 Method and device for sharing objects, electronic equipment and storage medium
CN115052184A (en) * 2022-06-02 2022-09-13 北京达佳互联信息技术有限公司 Content sharing method and device, electronic equipment, storage medium and program product
CN115129198A (en) * 2022-06-13 2022-09-30 中移互联网有限公司 Data acquisition method and device, electronic equipment and storage medium
CN115129198B (en) * 2022-06-13 2023-10-27 中移互联网有限公司 Data acquisition method and device, electronic equipment and storage medium
CN115793967A (en) * 2022-11-04 2023-03-14 拉卡拉支付股份有限公司 Data storage method, data storage device, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN111901896A (en) Information sharing method, information sharing device, electronic equipment and storage medium
CN111601066B (en) Information acquisition method and device, electronic equipment and storage medium
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
CN112532885B (en) Anti-shake method and device and electronic equipment
CN112291475B (en) Photographing method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN114025092A (en) Shooting control display method and device, electronic equipment and medium
CN113676395A (en) Information processing method, related device and readable storage medium
CN112486387A (en) Application program control method and device
CN112286611A (en) Icon display method and device and electronic equipment
CN111897474A (en) File processing method and electronic equipment
CN114466140B (en) Image shooting method and device
CN113805997B (en) Information display method, information display device, electronic equipment and storage medium
CN113709300B (en) Display method and device
CN113268179B (en) Session message processing method, device, equipment and storage medium
CN113868269A (en) Screenshot method and device, electronic equipment and readable storage medium
CN113794833A (en) Shooting method and device and electronic equipment
CN113542599A (en) Image shooting method and device
CN112084151A (en) File processing method and device and electronic equipment
CN112486650A (en) Operation path switching method and device and electronic equipment
CN113691729B (en) Image processing method and device
CN113780026B (en) Graphic code identification method, graphic code identification device, electronic equipment and storage medium
CN112416230B (en) Object processing method and device
CN112989077B (en) Expression object management method and device
CN113037618B (en) Image sharing 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201106

RJ01 Rejection of invention patent application after publication