CN117331464A - Display method, display device, electronic equipment and readable storage medium - Google Patents

Display method, display device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117331464A
CN117331464A CN202311302516.7A CN202311302516A CN117331464A CN 117331464 A CN117331464 A CN 117331464A CN 202311302516 A CN202311302516 A CN 202311302516A CN 117331464 A CN117331464 A CN 117331464A
Authority
CN
China
Prior art keywords
electronic device
input
program
data
control
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
CN202311302516.7A
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 CN202311302516.7A priority Critical patent/CN117331464A/en
Publication of CN117331464A publication Critical patent/CN117331464A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a display method, a display device, electronic equipment and a readable storage medium, and belongs to the technical field of electronics. The method comprises the following steps: receiving a first input to a first control; responsive to the first input, determining a first program corresponding to the first control; acquiring data of the first program of the second electronic equipment under the condition that the second electronic equipment is connected with the first electronic equipment; displaying the data of the first program.

Description

Display method, display device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a display method, a display device, electronic equipment and a readable storage medium.
Background
At present, with the development of electronic technology, electronic devices have become an indispensable tool in life of people, for example, life, work, entertainment of people, and the like, without assistance of the electronic devices.
Often, people use a plurality of electronic devices, such as one electronic device for use in life and one electronic device for use in operation. Therefore, in practical applications, the user often has to operate back and forth in both devices. For example, a private account number is logged into the chat software of one electronic device, a working account number is logged into the chat software of the other electronic device, and a user frequently views chat messages in both electronic devices.
As can be seen, in the prior art, a user operates back and forth between a plurality of devices, resulting in cumbersome user operation.
Disclosure of Invention
The embodiment of the application aims to provide a display method which can solve the problem that a user is complicated to operate due to the fact that the user operates a plurality of devices back and forth.
In a first aspect, an embodiment of the present application provides a display method, which is applied to a first electronic device, where the method includes: receiving a first input to a first control; responsive to the first input, determining a first program corresponding to the first control; acquiring data of the first program of the second electronic equipment under the condition that the second electronic equipment is connected with the first electronic equipment; displaying the data of the first program.
In a second aspect, an embodiment of the present application provides a display apparatus, applied to a first electronic device, where the apparatus includes: the first receiving module is used for receiving a first input of a first control; a determining module, configured to determine, in response to the first input, a first program corresponding to the first control; an acquisition module, configured to acquire data of the first program of a second electronic device when the second electronic device is connected to the first electronic device; and the first display module is used for displaying the data of the first program.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In this way, in the embodiment of the application, based on the first electronic device and the second electronic device that are connected by data, the user performs the first input on the first control at the first electronic device, and the first electronic device responds to the first input and obtains the data of the same program, namely, the first program, from the second electronic device based on the first program corresponding to the first control determined at the first electronic device, so that the data of the first program is displayed at the first electronic device. It can be seen that, according to the embodiment of the application, for a program, a user can freely switch the program data in a plurality of electronic devices in one electronic device to view, so that the user does not need to operate back and forth among the plurality of electronic devices, and the user operation is simplified.
Drawings
FIG. 1 is a flow chart of a display method of an embodiment of the present application;
FIG. 2 is one of the display schematic diagrams of the electronic device of the embodiment of the present application;
FIG. 3 is a second schematic diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 4 is a third schematic illustration of a display of an electronic device according to an embodiment of the present application;
FIG. 5 is a fourth schematic illustration of a display of an electronic device according to an embodiment of the present application;
fig. 6 is a block diagram of a display device of an embodiment of the present application;
fig. 7 is one of the hardware structural diagrams of the electronic device according to the embodiment of the present application;
fig. 8 is a second schematic diagram of a hardware structure of the electronic device according to the embodiment of the present application.
Detailed Description
Technical solutions of embodiments of the present application will be clearly described below with reference to the accompanying drawings of embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The display method provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a display method according to an embodiment of the present application, where the method is applied to a first electronic device, and the method includes:
step 110: a first input to a first control is received.
The first input includes a touch input made by a user on a screen, and is not limited to click, slide, drag, and other inputs. The first input may also be a blank input of the user, such as a gesture action, a facial action, etc., and further includes an input of the user to a physical key on the device, not limited to a press, etc. Moreover, the first input comprises one or more inputs, wherein the plurality of inputs may be continuous or time-spaced.
In this step, the first input is for a user to operate a first control of the first electronic device to trigger display of data of a first program of the other electronic device at the first electronic device.
The first control corresponds to the first program and may be an icon of the first program.
For example, referring to fig. 2, the user presses the icon 201 of the "info" program for a long time, displays the popup 202, displays "whether to switch to another device application" in the popup 202, and clicks the "ok" option 203.
Step 120: in response to the first input, a first program corresponding to the first control is determined.
In this step, it is determined that the user is to trigger a first program to switch the display by a first input to the first control.
Step 130: and under the condition that the second electronic device is connected with the first electronic device, acquiring data of a first program of the second electronic device.
Optionally, the first electronic device and the second electronic device are connected through bluetooth data; the first electronic device and the second electronic device are in data connection through wireless network communication.
Optionally, the first electronic device and the second electronic device are the same type of device, such as a mobile phone; optionally, the first electronic device and the second electronic device are different types of devices, such as one is a mobile phone device and one is a tablet computer.
The display method provided in this embodiment is described by taking the first electronic device and the second electronic device as examples, so as to be used for describing that the same program data is rapidly switched among a plurality of devices, and in more embodiments, this embodiment is applicable to switching among a plurality of devices, such as the first electronic device, the second electronic device, the third electronic device, and the like.
The first program is installed in the first electronic device and the second electronic device, so that the second electronic device which can be transmitted by data and is installed with the first program can be successfully identified.
In this step, the first electronic device may be caused to acquire data of the first program of the second electronic device based on the data being transferred between the first electronic device and the second electronic device.
Optionally, the data of the first program includes system data and user data. For example, the system data includes data in the first program that is not user modifiable, and the user data includes data in the first program that is user modifiable.
Step 140: data of the first program is displayed.
In this step, the first program is displayed, but the data in the first program is acquired from the second electronic device.
The application scenario is that a user logs in a work account number in a chat program of a mobile phone for processing things in work, and logs in a private account number in a chat program of a tablet computer for processing things in life. When the user wants to view the working chat message by using the tablet personal computer, the user can directly switch the chat program of the mobile phone at the tablet personal computer to view without picking up the mobile phone.
In this way, in the embodiment of the application, based on the first electronic device and the second electronic device that are connected by data, the user performs the first input on the first control at the first electronic device, and the first electronic device responds to the first input and obtains the data of the same program, namely, the first program, from the second electronic device based on the first program corresponding to the first control determined at the first electronic device, so that the data of the first program is displayed at the first electronic device. It can be seen that, according to the embodiment of the application, for a program, a user can freely switch the program data in a plurality of electronic devices in one electronic device to view, so that the user does not need to operate back and forth among the plurality of electronic devices, and the user operation is simplified.
In the flow of the display method according to another embodiment of the present application, step 130 includes:
substep A1: and sending a first request to the second electronic device, wherein the first request carries first identity information of the first electronic device.
The first request is used for requesting the second electronic device to acquire the data of the first program.
In this embodiment, the first request carries first identity information of the first electronic device.
Optionally, the first identity information includes at least one of biometric information and password information entered in the first electronic device.
The biometric information may be facial feature information, fingerprint feature information, or the like.
Substep A2: data of a first program transmitted by the second electronic device based on the first request is received.
And the second electronic equipment sends the data of the first program to the first electronic equipment under the condition that the first identity information is matched with the second identity information of the second electronic equipment.
In the step, the second electronic device receives the first identity information while receiving the first request, so that the second electronic device compares the first identity information with the second identity information of the local terminal device.
Optionally, the second identity information includes at least one of biometric information and password information entered in the second electronic device.
Further, the second electronic device compares the first identity information with the second identity information, if the first identity information and the second identity information are matched, the first electronic device and the second electronic device are considered to be devices of the same person, and the second electronic device can trust the first electronic device, so that data of the first program are sent to the first electronic device based on the first request.
In this embodiment, before data is transmitted between the first electronic device and the second electronic device, whether the first electronic device and the second electronic device are trusted is detected, and only if the first electronic device and the second electronic device are trusted, the data is transmitted between the first electronic device and the second electronic device, so that security of user data is ensured.
In a display method of another embodiment of the present application, a first control is used to indicate a first application.
In this embodiment, the first control is used to indicate the first application, and optionally, the first control is an icon of the first application, such as an application icon in the desktop interface shown in fig. 2; the first control may also be a control in an interface of the first application, such as "login" option 301 in the application interface shown in fig. 3.
In the application scenario of the embodiment, the first electronic device and the second electronic device are both provided with the first application, the first application logs in first account information in the first electronic device, the first application logs in second account information in the second electronic device, and the first account information is different from the second account information.
In the flow of the present embodiment, step 140 includes:
substep B1: and displaying the interface of the first application in a first area according to the interface data of the first application in the second electronic device, wherein the size of the first area is matched with the size of the interface of the first application of the second electronic device.
In this embodiment, when the first electronic device displays the data of the first application in the second electronic device, the display includes two portions, which are interface data and user data, respectively.
The first electronic device (such as a tablet computer) and the second electronic device (such as a mobile phone) are used as different types of devices for explanation, the layout of the interface displayed by the tablet computer by the first application is different from that of the interface displayed by the mobile phone by the first application, so that the interface data are also different, and the first electronic device needs to acquire the interface data of the first application in the second electronic device so as to recover the interface layout, the interface style and the like of the first application in the second electronic device in the first electronic device.
Further, an interface of the first application of the second electronic device is displayed in the first area, and the size of the first area is matched with the size of the interface of the first application of the second electronic device.
Wherein, the interpretation of the matching here includes but is not limited to: the aspect ratio of the region is the same as that of the interface, the length and width of the region are the same as those of the interface, and the length and width directions of the region are the same as those of the interface.
For example, when the tablet computer is in the horizontal screen state, the user triggers the interface for displaying the first application in the mobile phone on the tablet computer, and the mobile phone is in the vertical screen state currently, so that by adjusting the size of the first area, the following can be realized: referring to fig. 4, an interface 402 of the first application of the mobile phone is displayed in the tablet computer 401 in the landscape state, and the interface 402 of the first application of the mobile phone is still an interface of the mobile phone in the portrait state.
Substep B2: and displaying the content on the interface of the first area according to the user data of the first application on the second electronic device.
For this portion of user data, two sub-portions may be included, data stored in the cloud portion (associated with the login account) and local data (data generated when the application is used without the login account). The cloud data can also be directly synchronized to the first electronic device for display; and for the local data, the second electronic device transmits the local data to the first electronic device and displays the local data. In addition, when the second electronic device transmits the user data to the first electronic device, the data on the existing storage path is not covered, and as the storage path of the local data of the same application is the same, a suffix (for example, II) can be added behind the path to distinguish.
Optionally, content may be displayed on the interface of the first area according to user data of the first application on the first electronic device. The first electronic device can display the first account number according to the interface data of the first application in the second electronic device, and the logged-in account number is the account number in the first electronic device, so that the first account number is different from the second electronic device. Thus, application interfaces for logging in different accounts can be displayed in different terminals in the same layout.
Further, when the first application of the second electronic device is switched to the first electronic device for display, user data generated during the display period can be stored in the first electronic device, and when the first application is switched back to the second electronic device for display, the user data is synchronized to the second electronic device.
Optionally, in this embodiment, the data of the first program displayed in step 140 is a home page of the first application, or a page currently displayed by the first application in the second electronic device.
In this embodiment, a user triggers, by performing a first input on a first control, displaying a first application of a second electronic device on a first electronic device, where the first control is used to indicate the first application, and in a display scheme, the content such as an interface style and user data of the first application in the second electronic device may be restored, so that overall switching between the user data and the interface data is implemented, thereby helping the user to quickly switch to the same application of other devices, and further keeping the display styles of other devices, and conforming to the operation habit of the user.
In a display method of another embodiment of the present application, the first control is used to indicate the first function, and the second electronic device includes the second control, and the second control is used to indicate the first function.
In this embodiment, the first control and the second control are used to indicate the same function, and in different electronic devices, the display shapes of the indication controls of the same function are the same, but the display size information may not be the same, for example, the functions such as communication in a tablet computer are weaker, so the size of the display such as the "search" control is larger to highlight the non-communication function; the communication in the mobile phone is important, so that the size of the displayed search control is small, and the embodiment provides an adaptive switching display scheme for the situation.
In the flow of the present embodiment, step 140 includes:
substep C1: and displaying the first control according to the display size information of the second control.
In the step, the first electronic device obtains the display size information of the second control, and uses the display size information as the display size information of the first control to display the first control.
Optionally, the display size information includes a length value of each side length based on a display shape of the second control.
Optionally, the display shapes of the indication control of the first function are the same in the first electronic device and the second electronic device, so the embodiment proposes a method for adjusting the display size information.
For example, referring to fig. 5, the first control 501 is used to indicate the search function, the display graphic of the first control 501 is a strip, and the display size information of the first control 501 in the tablet computer is different from the display size information of the first control in the mobile phone, so that when the user triggers the second control (used to indicate the search function) in the mobile phone to be displayed in the tablet computer, the display size information of the first control can be adjusted to be the same as the display size information of the second control.
In this embodiment, the user triggers the second control in the second electronic device to be displayed in the first electronic device, where the functions indicated by the first control and the second control are the same, but the display size information of the first control and the display size information of the second control are different, so that the first control in the first electronic device can restore the display size information of the second control. Therefore, according to the embodiment, the display style of the functional control on other electronic equipment is reserved on the basis of helping a user to quickly switch to the same functional control of other electronic equipment, and the operation habit of the user is met.
In more embodiments of the present application, the same functional control of different electronic devices is switched, and the local switching and the overall switching are respectively realized in combination with the switching of the same application interface of different electronic devices, so as to meet different requirements of users.
In the flow of the display method according to another embodiment of the present application, after step 140, the method further includes:
step D1: a second input is received.
The second input includes touch input made by the user on the screen, and is not limited to click, slide, drag and other inputs. The second input may also be a blank input of the user, such as a gesture action, a facial action, etc., and further includes an input of the user to a physical key on the device, not limited to a press, etc. Moreover, the second input comprises one or more inputs, wherein the plurality of inputs may be continuous or time-spaced.
In this step, the second input is for a user to operate at a first program of the first electronic device.
For example, after the first electronic device displays the interface of the first application of the second electronic device, the user performs an operation on the interface of the first application; for another example, after the first electronic device displays the search control of the second electronic device, the user searches for content in the search control.
Step D2: and transmitting first input information to the second electronic device in response to the second input, wherein the first input information comprises an input type of the second input and an input position of the second input.
In this step, although the first program is installed in the first electronic device and the second electronic device, the hardware specification parameters of different devices are inconsistent, for example, the tablet computer does not support making a call, and a time of flight (tof) sensor not installed on the mobile phone is installed on the tablet computer, so that response data generated by the first electronic device and the second electronic device when responding to the same input mode may be different.
Therefore, in this step, after the first electronic device displays the first program of the second electronic device, if the user performs the second input in the first program, the first electronic device transmits the second input back to the second electronic device in the form of the first input information. The first input information may include an input type, an input location, for example, the first input information includes: click on a position at some coordinates of the main page of the first program.
Step D3: and displaying the response data under the condition that the second electronic device triggers the input position of the second input to generate the response data through the input type of the second input.
In this step, the second electronic device enters the first program in the background under the condition of receiving the first input information, finds the input position of the second input, and executes the same input type, so that the second electronic device responds to the second input, and further, the second electronic device transmits the data responded in the first program to the first electronic device.
And displaying the response data under the condition that the first electronic device receives the response data.
In this step, the first electronic device displays the response data generated by the second electronic device.
Optionally, in this embodiment, after the first electronic device receives the second input, it is detected whether the function triggered by the second input is the same as the function of the second electronic device, specifically, whether the function involves the same hardware of the two electronic devices, and if the detection results are different, the purpose of restoring the display result of the second electronic device is achieved by calling the response result of the second electronic device to display in the first electronic device.
Optionally, in this embodiment, after receiving the second input, the first electronic device detects whether the function triggered by the second input needs to return data, and if so, invokes the response result of the second electronic device to display in the first electronic device, so as to achieve the purpose of highly restoring the display result of the second electronic device.
In this embodiment, in consideration of the difference in hardware between the first electronic device and the second electronic device, when the first electronic device displays the data of the first program of the second electronic device, if the user performs the second input on the first electronic device, the response data of the second electronic device is called to display in the first electronic device, so that the display result of the second electronic device can be highly restored in the first electronic device, and the operation habit of the user is satisfied.
In the display method of another embodiment of the present application, after receiving the second input, if it is detected that the function triggered by the second input does not need to return data or the function triggered by the second input is the same, the first electronic device directly responds to the second input.
For example, a music playing program of the second electronic device is displayed on the first electronic device, and when the user clicks the "play" control, the first electronic device directly controls the playing.
In a display method of another embodiment of the present application, the first input is used to adjust first display size information of the first control to second display size information of the third control on the second electronic device.
The first control and the third control are used for indicating the first program.
In this embodiment, the first electronic device is provided with a first control, where the first control is used to indicate the first program; the second electronic device is provided with third controls which are used for indicating the first program.
The first display size information is used for representing the size of the graph presented by the first control, and the second display size information is used for representing the size of the graph presented by the third control. The first program indicated based on the first control and the third control is the same, and thus the graphics presented by the first control and the third control are the same.
For example, the first control and the third control are both used for indicating the map application, the first electronic device is a tablet computer, the second electronic device is a mobile phone, the map application icon in the tablet computer is larger than the map application icon in the mobile phone, the user reduces the map application icon to the size of the map application icon of the mobile phone through a reduced gesture in the tablet computer, and at this time, popup display is "whether to switch to another device application? ". Or when the user performs the first input on the map application icon, a plurality of size information display options can be displayed, and the user selects the size information option of the mobile phone map application icon, so that the map application icon is reduced to the size of the mobile phone map application icon.
The subsequent operation can be triggered by adjusting the first display size of the first control in the first electronic device to the second display size of the third control in the second electronic device, so that the user needs to know the second display size of the third control in the second electronic device, and the operation is safer.
When the first display size of the first control in the first electronic device is adjusted, if the adjusted size is different from the second display size, the operation is not responded, and prompt information is displayed.
In this embodiment, a visual and intuitive interaction manner is provided, and a user can manually adjust the size of a current control according to the size of the same control in the device to be switched, so that the data of a program indicated by the same control in the device to be switched can be successfully triggered to be displayed in the current device, and the method is simple to operate, interesting and safer.
In the application, the first electronic device and the second electronic device can both implement the display method provided by the application.
In summary, an objective of the present application is to provide a method for fast switching programs under multi-device interconnection. In the application, the quick switching program can be triggered at the positions of the desktop application icon, the in-application control, the desktop control and the like, so that the same program data can be mutually transmitted between the devices, and the data transmission is realized based on the same biological recognition or system password, thereby being safe and reliable; in addition, the data transmission is realized on the basis of establishing data connection between the devices, so that the safety of the data transmission is further improved.
According to the display method provided by the embodiment of the application, the execution subject can be a display device. In the embodiment of the present application, a display device is described by taking a display device executing a display method as an example.
Fig. 6 shows a block diagram of a display apparatus according to an embodiment of the present application, the apparatus being applied to a first electronic device, the apparatus comprising:
a first receiving module 10 for receiving a first input to a first control;
a determining module 20 for determining a first program corresponding to the first control in response to the first input;
an acquiring module 30, configured to acquire data of a first program of the second electronic device when the second electronic device is connected to the first electronic device;
the first display module 40 is configured to display data of the first program.
In this way, in the embodiment of the application, based on the first electronic device and the second electronic device that are connected by data, the user performs the first input on the first control at the first electronic device, and the first electronic device responds to the first input and obtains the data of the same program, namely, the first program, from the second electronic device based on the first program corresponding to the first control determined at the first electronic device, so that the data of the first program is displayed at the first electronic device. It can be seen that, according to the embodiment of the application, for a program, a user can freely switch the program data in a plurality of electronic devices in one electronic device to view, so that the user does not need to operate back and forth among the plurality of electronic devices, and the user operation is simplified.
Optionally, the acquiring module 30 includes:
the sending unit is used for sending a first request to the second electronic equipment, wherein the first request carries first identity information of the first electronic equipment;
a receiving unit, configured to receive data of a first program sent by a second electronic device based on a first request;
and the second electronic equipment sends the data of the first program to the first electronic equipment under the condition that the first identity information is matched with the second identity information of the second electronic equipment.
Optionally, the first control is used for indicating the first application; the first display module 40 includes:
the first display unit is used for displaying an interface of the first application in a first area according to the interface data of the first application in the second electronic equipment, wherein the size of the first area is matched with the size of the interface of the first application of the second electronic equipment;
and the second display unit is used for displaying the content on the interface of the first area according to the user data of the first application in the second electronic equipment.
Optionally, the first control is used for indicating the first function, the second electronic device comprises a second control, and the second control is used for indicating the first function; the first display module 40 includes:
And the third display unit is used for displaying the first control according to the display size information of the second control.
Optionally, the apparatus further comprises:
a second receiving module for receiving a second input;
a transmitting module, configured to transmit first input information to a second electronic device in response to a second input, where the first input information includes an input type of the second input and an input position of the second input;
and the second display module is used for displaying the response data under the condition that the second electronic device triggers the input position of the second input to generate the response data through the input type of the second input.
Optionally, the first input is used for adjusting the first display size information of the first control to the second display size information of the third control on the second electronic device;
the first control and the third control are used for indicating the first program.
The device in the embodiment of the application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The device of the embodiment of the application may be a device with an action system. The action system may be an Android (Android) action system, may be an ios action system, and may also be other possible action systems, which are not specifically limited in the embodiments of the present application.
The device provided by the embodiment of the application can realize each process realized by the embodiment of the method and realize the same technical effect, and in order to avoid repetition, the description is omitted here.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 100, including a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and capable of being executed on the processor 101, where the program or the instruction implements each step of any one of the foregoing display method embodiments when executed by the processor 101, and the steps achieve the same technical effects, and for avoiding repetition, a description is omitted herein.
The electronic device of the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 8 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, camera 1011, and the like.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 1007 is configured to receive a first input to a first control; a processor 1010 for determining a first program corresponding to the first control in response to the first input; acquiring data of the first program of the second electronic equipment under the condition that the second electronic equipment is connected with the first electronic equipment; a display unit 1006, configured to display data of the first program.
In this way, in the embodiment of the application, based on the first electronic device and the second electronic device that are connected by data, the user performs the first input on the first control at the first electronic device, and the first electronic device responds to the first input and obtains the data of the same program, namely, the first program, from the second electronic device based on the first program corresponding to the first control determined at the first electronic device, so that the data of the first program is displayed at the first electronic device. It can be seen that, according to the embodiment of the application, for a program, a user can freely switch the program data in a plurality of electronic devices in one electronic device to view, so that the user does not need to operate back and forth among the plurality of electronic devices, and the user operation is simplified.
Optionally, the processor 1010 is further configured to send a first request to the second electronic device, where the first request carries first identity information of the first electronic device; receiving data of the first program sent by the second electronic device based on the first request; and sending the data of the first program to the first electronic equipment by the second electronic equipment based on the condition that the first identity information is matched with the second identity information of the second electronic equipment.
Optionally, the first control is used for indicating a first application; a display unit 1006, configured to display, in a first area, an interface of the first application according to interface data of the first application on the second electronic device, where a size of the first area matches a size of the interface of the first application of the second electronic device; and displaying content on the interface of the first area according to the user data of the first application on the second electronic equipment.
Optionally, the first control is used for indicating a first function, and the second electronic device comprises a second control, and the second control is used for indicating the first function; the display unit 1006 is further configured to display the first control according to the display size information of the second control.
Optionally, the user input unit 1007 is further configured to receive a second input; the processor 1010 is further configured to send first input information to the second electronic device in response to the second input, where the first input information includes an input type of the second input and an input location of the second input; the display unit 1006 is further configured to display response data when the second electronic device triggers, by the input type of the second input, the input location of the second input to generate the response data.
Optionally, the first input is used for adjusting the first display size information of the first control to the second display size information of the third control on the second electronic device; the first control and the third control are used for indicating the first program.
In summary, an objective of the present application is to provide a method for fast switching programs under multi-device interconnection. In the application, the quick switching program can be triggered at the positions of the desktop application icon, the in-application control, the desktop control and the like, so that the same program data can be mutually transmitted between the devices, and the data transmission is realized based on the same biological recognition or system password, thereby being safe and reliable; in addition, the data transmission is realized on the basis of establishing data connection between the devices, so that the safety of the data transmission is further improved.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of a still picture or a video image obtained by an image capturing device (such as a camera) in a video image 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 at least one of 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 can include two portions, 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. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an action system. The processor 1010 may integrate an application processor that primarily processes an action system, user pages, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction realizes each process of the embodiment of the display method when executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, each process of the embodiment of the display method is implemented, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the respective processes of the embodiments of the display method, and achieve the same technical effects, and are not repeated herein.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods of the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A display method applied to a first electronic device, the method comprising:
receiving a first input to a first control;
responsive to the first input, determining a first program corresponding to the first control;
acquiring data of the first program of the second electronic equipment under the condition that the second electronic equipment is connected with the first electronic equipment;
displaying the data of the first program.
2. The method of claim 1, wherein the acquiring data of the first program of the second electronic device comprises:
sending a first request to the second electronic device, wherein the first request carries first identity information of the first electronic device;
receiving data of the first program sent by the second electronic device based on the first request;
and sending the data of the first program to the first electronic equipment by the second electronic equipment based on the condition that the first identity information is matched with the second identity information of the second electronic equipment.
3. The method of claim 1, wherein the first control is used to indicate a first application;
The displaying the data of the first program includes:
displaying an interface of the first application in a first area according to the interface data of the first application in the second electronic device, wherein the size of the first area is matched with the size of the interface of the first application of the second electronic device;
and displaying content on the interface of the first area according to the user data of the first application on the second electronic equipment.
4. The method of claim 1, wherein the first control is for indicating a first function, and the second electronic device comprises a second control for indicating the first function;
the displaying the data of the first program includes:
and displaying the first control according to the display size information of the second control.
5. The method of claim 1, wherein after the displaying the data of the first program, the method further comprises:
receiving a second input;
transmitting first input information to the second electronic device in response to the second input, wherein the first input information comprises an input type of the second input and an input position of the second input;
And displaying the response data under the condition that the second electronic device triggers the input position of the second input to generate the response data through the input type of the second input.
6. The method of claim 1, wherein the first input is to adjust first display size information of the first control to second display size information of a third control at the second electronic device;
the first control and the third control are used for indicating the first program.
7. A display device for use in a first electronic device, the device comprising:
the first receiving module is used for receiving a first input of a first control;
a determining module, configured to determine, in response to the first input, a first program corresponding to the first control;
an acquisition module, configured to acquire data of the first program of a second electronic device when the second electronic device is connected to the first electronic device;
and the first display module is used for displaying the data of the first program.
8. The apparatus of claim 7, wherein the acquisition module comprises:
A sending unit, configured to send a first request to the second electronic device, where the first request carries first identity information of the first electronic device;
a receiving unit, configured to receive data of the first program sent by the second electronic device based on the first request;
and sending the data of the first program to the first electronic equipment by the second electronic equipment based on the condition that the first identity information is matched with the second identity information of the second electronic equipment.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the display method of any one of claims 1 to 6.
10. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implement the steps of the display method according to any one of claims 1 to 6.
CN202311302516.7A 2023-10-09 2023-10-09 Display method, display device, electronic equipment and readable storage medium Pending CN117331464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311302516.7A CN117331464A (en) 2023-10-09 2023-10-09 Display method, display device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311302516.7A CN117331464A (en) 2023-10-09 2023-10-09 Display method, display device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117331464A true CN117331464A (en) 2024-01-02

Family

ID=89292746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311302516.7A Pending CN117331464A (en) 2023-10-09 2023-10-09 Display method, display device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117331464A (en)

Similar Documents

Publication Publication Date Title
CN113792278A (en) Method and device for displaying application and picture and electronic equipment
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
CN112306325B (en) Interaction control method and device
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
WO2021238840A1 (en) Information sharing method, information sharing apparatus, and electronic device
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN108710806B (en) Terminal unlocking method and mobile terminal
CN113504859A (en) Transmission method and device
CN112462990A (en) Image sending method and device and electronic equipment
CN112711366A (en) Image generation method and device and electronic equipment
CN112291412B (en) Application program control method and device and electronic equipment
CN113676395A (en) Information processing method, related device and readable storage medium
CN113965640B (en) Message processing method and device
CN113325980B (en) Control method, control device, electronic equipment and readable storage medium
CN112286429B (en) Control method and control device of electronic equipment and electronic equipment
CN117331464A (en) Display method, display device, electronic equipment and readable storage medium
CN113805756A (en) Interface display method and device, electronic equipment and storage medium
CN113703592A (en) Secure input method and device
CN111880702A (en) Interface switching method and device and electronic equipment
CN114398129B (en) Sharing method and device for sharing objects, electronic equipment and readable storage medium
CN114637563B (en) Information input method and device
CN117195290A (en) Inter-device cooperation method, device, electronic device and readable storage medium
CN115309309A (en) Content sharing method and device, electronic equipment and medium
CN113705269A (en) Information code identification method, touch device, information code identification device and electronic equipment
CN117377133A (en) Bluetooth connection establishment method and device, electronic equipment and readable storage 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