WO2021238840A1 - 信息分享方法、信息分享装置和电子设备 - Google Patents

信息分享方法、信息分享装置和电子设备 Download PDF

Info

Publication number
WO2021238840A1
WO2021238840A1 PCT/CN2021/095448 CN2021095448W WO2021238840A1 WO 2021238840 A1 WO2021238840 A1 WO 2021238840A1 CN 2021095448 W CN2021095448 W CN 2021095448W WO 2021238840 A1 WO2021238840 A1 WO 2021238840A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
application
sharing
electronic device
stylus
Prior art date
Application number
PCT/CN2021/095448
Other languages
English (en)
French (fr)
Inventor
魏峰
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021238840A1 publication Critical patent/WO2021238840A1/zh

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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • This application belongs to the field of information technology, and specifically relates to an information sharing method, an information sharing device and electronic equipment.
  • the purpose of the embodiments of this application is to provide an information sharing method, information sharing device and electronic equipment, which can solve the problem that the information sharing process relies on third-party applications and is not convenient enough.
  • an embodiment of the present application provides an information sharing method, which is applied to a first electronic device, and the information sharing method includes:
  • connection request In the case of receiving a connection request sent by the stylus pen, establish a communication connection between the first electronic device and the stylus pen, wherein the connection request is that the stylus pen is disconnected from the second electronic device The request initiated after the communication connection;
  • the target processing operation is performed or the target interface is displayed.
  • an embodiment of the present application provides an information sharing method applied to a second electronic device, and the information sharing method includes:
  • the target information in the first interface is sent to the stylus as sharing information.
  • an embodiment of the present application provides an information sharing device, which is applied to a first electronic device, and the information sharing device includes:
  • the connection module is configured to establish a communication connection between the first electronic device and the stylus when a connection request sent by the stylus is received, wherein the connection request is that the stylus is disconnected A request initiated after the communication connection with the second electronic device;
  • the first receiving module is configured to receive sharing information sent by the stylus pen, where the sharing information is obtained by the stylus pen from a first application in the second electronic device;
  • the sharing module is used to perform target processing operations or display a target interface according to the shared information.
  • an embodiment of the present application provides an information sharing device applied to a second electronic device, and the information sharing device includes:
  • the second receiving module is configured to receive a user's fourth input on the first interface, where the first interface is an interface in the first application;
  • the sending module is configured to send the target information in the first interface as sharing information to the stylus in response to the fourth input.
  • an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program or instruction that is stored on the memory and can run on the processor.
  • the program or instruction is The processor implements the steps of the method described in the first aspect or the second aspect when executed.
  • an embodiment of the present application provides a readable storage medium that stores a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the implementation is as described in the first or second aspect. Steps of the method.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the chip as in the first aspect The method described.
  • the first electronic device establishes a communication connection with the stylus after the stylus is disconnected from the second electronic device, and receives and shares information through the stylus.
  • the sharing information is obtained by the stylus from the first application in the second electronic device.
  • the target processing operation is performed or the target interface is displayed. Realize the related processing of the shared information through the target processing operation, or display the shared information through the target interface.
  • this application no longer relies on third-party applications, that is, there is no need to install a third-party application for transmitting the shared information on the first electronic device to realize the rapid sharing of the shared information.
  • Figure 1 is a schematic diagram of an information sharing process provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of steps of an information sharing method applied to a first electronic device according to an embodiment of the present application
  • FIG. 3 is a flowchart of steps of an information sharing method applied to a second electronic device according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of the first interface when the shared information is commodity information provided by an embodiment of the present application;
  • FIG. 5 is a schematic diagram of the first interface when the shared information is contact information according to an embodiment of the present application.
  • Fig. 6 is a schematic diagram showing a closed figure drawn in the first interface provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram showing the sharing bullet frame in the first interface provided by an embodiment of the present application.
  • FIG. 8 is a structural block diagram of an information sharing apparatus applied to a first electronic device according to an embodiment of the present application.
  • FIG. 9 is a structural block diagram of an information sharing apparatus applied to a second electronic device according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
  • This application provides an information sharing method applied to a sharing system.
  • the sharing system includes: a first electronic device, a second electronic device, and a stylus.
  • the information sharing methods include:
  • the second electronic device receives the user's fourth input on the first interface.
  • a first application is installed on the second electronic device, and the first interface is an interface in the first application.
  • the fourth input may include, but is not limited to: a sliding operation, a drag operation, a double-click operation, a rotation operation, or a long-press operation on the first interface.
  • it can be a single-touch operation, such as sliding, dragging, rotating, or double-clicking with a single finger on the first interface; it can also be a multi-touch operation, such as simultaneous Use two fingers to perform sliding operations, drag operations, double-click operations, rotation operations, or long-press operations on the first interface.
  • It can also be a stylus equal to the input on the first interface of a peripheral connected to the second electronic device .
  • the information sharing method applied to the sharing system provided by this application further includes: in response to the fourth input, the second electronic device sends the target information in the first interface as sharing information to the stylus communicatively connected with the second electronic device .
  • the target information includes part or all of the information displayed on the first interface; it may also include the network link of the first interface.
  • the communication connection between the second electronic device and the stylus pen may be a Bluetooth connection, but is not limited to this.
  • the second electronic device can detect the state of use of the stylus. Different usage states of the stylus correspond to different operations and will trigger different touch information. The second electronic device determines the state of use of the stylus and the operation performed by the touch information triggered by the stylus. Therefore, in order to prevent the user from misoperation of the second electronic device, the shared information is sent to the stylus.
  • the second electronic device sends the target information in the first interface as sharing information to the stylus communicatively connected to the second electronic device, including: the second electronic device responds to the fourth input .
  • the target information in the first interface is used as sharing information and sent to the communication connection with the second electronic device.
  • the stylus that is to say, the shared information will be sent to the stylus only through the fourth input that meets the preset conditions. For example, when the user makes a fourth input to the first interface through the stylus pen, the sharing information is sent to the stylus pen.
  • the stylus pen when the stylus pen performs input on the second electronic device, it will send touch information to the second electronic device, because the touch parameters of the stylus are different from the touch parameters of the finger, and the second electronic device passes The touch information can determine whether the fourth input is the input of the stylus, but it is not limited to this.
  • the information sharing method applied to the sharing system provided in the present application further includes: the stylus receives the sharing information, disconnects the communication connection with the second electronic device, and establishes the communication connection with the first electronic device.
  • the user can actively disconnect the communication connection between the stylus pen and the second electronic device, and establish a connection between the stylus pen and the first electronic device.
  • an active button can be set on the stylus, and by pressing the active button, the electronic device currently connected to the stylus is disconnected; and the electronic device closest to the stylus is actively connected.
  • the stylus pen actively disconnects the currently connected electronic device; and actively connects to the electronic device closest to the stylus pen.
  • the information sharing method applied to the sharing system provided in this application further includes: the stylus is connected to the first electronic device, and the received sharing information is sent to the first electronic device.
  • the stylus may store multiple shared content sent by the second electronic device, and the user can freely choose which specific shared content to send to the first electronic device.
  • the information sharing method applied to the sharing system provided by the present application further includes: when the first electronic device receives the connection request sent by the stylus pen, establishing a communication connection between the first electronic device and the stylus pen; wherein, the connection request It is a request initiated after the stylus disconnects the communication connection with the second electronic device.
  • the information sharing method applied to the sharing system provided by this application further includes: the first electronic device receives the sharing information sent by the stylus.
  • the sharing information is obtained by the stylus from the first application in the second electronic device.
  • the first electronic device performs a target processing operation and displays a target interface.
  • the source interface is the first interface containing the sharing information in the second electronic device. You can also perform different target processing operations to determine different target interfaces, and display the shared information on the target interface.
  • the second electronic device sends the sharing information to the stylus
  • the stylus sends the sharing information to the second electronic device.
  • the stylus is used to transmit and share information between the first electronic device and the second electronic device. No longer relying on third-party applications, that is, without installing third-party applications for transmitting and sharing information, you can quickly share shared information.
  • FIG 1 is a schematic diagram of an information sharing process provided by an embodiment of this application. As shown in Figure 1, the information sharing process includes:
  • Step 101 the stylus is connected to terminal A, and the user selects information to be shared from terminal A;
  • Step 102 The user switches through the movable parts on the stylus, and connects the stylus to the terminal B;
  • Step 103 The user performs operations on the terminal B through the stylus pen to view the shared content.
  • terminal A sends the sharing information to the stylus
  • the stylus sends the sharing information to the terminal B.
  • the stylus is used to transmit and share information between terminal A and terminal B. No longer relying on third-party applications, you can achieve quick sharing of shared information.
  • the embodiment of the application provides an information sharing method, which is applied to a first electronic device. As shown in FIG. 2, the information sharing method includes step 201 to step 203.
  • Step 201 In the case of receiving a connection request sent by the stylus pen, establish a communication connection between the first electronic device and the stylus pen.
  • connection request is a request initiated after the stylus is disconnected from the second electronic device.
  • Step 202 Receive sharing information sent by the stylus.
  • the shared information may include, but is not limited to, text, numbers, pictures, network links, etc.
  • the sharing information is obtained by the stylus from the first application in the second electronic device.
  • the first application is installed on the second electronic device, and the shared information is page information of a certain page in the first application.
  • the specific content of the shared information is also different.
  • the shared information may be product information; when the first application is a social application, the shared information may be a friend account or nickname; when the first application is a music application, the shared information It can be the network link of the song, lyrics, artist information, etc.; when the first application is a contact application, the shared information can be the name, phone number, email, etc. of at least one contact; when the first application is a video application, share The information can be a network link of the video; when the first application is a news application, the shared information can be the specific content of the news, a network link, etc.
  • the shared information includes: product information or contact information.
  • Step 203 Perform a target processing operation or display a target interface according to the shared information.
  • different target processing operations can be performed according to different shared information, or the shared information can be displayed through different target interfaces.
  • sharing the shared information it is not limited to displaying the source interface indicated by the shared information on the target interface, where the source interface is an interface that includes the shared information in the first application in the second electronic device.
  • the target interface may be an interface of a first application installed on the first electronic device, or an interface of an application other than the first application installed on the first electronic device.
  • the first electronic device establishes a communication connection with the stylus after the stylus is disconnected from the second electronic device, and receives and shares information through the stylus.
  • the sharing information is obtained by the stylus from the first application in the second electronic device.
  • the target processing operation is performed or the target interface is displayed. Realize the related processing of the shared information through the target processing operation, or display the shared information through the target interface.
  • this application no longer relies on third-party applications, that is, there is no need to install a third-party application for transmitting the shared information on the first electronic device to realize the rapid sharing of the shared information.
  • the shared information executes the target processing operation corresponding to the shared information or display the first target interface corresponding to the shared information, including:
  • the user uses the stylus to perform the first input.
  • the target processing operation is performed or the target interface is displayed.
  • the target processing operation will be executed or the target interface will be displayed. If other objects are used for input, the target processing operation will not be performed, and the target interface will not be displayed.
  • the first electronic device can detect the state of use of the stylus pen. Different usage states of the stylus correspond to different operations and will trigger different touch information.
  • the first electronic device determines the state of use of the stylus and the operation performed by the touch information triggered by the stylus. That is to say, when the first electronic device receives the first touch information, it indicates the first input made by the user through the stylus pen instead of the first input made by fingers or other objects.
  • the first touch information is used to indicate that the first input is a touch operation triggered by a stylus.
  • the target processing operation when the user performs the first input through the stylus pen, the target processing operation will be performed or the target interface will be displayed, thereby completing the sharing of shared information. If the user uses an item other than the stylus to perform the first input, the first electronic device will neither perform the target processing operation nor display the target interface, so that the sharing of shared information cannot be completed. That is to say, the first input is input by the stylus as a prerequisite for sharing the shared information. When the user has no need to share the shared information, the sharing of the shared information caused by the user's false trigger can be avoided to a large extent.
  • the shared information is product information.
  • the steps of executing the target processing operation or displaying the target interface include:
  • the first application in the first electronic device When the first application in the first electronic device is in the activated state, switch the display page of the first application to the display page of product information according to the shared information; or, the first application in the first electronic device is in the closed state In the case of receiving a second input from the user to the application icon of the second application, and in response to the second input, execute the target function in the second application or display the target interface in the second application.
  • the first electronic device may have started the first application.
  • the display page of the first application can be directly switched to the display page of product information without any input.
  • the display page of the product information of the first electronic device is the same as the display page when the product information is obtained in the second electronic device .
  • the startup state includes foreground running, background running, and starting.
  • the first electronic device may not start the first application.
  • the user is required to access the second application on the first electronic device.
  • the second application and the first application may be the same or different.
  • different inputs to the application icon of the second application correspond to different target functions, and different target interfaces are displayed, and multiple operations and the target function and target interface corresponding to each operation can be stored in advance.
  • the second input is matched with a variety of pre-stored operations, and then the target function corresponding to the successful operation of the second input is executed, or the corresponding target interface is displayed. For example, a long press operation and a heavy press operation are stored in advance.
  • the target function corresponding to the long-press operation is to add the shared product to the shopping cart
  • the corresponding target interface is the shopping cart interface
  • the target function corresponding to the heavy-press operation is to add the shared product to the favorites
  • the corresponding target interface is the favorites interface.
  • the step of executing the target function in the second application or displaying the target interface in the second application includes:
  • the second application In the case that the second application is the same as the first application, display a page containing product information in the second application, or add the product corresponding to the product information to the shopping cart of the second application, or add the product corresponding to the product information to the shopping cart of the second application Favorites of the second application;
  • the second application In the case that the second application is different from the first application, search in the second application according to the product information, or display the search result page of the product information.
  • the shopping cart page of the second application can also be displayed.
  • the favorites page of the second application may also be displayed.
  • the product corresponding to the product information can also be added to the order of the second application.
  • the first application may not be installed in the first electronic device. At this time, if you want to share the shared information, you can display it through other applications, and the other applications can be browsers or applications of the same type as the first application.
  • the product information (such as product name, model, store, etc.) is used in the second application to search, or to display a search result page.
  • the second application is a browser
  • the product information is used for searching in the second application and the search result page is displayed; of course, it is also possible to enter the website corresponding to the first application through the browser, and then directly display the product information on the website.
  • different target functions may be executed or different target interfaces may be displayed according to different inputs to the application icon of the second application. Improve the user's selectivity and meet the various needs of users. It is also possible to display the shared information with the aid of a browser or an application of the same type as the first application when the first application is not installed on the first electronic device, and the sharing of the shared information can still be completed.
  • the shared information is contact information.
  • the steps of executing the target processing operation or displaying the target interface include:
  • the third application is a phone application, dial the number in the contact information
  • the third application is a contact application, save the contact information or display the contact edit page;
  • the third application is a short message application, send a short message to the number in the contact information or display a short message editing page;
  • the call charge recharge is performed on the number in the contact information.
  • the third application icon may be an application icon of a phone application, an application icon of a contact application, an application icon of a short message application, or an application icon of an application with a call charge recharge function.
  • different target processing operations can be performed according to different objects targeted by the third input, or different target interfaces can be displayed.
  • Multiple target processing operations can be set in advance, and each target processing operation corresponds to an application; that is, when an application is operated, the target processing operation corresponding to the application is performed.
  • the dialing operation is preset, and the corresponding relationship with the phone application is set.
  • dialing is to call the phone number in the contact information and wait for the other party to answer.
  • the displayed contact edit page is filled with contact information, and the user clicks the save button to save it.
  • the short message editing page is filled with contact information, that is, the number in the contact information is used as the recipient's short message editing page, waiting for the user to input the sending content.
  • the sharing process is similar to when the shared information is commodity information.
  • the target processing operation may be adding a friend
  • the target interface is an interface for adding a friend.
  • the sharing process is similar to the foregoing sharing process, and will not be repeated here.
  • the embodiment of the present application also provides an information sharing method, which is applied to a second electronic device.
  • the information sharing method includes: step 301 and step 302.
  • Step 301 Receive a user's fourth input on the first interface.
  • a first application is installed on the second electronic device, and the first interface is an interface in the first application.
  • the fourth input may include, but is not limited to: a sliding operation, a drag operation, a double-click operation, a rotation operation, or a long-press operation on the first interface.
  • it can be a single-touch operation, such as sliding, dragging, rotating, or double-clicking with a single finger on the first interface; it can also be a multi-touch operation, such as simultaneous Use two fingers to perform sliding operations, dragging operations, double-clicking operations, rotating operations, or long-pressing operations on the first interface.
  • Step 302 in response to the fourth input, send the target information in the first interface as sharing information to the stylus.
  • the stylus is wirelessly connected with the second electronic device.
  • the shared information is product information or contact information in the first application.
  • FIG. 4 is a schematic diagram of the first interface when the shared information is commodity information.
  • Fig. 5 is a schematic diagram of the first interface when the shared information is contact information.
  • the second electronic device can send the sharing information to the first electronic device through the stylus, so that in the process of sharing the shared information, it is no longer dependent on the third-party application to realize the sharing Quick sharing of information.
  • the step of sending the target information in the first interface as sharing information to the stylus includes:
  • the target information in the first interface is used as sharing information and sent to the stylus.
  • the sending condition may be that the fourth input is the input of the stylus and/or the movement track of the fourth input forms a closed image.
  • the second electronic device can detect the state of use of the stylus pen. Different usage states of the stylus correspond to different operations and will trigger different touch information.
  • the second electronic device can determine the state of use of the stylus and the operations performed by the touch information triggered by the stylus pen.
  • the fourth input is the input of the stylus pen as the sending condition
  • the second electronic device receives the second touch information, it indicates that the user made the fourth input through the stylus pen, rather than through fingers or other objects.
  • the fourth input is to use the target information in the first interface as sharing information and send it to the stylus.
  • the second touch information is used to indicate that the fourth input is a touch operation triggered by the stylus.
  • other methods can also be used to determine whether the fourth input is the input of the stylus on the second electronic device, which will not be repeated here.
  • the sending condition for sending the shared information to the stylus is set. If the sending condition is met, the second electronic device uses the target information in the first interface as the shared information and sends it to the stylus, and The stylus sends the shared information to the first electronic device, thereby completing the sharing of the shared information.
  • the sharing of the shared information caused by the user's false trigger can be avoided to a large extent.
  • the fourth input is a movement operation in which the movement track forms a closed figure.
  • the sharing operation of sharing information that is, sending the target information in the first interface as the sharing information to the stylus.
  • the area of the closed figure is greater than the preset area threshold.
  • the area of the closed graphic is small and cannot trigger the sharing operation of sharing information.
  • the shared information when it is product information, it can be set to be input only in a fixed area, and the fixed area can be the area where the product name is located, but it is not limited to this.
  • the user draws a closed graphic in the area where the product name is located with a stylus, if the closed graphic only circles one-half or less than one-half of the area where the product name is located, the sharing operation of sharing information will not be triggered ; Only if more than one-half of the area where the product name is located in the closed graphic, will the sharing operation of the shared information be triggered.
  • the step of receiving a fourth input from the user on the first interface includes:
  • a fourth input from the user to the preset control is received, where the preset control is displayed in a sharing popup in the first interface, and the first interface is an interface in the first application.
  • the preset control is the control corresponding to the stylus in FIG. 7.
  • the sharing popup can be called out through the "Share" control in Figure 7.
  • a sharing popup can be popped up from the bottom of the current display interface.
  • a preset control is used to trigger the sharing operation of sharing information. It is convenient for users to quickly share shared information.
  • This application also provides an information sharing method, which is applied to a stylus.
  • the information sharing methods include:
  • the communication connection between the stylus and the first electronic device and the second electronic device may be a Bluetooth connection, but is not limited to this.
  • the communication connection between the stylus pen and the second electronic device can be actively disconnected by the user, and the connection between the stylus pen and the first electronic device can be established.
  • an active button can be provided on the stylus, and by pressing the active button, the electronic device currently connected to the stylus is disconnected; and the electronic device that is closest to the stylus is actively connected.
  • the stylus pen after the stylus pen receives the sharing information, the stylus pen actively disconnects the currently connected electronic device; and actively connects to the electronic device closest to the stylus pen.
  • the stylus can store a plurality of shared content sent by the second electronic device, and each shared content includes the shared information obtained when the information sharing is triggered once.
  • the user freely selects the shared content sent to the first electronic device.
  • the sharing information in the first electronic device is transmitted to the second electronic device through the stylus, so that when the first electronic device shares information with the second electronic device, it no longer needs to rely on third-party applications, which realizes the Quick sharing of shared information.
  • the execution subject of the information sharing method provided in the embodiment of the present application may be an information sharing device, or a control module in the information sharing device for executing the loading information sharing method.
  • the information sharing method executed by the information sharing device is taken as an example to illustrate the information sharing method provided in the embodiment of the present application.
  • the embodiment of the present application provides an information sharing device, which is applied to a first electronic device.
  • the information sharing device 80 includes:
  • the connection module 81 is configured to establish a communication connection between the first electronic device and the stylus when the connection request sent by the stylus pen is received, wherein the connection request is that the stylus disconnects the communication with the second electronic device Requests initiated after connection;
  • the first receiving module 82 is configured to receive sharing information sent by the stylus pen, where the sharing information is obtained by the stylus pen from the first application in the second electronic device;
  • the sharing module 83 is used to perform target processing operations or display a target interface according to the shared information.
  • the sharing module 83 is specifically used for:
  • the shared information is product information
  • the sharing module 83 includes:
  • the first sharing unit is configured to switch the display page of the first application to the display page of product information when the first application in the first electronic device is in an activated state;
  • the second sharing unit is configured to receive a second input from the user to the application icon of the second application when the first application in the first electronic device is in the closed state, and in response to the second input, execute the second The target function in the application or the target interface in the second application is displayed.
  • the second sharing unit includes:
  • the first sharing subunit is used to display a page containing product information in the second application when the second application is the same as the first application, or to add the product corresponding to the product information to the shopping cart of the second application, or , Add the product corresponding to the product information to the favorites of the second application;
  • the second sharing subunit is used to search in the second application according to the product information when the second application is different from the first application, or to display the search result page of the product information.
  • the shared information is contact information
  • the sharing module 83 includes:
  • the second receiving unit is configured to receive a user's third input of a third application icon corresponding to the third application
  • the third sharing unit is configured to perform at least one of the following items in response to the third input:
  • the third application is a phone application, dial the number in the contact information
  • the third application is a contact application, save the contact information or display the contact edit page;
  • the third application is a short message application, send a short message to the number in the contact information or display a short message editing page;
  • the call charge recharge is performed on the number in the contact information.
  • the information sharing device in the embodiments of the present application may be a device, or a component, integrated circuit, or chip in a terminal.
  • the device can be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
  • Non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application The embodiments are not specifically limited.
  • the information sharing device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the information sharing device provided in the embodiment of the present application can implement the various processes of the above-mentioned information sharing method embodiment applied to the first electronic device, and in order to avoid repetition, details are not repeated here.
  • the first electronic device establishes a communication connection with the stylus after the stylus is disconnected from the second electronic device, and receives and shares information through the stylus.
  • the sharing information is obtained by the stylus from the first application in the second electronic device.
  • this application no longer relies on third-party applications, that is, there is no need to install a third-party application for transmitting the shared information on the first electronic device to realize the rapid sharing of the shared information.
  • the embodiment of the present application provides an information sharing device, which is applied to a second electronic device.
  • the information sharing device 90 includes:
  • the second receiving module 91 is configured to receive a user's fourth input on the first interface, where the first interface is an interface in the first application;
  • the sending module 92 is configured to send the target information in the first interface as sharing information to the stylus in response to the fourth input.
  • the sending module 92 is specifically used for:
  • the target information in the first interface is used as sharing information and sent to the stylus.
  • the fourth input is a movement operation in which the movement track forms a closed figure.
  • the area of the closed figure is greater than a preset area threshold.
  • the shared information is product information or contact information in the first application.
  • the second receiving module 91 is specifically configured to:
  • a fourth input from the user to the preset control is received, where the preset control is displayed in a sharing popup in the first interface, and the first interface is an interface in the first application.
  • the information sharing device in the embodiments of the present application may be a device, or a component, integrated circuit, or chip in a terminal.
  • the device can be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
  • Non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application The embodiments are not specifically limited.
  • the information sharing device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the information sharing device provided in the embodiment of the present application can implement each process of the above-mentioned information sharing method embodiment applied to the second electronic device. To avoid repetition, details are not described herein again.
  • the second electronic device can send the sharing information to the first electronic device through the stylus, so that in the process of sharing the shared information, it is no longer dependent on the third-party application to realize the sharing Quick sharing of information.
  • an embodiment of the present application further provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and capable of running on the processor.
  • the program or instruction is executed by the processor, the foregoing information sharing is realized.
  • Each process of the method embodiment can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 10 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, etc. part.
  • the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions.
  • the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
  • the radio frequency unit 1001 is configured to establish a communication connection between the first electronic device and the stylus in the case of receiving a connection request sent by the stylus, wherein the connection request is that the stylus is disconnected from the second electronic device The request initiated after the communication connection is received; the sharing information sent by the stylus is received, where the sharing information is obtained by the stylus from the first application in the second electronic device.
  • the processor 1010 is configured to execute a target processing operation or display a target interface according to the shared information.
  • the radio frequency unit 1001 is configured to receive a user's fourth input on the first interface, where the first interface is an interface in the first application.
  • the processor 1010 is configured to send the target information in the first interface as sharing information to the stylus in response to the fourth input.
  • the shared information is transmitted through the stylus, so that there is no need to rely on third-party applications. That is, in the process of sharing the shared information, there is no need to install a third-party application for transmitting the shared information on the electronic device, and the shared information can be quickly shared.
  • the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042.
  • the graphics processor 10041 is paired by the image capture device ( For example, the image data of the still picture or video obtained by the camera) is processed.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072.
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the memory 1009 may be used to store software programs and various data, including but not limited to application programs and operating systems.
  • the processor 1010 may integrate an application processor and a modem processor.
  • the application processor mainly processes an operating system, a user interface, and an application program
  • the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
  • the embodiment of the present application also provides an electronic device configured to perform each process of the above-mentioned information sharing method embodiment, and can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • the embodiment of the present application also provides a readable storage medium with a program or instruction stored on the readable storage medium.
  • the program or instruction is executed by a processor, each process of the above-mentioned information sharing method embodiment is realized, and the same can be achieved. In order to avoid repetition, I won’t repeat them here.
  • the processor is the processor in the electronic device described in the foregoing embodiment.
  • the readable storage medium includes a computer readable storage medium, and examples of the computer readable storage medium include a non-transitory computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), random access memory ( Random Access Memory, RAM), floppy disk or CD-ROM, etc.
  • An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the above information sharing method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled with the processor
  • the processor is used to run a program or an instruction to implement the above information sharing method embodiment
  • the embodiment of the present invention also provides a computer program product, which can be executed by a processor to realize each process of the above-mentioned information sharing method embodiment, and can achieve the same technical effect. In order to avoid repetition, it will not be repeated here. .
  • chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种信息分享方法、信息分享装置和电子设备。该信息分享方法应用于第一电子设备,该信息分享方法包括:在接收到触控笔发送的连接请求的情况下,建立第一电子设备与触控笔的通信连接;接收触控笔发送的分享信息;其中,所述分享信息为所述触控笔从第二电子设备中的第一应用中获取的;根据所述分享信息,执行目标处理操作或显示目标界面。

Description

信息分享方法、信息分享装置和电子设备
相关申请的交叉引用
本申请主张在2020年05月29日在中国提交的中国专利申请号202010478612.7的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于信息技术领域,具体涉及一种信息分享方法、信息分享装置和电子设备。
背景技术
随着互联网的飞速发展,网络上的信息越来越丰富,人们可以通过互联网进行社交、浏览新闻、网上购物、播放音乐等等。尤其,人们可以通过社交类应用程序向朋友分享自己的所见所闻。
现有技术中,人们通过互联网分享信息时,均依赖于第三方应用。需要人们在各自使用的电子设备中的第三方应用上进行操作,才能将分享信息分享至其他第三方应用中的用户。例如人们分享网页新闻时,需要依赖于社交类应用程序。将网页新闻的链接通过社交类应用程序发送至该社交类应用程序的其他用户。其他用户在社交类应用程序中接收到链接,打开链接才能够得到被分享的网页新闻。
因此,人们使用不同电子设备进行信息分享时,必须在双方的电子设备上安装用于传输分享信息的第三方应用,同时还要保证双方均为第三方应用的注册用户。这不仅对分享信息造成很大的局限,同时还造成了分享信息十分不便的问题。
发明内容
本申请实施例的目的是提供一种信息分享方法、信息分享装置和电子 设备,能够解决信息分享过程依赖于第三方应用,不够便捷的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种信息分享方法,应用于第一电子设备,该信息分享方法包括:
在接收到触控笔发送的连接请求的情况下,建立所述第一电子设备与所述触控笔的通信连接,其中,所述连接请求为所述触控笔断开与第二电子设备的通信连接之后发起的请求;
接收所述触控笔发送的分享信息,其中,所述分享信息为所述触控笔从所述第二电子设备中的第一应用中获取的;
根据所述分享信息,执行目标处理操作或显示目标界面。
第二方面,本申请实施例提供了一种信息分享方法,应用于第二电子设备,该信息分享方法包括:
接收用户对第一界面的第四输入,其中,所述第一界面为第一应用中的界面;
响应于所述第四输入,将所述第一界面中的目标信息作为分享信息,发送至触控笔。
第三方面,本申请实施例提供了一种信息分享装置,应用于第一电子设备,该信息分享装置包括:
连接模块,用于在接收到触控笔发送的连接请求的情况下,建立所述第一电子设备与所述触控笔的通信连接,其中,所述连接请求为所述触控笔断开与第二电子设备的通信连接之后发起的请求;
第一接收模块,用于接收所述触控笔发送的分享信息,其中,所述分享信息为所述触控笔从所述第二电子设备中的第一应用中获取的;
分享模块,用于根据所述分享信息,执行目标处理操作或显示目标界面。
第四方面,本申请实施例提供了一种信息分享装置,应用于第二电子设备,该信息分享装置包括:
第二接收模块,用于接收用户对第一界面的第四输入,其中,所述第一界面为第一应用中的界面;
发送模块,用于响应于所述第四输入,将所述第一界面中的目标信息作为分享信息,发送至触控笔。
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,第一电子设备在触控笔与第二电子设备断开连接之后,与触控笔建立通信连接,通过触控笔接收分享信息。该分享信息为所述触控笔从第二电子设备中的第一应用中获取的。从而无需再依赖于第三方应用获取分享信息。根据所述分享信息,执行目标处理操作或显示目标界面。通过目标处理操作实现对分享信息的相关处理,或者通过目标界面,对分享信息进行展示。本申请在对分享信息进行分享的过程中,不再依赖于第三方应用,即无需在第一电子设备上安装用于传输分享信息的第三方应用,即可实现对分享信息的快捷分享。
附图说明
图1是本申请实施例提供的信息分享过程的示意图;
图2是本申请实施例提供的应用于第一电子设备的信息分享方法的步骤流程图;
图3是本申请实施例提供的应用于第二电子设备的信息分享方法的步骤流程图;
图4是本申请实施例提供的当分享信息为商品信息时的第一界面示意图;
图5是本申请实施例提供的当分享信息为联系人信息时的第一界面示意图;
图6是本申请实施例提供的在第一界面中划出封闭图形的展示示意图;
图7是本申请实施例提供的第一界面中的分享弹框展示示意图;
图8是本申请实施例提供的应用于第一电子设备的信息分享装置的结构框图;
图9是本申请实施例提供的应用于第二电子设备的信息分享装置的结构框图;
图10是本申请实施例提供的电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
本申请提供了一种信息分享方法,应用于分享系统。该分享系统包括:第一电子设备、第二电子设备以及触控笔。该信息分享方法包括:
第二电子设备接收用户对第一界面的第四输入。
这里,第二电子设备上安装有第一应用,第一界面为第一应用中的界面。第四输入可以包括但不限于:对第一界面的滑动操作、拖动操作、双击操作、旋转操作或长按操作等。在执行这些操作时,可以是单点触控操 作,如采用单根手指在第一界面上进行滑动操作、拖动操作、旋转操作或双击操作等;也可以是多点触控操作,如同时采用两根手指在第一界面上进行滑动操作、拖动操作、双击操作、旋转操作或长按操作等,还可以是触控笔等于第二电子设备连接的外设在第一界面上的输入。
本申请提供的应用于分享系统的信息分享方法还包括:第二电子设备响应于第四输入,将第一界面中的目标信息作为分享信息,发送至与第二电子设备通信连接的触控笔。
本步骤中,目标信息包括第一界面中显示的部分或者全部信息;还可以包括第一界面的网络链接。第二电子设备与触控笔之间的通信连接可以为蓝牙连接,但不限于此。较佳的,第二电子设备可以检测到触控笔的使用状态。触控笔的不同使用状态对应不同的操作,并且将触发不同的触控信息。第二电子设备通过触控笔触发的触控信息,确定触控笔的使用状态以及进行的操作。因此,为避免用户对第二电子设备误操作,将分享信息发送至触控笔。该第二电子设备响应于第四输入,将第一界面中的目标信息作为分享信息,发送至与第二电子设备通信连接的触控笔的步骤,包括:第二电子设备响应于第四输入,在第四输入为触控笔的输入和/或所述第四输入的移动轨迹形成闭合图形的情况下,将第一界面中的目标信息作为分享信息,发送至与第二电子设备通信连接的触控笔,也就是说通过符合预设条件的第四输入,才会将分享信息发送至触控笔。例如当用户通过触控笔对第一界面进行第四输入时,才会将分享信息发送至触控笔。其中,在触控笔在第二电子设备上进行输入时,会向第二电子设备发送触控信息,因为触控笔的触控参数与手指的触控参数会有差异,第二电子设备通过触控信息就可以确定第四输入是否为触控笔的输入,但不限于此。
本申请提供的应用于分享系统的信息分享方法还包括:触控笔接收该分享信息,并断开与第二电子设备的通信连接,并与第一电子设备建立通信连接。
本步骤中,可以通过用户主动断开触控笔与第二电子设备之间的通信连接,并建立触控笔与第一电子设备之间的连接。例如可以在触控笔上设置一活动按钮,通过按压该活动按钮,断开触控笔当前连接的电子设备; 并主动连接与触控笔距离最近的电子设备。当然也可以在触控笔接收到分享信息之后,由触控笔主动断开当前连接的电子设备;并主动连接与触控笔距离最近的电子设备。
本申请提供的应用于分享系统的信息分享方法还包括:该触控笔将连接第一电子设备,并将接收到的分享信息发送至第一电子设备。
这里,触控笔中可以存储第二电子设备发送的多个分享内容,用户可以自由选择向第一电子设备发送具体哪一个分享内容。
本申请提供的应用于分享系统的信息分享方法还包括:第一电子设备在接收到触控笔发送的连接请求的情况下,建立第一电子设备与触控笔的通信连接;其中,连接请求为触控笔断开与第二电子设备的通信连接之后发起的请求。
本申请提供的应用于分享系统的信息分享方法还包括:第一电子设备接收触控笔发送的分享信息。
本步骤中,分享信息为触控笔从第二电子设备中的第一应用中获取的。
第一电子设备根据分享信息,进行目标处理操作以及显示目标界面。
这里,在对分享信息进行分享时,并不限于将分享信息指示的源界面在目标界面进行展示。其中,源界面为第二电子设备中包含有分享信息的第一界面。还可以通过进行不同的目标处理操作,进而确定不同的目标界面,在目标界面对分享信息进行展示。
本申请实施例中,第二电子设备将分享信息发送至触控笔,由触控笔将分享信息发送至第二电子设备。通过触控笔,在第一电子设备与第二电子设备之间传输分享信息。不再依赖于第三方应用,即无需安装用于传输分享信息的第三方应用,即可实现对分享信息的快捷分享。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息分享方法进行详细地说明。
图1为本申请实施例提供的信息分享过程的示意图。如图1所示,信息分享过程包括:
步骤101,触控笔与终端A连接,用户选取终端A的待分享信息;
步骤102,用户通过触控笔上的活动部件进行切换,将触控笔与终端 B连接;
步骤103,用户通过触控笔在终端B上进行操作,查看分享内容。
本申请实施例中,终端A将分享信息发送至触控笔,由触控笔将分享信息发送至终端B。通过触控笔,在终端A与终端B之间传输分享信息。不再依赖于第三方应用,即可实现对分享信息的快捷分享。
本申请实施例提供一种信息分享方法,应用于第一电子设备。如图2所示,该信息分享方法包括步骤201至步骤203。
步骤201,在接收到触控笔发送的连接请求的情况下,建立第一电子设备与触控笔的通信连接。
本步骤中,连接请求为触控笔断开与第二电子设备的通信连接之后发起的请求。
步骤202,接收触控笔发送的分享信息。
本步骤中,分享信息可以包括但不限于文字、数字、图片、网络链接等。分享信息为触控笔从第二电子设备中的第一应用中获取的。这里,第二电子设备上安装有第一应用,分享信息为第一应用中某一页面的页面信息。针对于不同的第一应用,分享信息的具体内容也不尽相同。
示例性的,当第一应用为购物类应用时,分享信息可以为商品信息;第一应用为社交类应用时,分享信息可以为好友账号或昵称;第一应用为音乐类应用时,分享信息可以为歌曲的网络链接、歌词、演唱者信息等;第一应用为联系人应用时,分享信息可以为至少一个联系人的姓名、电话号码、邮箱等;第一应用为视频类应用时,分享信息可以为视频的网络链接;第一应用为新闻类应用时,分享信息可以为新闻的具体内容、网络链接等。较佳的,分享信息包括:商品信息或者联系人信息。
步骤203,根据分享信息,执行目标处理操作或显示目标界面。
本步骤中,可以根据不同的分享信息进行不同的目标处理操作,或者通过不同的目标界面显示分享信息。当然也可以根据不同的输入操作,对分享信息进行不同的目标处理操作。这里,在对分享信息进行分享时,并不限于将分享信息指示的源界面在目标界面进行展示,其中源界面为第二电子设备中的第一应用中包含有分享信息的界面。可以通过进行不同的目 标处理操作,进而确定不同的目标界面,在目标界面对分享信息进行展示。目标界面可以为安装于第一电子设备上的第一应用的界面,或者安装于第一电子设备上的除第一应用之外的应用的界面。
本申请实施例中,第一电子设备在触控笔与第二电子设备断开连接之后,与触控笔建立通信连接,通过触控笔接收分享信息。该分享信息为所述触控笔从第二电子设备中的第一应用中获取的。从而无需再依赖于第三方应用获取分享信息。根据所述分享信息,执行目标处理操作或显示目标界面。通过目标处理操作实现对分享信息的相关处理,或者通过目标界面,对分享信息进行展示。本申请在对分享信息进行分享的过程中,不再依赖于第三方应用,即无需在第一电子设备上安装用于传输分享信息的第三方应用,即可实现对分享信息的快捷分享。
可选的,根据分享信息,执行与分享信息对应的目标处理操作或显示与分享信息对应的第一目标界面,包括:
接收来自触控笔的第一输入。
这里,由用户使用触控笔进行第一输入。
响应于第一输入,执行目标处理操作或者显示目标界面。
本步骤中,在第一输入为触控笔的输入的情况下,将执行目标处理操作或者显示目标界面。若采用其他物体进行输入,则不会执行目标处理操作,也不会显示目标界面。
这里,当触控笔与第一电子设备通信连接时,第一电子设备可以检测到触控笔的使用状态。触控笔的不同使用状态对应不同的操作,并且将触发不同的触控信息。第一电子设备通过触控笔触发的触控信息,确定触控笔的使用状态以及进行的操作。也就是说,当第一电子设备接收到第一触控信息时,说明用户通过触控笔进行的第一输入,而非通过手指或者其他物品进行的第一输入。具体的,第一触控信息用于指示第一输入为触控笔触发的触控操作。
本申请实施例中,当用户通过触控笔进行第一输入时,将执行目标处理操作或者显示目标界面,从而完成对分享信息的分享。若用户采用除触控笔之外的物品进行第一输入,第一电子设备不会执行目标处理操作,也 不会显示目标界面,从而无法完成对分享信息的分享。也就是说将第一输入为触控笔进行的输入,作为对分享信息进行分享的先决条件。在用户没有对分享信息进行分享的需求时,可以很大程度的避免由于用户误触发导致分享信息的分享。
可选的,分享信息为商品信息,根据分享信息,执行目标处理操作或显示目标界面的步骤包括:
在第一电子设备中的第一应用处于启动状态的情况下,根据分享信息将第一应用的显示页面切换至商品信息的显示页面;或,在第一电子设备中的第一应用处于关闭状态的情况下,接收用户对第二应用的应用图标的第二输入,并响应于第二输入,执行第二应用中的目标功能或显示第二应用中的目标界面。
当第二电子设备向第一电子设备分享第一应用中的商品信息时,第一电子设备可能已经启动了第一应用。此时,可以根据分享信息,将第一应用的显示页面直接切换至商品信息的显示页面,无需进行任何输入。较佳的,由于第一电子设备和第二电子设备上均安装有第一应用,因此,第一电子设备的商品信息的显示页面,与在第二电子设备中获取商品信息时的显示页面相同。其中,启动状态包括前台运行、后台运行以及正在启动。
本步骤中,当第二电子设备向第一电子设备分享第一应用中的分享信息时,第一电子设备可能并未启动第一应用,此时需要用户对第一电子设备上的第二应用的应用图标进行操作,从而执行第二应用中的目标功能或显示第二应用中的目标界面。其中,第二应用与第一应用可以相同或者不同。
本申请实施例中,对第二应用的应用图标的不同输入对应着不同的目标功能,以及显示不同的目标界面,可以预先存储多种操作以及每种操作对应的目标功能和目标界面。在响应第二输入时,将第二输入与预先存储的多种操作进行匹配,然后执行与第二输入匹配成功的操作对应的目标功能,或者显示对应的目标界面。例如,预先存储长按操作和重压操作。其中,长按操作对应的目标功能为将分享商品加入购物车,对应的目标界面为购物车界面,重压操作对应的目标功能为将分享商品加入收藏夹,对应 的目标界面为收藏夹界面。当第二输入为长按操作时,执行将分享商品加入购物车的目标功能,或显示加入商品后的购物车界面;当第二输入为重压操作时,执行将分享商品加入收藏夹的目标功能,或显示加入商品后的收藏夹界面。
具体的,执行第二应用中的目标功能或显示第二应用中的目标界面的步骤包括:
在第二应用与第一应用相同的情况下,在第二应用中显示包括商品信息的页面,或,将商品信息对应的商品加入第二应用的购物车,或,将商品信息对应的商品加入第二应用的收藏夹;
在第二应用与第一应用不同的情况下,根据商品信息在第二应用中进行搜索,或,显示商品信息的搜索结果页面。
较佳的,在将商品信息对应的商品加入第二应用的购物车之后,还可以显示第二应用的购物车页面。在将商品信息对应的商品加入第二应用的收藏夹之后,还可以显示第二应用的收藏夹页面。当然在第二应用与第一应用相同的情况下,还可以将商品信息对应的商品加入第二应用的订单。
可以理解的,第一电子设备中可能并没有安装第一应用。此时,若还想要对分享信息进行分享,可以通过其他应用进行展示,其他应用可以为浏览器或者与第一应用同类型的应用。
本步骤中,可以根据商品信息进行搜索,然后展示搜索界面。例如,当第二应用和第一应用为同类型应用,即购物应用时,在第二应用中使用商品信息(例如商品名称、型号、店铺等信息)进行搜索,或显示搜索结果页面。当第二应用为浏览器时,在第二应用中使用商品信息进行搜索,并显示搜索结果页面;当然也可以通过浏览器进入第一应用对应的网站,进而在该网站中直接展示商品信息。
本申请实施例中,可以根据对第二应用的应用图标的不同输入,执行不同目标功能,或显示不同目标界面。提升了用户的选择性,满足了用户多方面的需求。还可以在第一电子设备未安装第一应用的情况下,借助浏览器或者与第一应用同类型的应用,对分享信息进行展示,依旧可以完成对分享信息的分享。
可选的,分享信息为联系人信息,根据分享信息,执行目标处理操作或显示目标界面的步骤包括:
接收用户对第三应用对应的第三应用图标的第三输入;
响应于第三输入,执行以下所列项中的至少一种:
在第三应用为电话应用的情况下,对联系人信息中的号码进行拨号;
在第三应用为联系人应用的情况下,将联系人信息保存或显示联系人编辑页面;
在第三应用为短信息应用的情况下,向联系人信息中的号码发送短信息或显示短信息编辑页面;
在第三应用为具有话费充值功能的应用的情况下,对联系人信息中的号码进行话费充值。
本步骤中,第三应用图标可以为电话应用的应用图标、联系人应用的应用图标、短信息应用的应用图标或具有话费充值功能的应用的应用图标。
这里,可以根据第三输入针对的不同对象,进行不同的目标处理操作,或显示不同的目标界面。可以预先设置多个目标处理操作,每个目标处理操作对应一个应用;即对某一应用进行操作,则进行该应用对应的目标处理操作。例如预先设置拨号操作,并设置其与电话应用的对应关系。当对电话应用的应用图标进行第三输入时,则对联系人信息中的电话号码进行拨号,或显示电话应用的拨号页面。其中,进行拨号也就是对联系人信息中的电话号码进行呼叫,等待对方应答。较佳的,显示的联系人编辑页面填充有联系人信息,待用户点击保存按钮就进行保存。短信息编辑页面填充有联系人信息,即将联系人信息中的号码作为接收方的短信息编辑页面,待用户输入发送内容。
本申请实施例中,在分享信息为联系人的情况下,可以根据对不同应用的应用图标的输入,实现不同的目标处理操作,或显示不同的目标界面,从而提升了用户的选择性,满足了用户多方面的需求。
当分享信息为社交类应用中的个人信息或者好友信息时,其分享过程与分享信息为商品信息时类似。例如当分享信息为社交类应用中的个人信息或者好友信息时,目标处理操作可以为添加好友,目标界面为添加好友 的界面。当然在分享信息为其他类型应用中的音乐、图片的时候,分享过程与上述分享过程类似,在此不再赘述。
本申请实施例还提供了一种信息分享方法,应用于第二电子设备。如图3所示,该信息分享方法包括:步骤301和步骤302。
步骤301,接收用户对第一界面的第四输入。
这里,第二电子设备上安装有第一应用,第一界面为第一应用中的界面。第四输入可以包括但不限于:对第一界面的滑动操作、拖动操作、双击操作、旋转操作或长按操作等。在执行这些操作时,可以是单点触控操作,如采用单根手指在第一界面上进行滑动操作、拖动操作、旋转操作或双击操作等;也可以是多点触控操作,如同时采用两根手指在第一界面上进行滑动操作、拖动操作、双击操作、旋转操作或长按操作等。
步骤302,响应于第四输入,将第一界面中的目标信息作为分享信息,发送至触控笔。
这里,触控笔与第二电子设备无线连接。分享信息为第一应用中的商品信息或者联系人信息。其中,图4是当分享信息为商品信息时的第一界面示意图。图5是当分享信息为联系人信息时的第一界面示意图。
本申请实施例中,第二电子设备可以将分享信息通过触控笔发送至第一电子设备,从而使得在对分享信息进行分享的过程中,不再依赖于第三方应用,即可实现对分享信息的快捷分享。
可选的,响应于第四输入,将第一界面中的目标信息作为分享信息,发送至触控笔的步骤包括:
响应于第四输入,在第四输入为触控笔的输入或第四输入的移动轨迹形成闭合图形的情况下,将第一界面中的目标信息作为分享信息,发送至触控笔。
本步骤中,设置将分享信息发送至触控笔的发送条件。该发送条件可以为第四输入为触控笔的输入和/或第四输入的移动轨迹形成封闭图像。其中,当触控笔与第二电子设备通信连接时,第二电子设备可以检测到触控笔的使用状态。触控笔的不同使用状态对应不同的操作,并且将触发不同的触控信息。第二电子设备通过触控笔触发的触控信息,可以确定触控笔 的使用状态以及进行的操作。在以第四输入为触控笔的输入为发送条件时,当第二电子设备接收到第二触控信息时,说明用户通过触控笔进行的第四输入,而非通过手指或者其他物品进行的第四输入,将第一界面中的目标信息作为分享信息,发送至触控笔。第二触控信息用于指示第四输入为触控笔触发的触控操作。当然,还可以通过其他方法在第二电子设备上判断第四输入是否为触控笔的输入,在此不再赘述。
本申请实施例中,设置将分享信息发送至触控笔的发送条件,在满足发送条件的情况下,第二电子设备将第一界面中的目标信息作为分享信息,发送至触控笔,由触控笔将分享信息发送至第一电子设备,从而完成对分享信息的分享。在用户没有对分享信息进行分享的需求时,可以很大程度的避免由于用户误触发导致分享信息的分享。
可选的,第四输入为移动轨迹形成闭合图形的移动操作。继续参见图4,通过触控笔在第一界面进行输入,划出封闭图形,将会触发分享信息的分享操作,即将第一界面中的目标信息作为分享信息,发送至触控笔。为避免误操作,较佳的,闭合图形的面积大于预设面积阈值。当封闭图形的面积不大于预设面积阈值时,即使在第一界面划出封闭图形,也不会触发分享信息的分享操作。如图6所示,封闭图形的面积较小,无法触发分享信息的分享操作。当然在分享信息为商品信息时,可以设定为仅能够在固定区域输入,该固定区域可以为商品名称所在区域,但不限于此。当用户通过触控笔在商品名称所在区域划出封闭图形时,若封闭图形仅圈出了商品名称所在区域的二分之一或者不到二分之一,则不会触发分享信息的分享操作;在封闭图形圈出了商品名称所在区域的二分之一以上,才会触发分享信息的分享操作。
本申请实施例中,通过在第一界面上划出封闭图形,触发分享信息的分享操作。方便用户对分享信息进行快捷分享。
可选的,接收用户对第一界面的第四输入的步骤包括:
接收用户对预设控件的第四输入,其中,预设控件显示于第一界面中的分享弹框中,第一界面为第一应用中的界面。
参见图7,预设控件为图7中触控笔对应的控件。这里无需通过触控 笔进行输入,只需要通过手指或其他物品点击预设控件,即可将分享信息发送至触控笔。分享弹框可以通过图7中的“分享”控件调出来。例如,通过点击图7中的“分享”控件,可以在当前显示界面的下方往上弹出分享弹框。
本申请实施例中,采用预设控件触发分享信息的分享操作。方便用户对分享信息进行快捷分享。
本申请还提供了一种信息分享方法,应用于触控笔。该信息分享方法包括:
接收与触控笔通信连接的第二电子设备发送的分享信息;
断开与第二电子设备的通信连接,与第一电子设备建立通信连接;
将分享信息发送至第一电子设备。
这里,触控笔与第一电子设备以及第二电子设备之间的通信连接,可以为蓝牙连接,但不限于此。可以通过用户主动断开触控笔与第二电子设备之间的通信连接,并建立触控笔与第一电子设备之间的连接。例如可以在触控笔上设置一活动按钮,通过按压该活动按钮,断开触控笔当前连接的电子设备;并主动连接与触控笔距离最近的电子设备。当然也可以在触控笔接收到分享信息之后,由触控笔主动断开当前连接的电子设备;并主动连接与触控笔距离最近的电子设备。
较佳的,触控笔可以存储第二电子设备发送的多个分享内容,每个分享内容包括触发一次信息分享时获取的分享信息。由用户自由选择向第一电子设备发送的分享内容。
本申请中,通过触控笔将第一电子设备中的分享信息传输至第二电子设备,使得第一电子设备在向第二电子设备分享信息时,无需再依赖于第三方应用,实现了对分享信息的快捷分享。
需要说明的是,本申请实施例提供的信息分享方法,执行主体可以为信息分享装置,或者该信息分享装置中的用于执行加载信息分享方法的控制模块。本申请实施例中以信息分享装置执行加载信息分享方法为例,说明本申请实施例提供的信息分享方法。
本申请实施例提供了一种信息分享装置,应用于第一电子设备。如图 8所示,该信息分享装置80包括:
连接模块81,用于在接收到触控笔发送的连接请求的情况下,建立第一电子设备与触控笔的通信连接,其中,连接请求为触控笔断开与第二电子设备的通信连接之后发起的请求;
第一接收模块82,用于接收触控笔发送的分享信息,其中,分享信息为触控笔从第二电子设备中的第一应用中获取的;
分享模块83,用于根据分享信息,执行目标处理操作或显示目标界面。
可选的,分享模块83具体用于:
接收来自触控笔的第一输入;响应于第一输入,执行目标处理操作或显示目标界面。
可选的,分享信息为商品信息,分享模块83包括:
第一分享单元,用于在第一电子设备中的第一应用处于启动状态的情况下,将第一应用的显示页面切换至商品信息的显示页面;
或,第二分享单元,用于在第一电子设备中的第一应用处于关闭状态的情况下,接收用户对第二应用的应用图标的第二输入,并响应于第二输入,执行第二应用中的目标功能或显示第二应用中的目标界面。
可选的,第二分享单元包括:
第一分享子单元,用于在第二应用与第一应用相同的情况下,在第二应用中显示包括商品信息的页面,或,将商品信息对应的商品加入第二应用的购物车,或,将商品信息对应的商品加入第二应用的收藏夹;
或,第二分享子单元,用于在第二应用与第一应用不同的情况下,根据商品信息在第二应用中进行搜索,或,显示商品信息的搜索结果页面。
可选的,分享信息为联系人信息,分享模块83包括:
第二接收单元,用于接收用户对第三应用对应的第三应用图标的第三输入;
第三分享单元,用于响应于第三输入,执行以下所列项中的至少一种:
在第三应用为电话应用的情况下,对联系人信息中的号码进行拨号;
在第三应用为联系人应用的情况下,将联系人信息保存或显示联系人编辑页面;
在第三应用为短信息应用的情况下,向联系人信息中的号码发送短信息或显示短信息编辑页面;
在第三应用为具有话费充值功能的应用的情况下,对联系人信息中的号码进行话费充值。
本申请实施例中的信息分享装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息分享装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息分享装置能够实现上述应用于第一电子设备的信息分享方法实施例的各个过程,为避免重复,这里不再赘述。
本申请实施例中,第一电子设备在触控笔与第二电子设备断开连接之后,与触控笔建立通信连接,通过触控笔接收分享信息。该分享信息为触控笔从第二电子设备中的第一应用中获取的。从而无需再依赖于第三方应用获取分享信息。根据分享信息,执行目标处理操作或显示目标界面。通过目标处理操作实现对分享信息的相关处理,或者通过目标界面,对分享信息进行展示。本申请在对分享信息进行分享的过程中,不再依赖于第三方应用,即无需在第一电子设备上安装用于传输分享信息的第三方应用,即可实现对分享信息的快捷分享。
本申请实施例提供了一种信息分享装置,应用于第二电子设备。如图9所示,该信息分享装置90包括:
第二接收模块91,用于接收用户对第一界面的第四输入,其中,第一 界面为第一应用中的界面;
发送模块92,用于响应于第四输入,将第一界面中的目标信息作为分享信息,发送至触控笔。
可选的,发送模块92具体用于:
响应于第四输入,在第四输入为触控笔的输入或第四输入的移动轨迹形成闭合图形的情况下,将第一界面中的目标信息作为分享信息,发送至触控笔。
可选的,第四输入为移动轨迹形成闭合图形的移动操作。
可选的,闭合图形的面积大于预设面积阈值。
可选的,分享信息为第一应用中的商品信息或者联系人信息。
可选的,第二接收模块91具体用于:
接收用户对预设控件的第四输入,其中,预设控件显示于第一界面中的分享弹框中,第一界面为第一应用中的界面。
本申请实施例中的信息分享装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息分享装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息分享装置能够实现上述应用于第二电子设备的信息分享方法实施例的各个过程,为避免重复,这里不再赘述。
本申请实施例中,第二电子设备可以将分享信息通过触控笔发送至第一电子设备,从而使得在对分享信息进行分享的过程中,不再依赖于第三 方应用,即可实现对分享信息的快捷分享。
可选的,本申请实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在处理器上运行的程序或指令,该程序或指令被处理器执行时实现上述信息分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图10为实现本申请实施例的电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,射频单元1001,用于在接收到触控笔发送的连接请求的情况下,建立第一电子设备与触控笔的通信连接,其中,连接请求为触控笔断开与第二电子设备的通信连接之后发起的请求;接收触控笔发送的分享信息,其中,分享信息为触控笔从第二电子设备中的第一应用中获取的。
处理器1010,用于根据分享信息,执行目标处理操作或显示目标界面。
或者,
射频单元1001,用于接收用户对第一界面的第四输入,其中,第一界面为第一应用中的界面。
处理器1010,用于响应于第四输入,将第一界面中的目标信息作为分享信息,发送至触控笔。
本申请实施例中,通过触控笔传输分享信息,从而无需再依赖于第三方应用。即在对分享信息进行分享的过程中,无需在电子设备上安装用于 传输分享信息的第三方应用,即可实现对分享信息的快捷分享。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种电子设备,被配置成用于执行上述信息分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,计算机可读存储介质的示例包括非暂态计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息分享方法实施例的各个过程,且能达到相同的技术效果,为避免 重复,这里不再赘述。
本发明实施例还提供一种计算机程序产品,所述计算机程序产品可被处理器执行以实现上述信息分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (17)

  1. 一种信息分享方法,应用于第一电子设备,所述信息分享方法包括:
    在接收到触控笔发送的连接请求的情况下,建立所述第一电子设备与所述触控笔的通信连接,其中,所述连接请求为所述触控笔断开与第二电子设备的通信连接之后发起的请求;
    接收所述触控笔发送的分享信息,其中,所述分享信息为所述触控笔从所述第二电子设备中的第一应用中获取的;
    根据所述分享信息,执行目标处理操作或显示目标界面。
  2. 根据权利要求1所述的信息分享方法,其中,所述分享信息为商品信息,所述根据所述分享信息,执行目标处理操作或显示目标界面的步骤包括:
    在所述第一电子设备中的所述第一应用处于启动状态的情况下,将所述第一应用的显示页面切换至所述商品信息的显示页面;
    或,在所述第一电子设备中的所述第一应用处于关闭状态的情况下,接收用户对第二应用的应用图标的第二输入,并响应于所述第二输入,执行所述第二应用中的目标功能或显示所述第二应用中的所述目标界面。
  3. 根据权利要求2所述的信息分享方法,其中,所述执行所述第二应用中的目标功能或显示所述第二应用中的所述目标界面的步骤包括:
    在所述第二应用与所述第一应用相同的情况下,在所述第二应用中显示包括所述商品信息的页面,或,将所述商品信息对应的商品加入所述第二应用的购物车,或,将所述商品信息对应的商品加入所述第二应用的收藏夹;
    在所述第二应用与所述第一应用不同的情况下,根据所述商品信息在所述第二应用中进行搜索,或,显示所述商品信息的搜索结果页面。
  4. 根据权利要求1所述的信息分享方法,其中,所述分享信息为联系人信息,所述根据所述分享信息,执行目标处理操作或显示目标界面的步骤包括:
    接收用户对第三应用对应的第三应用图标的第三输入;
    响应于所述第三输入,执行以下所列项中的至少一项:
    在所述第三应用为电话应用的情况下,对所述联系人信息中的号码进行拨号;
    在所述第三应用为联系人应用的情况下,将所述联系人信息保存或显示联系人编辑页面;
    在所述第三应用为短信息应用的情况下,向所述联系人信息中的号码发送短信息或显示短信息编辑页面;
    在所述第三应用为具有话费充值功能的应用的情况下,对所述联系人信息中的号码进行话费充值。
  5. 一种信息分享方法,应用于第二电子设备,所述信息分享方法包括:
    接收用户对第一界面的第四输入,其中,所述第一界面为第一应用中的界面;
    响应于所述第四输入,将所述第一界面中的目标信息作为分享信息,发送至触控笔。
  6. 根据权利要求5所述的信息分享方法,其中,所述响应于所述第四输入,将所述第一界面中的目标信息作为分享信息,发送至触控笔的步骤包括:
    响应于所述第四输入,在所述第四输入为所述触控笔的输入或所述第四输入的移动轨迹形成闭合图形的情况下,将所述第一界面中的目标信息作为分享信息,发送至触控笔。
  7. 一种信息分享装置,应用于第一电子设备,所述信息分享装置包括:
    连接模块,用于在接收到触控笔发送的连接请求的情况下,建立所述第一电子设备与所述触控笔的通信连接,其中,所述连接请求为所述触控笔断开与第二电子设备的通信连接之后发起的请求;
    第一接收模块,用于接收所述触控笔发送的分享信息,其中,所述分享信息为所述触控笔从所述第二电子设备中的第一应用中获取的;
    分享模块,用于根据所述分享信息,执行目标处理操作或显示目标界面。
  8. 根据权利要求7所述的信息分享装置,其中,所述分享信息为商品信息,所述分享模块包括:
    第一分享单元,用于在所述第一电子设备中的所述第一应用处于启动状态的情况下,将所述第一应用的显示页面切换至所述商品信息的显示页面;
    或,第二分享单元,用于在所述第一电子设备中的所述第一应用处于关闭状态的情况下,接收用户对第二应用的应用图标的第二输入,并响应于所述第二输入,执行所述第二应用中的目标功能或显示所述第二应用中的所述目标界面。
  9. 根据权利要求8所述的信息分享装置,其中,所述第二分享单元包括:
    第一分享子单元,用于在所述第二应用与所述第一应用相同的情况下,在所述第二应用中显示包括所述商品信息的页面,或,将所述商品信息对应的商品加入所述第二应用的购物车,或,将所述商品信息对应的商品加入所述第二应用的收藏夹;
    第二分享子单元,用于在所述第二应用与所述第一应用不同的情况下,根据所述商品信息在所述第二应用中进行搜索,或,显示所述商品信息的搜索结果页面。
  10. 根据权利要求7所述的信息分享装置,其中,所述分享信息为联系人信息,所述分享模块包括:
    第二接收单元,用于接收用户对第三应用对应的第三应用图标的第三输入;
    第三分享单元,用于响应于所述第三输入,执行以下所列项中的至少一项:
    在所述第三应用为电话应用的情况下,对所述联系人信息中的号码进行拨号;
    在所述第三应用为联系人应用的情况下,将所述联系人信息保存或显示联系人编辑页面;
    在所述第三应用为短信息应用的情况下,向所述联系人信息中的号码发送短信息或显示短信息编辑页面;
    在所述第三应用为具有话费充值功能的应用的情况下,对所述联系人信息中的号码进行话费充值。
  11. 一种信息分享装置,应用于第二电子设备,所述信息分享装置包括:
    第二接收模块,用于接收用户对第一界面的第四输入,其中,所述第一界面为第一应用中的界面;
    发送模块,用于响应于所述第四输入,将所述第一界面中的目标信息作为分享信息,发送至触控笔。
  12. 根据权利要求11所述的信息分享装置,其中,所述发送模块具体用于:
    响应于所述第四输入,在所述第四输入为所述触控笔的输入或所述第四输入的移动轨迹形成闭合图形的情况下,将所述第一界面中的目标信息作为分享信息,发送至触控笔。
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-4任一项所述的信息分享方法或者如权利要求5-6任一项所述的信息分享方法的步骤。
  14. 一种电子设备,被配置为用于执行如权利要求1-4任一项所述的信息分享方法或者如权利要求5-6任一项所述的信息分享方法的步骤。
  15. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-4任一项所述的信息分享方法或者如权利要求5-6任一项所述的信息分享方法的步骤。
  16. 一种计算机程序产品,所述计算机程序产品可被处理器执行以实现如权利要求1-4任一项所述的信息分享方法或者如权利要求5-6任一项所述的信息分享方法的步骤。
  17. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-4任一项所述的信息分享方法或者如权利要求5-6任一项所述的信息分享方法的步骤。
PCT/CN2021/095448 2020-05-29 2021-05-24 信息分享方法、信息分享装置和电子设备 WO2021238840A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010478612.7 2020-05-29
CN202010478612.7A CN111813299A (zh) 2020-05-29 2020-05-29 信息分享方法、信息分享装置和电子设备

Publications (1)

Publication Number Publication Date
WO2021238840A1 true WO2021238840A1 (zh) 2021-12-02

Family

ID=72848431

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095448 WO2021238840A1 (zh) 2020-05-29 2021-05-24 信息分享方法、信息分享装置和电子设备

Country Status (2)

Country Link
CN (1) CN111813299A (zh)
WO (1) WO2021238840A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813299A (zh) * 2020-05-29 2020-10-23 维沃移动通信有限公司 信息分享方法、信息分享装置和电子设备
CN112637826A (zh) * 2020-12-14 2021-04-09 深圳市皓丽智能科技有限公司 一种触控笔与触控设备连接方法及相关设备
CN113178900B (zh) * 2021-03-15 2023-02-17 荣耀终端有限公司 无线充电系统、芯片和无线充电电路
CN114265641A (zh) * 2021-12-14 2022-04-01 Oppo广东移动通信有限公司 控制方法、电子设备及计算机可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464847A (zh) * 2008-12-27 2009-06-24 深圳华为通信技术有限公司 一种具有触摸笔的终端
CN103246439A (zh) * 2012-02-02 2013-08-14 三星电子株式会社 短距离无线电通信系统和用于操作该系统的方法
CN104426583A (zh) * 2013-08-29 2015-03-18 华为终端有限公司 基于近场通信的数据传输方法、装置及近场通信设备
US20150135092A1 (en) * 2013-11-12 2015-05-14 Electronics And Telecommunications Research Institute Apparatus and method for exchanging data
CN105302341A (zh) * 2014-06-05 2016-02-03 宏达国际电子股份有限公司 电子系统、触控笔以及电子装置与触控笔之间的数据传输方法
CN106445199A (zh) * 2015-08-13 2017-02-22 天津三星通信技术研究有限公司 触控笔、移动终端以及实现数据的连续应用的方法
CN111813299A (zh) * 2020-05-29 2020-10-23 维沃移动通信有限公司 信息分享方法、信息分享装置和电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513863B (zh) * 2012-06-29 2017-11-03 联想(北京)有限公司 信息处理的方法、电子设备及系统
CN106775336A (zh) * 2016-11-30 2017-05-31 努比亚技术有限公司 一种内容复制处理方法、装置及终端
CN110618970A (zh) * 2019-09-12 2019-12-27 联想(北京)有限公司 文件传输方法和电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464847A (zh) * 2008-12-27 2009-06-24 深圳华为通信技术有限公司 一种具有触摸笔的终端
CN103246439A (zh) * 2012-02-02 2013-08-14 三星电子株式会社 短距离无线电通信系统和用于操作该系统的方法
CN104426583A (zh) * 2013-08-29 2015-03-18 华为终端有限公司 基于近场通信的数据传输方法、装置及近场通信设备
US20150135092A1 (en) * 2013-11-12 2015-05-14 Electronics And Telecommunications Research Institute Apparatus and method for exchanging data
CN105302341A (zh) * 2014-06-05 2016-02-03 宏达国际电子股份有限公司 电子系统、触控笔以及电子装置与触控笔之间的数据传输方法
CN106445199A (zh) * 2015-08-13 2017-02-22 天津三星通信技术研究有限公司 触控笔、移动终端以及实现数据的连续应用的方法
CN111813299A (zh) * 2020-05-29 2020-10-23 维沃移动通信有限公司 信息分享方法、信息分享装置和电子设备

Also Published As

Publication number Publication date
CN111813299A (zh) 2020-10-23

Similar Documents

Publication Publication Date Title
US11449955B2 (en) Information processing method and apparatus
WO2021238840A1 (zh) 信息分享方法、信息分享装置和电子设备
CN112637039B (zh) 一种信息处理方法、装置及存储介质
WO2019206036A1 (zh) 消息管理方法及终端
US10084729B2 (en) Apparatuses and methods for web page sharing
WO2019174541A1 (zh) 移动终端的操作方法及移动终端
WO2016116041A1 (zh) 一种信息推荐的管理方法、装置和系统
CN112306325B (zh) 交互控制方法和装置
WO2014206037A1 (en) Apparatuses and methods for web page sharing
WO2020020213A1 (zh) 信息输入方法及终端
WO2022171062A1 (zh) 分享图片的方法、装置、电子设备及存储介质
CN113504859A (zh) 传输方法和装置
WO2023134642A1 (zh) 消息处理方法、消息处理装置和电子设备
WO2023040845A1 (zh) 消息发送方法、装置及电子设备
WO2023024970A1 (zh) 信息处理方法、相关设备及可读存储介质
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN109739409B (zh) 一种批处理的方法、装置以及终端设备
CN112286615A (zh) 应用程序的信息显示方法及装置
CN111694497A (zh) 页面组合方法和电子设备
WO2019228283A1 (zh) 一种用于终端的分屏显示方法及装置
WO2022156674A1 (zh) 聊天内容处理方法、装置及电子设备
CN114398016B (zh) 界面显示方法和装置
CN113852540B (zh) 信息发送方法、信息发送装置和电子设备
WO2022161265A1 (zh) 内容显示方法、装置、电子设备和存储介质
CN113805756A (zh) 界面显示方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21814038

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21814038

Country of ref document: EP

Kind code of ref document: A1