CN113518143A - Interface input source switching method and device and electronic equipment - Google Patents

Interface input source switching method and device and electronic equipment Download PDF

Info

Publication number
CN113518143A
CN113518143A CN202110322385.3A CN202110322385A CN113518143A CN 113518143 A CN113518143 A CN 113518143A CN 202110322385 A CN202110322385 A CN 202110322385A CN 113518143 A CN113518143 A CN 113518143A
Authority
CN
China
Prior art keywords
interface
target
input source
image data
input
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.)
Granted
Application number
CN202110322385.3A
Other languages
Chinese (zh)
Other versions
CN113518143B (en
Inventor
罗浩天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110322385.3A priority Critical patent/CN113518143B/en
Publication of CN113518143A publication Critical patent/CN113518143A/en
Priority to PCT/CN2022/082490 priority patent/WO2022199614A1/en
Application granted granted Critical
Publication of CN113518143B publication Critical patent/CN113518143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an interface input source switching method and device and electronic equipment, belongs to the technical field of communication, and is used for solving the technical problem of single function caused by the fact that a data input source of an application in the electronic equipment is fixed. Specifically, the method comprises the following steps: receiving a first input of a user under the condition that a first interface of a first application is displayed; and responding to the first input, and switching the input source corresponding to the first interface into the interface image data of the target interface corresponding to the first input. The method and the device are applied to the interface content sharing process.

Description

Interface input source switching method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an interface input source switching method and device and electronic equipment.
Background
With the development of computer technology and communication technology, more and more functions are provided to applications installed in electronic devices. Generally, after an application is run on an electronic device, if a user wants to implement a function on an interface currently displayed by the application, the function is executed based on data input by a data input source corresponding to the interface. For example, taking the two-dimensional code identification as an example, when a user wants to identify the two-dimensional code through a two-dimensional code scanning interface, since the two-dimensional code scanning interface corresponds to image data acquired by a camera as an input source, the electronic device can scan an image through the camera, and identify the two-dimensional code in the image according to the image data scanned by the camera.
However, most applications in the electronic device usually use a fixed data input source, so that the functions that the applications can implement are single, and the human-computer interaction performance of the electronic device is poor.
Disclosure of Invention
The embodiment of the application aims to provide an interface input source switching method and device and electronic equipment, and the problem that due to the fact that a fixed data input source is used in part of applications in the electronic equipment, the function of the electronic equipment is single can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an interface input source switching method, which is applied to a first electronic device, and the method includes: receiving a first input under the condition that a first interface is displayed; responding to the first input, and switching an input source corresponding to a first interface into interface image data of a target interface; and the interface image data of the target interface is image data in the first electronic equipment except the image data in the gallery.
In a second aspect, an embodiment of the present application provides an apparatus for switching interface input sources, where the apparatus is a first electronic device, and includes: the receiving module is used for receiving a first input under the condition that a first interface is displayed; the switching module is used for responding to the first input received by the receiving module and switching the input source corresponding to the first interface into interface image data of a target interface; and the interface image data of the target interface is image data in the first electronic equipment except the image data in the gallery.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program stored on the memory and executable on the processor, and when the program is executed by the processor, the method according to the first aspect is implemented.
In a fourth aspect, the present application provides a readable storage medium, on which a program is stored, which when executed by a processor implements the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to run a program to implement the method according to the first aspect.
In a sixth aspect, the present application provides a computer program product stored on a non-volatile storage medium, the program product being executed by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, when the first electronic device displays the first interface, after receiving a first input of a user, an input source corresponding to the first interface is switched to interface image data of a target interface. Therefore, the input source corresponding to the first interface is switched to the interface content of the interface corresponding to different inputs, so that the first electronic device can realize more functions by combining different interface contents, the purpose of identifying the interface information of the electronic device across interfaces is realized, more requirements of users are met, and the man-machine interaction performance of the first electronic device is improved.
Drawings
Fig. 1 is a schematic flow chart of a method for switching interface input sources according to an embodiment of the present disclosure;
fig. 2 is a second schematic flowchart of a method for switching interface input sources according to an embodiment of the present disclosure;
fig. 3 is one of schematic interface diagrams of an application of an interface input source switching method according to an embodiment of the present application;
fig. 4 is a second schematic interface diagram of an application of the interface input source switching method according to the embodiment of the present application;
fig. 5 is a third schematic interface diagram of an application of an interface input source switching method according to an embodiment of the present application;
fig. 6 is a second schematic flowchart of a method for switching interface input sources according to an embodiment of the present application;
fig. 7 is a fourth schematic interface diagram of an application of the interface input source switching method according to the embodiment of the present application;
fig. 8 is a schematic structural diagram of an interface input source switching device according to an embodiment of the present disclosure;
fig. 9 is a second schematic structural diagram of an interface input source switching device according to an embodiment of the present application;
fig. 10 is a third schematic structural diagram of an interface input source switching device according to an embodiment of the present application;
fig. 11 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 12 is a second hardware schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The interface input source switching method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The technical scheme provided by the embodiment of the application is at least applied to a scene of realizing the application function across interfaces or a scene of realizing the application function across applications.
Take the scene of identifying the two-dimensional code across applications as an example. At present, part of applications in electronic equipment do not have a function of identifying a two-dimensional code, or do not have a function of retrieving a stored two-dimensional code image from an album, or a two-dimensional code in a certain application cannot be stored, so that the two-dimensional code cannot be identified across applications. For example, assuming that the application 2 does not have a function of identifying a two-dimensional code, when a user wants to identify a two-dimensional code B in an interface a of the application 2 through the application 1, a screenshot is required to obtain an interface screenshot containing the two-dimensional code B, then the screenshot is called from an album through the application 1, then the two-dimensional code identification function of the application 1 is started, the two-dimensional code B in the screenshot is identified, and thus an identification result of the two-dimensional code B is obtained. Meanwhile, the user is required to delete the screenshot in the photo album subsequently, so that the whole two-dimensional code identification process is complicated in steps, long in time consumption and poor in overall human-computer interaction performance.
In this embodiment of the application, when a user wants to identify a two-dimensional code B in an interface a of an application 2 through an application 1, a first interface of the application 1 is a two-dimensional code scanning interface, an input source corresponding to the two-dimensional code scanning interface is image data acquired by a camera, and the user can perform first input on the two-dimensional code scanning interface, so that an electronic device is triggered to switch the image data acquired by the camera of the input source corresponding to the two-dimensional code scanning interface into interface image data of the interface a, the interface content of the interface a is displayed, and then the two-dimensional code B in the interface a can be identified through a background or the application 1, and an identification result of the two-dimensional code B is obtained. Therefore, through the first input, the image data, which corresponds to the input source of the two-dimensional code scanning interface and is collected by the camera, is switched into the interface image data of the interface A, so that the function of directly identifying the two-dimensional code B of the interface A of the application 2 through the application 1 is realized, and the purpose of identifying the interface information of the electronic equipment by crossing applications by a user is met.
An embodiment of the present application provides an interface input source switching method, which is applied to a first electronic device, and as shown in fig. 1, the method may include steps 101 to 103 described below.
Step 101, the interface input source switching device receives a first input under the condition that a first interface is displayed.
In an embodiment of the present application, the first interface is an interface of a first application.
In one example, the first input is used for switching an input source corresponding to the first interface. Further, the first input may include: the user inputs touch input, or voice input, and other feasibility inputs to the first interface, which is not limited in the embodiments of the present application.
In one example, in a case that the first interface includes a first control, the first input is: a first input by a user to the first control. The first control can be arranged on the first interface in a floating mode.
In one example, where the first interface includes a text entry area, the first input may be an input to enter text.
And 102, responding to the first input by the interface input source switching device, and switching the input source corresponding to the first interface into interface image data of the target interface.
In an embodiment of the present application, the first interface may be: an encoded image scanning interface, or a session interface, etc. The session interface comprises a video session interface and a text session interface. It should be noted that the data input sources corresponding to different first interfaces may be the same or different. Generally, the input source of an interface is related to the interface content of the interface and the functions that can be implemented in the interface.
In this embodiment, the interface image data of the target interface may be image data of the first electronic device other than the image data in the gallery.
In this embodiment of the application, the target interface may be any history interface of the first application, may also be an application interface of another application, may also be an interface selected by a user, and may also be a screen real-time display interface.
In this embodiment of the present application, in response to a first input, the interface input source switching device switches an input source corresponding to a first interface to interface image data of a target interface corresponding to the first input, and displays the target interface.
In this embodiment of the application, if the target interface is an interface of a first application, the interface input source switching device may directly switch an input source corresponding to the first interface to interface image data of the first application; if the target interface is an interface of another application, the other application needs to be started (for example, background starting), interface content of the target interface is called, and then an input source corresponding to the first interface is switched to interface image data of the target interface under the condition that the first application is run.
Optionally, in this embodiment of the application, after receiving the first input, the interface input source switching device determines the target interface based on the first input, and then switches the input source corresponding to the first interface to the interface image data of the target interface.
In the interface input source switching method provided by the embodiment of the application, when the first electronic device displays the first interface of the first application, after the first input of the user is received, the input source corresponding to the first interface is switched to the interface image data of the target interface corresponding to the first input, and the target interface is displayed. Therefore, the input source corresponding to the first interface is switched to the interface content of the interface corresponding to different inputs, so that the first electronic device can realize more functions by combining different interface contents, the purpose of identifying the interface information of the electronic device across interfaces is realized, more requirements of users are met, and the man-machine interaction performance of the first electronic device is improved.
The scheme provided by the embodiment of the present application will be described below by taking different input sources as examples.
A first possible implementation:
in the implementation manner, the first interface is mainly a scene of a shooting preview interface of the first application. The input source corresponding to the first interface is image data collected by the camera. The shooting preview interface is an interface shot by a camera and displayed on a screen, and for example, the shooting preview interface is: and scanning an interface viewed on the screen or opening a camera to view the interface on the screen.
Generally, when identifying a code image on an interface of an electronic device, the code image in the current application is generally directly identified, or the code image to be identified is stored in an album, and then the corresponding code image is called from the album to perform scanning identification. However, if the current application does not support the identification of the encoded image, or the two-dimensional code image cannot be stored, or the application scanning the two-dimensional code does not support the selection of the stored image from the album, and the image on the interface of the same device cannot be scanned by calling the camera, the encoded image cannot be identified for use at present.
Illustratively, the first interface is used for code scanning identification, and the target interface includes any one of: the last interface, the interface selected by the user, displayed before the first interface is displayed containing the encoded image.
Illustratively, the target encoded image includes, but is not limited to: two-dimensional codes, bar codes, and the like.
For example, the interface selected by the user may be an interface selected by the user from a first application, or an interface selected by the user from other applications; the interface selected from the other applications may be an interface displayed before the first interface is displayed or an interface displayed after the first interface is displayed. The embodiment of the present application does not limit this.
For example, as shown in fig. 2, after the step 102, the scheme provided in the embodiment of the present application may further include the following step 201A:
step 201A, when the interface content of the target interface includes the target code image, the interface input source switching device scans and identifies the target code image in the interface content of the target interface to obtain the identification result of the target code image.
The embodiment of the present application does not limit the recognition of the target coded image.
It should be noted that, in the case where none of the interfaces displayed before the first interface is displayed contains a code image, the interface input source switching device may directly return to the previous interface of the code image scanning interface after receiving the first input, and then manually select, by the user, a target interface containing a code image that can be recognized by the first application.
Referring to fig. 3, the following takes a two-dimensional code as an example to describe the scheme provided in the embodiment of the present application, and specifically, the scheme provided in the embodiment of the present application may include the following contents:
the interface input source switching device displays a two-dimensional camera preview interface, after a user clicks a switching control in the two-dimensional camera preview interface, the interface input source switching device switches an image input source of a two-dimensional camera scanning interface into screen image data of electronic equipment from image data acquired by a camera, and closes the two-dimensional camera preview interface; and then, the interface input source switching device judges whether a two-dimension code interface is included in a historical interface before the two-dimension code camera preview interface is displayed, if so, the two-dimension code in the last interface including the two-dimension code in the historical interface is identified, and an identification result is obtained, otherwise, the previous interface of the two-dimension code camera preview interface is returned, and then the user manually selects the two-dimension code interface needing to be identified, identifies the two-dimension code in the two-dimension code interface, and obtains the identification result of the two-dimension code.
When the target interface includes a plurality of code images, the interface input source switching device recognizes one code image that is confirmed by the user among the plurality of code images.
For example, taking the encoded image as a two-dimensional code as an example, if the target interface includes a plurality of two-dimensional codes, the interface input source switching device displays the suspended two-dimensional code recognition frame in the target interface, and the user can manually adjust the suspended two-dimensional code recognition frame to be above the two-dimensional code to be recognized, and then the interface input source switching device scans and recognizes the two-dimensional code.
For example, in the process of identifying a two-dimensional code in another application interface across interfaces in the embodiment of the present application, as shown in fig. 4, when a user wants to identify a payment two-dimensional code 42 in a payment interface 41 in an application 1, since the application 1 does not have a two-dimensional code scanning function, referring to (a) in fig. 4, the user may open an application 2 having a two-dimensional code scanning function, and then trigger a "scan" function in the application 2. At this time, as shown in (b) in fig. 4, the two-dimensional code scanning interface 43 of the application 2 is displayed, where the two-dimensional code scanning interface 43 includes a "switching" control (i.e., the first control), and the user clicks the "switching" control, and triggers the electronic device to switch the input source (i.e., the image data acquired by the camera) of the two-dimensional code scanning interface 43 to the interface content of the interface 41, so that the electronic device displays the payment interface 41 in the application 1 (as shown in (c) in fig. 4), and directly identifies the payment two-dimensional code 42 in the payment interface 41 through the application 2, so as to obtain an identification result (as shown in (d) in fig. 4).
Therefore, the operation steps of a user are reduced, the coded image is more convenient to recognize, and the function of recognizing the coded image in other application interfaces across the interfaces is realized.
A second possible implementation:
the implementation mode mainly aims at a scene that the first interface is a video session interface of the first application, wherein the input source corresponding to the video session interface is image data acquired by a camera.
For example, the interface input source switching device may switch the image data acquired by the camera as the input source of the video session interface into the screen display data of the first electronic device after receiving the first input. At this time, the target interface is an interface displayed on the screen of the first electronic device, and the interface displayed on the screen of the first electronic device changes continuously along with the operation of the user. It should be noted that the interface content of the target interface sent by the interface input source switching device to the second electronic device may be an interface displayed on the screen of the first electronic device in real time after switching, or may be any interface displayed on the screen of the first electronic device after switching.
Example 1, as shown in fig. 5 (a), a device a displays a video session interface 31 of a video session between the device a and a device B, and the video session interface 31 includes a "toggle" hover control 32. If the user a wants to share the screen content during the video session, the user a may click the "switch" floating control 32 in the video session interface 31, and switch the image data acquired by the camera from the input source of the video session interface 31 to the screen display content of the device a (see (B) in fig. 5).
For example, as shown in fig. 6, after the step 102, the scheme provided in the embodiment of the present application may further include the following step 201B.
Step 201B, in the process of video session between the first electronic device and the second electronic device, the interface input source switching device sends the interface content of the target interface to the second electronic device.
And the interface content of the target interface is the interface content to be shared by the user.
Generally, an image input source of a video session interface is image data acquired by a camera, and because the embodiment of the application needs to meet the requirement of a user for sharing interface content in the video session process, an interface input source switching device switches the image input source of the video session interface and the image data acquired by the camera into interface image data of an interface to be shared by the user, so that in the video session process of first electronic equipment and second electronic equipment, the first electronic equipment can send the interface content of a target interface to the second electronic equipment, and thus, the requirement of the user for sharing the interface content in the video session process is met.
Illustratively, the interface input source switching device sends the interface content of the target interface to the second electronic device through video session windows of the first electronic device and the second electronic device. In this way, the content of the video session window is switched from the picture content (e.g., the character avatar) shot by the display camera to the interface content of the target interface.
For example, after the second electronic device receives the interface content of the target interface sent by the first electronic device, the second electronic device may directly display the interface content of the target interface, or may display the interface content of the target interface after the second electronic device confirms the display.
For example, after the video session interface is switched to the target interface, the first control may also be included in the target interface, so that the video session interface may be returned again after receiving the input of the user to the first control in the target interface.
Therefore, the same screen content can be conveniently shared by the users of the first electronic equipment and the second electronic equipment in the video session process.
A third possible implementation:
the implementation manner is mainly directed to a session interface of which a first interface is a first application, wherein an input source corresponding to the session interface is an input source of a target session between the first electronic device and the second electronic device.
For example, the switching the input source corresponding to the first interface to the interface image data of the target interface in response to the first input may include the following steps 301:
step 301, the interface input source switching device switches the input source corresponding to the first interface to the interface image data of the target interface when the target content is detected in the session interface.
Wherein, the target interface comprises: an interface associated with the target content, or an interface selected by the user.
Illustratively, the second electronic device may be one or more electronic devices.
Illustratively, the session interface may be a video session interface, or alternatively, a text session interface.
Illustratively, the target content is used to indicate the target interface.
Example 2, refer to the session interface of session 1 between user C and user D shown in fig. 7. When the electronic device detects that the session interface includes the sharing-type keyword (for example, "can let us see your shopping cart of shopping application 1" in the session interface in fig. 7), after the user confirms that the shopping cart interface image data of shopping application 1 is shared, the electronic device may automatically jump to shopping application 1, and switch the input source of session 1 to the interface image data of the shopping cart of shopping application 1, or may manually select shopping application 1 by the user, and further switch the input source of session 1 to the interface image data of the shopping cart of shopping application 1, and the input source of the session interface between the first electronic device and the second electronic device is switched to the interface image data of the shopping cart of shopping application 1. Therefore, the user does not need to capture and store the interface image of the shopping cart of the shopping application 1 first and then send the stored capture of the shopping cart through the session interface, and the man-machine interaction performance is improved.
Illustratively, in conjunction with step 301 above, after step 103, the following step 201C may be included:
step 201C, the interface input source switching device sends the object to be shared indicated by the target content to the second electronic device.
For example, the object to be shared may include at least one of the following: pictures, words, audio/video, text, files, screen content of the first electronic device, web pages, etc.
For example, when the interface input source switching device detects that the session interface includes the target content, the first electronic device pops up a dialog box so that the user determines the object to be shared indicated by the target content, and finally, the object to be shared that is confirmed by the user is shared to the second electronic device.
Illustratively, in connection with example 2, after user C transmits the interface image data of the shopping cart of shopping application 1 to the second electronic device of user D through the first electronic device of user C, user D may view the interface image data of the shopping cart of shopping application 1 of user C through the current conversation application. Therefore, the user can conveniently view the shared interface related to the target content in the conversation interface across the interface in the conversation process, and the user does not need to capture and store the interface image related to the target content in advance.
It should be noted that the target content can be recognized by voice or text; the target content may include preset keywords, such as: picture sharing, screen sharing, file sharing, text chat switching, voice chat switching, video chat switching and the like. The target interface may include a screenshot of a text chat interface between the first user and the second user (for a preset keyword when text chat is switched), or a screenshot of a voice chat interface (for a preset keyword when voice chat is switched), or a file interface of the first user (for a preset keyword when file sharing is switched), where the first user may be a participant corresponding to the session interface, and the second user may be another user except the participant corresponding to the session interface.
Illustratively, the interface input source switching device, in case of detecting that the video session interface contains the target content: the interface input source switching device may automatically switch the input source corresponding to the session interface (e.g., video session interface) to the interface image data of the target interface, or may switch the input source corresponding to the session interface (e.g., video session interface) to the interface image data of the target interface after receiving the input from the user of the first electronic device (i.e., after being confirmed by the user of the first electronic device).
It should be noted that, in the interface input source switching method provided in the embodiment of the present application, the execution main body may be a device, an electronic device, or a control module in the electronic device for executing the interface input source switching method. The embodiment of the present application describes an electronic device for implementing an interface input source switching method, by taking an example of an electronic device executing an interface input source switching method.
As shown in fig. 8, an embodiment of the present application provides an interface input source switching apparatus. The device includes: a receiving module 401 and a switching module 402, wherein:
the receiving module 401 is configured to receive a first input when the first interface is displayed.
A switching module 402, configured to switch, in response to the first input received by the receiving module 401, an input source corresponding to the first interface to interface image data of the target interface.
Optionally, the interface image data of the target interface is image data in the first electronic device other than the image data in the gallery.
Optionally, before the input source is switched, the input source corresponding to the first interface is image data acquired by a camera.
Optionally, the first interface is used for code scanning identification. Wherein the target interface is any one of: displaying the last interface containing the coded image before displaying the first interface; a user selected interface.
Optionally, with reference to fig. 8, as shown in fig. 9, the apparatus may further include: the module 404A is identified.
The identifying module 404A is configured to, when the interface content of the target interface includes the target code image, scan and identify the target code image in the interface content of the target interface to obtain an identification result of the target code image.
Optionally, the first interface is a video session interface.
The receiving module 401 is configured to switch the input source corresponding to the first interface to interface image data of the target interface when the target content is detected in the video session interface.
Wherein the target interface comprises: an interface associated with the target content, or an interface selected by a user.
Optionally, with reference to fig. 8, as shown in fig. 10, the apparatus may further include: a sending module 404B.
The sending module 404B sends the interface content of the target interface to the second electronic device in the process of the video session between the first electronic device and the second electronic device.
In the interface input source switching device provided by the embodiment of the application, when a first interface of a first application is displayed, after a first input of a user is received, an input source corresponding to the first interface is switched to interface image data of a target interface corresponding to the first input. Therefore, the input source corresponding to the first interface is switched to the interface content of the interface corresponding to different inputs, so that the first electronic device can realize more functions by combining different interface contents, the purpose of identifying the interface information of the electronic device across interfaces is realized, more requirements of users are met, and the man-machine interaction performance of the first electronic device is improved.
The interface input source switching device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. For 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 Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The interface input source switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The interface input source switching device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and is not described here again to avoid repetition.
Optionally, as shown in fig. 11, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the interface input source switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 12 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 not repeated here.
Wherein, the processor 1010 is configured to: under the condition that the first electronic equipment has a first interface, receiving a first input, and switching an input source corresponding to the first interface into interface image data of a target interface; and the interface image data of the target interface is image data in the first electronic equipment except the image data in the gallery.
In the embodiment of the application, the electronic device can switch the input source corresponding to the first interface into the interface image data of the target interface when receiving the first input of the first interface by the user, and based on the scheme, the first electronic device can combine different interface contents to realize more functions by switching the input source corresponding to the first interface into the interface contents of the interfaces corresponding to different inputs, so that the purpose of identifying the interface information of the electronic device across interfaces is realized, more requirements of the user are met, and the man-machine interaction performance of the first electronic device is improved.
It should be understood that, in the embodiment of the present application, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 1002, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic apparatus 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 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 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The interface unit 1008 is an interface for connecting an external device to the electronic apparatus 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1008 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and the external devices.
In addition, the electronic device 1000 includes some functional modules that are not shown, and are not described in detail herein.
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 interface input source switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
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 interface input source switching method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
The embodiment of the present application provides a computer program product, where the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement each process of the interface input source switching method embodiment, and the same technical effect can be achieved, and details are not described here to avoid repetition.
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 (14)

1. An interface input source switching method is applied to a first electronic device, and comprises the following steps:
receiving a first input under the condition that a first interface is displayed;
responding to the first input, and switching an input source corresponding to the first interface into interface image data of a target interface;
the interface image data of the target interface is as follows: image data in the first electronic device other than the image data in the gallery.
2. The method of claim 1, wherein the input source corresponding to the first interface before switching the input source is image data acquired by a camera.
3. The method of claim 2, wherein the first interface is used for code scanning identification, and the target interface comprises any one of:
displaying a last interface containing a coded image before displaying the first interface;
a user selected interface.
4. The method of claim 3, wherein, in the case that the target coded image is included in the interface content of the target interface,
after the input source corresponding to the first interface is switched to the interface image data of the target interface, the method includes:
and scanning and identifying the target coding image in the interface content of the target interface to obtain an identification result of the target coding image.
5. The method of claim 2, wherein the first interface is a video session interface;
the responding to the first input, and switching the input source corresponding to the first interface into the interface image data of the target interface, includes:
in response to the first input, under the condition that target content is detected in the video session interface, switching an input source corresponding to the first interface into interface image data of a target interface;
wherein the target interface comprises: an interface associated with the target content, or an interface selected by a user.
6. The method of claim 2 or 5, wherein the first interface is a video session interface;
after the input source corresponding to the first interface is switched to the interface image data of the target interface, the method further includes:
and in the process of video conversation between the first electronic equipment and the second electronic equipment, sending the interface content of the target interface to the second electronic equipment.
7. An interface input source switching apparatus, comprising:
the receiving module is used for receiving a first input under the condition that a first interface is displayed;
the switching module is used for responding to the first input received by the receiving module and switching the input source corresponding to the first interface into interface image data of a target interface;
and the interface image data of the target interface is image data in the first electronic equipment except the image data in the gallery.
8. The device of claim 7, wherein the input source corresponding to the first interface before switching the input source is image data collected by a camera.
9. The apparatus of claim 8, wherein the first interface is configured to perform code scanning identification, and the target interface comprises any one of:
displaying a last interface containing a coded image before displaying the first interface;
a user selected interface.
10. The apparatus of claim 9, further comprising: an identification module;
the identification module is used for scanning and identifying the target coding image in the interface content of the target interface under the condition that the interface content of the target interface comprises the target coding image, so as to obtain the identification result of the target coding image.
11. The apparatus of claim 8, wherein the first interface is a video session interface;
the receiving module is used for switching the input source corresponding to the first interface into interface image data of a target interface under the condition that the target content is detected in the video session interface;
wherein the target interface comprises: an interface associated with the target content, or an interface selected by a user.
12. The apparatus of claim 8 or 11, wherein the first interface is a video session interface; the device further comprises: a sending module;
the sending module is used for sending the interface content of the target interface to the second electronic equipment in the video session process of the first electronic equipment and the second electronic equipment.
13. An electronic device comprising a processor, a memory, and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the interface input source switching method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that a program is stored thereon, which when executed by a processor implements the steps of interface input source switching according to any one of claims 1 to 6.
CN202110322385.3A 2021-03-25 2021-03-25 Interface input source switching method and device, electronic equipment and storage medium Active CN113518143B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110322385.3A CN113518143B (en) 2021-03-25 2021-03-25 Interface input source switching method and device, electronic equipment and storage medium
PCT/CN2022/082490 WO2022199614A1 (en) 2021-03-25 2022-03-23 Interface input source switching method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110322385.3A CN113518143B (en) 2021-03-25 2021-03-25 Interface input source switching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113518143A true CN113518143A (en) 2021-10-19
CN113518143B CN113518143B (en) 2023-08-22

Family

ID=78062102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110322385.3A Active CN113518143B (en) 2021-03-25 2021-03-25 Interface input source switching method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113518143B (en)
WO (1) WO2022199614A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022199614A1 (en) * 2021-03-25 2022-09-29 维沃移动通信有限公司 Interface input source switching method and apparatus, and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360071A (en) * 2008-09-16 2009-02-04 腾讯科技(深圳)有限公司 Method and system for multimedia resource sharing based on instant chat
CN102880849A (en) * 2012-09-18 2013-01-16 腾讯科技(深圳)有限公司 Two-dimension code recognition method and device
CN103218595A (en) * 2013-03-29 2013-07-24 深圳市金立通信设备有限公司 Terminal and method for recognizing two-dimensional codes
CN103716227A (en) * 2013-12-12 2014-04-09 北京京东尚科信息技术有限公司 Method and device for performing information interaction in instant messenger
CN104200185A (en) * 2014-08-04 2014-12-10 惠州Tcl移动通信有限公司 Method for identifying two-dimensional code and terminal
CN104834554A (en) * 2014-04-02 2015-08-12 腾讯科技(北京)有限公司 Information interaction method and device
US20160196588A1 (en) * 2015-01-06 2016-07-07 Cho Yi Lin Interacting method
CN106845311A (en) * 2016-11-09 2017-06-13 北京鼎九信息工程研究院有限公司 A kind of reading method and device of figure Quick Response Code
CN112069358A (en) * 2020-08-18 2020-12-11 北京达佳互联信息技术有限公司 Information recommendation method and device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874817A (en) * 2016-07-27 2017-06-20 阿里巴巴集团控股有限公司 Two-dimensional code identification method, equipment and mobile terminal
CN113518143B (en) * 2021-03-25 2023-08-22 维沃移动通信有限公司 Interface input source switching method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360071A (en) * 2008-09-16 2009-02-04 腾讯科技(深圳)有限公司 Method and system for multimedia resource sharing based on instant chat
CN102880849A (en) * 2012-09-18 2013-01-16 腾讯科技(深圳)有限公司 Two-dimension code recognition method and device
CN103218595A (en) * 2013-03-29 2013-07-24 深圳市金立通信设备有限公司 Terminal and method for recognizing two-dimensional codes
CN103716227A (en) * 2013-12-12 2014-04-09 北京京东尚科信息技术有限公司 Method and device for performing information interaction in instant messenger
CN104834554A (en) * 2014-04-02 2015-08-12 腾讯科技(北京)有限公司 Information interaction method and device
CN104200185A (en) * 2014-08-04 2014-12-10 惠州Tcl移动通信有限公司 Method for identifying two-dimensional code and terminal
US20160196588A1 (en) * 2015-01-06 2016-07-07 Cho Yi Lin Interacting method
CN106845311A (en) * 2016-11-09 2017-06-13 北京鼎九信息工程研究院有限公司 A kind of reading method and device of figure Quick Response Code
CN112069358A (en) * 2020-08-18 2020-12-11 北京达佳互联信息技术有限公司 Information recommendation method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022199614A1 (en) * 2021-03-25 2022-09-29 维沃移动通信有限公司 Interface input source switching method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2022199614A1 (en) 2022-09-29
CN113518143B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN113360238A (en) Message processing method and device, electronic equipment and storage medium
CN110674662B (en) Scanning method and terminal equipment
CN108710458B (en) Split screen control method and terminal equipment
CN112486386A (en) Screen projection method, screen projection device, electronic equipment and readable storage medium
CN111984115A (en) Message sending method and device and electronic equipment
CN112306607A (en) Screenshot method and device, electronic equipment and readable storage medium
CN110865745A (en) Screen capturing method and terminal equipment
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN113285866B (en) Information sending method and device and electronic equipment
CN113504859A (en) Transmission method and device
CN112711366A (en) Image generation method and device and electronic equipment
CN112269509B (en) Information processing method and device and electronic equipment
CN113721876A (en) Screen projection processing method and related equipment
WO2022199614A1 (en) Interface input source switching method and apparatus, and electronic device
CN111447598B (en) Interaction method and display device
CN112181351A (en) Voice input method and device and electronic equipment
CN112235412A (en) Message processing method and device
CN115412634B (en) Message display method and device
CN112199141A (en) Message processing method, terminal and computer readable storage medium
CN112383666B (en) Content sending method and device and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment
CN113946456A (en) Information sharing method and information sharing device
CN113360038A (en) Application function searching method and device and electronic equipment
CN113253896A (en) Interface interaction method, mobile terminal and storage medium
JP2018503149A (en) Information input method, apparatus, program, and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant