CN112698770B - Information processing method and device, and storage medium - Google Patents

Information processing method and device, and storage medium Download PDF

Info

Publication number
CN112698770B
CN112698770B CN202011577793.5A CN202011577793A CN112698770B CN 112698770 B CN112698770 B CN 112698770B CN 202011577793 A CN202011577793 A CN 202011577793A CN 112698770 B CN112698770 B CN 112698770B
Authority
CN
China
Prior art keywords
terminal
information
information interface
interface
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011577793.5A
Other languages
Chinese (zh)
Other versions
CN112698770A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011577793.5A priority Critical patent/CN112698770B/en
Publication of CN112698770A publication Critical patent/CN112698770A/en
Application granted granted Critical
Publication of CN112698770B publication Critical patent/CN112698770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • 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

Abstract

The disclosure relates to an information processing method and apparatus, and a storage medium. The method comprises the following steps: the method comprises the steps of connecting with a second terminal, and acquiring first information of the second terminal; generating a first information interface according to the first information, and displaying the first information interface in a preset window; and when the first operation aiming at the first information interface is detected, responding to the first operation in the first terminal. By the method, the interactivity among different terminals is enhanced, and the user experience is improved.

Description

Information processing method and device, and storage medium
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to an information processing method and apparatus, and a storage medium.
Background
Information design, also known as communication design, is a rapidly developing discipline, relating to a number of areas: font design, flat design, application linguistics, application psychology, application ergonomics, computer science, and the like. Information design has responded to the need for people to understand and use various types of transactions: forms, legal documents, logos, computer interfaces, technical information and operating/assembly instructions.
With the development of cross-device connection, information transmission between a mobile phone and a computer is also widely regarded by the industry.
Disclosure of Invention
The disclosure provides an information processing method and apparatus, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an information processing method, applied to a first terminal, including:
the method comprises the steps of connecting with a second terminal, and acquiring first information of the second terminal;
generating a first information interface according to the first information, and displaying the first information interface in a preset window;
and when the first operation aiming at the first information interface is detected, responding to the first operation in the first terminal.
Optionally, when detecting a first operation on the first information interface, responding to the first operation in the first terminal includes:
and when the first operation of opening a first object in the first information interface is detected, opening the first object in the first terminal.
Optionally, when detecting a first operation on the first information interface, responding to the first operation in the first terminal includes:
and when the position change is detected to meet the first operation of a preset position change mode, changing the display form of the first information interface.
Optionally, when it is detected that the position change satisfies the first operation of a preset position change mode, changing the display form of the first information interface includes:
when the first operation that the first information interface is dragged from the first position of the display screen of the first terminal to the preset range of the preset second position is detected, the first information interface is displayed on the preset second position of the display screen.
Optionally, when it is detected that the position change satisfies the first operation of a preset position change mode, changing the display form of the first information interface includes:
hiding the first information interface displayed at the predetermined second position of the display screen when the first operation with the position far away from the predetermined range of the predetermined second position is detected.
Optionally, when it is detected that the position change satisfies the first operation of a preset position change mode, changing the display form of the first information interface includes:
when the first operation that the position moves to the preset range of the preset second position is detected, the hidden first information interface is displayed on the preset second position of the display screen.
Optionally, the method further includes:
when the first operation of which the position is far away from the preset range of the preset second position is detected, sending a prompt message to the second terminal;
receiving second information sent by the second terminal based on the prompt message;
and generating and displaying a second information interface according to the second information.
Optionally, the display screen further includes: one or more second objects outside the second information interface are displayed;
the method further comprises the following steps:
detecting a second operation acting on an area outside the second information interface;
when the second operation of dragging the second object into the second information interface is detected, the second object is sent to the second terminal.
Optionally, the method further includes:
when the second operation of dragging from the second object into the second information interface is detected, displaying the transmission state of the second object on the display screen.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing method applied to a second terminal, including:
the first terminal is connected with the second terminal, and the first information of the second terminal is sent to the second terminal; the first information is used for the first terminal to generate a first information interface and display the first information interface on a preset window;
responding to the first operation of the first information interface detected by the first terminal.
Optionally, the responding to the first operation, detected by the first terminal, for the first information interface includes:
receiving a prompt message sent by the first terminal, wherein the prompt message is sent after the first terminal detects a first operation of a preset range of a position far away from a preset second position;
sending second information of the second terminal to the first terminal according to the prompt message; and the second information is used for the first terminal to generate a second information interface.
Optionally, the method further includes:
receiving a second object sent by the first terminal; the second object is sent after the first terminal detects a second operation of dragging the second object in the area outside the second information interface into the second information interface;
and saving the second object.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing apparatus applied to a first terminal, including:
the acquisition module is configured to be connected with a second terminal and acquire first information of the second terminal;
the first generation module is configured to generate a first information interface according to the first information and display the first information interface in a preset window;
the first response module is configured to respond to the first operation in the first terminal when the first operation aiming at the first information interface is detected.
Optionally, the first response module is specifically configured to open a first object in the first terminal when the first operation of opening the first object in the first information interface is detected.
Optionally, the first response module is specifically configured to change a display form of the first information interface when the first operation that the position change satisfies a preset position change manner is detected.
Optionally, the first response module is specifically configured to, when the first operation that the first information interface is dragged from the first position of the display screen of the first terminal to a predetermined range of a predetermined second position is detected, display the first information interface on the predetermined second position of the display screen.
Optionally, the first response module is specifically configured to hide the first information interface displayed at the predetermined second position of the display screen when the first operation of a predetermined range of positions far away from the predetermined second position is detected.
Optionally, the first response module is specifically configured to display the hidden first information interface at the predetermined second position on the display screen when the first operation that the position is moved to the predetermined range of the predetermined second position is detected.
Optionally, the apparatus further comprises:
a first sending module configured to send a prompt message to the second terminal when the first operation of a predetermined range of a position far away from the predetermined second position is detected;
the first receiving module is configured to receive second information sent by the second terminal based on the prompt message;
and the second generating module is configured to generate and display a second information interface according to the second information.
Optionally, the display screen further includes: one or more second objects outside the second information interface are displayed;
the device further comprises:
the first detection module is configured to detect a second operation acting on the area outside the second information interface;
a second sending module configured to send the second object to the second terminal when the second operation of dragging from the second object into the second information interface is detected.
Optionally, the apparatus further comprises:
a second detection module configured to display a transmission state of the second object on the display screen when the second operation of dragging from the second object into the second information interface is detected.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an information processing apparatus, applied to a second terminal, including:
the third sending module is configured to be connected with a first terminal and send the first information of the second terminal to the first terminal; the first information is used for the first terminal to generate a first information interface and display the first information interface on a preset window;
and the second response module is configured to respond to the first operation, detected by the first terminal, for the first information interface.
Optionally, the second response module is specifically configured to receive a prompt message sent by the first terminal, where the prompt message is sent after the first terminal detects a first operation in a predetermined range where the position is far away from a predetermined second position; sending second information of the second terminal to the first terminal according to the prompt message; and the second information is used for the first terminal to generate a second information interface.
Optionally, the apparatus further comprises:
a second receiving module configured to receive a second object sent by the first terminal; the second object is sent after the first terminal detects a second operation of dragging the second object in the area outside the second information interface into the second information interface;
a saving module configured to save the second object.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an information processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the information processing method as described in the first or second aspect above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a storage medium comprising:
the instructions in the storage medium, when executed by a processor of a computer, enable the computer to perform the information processing method as described in the first aspect or the second aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, the first terminal can receive the first information shared by the second terminal, and can also generate the first information interface according to the first information, because the first information interface is generated by the second terminal according to the first information, but not the interface projected by the second terminal and coming from the second terminal, the intelligence of information processing is improved. In addition, taking the first terminal as a computer and the second terminal as a mobile phone as an example, the shared first information is displayed on the display screen of the computer, and the display screen is larger than the mobile phone, so that the visual experience of the user can be improved; furthermore, the first operation based on the user responds in the computer, and the hardware processing capacity in the computer is also superior to that of the mobile phone, so that the response speed of the first operation can be increased, and the use experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present disclosure.
Fig. 2 is an exemplary diagram of a first information interface displayed in a computer according to an embodiment of the disclosure.
Fig. 3 is an exemplary diagram of file transmission according to an embodiment of the disclosure.
Fig. 4 is a flowchart of an information processing method according to an embodiment of the present disclosure.
Fig. 5 is an interaction flowchart of an information processing method according to an embodiment of the present disclosure.
Fig. 6 is a diagram illustrating an information processing apparatus i according to an exemplary embodiment.
Fig. 7 is a diagram illustrating an information processing apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram of a terminal device shown in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart of an information processing method shown in an embodiment of the present disclosure, and as shown in fig. 1, the information processing method applied in a first terminal includes the following steps:
s11, connecting with a second terminal to acquire first information of the second terminal;
s12, generating a first information interface according to the first information, and displaying the first information interface in a preset window;
and S13, when the first operation aiming at the first information interface is detected, responding the first operation in the first terminal.
In the embodiment of the present disclosure, the first terminal may be a notebook computer, a tablet computer, a television terminal, or the like.
In some embodiments, the first terminal may be a terminal device having a screen larger than the second terminal. For example, if the first terminal is a Personal Computer (PC), the second terminal may be: a mobile phone or a tablet computer, etc. In other embodiments, if the first terminal is a tablet computer or a tablet and PC two-in-one computer, the second terminal may be a mobile phone or a wearable device.
In the disclosed embodiment, a wired connection may be established between the first terminal and the second terminal, and the wired connection includes, but is not limited to, a Universal Serial Bus (USB) connection or a Serial port connection. In addition, wireless connection can be carried out between the first terminal and the second terminal. For example, a wireless connection is established by bluetooth Communication or Near Field Communication (NFC). The wireless connection further comprises: a Wireless connection established in a Device-to-Device (D2D) or Wireless Fidelity (Wi-Fi) direct manner.
In step S11, the first terminal may obtain the first information of the second terminal based on the connection established with the second terminal. The first information may include information characterizing a current usage state of the second terminal, such as: the notification message currently received by the second terminal, the recently opened file, the currently running application program, the electric quantity information and the like; in addition, the first information may further include product identification information of the second terminal, for example: the device name and/or device model of the second terminal, etc.
In step S12, the first terminal generates a first information interface according to the first information, and displays the first information interface on a preset window, where the first information interface includes all or part of the first information, and the first information interface is displayed on the preset window, and the preset window may be located at a predetermined position or any position on a display screen of the first terminal, which is not limited in this disclosure.
In one embodiment, the first information interface includes at least one of:
message prompting in the second terminal;
the files opened by the second terminal within a preset time period;
an application running in the second terminal.
The first terminal can detect the first operation acting on the first information interface based on the displayed first information interface. If the second terminal is a device capable of connecting a keyboard and a mouse, such as a notebook computer, the first operation may be a click operation based on a mouse or an input operation based on a keyboard, and may also be a voice control operation based on voice, which is not limited in the embodiment of the present disclosure.
In step S13, when the first terminal detects the first operation on the first information interface, the first terminal responds to the first operation, that is, the first terminal implements control over the second terminal or adjusts the first information interface.
It can be understood that, in this embodiment, the first terminal can not only receive the first information shared by the second terminal, but also generate the first information interface according to the first information, and because the first information interface is generated by the second terminal according to the first information, rather than an interface projected by the second terminal and coming from the second terminal, the intelligence of information processing is improved. In addition, taking the first terminal as a computer and the second terminal as a mobile phone as an example, the shared first information is displayed on the display screen of the computer, and the display screen is larger than the mobile phone, so that the visual experience of the user can be improved; furthermore, the first operation based on the user responds in the computer, and the hardware processing capacity in the computer is also superior to that of the mobile phone, so that the response speed of the first operation can be increased, and the use experience of the user is improved.
In one embodiment, when the first operation for the first information interface is detected, responding to the first operation in the first terminal includes:
and when the first operation of opening a first object in the first information interface is detected, opening the first object in the first terminal.
In the embodiment of the present disclosure, in this embodiment, the first object is, for example, a word document, a music file, a picture file, or the like in the first information interface, or a music application in the second terminal. When the first object is a file or a program and the first operation is an opening operation of the file or the program, the first object can be directly opened in the first terminal. For example, the first operation is a double-click operation based on a mouse connected with a computer, or a touch operation of a user on a tablet computer.
It should be noted that, in the embodiment of the present disclosure, if the first object is a file, when the first terminal detects an opening operation for the file, the file sent by the second terminal is received and opened by using a tool in the first terminal. For example, the first object is a Word document, and the first terminal opens the document using its own Microsoft office Word tool. Of course, if the corresponding tool is not installed in the first terminal to open the file, the first terminal automatically downloads and installs the corresponding tool and opens the file.
If the first object is an application program, when the first terminal detects an opening operation for the program, it is determined in advance whether the program of the same version as that of the second terminal is installed in the first terminal, and if so, the program installed in the first terminal is directly opened. For example, the first terminal is a PC, the second terminal is a mobile phone, and the program is a game program. Of course, if the first terminal does not have the program with the same version as the second terminal, the first terminal can also automatically download and install the program and then open the program.
It is to be understood that, in this embodiment, in the case where the first terminal and the second terminal are connected, the content in the second terminal is opened in the first terminal, providing convenience to the user. In addition, in the embodiment, when the tool capable of opening the file or the program is not installed in the first terminal, the file or the program can be automatically installed and opened, and the intelligent characteristic is achieved.
It should be noted that, in the embodiment of the present disclosure, when a first object is opened in a first terminal, the first object may not be opened in a second terminal synchronously, so that power consumption of the second terminal can be saved.
Further, in an embodiment of the present disclosure, when the first operation of dragging the first object in the first information interface out of the first information interface is detected, the first object is stored in the first terminal.
In this embodiment, for example, the first object is a picture file in the first information interface, when the first terminal detects a first operation of dragging the first object in the first information interface out of the first information interface, the second terminal sends the first object to the first terminal, so that the first terminal can store the first object locally. For example, the first operation is based on a click drag of a mouse connected to the computer, or a touch drag of a user on the tablet computer.
It can be understood that, in this embodiment, the first terminal stores the first object in the local terminal by detecting the first operation of dragging the first object in the first information interface out of the first information interface, and the function of the second terminal to transmit the file to the first terminal is realized. The file transmission function can be completed only by the first terminal detecting the first operation on the display screen of the first terminal, so that the number of the user operation terminals and the operation times are reduced; moreover, the operation is a simple dragging operation, and the user does not need to additionally memorize operation actions, so that the method has the characteristic of interaction friendliness.
In one embodiment, step S13 includes:
and when the position change is detected to meet the first operation of a preset position change mode, changing the display form of the first information interface.
In this embodiment, when the first operation is an operation in which the position change satisfies the preset position change mode, the display mode of the first information interface is changed. For example, the display mode of the first information interface is switched between a display mode and a hidden mode, and the display position of the first information interface is changed.
It should be noted that, in the embodiment of the present disclosure, the first operation may be a click drag operation based on a mouse connected to a computer, or a touch drag of a user on a tablet computer.
In one embodiment, the changing the display form of the first information interface when the first operation that the position change satisfies the preset position change mode is detected includes:
when the first operation that the first information interface is dragged from a first position of a display screen of the first terminal to a preset range of a preset second position is detected, the first information interface is displayed on the preset second position of the display screen.
In this embodiment, when the first operation is an operation of dragging the first information interface from the first position of the display screen of the first terminal to within a predetermined range of a predetermined second position, the first information interface is displayed on the predetermined second position of the display screen. It should be noted that, in the embodiment of the present disclosure, the first position may be any position outside the predetermined range of the predetermined second position.
For example, the first location is located on the left side of the display screen, the predetermined second location is the right side of the display screen of the first terminal, and when the first terminal detects that the first information interface is dragged from the first location to the vicinity of the predetermined second location, the first information interface is automatically adsorbed to the right side for display.
It can be understood that, in this embodiment, by using the position detection method, the intelligence of the position display of the first information interface can be improved, and the interaction sense of the user operation can be improved.
In one embodiment, the changing the display form of the first information interface when the first operation that the position change satisfies the preset position change mode is detected includes:
hiding the first information interface displayed at the predetermined second position of the display screen when the first operation of a predetermined range of positions far away from the predetermined second position is detected.
In an embodiment of the disclosure, when the first terminal detects a first operation of a predetermined range, the position of which is far away from a predetermined second position, based on a click dragging operation of a mouse connected to a computer or a touch dragging operation of a user on a tablet computer, the displayed first information interface is hidden.
It should be noted that, in the embodiment of the present disclosure, when the first operation is an operation far from the first information interface, it is also described that the user does not care about the content of the first information interface at this time, so that the first information interface may be hidden, thereby reducing the influence of the first information interface on the display content of the display screen of the first terminal, and improving the user experience.
In one embodiment, the changing the display form of the first information interface when the first operation that the position change satisfies the preset position change mode is detected includes:
when the first operation that the position moves to the preset range of the preset second position is detected, the hidden first information interface is displayed on the preset second position of the display screen.
In the embodiment of the disclosure, after the first information interface is hidden, if the first terminal detects that the position moves to the first operation within the predetermined range of the predetermined second position, it indicates that the user is concerned about the content of the first information interface at the time, so that the disclosure displays the hidden first information interface to meet the user requirement and improve the user experience.
Fig. 2 is an exemplary diagram of a first information interface displayed in a computer according to an embodiment of the disclosure, and as shown in fig. 2, the first information interface includes three parts of contents, which are sequentially from top to bottom: notification center, recent files, and applications. Wherein the notification center is a message prompt in the second terminal of the present disclosure; the latest file is the file opened by the second terminal within a preset time period; the application is an application running in the second terminal. When the computer detects that the position change meets the preset position change mode, the display mode of the first information interface is changed.
In one embodiment, the method further comprises:
when the first operation of which the position is far away from the preset range of the preset second position is detected, sending a prompt message to the second terminal;
receiving second information sent by the second terminal based on the prompt message;
and generating and displaying a second information interface according to the second information.
In the embodiment of the disclosure, when the first terminal detects a first operation of a predetermined range of which the position is far away from the second position, a prompt message is sent to the second terminal to prompt the second terminal to send second information, and a second information interface is generated according to the received second information. For example, when the product identification information of the second device is not included in the first information, the product identification information of the second device may be included in the second information. In addition, the second information may also be current power information of the second device.
In one embodiment, the second information interface includes at least one of:
electric quantity identification information;
product model information.
In one embodiment, the second information interface is displayed in a floating manner on the display screen.
In the embodiment of the present disclosure, the display mode of the second information interface is not limited to the floating display, and may be fixedly displayed at a predetermined second position, for example.
It can be understood that, in this embodiment, when the first terminal detects the first operation of the predetermined range located far away from the second location, it indicates that the user may not be interested in the content of the first information interface, and after the first information interface is hidden, the user knows that the first terminal and the second terminal still establish a connection, so that the first terminal may regenerate the second information interface according to the obtained second information to prompt the user. Particularly, when the current electric quantity identification information of the second terminal is displayed on the second information interface, the electric quantity condition of the second terminal can be fed back through the first terminal immediately, and the use experience of a user can also be improved.
In addition, in the embodiment of the disclosure, the first terminal may further detect a third operation on the second information interface, and switch from the second information interface to the first information interface for display if the third operation meets a preset interface switching operation.
In one embodiment, the display screen further comprises: one or more second objects outside the second information interface are displayed;
the method further comprises the following steps:
detecting a second operation acting on an area outside the second information interface;
when the second operation of dragging the second object into the second information interface is detected, the second object is sent to the second terminal.
In this embodiment, a second object is displayed on the display screen of the first terminal, for example, the second object may be a document file in the desktop of the first terminal, or a picture file in the image list interface. When the first terminal detects a second operation of dragging the second object into the second information interface, the first terminal sends the second object to the second terminal, so that the second terminal can store the second object.
It can be understood that, in this embodiment, when detecting a second operation of dragging a second object outside the second information interface into the second information interface, the first terminal sends the second object as if the second terminal were used after being saved, so that a function of the first terminal transferring a file to the second terminal is implemented.
In the embodiment of the disclosure, based on the provided file transmission function, the intelligence of the terminal device is further improved, and the use experience of the user is improved.
In one embodiment, the method further comprises:
when the second operation of dragging from the second object into the second information interface is detected, displaying the transmission state of the second object on the display screen.
In an embodiment of the present disclosure, when the first terminal transmits a file to the second terminal, a transmission state of a second object (e.g., a file) is displayed on the display screen. The transmission status may include transmission progress information and may further include identification information of a transmission start and a transmission end.
Fig. 3 is a diagram illustrating a file transmission example in an embodiment of the disclosure, as shown in fig. 3, when a second operation of dragging a PDF document (a second object) to an electric quantity identification information interface (a second information interface) displayed by a suspension system is detected on the computer side, a transmission state of the PDF document is displayed on the display screen, where the transmission state includes: the state in transmission and the state of successful transmission, and the state identifications of different transmission stages are different.
It can be understood that, in this embodiment, through the display of the transmission status, the client can immediately know whether the file is in progress or not and whether the file is successfully transmitted or not, so that the user experience can be improved.
Fig. 4 is a flowchart of an information processing method shown in the embodiment of the present disclosure, and as shown in fig. 4, the information processing method applied in the second terminal includes the following steps:
s21, connecting with a first terminal, and sending first information of the second terminal to the first terminal; the first information is used for the first terminal to generate a first information interface and display the first information interface on a preset window;
s22, responding to the first operation of the first information interface detected by the first terminal.
In the embodiment of the present disclosure, the second terminal may be a smart phone or other smart devices with a display screen, such as a smart sound box.
As described in the first terminal portion, the second terminal may be connected to the first terminal in various ways. In step S21, the second terminal is connected to the first terminal, and may send its first information to the first terminal, so that the first terminal generates a first information interface based on the first information. In step S22, the second terminal responds to the first operation detected by the first terminal on the first information interface.
It can be understood that, in this embodiment, the second terminal may not only actively share the first information of itself, but also respond to the first operation of the first information interface generated for the first information detected in the first terminal, and through cooperation between the second terminal and the first terminal, the interactivity between the devices is stronger.
In one embodiment, step S22 includes:
receiving a prompt message sent by the first terminal, wherein the prompt message is sent after the first terminal detects a first operation of a preset range of a position far away from a preset second position;
sending second information of the second terminal to the first terminal according to the prompt message; and the second information is used for the first terminal to generate a second information interface.
In the embodiment of the disclosure, when the first terminal detects a first operation of a predetermined range of which the position is far away from the second position, a prompt message is sent to the second terminal, and the second terminal sends the second information to the first terminal according to the received prompt message, so that the first terminal generates a second information interface according to the received second information. The second information is information different from the first information, for example, the first information includes usage information of an application or a file in the second terminal, and the second information includes product model information or power identification information of the second device.
In one embodiment, the method further comprises:
receiving a second object sent by the first terminal; the second object is sent after the first terminal detects a second operation of dragging the second object in the area outside the second information interface into the second information interface;
and saving the second object.
In the embodiment of the present disclosure, a second object is also displayed on the display screen of the first terminal, for example, the second object is also a certain document file in the desktop of the first terminal, or a certain picture file in the image list interface, and the like. When the first terminal detects a second operation of dragging the second object into the second information interface, the first terminal sends the second object to the second terminal, and the second terminal stores the second object based on the received second object.
It can be understood that, in this embodiment, the second terminal can receive the second object sent by the first terminal, and the function of receiving the file by the second terminal is realized.
Fig. 5 is an interaction flowchart of an information processing method shown in an embodiment of the present disclosure, and as shown in fig. 5, the information processing method applied in the first terminal and the second terminal includes the following steps:
s31, the second terminal is connected with the first terminal, and the first information of the second terminal is sent to the first terminal.
And S32, the first terminal generates a first information interface according to the first information and displays the first information interface in a preset window.
And S33, when the first terminal detects the first operation aiming at the first information interface, responding the first operation in the first terminal and/or the second terminal.
It can be understood that, in this embodiment, the first terminal can not only receive the first information shared by the second terminal, but also generate the first information interface according to the first information, and because the first information interface is generated by the second terminal according to the first information, rather than an interface projected by the second terminal and coming from the second terminal, the intelligence of information processing is improved. In addition, taking the first terminal as a computer and the second terminal as a mobile phone as an example, the shared first information is displayed on the display screen of the computer, and the display screen is larger than the mobile phone, so that the visual experience of the user can be improved; furthermore, the first operation based on the user responds in the computer, and the hardware processing capacity in the computer is also superior to that of the mobile phone, so that the response speed of the first operation can be increased, and the use experience of the user is improved.
Fig. 6 is a diagram illustrating an information processing apparatus i according to an exemplary embodiment. Referring to fig. 6, the information processing apparatus applied to a first terminal includes:
an obtaining module 101, configured to be connected to a second terminal, and obtain first information of the second terminal;
the first generating module 102 is configured to generate a first information interface according to the first information, and display the first information interface in a preset window;
a first response module 103 configured to respond to a first operation in the first terminal when the first operation for the first information interface is detected.
Optionally, the first response module 103 is specifically configured to open a first object in the first terminal when the first operation of opening the first object in the first information interface is detected.
Optionally, the first response module 103 is specifically configured to change a display form of the first information interface when detecting that the position change satisfies the first operation of a preset position change manner.
Optionally, the first response module 103 is specifically configured to, when the first operation that the first information interface is dragged from the first position of the display screen of the first terminal to a predetermined range of a predetermined second position is detected, display the first information interface on the predetermined second position of the display screen.
Optionally, the first response module 103 is specifically configured to hide the first information interface displayed at the predetermined second position of the display screen when the first operation of a predetermined range of positions far away from the predetermined second position is detected.
Optionally, the first response module 103 is specifically configured to, when the first operation that the position is moved to the predetermined range of the predetermined second position is detected, display the hidden first information interface on the predetermined second position of the display screen.
Optionally, the apparatus further comprises:
a first sending module 104 configured to send a prompt message to the second terminal when the first operation of a predetermined range of positions away from the predetermined second position is detected;
a first receiving module 105, configured to receive second information sent by the second terminal based on the prompt message;
and the second generating module 106 is configured to generate and display a second information interface according to the second information.
Optionally, the display screen further includes: one or more second objects outside the second information interface are displayed;
the device further comprises:
a first detection module 107 configured to detect a second operation applied to an area outside the second information interface;
a second sending module 108 configured to send the second object to the second terminal when the second operation of dragging from the second object into the second information interface is detected.
Optionally, the apparatus further comprises:
a second detection module 109 configured to display a transmission status of the second object on the display screen when the second operation of dragging from the second object into the second information interface is detected.
Fig. 7 is a diagram illustrating an information processing apparatus according to an exemplary embodiment. Referring to fig. 7, the information processing apparatus applied to a second terminal includes:
a third sending module 201, configured to connect to a first terminal, and send first information of the second terminal to the first terminal; the first information is used for the first terminal to generate a first information interface and display the first information interface on a preset window;
a second response module 202 configured to respond to the first operation detected by the first terminal for the first information interface.
Optionally, the second response module 202 is specifically configured to receive a prompt message sent by the first terminal, where the prompt message is sent after the first terminal detects a first operation in a predetermined range where the position is far away from a predetermined second position; sending second information of the second terminal to the first terminal according to the prompt message; and the second information is used for the first terminal to generate a second information interface.
Optionally, the apparatus further comprises:
a second receiving module 203, configured to receive a second object sent by the first terminal; the second object is sent after the first terminal detects a second operation of dragging the second object in the area outside the second information interface into the second information interface;
a saving module 204 configured to save the second object.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating a terminal apparatus 800 according to an example embodiment. For example, the apparatus 800 may be a first terminal or a second terminal. For example, the first terminal is a computer and the second terminal is a mobile phone.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communications component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a first terminal, enable the first terminal to perform an information processing method, the method comprising:
the method comprises the steps of connecting with a second terminal, and acquiring first information of the second terminal;
generating a first information interface according to the first information, and displaying the first information interface in a preset window;
and when the first operation aiming at the first information interface is detected, responding to the first operation in the first terminal.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a second terminal, enable the second terminal to perform an information processing method, the method comprising:
the first terminal is connected with the second terminal, and the first information of the second terminal is sent to the second terminal; the first information is used for the first terminal to generate a first information interface and display the first information interface on a preset window;
responding to the first operation of the first information interface detected by the first terminal.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

1. An information processing method applied to a first terminal, the method comprising:
the method comprises the steps of connecting with a second terminal, and acquiring first information of the second terminal;
generating a first information interface according to the first information, and displaying the first information interface in a preset window; wherein the first information interface is not a projected interface from the second terminal;
when a first operation aiming at the first information interface is detected, responding to the first operation in the first terminal;
wherein, when detecting a first operation for the first information interface, responding to the first operation in the first terminal comprises:
when the first operation of which the position is far away from the preset range of the preset second position is detected, hiding the first information interface displayed at the preset second position, and sending a prompt message to the second terminal; receiving second information sent by the second terminal based on the prompt message;
generating and displaying a second information interface according to the second information; the second information interface is different from the first information interface, and the second information interface comprises electric quantity identification information of the second terminal.
2. The method according to claim 1, wherein when detecting a first operation for the first information interface, responding to the first operation in the first terminal comprises:
and when the first operation of opening a first object in the first information interface is detected, opening the first object in the first terminal.
3. The method according to claim 1, wherein when detecting a first operation for the first information interface, responding to the first operation in the first terminal comprises:
and when the position change is detected to meet the first operation of a preset position change mode, changing the display form of the first information interface.
4. The method according to claim 3, wherein when the first operation that the position change meets a preset position change mode is detected, changing the display form of the first information interface comprises:
when the first operation that the first information interface is dragged from the first position of the display screen of the first terminal to the preset range of the preset second position is detected, the first information interface is displayed on the preset second position of the display screen.
5. The method according to claim 4, wherein when the first operation that the position change meets a preset position change mode is detected, changing the display form of the first information interface comprises:
when the first operation that the position moves to the preset range of the preset second position is detected, the hidden first information interface is displayed on the preset second position of the display screen.
6. The method of claim 1, wherein displaying the screen further comprises: one or more second objects outside the second information interface are displayed;
the method further comprises the following steps:
detecting a second operation acting on an area outside the second information interface;
when the second operation of dragging the second object into the second information interface is detected, the second object is sent to the second terminal.
7. The method of claim 6, further comprising:
when the second operation of dragging from the second object into the second information interface is detected, displaying the transmission state of the second object on the display screen.
8. An information processing method applied to a second terminal, the method comprising:
the first terminal is connected with the second terminal, and the first information of the second terminal is sent to the second terminal; the first information is used for the first terminal to generate a first information interface and display the first information interface on a preset window; wherein the first information interface is not a projected interface from the second terminal;
responding to a first operation, detected by the first terminal, aiming at the first information interface;
wherein the responding to the first operation of the first information interface detected by the first terminal comprises:
receiving a prompt message sent by the first terminal, wherein the prompt message is sent after the first terminal detects that the position is far away from the operation of the preset range of the preset second position where the first information interface is located currently;
sending second information of the second terminal to the first terminal according to the prompt message; the second information is used for the first terminal to generate and display a second information interface, the second information interface is different from the first information interface, and the second information interface comprises electric quantity identification information of the second terminal.
9. The method of claim 8, further comprising:
receiving a second object sent by the first terminal; the second object is sent after the first terminal detects a second operation of dragging the second object in the area outside the second information interface into the second information interface;
and saving the second object.
10. An information processing apparatus, applied to a first terminal, the apparatus comprising:
the acquisition module is configured to be connected with a second terminal and acquire first information of the second terminal;
the first generation module is configured to generate a first information interface according to the first information and display the first information interface in a preset window; wherein the first information interface is not a projected interface from the second terminal;
the first response module is configured to hide the first information interface displayed at the preset second position and send a prompt message to the second terminal when a first operation that the position is far away from the preset range of the preset second position is detected;
the first receiving module is configured to receive second information sent by the second terminal based on the prompt message;
the second generating module is configured to generate and display a second information interface according to the second information; the second information interface is different from the first information interface, and the second information interface comprises electric quantity identification information of the second terminal.
11. The apparatus of claim 10,
the first response module is specifically configured to open a first object in the first terminal when the first operation of opening the first object in the first information interface is detected.
12. The apparatus of claim 10,
the first response module is specifically configured to change the display form of the first information interface when the first operation that the position change meets a preset position change mode is detected.
13. The apparatus of claim 12,
the first response module is specifically configured to display the first information interface on the predetermined second position of the display screen when the first operation of dragging the first information interface from the first position of the display screen of the first terminal to the predetermined range of the predetermined second position is detected.
14. The apparatus of claim 10,
the first response module is specifically configured to display the hidden first information interface on the predetermined second position of the display screen when the first operation that the position moves to the predetermined range of the predetermined second position is detected.
15. The apparatus of claim 10, wherein the display screen further comprises: one or more second objects outside the second information interface are displayed;
the device further comprises:
the first detection module is configured to detect a second operation acting on the area outside the second information interface;
a second sending module configured to send the second object to the second terminal when the second operation of dragging from the second object into the second information interface is detected.
16. The apparatus of claim 15, further comprising:
a second detection module configured to display a transmission state of the second object on the display screen when the second operation of dragging from the second object into the second information interface is detected.
17. An information processing apparatus, applied to a second terminal, the apparatus comprising:
the third sending module is configured to be connected with the first terminal and send the first information of the second terminal to the first terminal; the first information is used for the first terminal to generate a first information interface and display the first information interface on a preset window; wherein the first information interface is not a projected interface from the second terminal;
a second response module, configured to respond to a first operation, which is detected by the first terminal and is specific to the first information interface, and receive a prompt message sent by the first terminal, where the prompt message is sent after the first terminal detects an operation, which is located in a predetermined range where the first terminal is located and is far away from a predetermined second location where the first information interface is currently located; sending second information of the second terminal to the first terminal according to the prompt message; the second information is used for the first terminal to generate and display a second information interface, the second information interface is different from the first information interface, and the second information interface comprises electric quantity identification information of the second terminal.
18. The apparatus of claim 17, further comprising:
a second receiving module configured to receive a second object sent by the first terminal; the second object is sent after the first terminal detects a second operation of dragging the second object in the area outside the second information interface into the second information interface;
a saving module configured to save the second object.
19. An information processing apparatus characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the information processing method according to any one of claims 1 to 7; or is configured to perform the information processing method according to any one of claims 8 to 9.
20. A non-transitory computer-readable storage medium characterized in that instructions in the storage medium, when executed by a processor of an information processing apparatus, enable the information processing apparatus to execute an information processing method according to any one of claims 1 to 7; or is configured to perform the information processing method according to any one of claims 8 to 9.
CN202011577793.5A 2020-12-28 2020-12-28 Information processing method and device, and storage medium Active CN112698770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011577793.5A CN112698770B (en) 2020-12-28 2020-12-28 Information processing method and device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011577793.5A CN112698770B (en) 2020-12-28 2020-12-28 Information processing method and device, and storage medium

Publications (2)

Publication Number Publication Date
CN112698770A CN112698770A (en) 2021-04-23
CN112698770B true CN112698770B (en) 2022-08-16

Family

ID=75512302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011577793.5A Active CN112698770B (en) 2020-12-28 2020-12-28 Information processing method and device, and storage medium

Country Status (1)

Country Link
CN (1) CN112698770B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083867A (en) * 2020-07-29 2020-12-15 华为技术有限公司 Cross-device object dragging method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9342205B2 (en) * 2011-09-05 2016-05-17 Lenovo (Beijing) Co., Ltd. Display method, terminal device and multi-terminal device system
CN103150095B (en) * 2013-03-07 2015-12-23 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN103713822B (en) * 2013-12-27 2017-09-29 联想(北京)有限公司 A kind of information processing method and the first electronic equipment
TW201539312A (en) * 2014-04-09 2015-10-16 Hon Hai Prec Ind Co Ltd Display device and method for displaying images
CN107729483B (en) * 2017-10-17 2021-05-11 Oppo广东移动通信有限公司 Classification display method, classification display device, terminal and computer-readable storage medium
US11416205B2 (en) * 2019-04-16 2022-08-16 Apple Inc. Systems and methods for initiating and interacting with a companion-display mode for an electronic device with a touch-sensitive display
CN117544614A (en) * 2019-05-20 2024-02-09 北京小米移动软件有限公司 File transmission method, device and computer readable storage medium
CN116723266A (en) * 2019-07-31 2023-09-08 华为技术有限公司 Suspension window management method and related device
CN110618971B (en) * 2019-09-12 2022-09-23 联想(北京)有限公司 Information interaction method and electronic equipment
CN111327769B (en) * 2020-02-25 2022-04-08 北京小米移动软件有限公司 Multi-screen interaction method and device and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083867A (en) * 2020-07-29 2020-12-15 华为技术有限公司 Cross-device object dragging method and device

Also Published As

Publication number Publication date
CN112698770A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN111327769B (en) Multi-screen interaction method and device and storage medium
CN107066172B (en) File transmission method and device of mobile terminal
CN107908351B (en) Application interface display method and device and storage medium
CN106775202B (en) Information transmission method and device
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN107239351B (en) Pasting method and device
CN106126025B (en) Interactive method and device for copying and pasting
CN111399720A (en) Method and device for displaying application interface and storage medium
JP2017513416A (en) Data transmission method, apparatus, facility, program, and recording medium
CN104767857A (en) Telephone calling method and device based on cloud name cards
CN105389083B (en) Large font implementation method and device and intelligent terminal
CN112463418A (en) Cross-device information sharing method, device, medium and electronic device
CN105095296B (en) File management method and device
KR101716622B1 (en) Method and device, program and recording medium for sending message
CN112698770B (en) Information processing method and device, and storage medium
CN112954596B (en) Data sharing method, device, equipment and storage medium
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN114442789A (en) Dark screen control method, device, equipment and storage medium
EP3185515B1 (en) Method and device for inputting information
CN108092986B (en) Data transmission method and device of mobile terminal
US20220210110A1 (en) Method and device for information processing, and storage medium
US11956333B2 (en) Method for sharing apps, terminal, and storage medium
CN113259995B (en) Information processing method, device and storage medium
WO2023245311A1 (en) Window adjustment method, apparatus, terminal, and storage medium
CN109412935B (en) Instant messaging sending method, receiving method, sending device and receiving device

Legal Events

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