Input device, electronic device component, information processing method and device
The input device with a telescopic member and storage unit addresses the challenge of accurately selecting and transferring file content by enabling convenient and efficient content transfer between electronic devices.
Patent Information
- Application Number
- CN202210039155.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-13
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-01-13
AI Technical Summary
Existing input devices face challenges in accurately selecting and transferring file content between electronic devices, leading to poor human-computer interaction.
An input device with a telescopic member and storage unit that determines target information based on the extension and retraction of the telescopic part, allowing for convenient storage and transfer of content between devices.
Enables simple and efficient transfer of selected content between electronic devices, enhancing user interaction and accuracy in file selection.
Smart Images

Figure CN114489358B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic products, and specifically relates to an input device, an electronic device component, and an information processing method and apparatus. Background Art
[0002] In the related technology, electronic devices are used more and more widely. Users can input text or draw on electronic devices with the help of input devices such as stylus pens. Compared with mouse or finger clicking, using input devices is convenient and fast, and the user experience is better.
[0003] Common input devices such as stylus pens can be used in conjunction with electronic devices such as tablets to achieve many functions. However, if input devices are used as a medium to transfer files between electronic devices, it is currently difficult for users to accurately select the content of the files to be transferred, and the human-computer interaction is poor, making it difficult to meet users' operational needs for electronic devices. Summary of the invention
[0004] The present application aims to provide an input device, an electronic device component, an information processing method and an apparatus to solve the problem that it is difficult to accurately select file content and realize convenient file transmission when the input device cooperates with other electronic devices.
[0005] In the first aspect, an embodiment of the present application proposes an input device, comprising a main body, a telescopic part and a storage unit, wherein the telescopic part can be telescopically installed on the main body, and the storage unit is arranged in the main body; the storage unit is used to store target information obtained by the main body from an electronic device, and the target information is determined according to the extension and retraction of the telescopic part relative to the main body.
[0006] In a second aspect, an embodiment of the present application provides an electronic device assembly, including an electronic device and an input device as described in the first aspect, wherein the input device is communicatively connected to the electronic device.
[0007] In a third aspect, an embodiment of the present application provides an information processing method, which is applied to an input device as described in the first aspect, comprising: receiving a first input from a user, the first input being used to adjust a telescopic member of the input device from a first length to a second length, the first length being smaller than the second length; in response to the first input, obtaining target information from an electronic device, and storing the target information in a storage unit of the input device.
[0008] In a fourth aspect, an embodiment of the present application provides an information processing device, including:
[0009] A receiving module, the receiving module is used to receive a first input from a user, the first input is used to adjust the telescopic member of the input device from a first length to a second length, the first length is smaller than the second length; a processing module, the processing module is used to obtain target information from the electronic device in response to the first input, and store the target information in a storage unit of the input device.
[0010] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the third aspect are implemented.
[0011] In a sixth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the third aspect.
[0012] In a seventh aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the third aspect.
[0013] In an embodiment of the present application, the telescopic member can be retractably installed on the main body, and the target information is determined according to the extension and retraction of the telescopic member relative to the main body. With the help of adjustment of the telescopic member, the input device can freely absorb information on the electronic device, and the acquired target information is stored in a storage unit for user export, so that the content absorbed from one electronic device can be pasted to another electronic device as needed. The whole operation is simple and convenient, and easy for users to master.
[0014] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a schematic diagram of the structure of the input device in the embodiment of the present application when the telescopic member is in the initial position;
[0016] Figure 2 is a schematic structural diagram of the telescopic member in the input device of the embodiment of the present application in an extended state;
[0017] Figure 3 is a schematic diagram of the structure in which a rotating member rotates relative to a main body in an input device according to an embodiment of the present application;
[0018] Figure 4 It is one of the application schematic diagrams of the input device of the embodiment of the present application;
[0019] Figure 5 This is the second application schematic diagram of the input device according to the embodiment of the present application;
[0020] Figure 6 This is one of the schematic diagrams of the cooperation between the input device and the electronic device in the embodiment of the present application;
[0021] Figure 7 This is the second schematic diagram of the cooperation between the input device and the electronic device in the embodiment of the present application;
[0022] Figure 8 This is the third schematic diagram of the cooperation between the input device and the electronic device in the embodiment of the present application;
[0023] Fig. 9 It is one of the flow charts of the information processing method of the embodiment of the present application;
[0024] Fig.10 This is the second flowchart of the information processing method of the embodiment of the present application;
[0025] Fig.11 This is the third flowchart of the information processing method of the embodiment of the present application;
[0026] Fig.12 This is the fourth flowchart of the information processing method of the embodiment of the present application;
[0027] Fig.13 is a schematic diagram of the structure of an information processing device according to an embodiment of the present application;
[0028] Fig.14 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0029] Fig.15 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0030] Reference numerals:
[0031] 10. Main body; 20. Telescopic member; 30. Rotating member; 40. Display screen. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0033] The features of the terms "first" and "second" in the specification and claims of this application may explicitly or implicitly include one or more of such features. In the description of this application, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "axial", "radial", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application.
[0034] The input device is provided with a communication unit, which is connected to electronic devices such as tablet computers and mobile phones for communication, and can write or operate the mouse on the screen of the electronic device.
[0035] Combine the following Figure 1-Figure 12 The structure of the input device and electronic device components and the steps of the information interception method according to the embodiments of the present application are described.
[0036] The present application embodiment provides an input device, such as Figures 1 to 3 As shown, the input device includes a main body 10, a telescopic member 20 and a storage unit. The telescopic member 20 can be telescopically installed in the main body 10. The storage unit is arranged in the main body 10. The storage unit is used to store target information obtained by the main body 10 from the electronic device. The target information is determined according to the extension and retraction of the telescopic member 20 relative to the main body 10.
[0037] The input device is an input device such as a stylus pen, a touch pen or a capacitive pen, which is not specifically limited in the embodiments of the present application.
[0038] The inner wall of the body 10 is provided with a slide groove, and the outer wall of the telescopic member 20 is provided with a guide bar, which can be slidably installed in the slide groove. Under the action of external force, the telescopic member 20 can slide relative to the body 10.
[0039] In a specific embodiment, the length of the target information is determined according to the telescopic distance of the telescopic member 20 relative to the body 10. When the body 10 obtains the target information from the electronic device, the telescopic member 20 is pulled outward. Figure 2As shown, the telescopic distance that the telescopic member 20 moves relative to the body 10 is D, and the length L of the target information is determined according to the telescopic distance D. The length L and the telescopic distance D satisfy a proportional relationship. Each time the telescopic distance D is moved, the target information with a length of L can be determined. After each acquisition of the target information, the telescopic member 20 is reset relative to the body 10. Specifically, when the target information is video information, the contact point between the input device and the electronic device is taken as the starting point, and the length L represents the video content with a duration of L seconds from the starting point; when the target information is text information, the length L represents L bytes from the starting point. The maximum external pulling length of the telescopic member 20 relative to the body 10 can reach D0. It should be noted that the moving distance of the telescopic member 20 relative to the body 10 each time can be a fixed value D, or it can be any length not greater than D0.
[0040] In another specific embodiment, the interception direction of the target information is determined according to the telescopic direction of the telescopic member 20 relative to the body 10, and the interception length of the target information is determined according to the telescopic distance of the telescopic member 20 relative to the body 10. For example, when the telescopic member 20 is pushed into the body 10, a certain length of target information is acquired forward from the starting point; when the telescopic member 20 is pulled out of the body 10, a certain length of target information is acquired backward from the starting point. In yet another specific embodiment, the interception direction of the target information is determined according to the angle sensor installed on the body 10, and the interception length of the target information is determined according to the telescopic distance of the telescopic member 20 relative to the body 10.
[0041] The storage unit is a unit for storing and reading and writing data. The target information obtained by the main body 10 from the electronic device is stored in the storage unit so that the user can export and view it.
[0042] Taking a stylus pen as an example, the main body 10 is a pen holder, and the telescopic member 20 is a pen cap that is telescopically mounted on the main body 10. The storage unit is arranged in the pen holder. One end of the pen holder is telescopically connected to the pen cap, and the other end is connected to the pen tip. The contact point between the pen tip and the electronic device is the starting point, and the target information is determined according to the telescopic movement of the telescopic member 20 relative to the main body 10, and the acquired target information is stored in the storage unit, which is convenient for users to export, thereby transmitting the target information from one electronic device to another electronic device. Compared with the traditional adsorption and pasting of single pictures or fixed-length characters, the input device provided by the present application is more efficient and accurate.
[0043] The telescopic length of the telescopic member 20 relative to the body 10 refers to the outward extension length of the telescopic member 20 relative to the body 10 from the starting moment to the ending moment during the single target information acquisition process. For example, at the starting moment, the telescopic member 20 is in the first position relative to the body 10, and in the process of pulling outward, the telescopic member 20 moves outward relative to the body 10. Before the ending moment, the user pushes the telescopic member 20 back inward. During the entire operation, the telescopic member 20 is first pulled outward and then pushed inward. The interception length of the final target information is determined according to the adjustment length of the telescopic member 20 relative to the starting moment at the ending moment. Thus, it is convenient for the user to freely adjust the interception length of the target information as needed.
[0044] The input device provided in the embodiment of the present application has a telescopic member 20 which can be telescopically installed on the main body 10. The target information is determined according to the extension and retraction of the telescopic member 20 relative to the main body 10. With the help of adjustment of the telescopic member, the input device can freely absorb information on the electronic device, and the acquired target information is stored in a storage unit, which is convenient for users to export. Thus, the content absorbed from one electronic device can be pasted to another electronic device as needed. The whole operation is simple and convenient, and easy for users to master.
[0045] In a specific embodiment of the present application, the input device also includes a locking mechanism, which is used to lock the relative position of the telescopic member 20 and the main body 10 when the locking mechanism is in a locked state; when the locking mechanism is in an unlocked state, the telescopic member 20 can slide relative to the main body 10.
[0046] Specifically, the locking mechanism is a locking key, and when the locking key is triggered, the telescopic member 20 can slide relative to the body 10. When the locking key is not triggered, the telescopic member 20 is relatively fixed to the body 10. When it is necessary to obtain target information, the locking key is triggered, and the telescopic member 20 is pulled outward from the body 10 or pushed into the body 10 to determine the target information.
[0047] like Figure 2 As shown, the locking key is arranged at one end of the telescopic member 20 away from the body 10. When in use, the locking key is pressed and the telescopic member 20 is pulled outward from the body 10 to determine the target information obtained by the input device from the electronic device.
[0048] Based on the above embodiment, the input device provided by the present application further includes a rotating member 30, which is rotatably mounted on the body 10. When the rotating member 30 is rotated to a first position relative to the body 10, the body 10 can be used to obtain video information; when the rotating member 30 is rotated to a second position relative to the body 10, the body 10 can be used to obtain graphic information.
[0049] like Figure 1 and Figure 2As shown, the rotating member 30 and the telescopic member 20 are installed at opposite ends of the body 10. The rotating member 30 is set at the end of the body 10, and the input device can obtain different types of information by rotating the rotating member 30. Specifically, when the rotating member 30 is rotated to a first position relative to the body 10, the body 10 can be used to obtain video information; when the rotating member 30 is rotated to a second position relative to the body 10, the body 10 can be used to obtain graphic information.
[0050] Take the stylus pen as an example. Figures 1 to 3 As shown, the rotating member 30 is a pen tip, and the pen tip is rotatable relative to the body 10. When it is necessary to obtain video or graphic information, the user rotates the pen tip to rotate it to the first position or the second position relative to the body 10 to switch the stylus to the graphic information acquisition mode or the video information acquisition mode. When the pen tip is in the third position relative to the body 10, the stylus is in a normal writing mode and cannot intercept information and store it in the storage unit. It should be noted that in addition to switching the stylus from the writing mode to the acquisition mode, the rotation of the pen tip relative to the body 10 can also select the corresponding acquisition mode according to the category of the acquired information.
[0051] In some embodiments of the present application, the input device can be placed in a text mode, an audio mode, or a video mode according to the rotational position of the rotating member 30 relative to the body 10. In the text mode, the body 10 can obtain text or pictures from the electronic device; in the audio mode, the body 10 can obtain audio information from the electronic device; in the video mode, the body 10 can obtain video from the electronic device. In other embodiments of the present application, the rotating member 30 is rotated to place the input device in a text-and-picture mode or a video mode. In the video mode, the input device can obtain information categories such as video and audio that use available time to measure the length of information; in the text-and-picture mode, the input device can obtain information categories such as pictures or text that use available quantity to measure the length of information.
[0052] The stylus provided in the embodiment of the present application adjusts the type of information obtained by the body 10 from the electronic device by the rotation of the rotating member 30 relative to the body 10, so that different types of information can be intercepted, which is convenient for the user to freely select the type of content to be intercepted.
[0053] In a specific embodiment of the present application, the input device further includes an angle sensor, which is used to detect the tilt angle of the body 10; the target information is related to the tilt angle.
[0054] The angle sensor detects the tilt angle of the body 10 relative to the electronic device, and determines whether the body 10 is tilted forward or backward relative to the electronic device according to the tilt angle, and then determines whether the target information obtained by the body 10 from the electronic device is forward or backward from the starting point. For example, if the body 10 is tilted forward relative to the electronic device according to the tilt angle detected by the angle sensor, the body 10 obtains the target information backward from the starting point; if the body 10 is determined to be tilted backward relative to the electronic device according to the tilt angle detected by the angle sensor, the body 10 obtains the target information forward from the starting point.
[0055] Take the stylus as an example. In the video playback scene, the stylus touches the progress bar and determines the video capture direction based on the tilt angle detected by the angle sensor. Figure 6 As shown in FIG. 1 , the tap position of the stylus is the starting position A. When the stylus is tilted to the right, as shown in FIG. Figure 7 As shown, the video clip is intercepted forward from the starting position A. When the stylus is tilted to the left, the video clip is intercepted backward from the starting position A. Among them, forward interception and backward interception are based on the video frame playback timing, the played content is the front, and the content to be played is the back. The backward interception refers to intercepting from the starting position to the direction to be played, and the forward interception refers to intercepting from the starting position to the direction to be played. The intercepted length of the video is determined according to the telescopic length of the telescopic member 20 relative to the main body 10. Of course, when the stylus is tilted to the right, the video clip can also be intercepted backward from the starting position A, and this embodiment of the present application does not make any specific limitation.
[0056] Similarly, in a web browsing scenario, if the user needs to capture text or images, the user touches the stylus pen at the starting position to be captured, and determines the capture direction according to the tilt direction of the stylus pen, for example. Figure 8 As shown, when the stylus is tilted to the right, the image is intercepted forward from the starting position; the telescopic member 20 extends outward by a distance D, and the image and text information of length N is intercepted forward from the starting position, and the intercepted length refers to the total number of characters and pictures. When the stylus is tilted to the left, the image is intercepted backward from the starting position. The length of the image and text information is the number of characters and / or pictures, which is determined according to the telescopic length D of the telescopic member 20 relative to the body 10.
[0057] The input device provided in the embodiment of the present application is provided with an angle sensor, and the angle sensor collects the tilt angle of the main body, and determines the target information according to the tilt angle, so that the user can freely select the interception direction according to the needs.
[0058] Based on the above embodiments, Figure 4 and Figure 5 As shown, the input device further includes a display screen 40 , which is disposed on the body 10 , and is used to display target information.
[0059] Optionally, the display screen 40 uses a low-power display screen to reduce energy consumption. Figure 1 and Figure 2 As shown, the display screen 40 is in a long strip shape, and the length direction of the display screen 40 is consistent with the length direction of the stylus. The display screen 40 is connected to the main board of the stylus, and the user can use the display screen 40 to view the acquired target information when performing the interception operation. For example, when the target information is video information, after the interception operation is completed, Figure 4 As shown, the display screen 40 will display a portion of the video frame of the target information so that the user can view the intercepted content. For another example, when the target information is graphic information, when the interception operation is completed, Figure 5 As shown, the display screen 40 displays the specific content of the target information for the user to check. Optionally, the input device also includes a player, and the player is arranged in the body 10. The player is connected to the main board and is used to play the audio information obtained by the body 10 from the electronic device.
[0060] The input device provided in the embodiment of the present application is equipped with a display screen, which is convenient for users to view the intercepted content and avoid incorrect intercepted content; in addition, when multiple target information is obtained, the display screen can also facilitate users to find the required information.
[0061] In a specific embodiment, the input device is a stylus pen, the body 10 is the pen holder of the stylus pen, and the telescopic member 20 is disposed at one end of the pen holder.
[0062] like Figure 1 As shown, the rotating member 30 is a pen tip, and the telescopic member 20 and the rotating member 30 are arranged at opposite ends of the body 10. The storage unit is located in the body 10, and when the pen tip is in the first position or the second position relative to the body 10, the input device obtains target information from the electronic device, and the acquisition process is similar to the test tube absorbing liquid, which is convenient for the user to freely select the target information according to the needs, and can increase the interactive feeling of using the input device.
[0063] An embodiment of the present application also provides an electronic device assembly, which includes an electronic device and an input device as described above, wherein the input device is communicatively connected with the electronic device.
[0064] The electronic device may be a mobile phone, a tablet computer, a laptop computer, an audio player or other electronic device, and the input device is communicatively connected with the electronic device to intercept the display content of the electronic device.
[0065] The electronic device component provided by the present application cooperates with the input device, and the target information can be freely adsorbed from the electronic device with the help of the input device. The adsorbed target information is stored in a storage unit and can be easily exported to another electronic device.
[0066] The present application also provides an information processing method, which is applied to the input device as described above. Fig. 9 As shown, the information processing method includes:
[0067] Step S910, receiving a first input from a user, the first input being used to adjust a telescopic member of an input device from a first length to a second length, the first length being smaller than the second length;
[0068] Step S920, in response to the first input, obtaining target information from the electronic device, and storing the target information in a storage unit of the input device.
[0069] In one embodiment, the first length is the original length of the telescopic member, and the telescopic member is restored after each target information is acquired, and each extension and contraction of the telescopic member starts from the first length. In another embodiment, the first length is the length of the telescopic member after the previous target information is acquired, and the second length is the length of the telescopic member after the telescopic member is pulled outward and / or pushed inward. The difference between the second length and the first length can be a fixed value, that is, the length of the target information acquired each time is a specific length; the second length can also be any value greater than the first length, so as to more freely adjust the length of the target information. The telescopic member is adjusted from the first length to the second length relative to the body, and the input device receives the first input and responds to the input, acquires the target information from the electronic device, and stores the target information in the storage unit of the input device.
[0070] The information processing method provided in the present application adopts the input device as described above, receives and responds to the first input, obtains target information from the electronic device, the target information is determined according to the length change of the telescopic part in the first input, and stores the target information in a storage unit, so as to facilitate the user to obtain the target information as needed and improve the interactivity of the user in the process of using the input device.
[0071] The information processing method provided in the embodiment of the present application is executed by an input device. In the embodiment of the present application, the information processing device provided in the embodiment of the present application is explained by taking the input device device executing the information processing method as an example.
[0072] Based on the above embodiments, Fig.10 As shown, obtaining target information from an electronic device includes:
[0073] Step S1000, determining the telescopic amount of the telescopic member according to the first length and the second length;
[0074] Step S1010: determining the interception length of the target information based on the extension amount of the extension component.
[0075] Specifically, the telescopic amount is the difference between the second length and the first length. The first length is the length of the telescopic member at the initial moment of this adjustment, and the second length is the length of the telescopic member at the end moment of this adjustment. Between the initial moment and the end moment, the telescopic member can be pulled out of the body or pushed into the body, and the push-pull process of the telescopic member between the initial moment and the end moment is not specifically limited. In short, the first length and the second length are based on the length of the telescopic member at the initial moment and the end moment, respectively, and the difference between the first length and the second length is the telescopic amount of the telescopic member.
[0076] In an optional embodiment, the interception length of the target information is determined according to the expansion amount of the telescopic member. For example, if the expansion amount of the telescopic member is D, the interception length of the target information is L. If the expansion amount of the telescopic member is D1, the interception length of the target information is L*D1 / D. When the target information is graphic information, the interception length of the target information refers to the number of pictures and the number of characters of the text; when the target information is video information, the interception length of the target information refers to the number of video frames of the video.
[0077] The information processing method provided in the embodiment of the present application determines the expansion amount according to the first length and the second length, determines the length of the target information based on the expansion amount, and realizes free interception of the length of the target information.
[0078] Based on the above embodiments, Fig.11 As shown, after storing the target information in the storage unit of the input device, the following steps are further included:
[0079] Step S1100, receiving a second input from a user, where the second input is used to adjust the second length to a third length of the telescopic member, and the second length is greater than the third length;
[0080] Step S1110: In response to the second input, at least part of the information in the storage unit is sent to the target device.
[0081] The target device is a mobile phone, a tablet computer, a laptop computer, an audio player, etc., which receives and responds to the second input of the user, and sends part of the information in the storage unit to the target device as needed. In an optional embodiment, the third length is the length of the telescopic member after it is retracted into the body. It can be adjusted from the second length to the third length by first pulling it outward and then retracting it inward, or it can be directly retracted, which is not specifically limited in this embodiment of the application.
[0082] In an optional embodiment, the sending length is determined according to the second length and the third length, so as to accurately control the pasted content. In another optional embodiment, the difference between the second length and the shortest length of the telescopic member is divided into a plurality of gears, each gear corresponding to sending a target message of a specific length, and the length of the sent message is determined according to the gear to which the difference between the third length and the second length belongs.
[0083] The information processing method provided in the embodiment of the present application responds to the user's second input, sends at least part of the information in the storage unit to the target device, thereby pasting the target information adsorbed from the electronic device to the target device, and can freely select the length of the sent content based on the adjustment of the length of the telescopic member.
[0084] Based on the above embodiments, Fig.12 As shown, before obtaining target information from the electronic device, the method further includes:
[0085] Step S1200, obtaining angle information of the body;
[0086] Step S1210, determining the content of the target information based on the angle information of the subject.
[0087] Specifically, the angle information of the main body is obtained by an angle sensor disposed on the main body, and the interception direction of the target information is determined according to the angle information obtained by the angle sensor. The input device is pressed on the electronic device, such as the progress bar of the video or the interception start position of the text, such as Figure 6 As shown in FIG. 1 , the tap position of the stylus pen is the starting position A. When the input device is tilted to the right, as shown in FIG. Figure 7 and Figure 8 As shown, the target information is intercepted from the starting position A to the right, and then the content of the target information is determined. When the input device is tilted to the right, the target information is intercepted from the starting position A to the front to determine the content of the target information. When the current interception is completed, the click ends. If you need to intercept again, just click again.
[0088] The information processing method provided in the embodiment of the present application determines the content of the target information based on the angle information of the main body, so that the specific content to be intercepted can be freely selected on the electronic device.
[0089] The present application also provides an information processing device, such as Fig.13 As shown, it includes:
[0090] A receiving module 1310, the receiving module 1310 is used to receive a first input from a user, the first input is used to adjust the telescopic member of the input device from a first length to a second length, the first length being smaller than the second length;
[0091] The processing module 1320, the response module 1320 is used to obtain target information from the electronic device in response to the first input, and store the target information in a storage unit of the input device.
[0092] The information processing device receives a user's first input with the aid of a receiving module 1310, and responds to the first input through a processing module 1320, obtains target information from an electronic device and stores the target information in a storage unit of the input device, thereby achieving free acquisition and automatic storage of target information. The telescopic part of the input device is adjusted from a first length to a second length in response to the first input, so that the target information can be freely adsorbed from the electronic device based on the first input.
[0093] The information processing device in the embodiment of the present application may be an integrated circuit or a chip, or may be a terminal device or other device, which controls the input device by means of communication with the input device, and the embodiment of the present application does not specifically limit this.
[0094] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0095] The information processing device provided in the embodiment of the present application can realize Figures 9 to 12 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0096] Alternatively, if Fig.14 As shown, an embodiment of the present application also provides an electronic device 1400, including a processor 1401, and a memory 1402, where the memory 1402 stores programs or instructions that can be executed on the processor 1401. When the program or instructions are executed by the processor 1401, the various process steps of the above-mentioned information processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0097] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0098] Fig.15 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0099] The electronic device 1500 includes but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a memory 1509, and a processor 1510 and other components.
[0100] Those skilled in the art will appreciate that the electronic device 1500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.15 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0101] The input unit 1504 is used to receive a first input from a user, where the first input is used to adjust the telescopic member of the input device from a first length to a second length.
[0102] The processor 1510 is configured to obtain target information from the electronic device in response to the first input, and store the target information in a storage unit of the input device.
[0103] The electronic device provided in the embodiment of the present application receives a first input from a user through an input device 1504, and the processor 1510 obtains target information from the electronic device based on the first input. The target information is related to the change in the length of the telescopic member, so that the target information can be freely obtained; the processor 1510 stores the target information in a storage unit to facilitate exporting and transferring it to the target device.
[0104] Optionally, the processor 1510 is further configured to determine an extension amount of the telescopic component according to the first length and the second length; and determine a cut length of the target information based on the extension amount of the telescopic component.
[0105] In the electronic device provided in the embodiment of the present application, the processor 1510 determines the extension amount based on the first length and the second length, and determines the interception length of the target information based on the extension amount, so that the interception length of the target information can be controlled according to the user's first input, thereby achieving free selection of the interception length.
[0106] Optionally, the input unit 1504 is further used to receive a second input from the user, where the second input is used to adjust the second length to a third length of the telescopic member, and the second length is greater than the third length.
[0107] The processor 1510 is further configured to send at least part of the information in the storage unit to a target device in response to the second input.
[0108] The electronic device provided in the embodiment of the present application responds to the user's second input, sends at least part of the information in the storage unit to the target device, thereby pasting the target information obtained from the electronic device to the target device, and freely selects the length of the sent content based on the adjustment of the length of the telescopic member.
[0109] It should be understood that in the embodiment of the present application, the input unit 1504 may include a graphics processor (Graphics Processing Unit, GPU) 15041 and a microphone 15042, and the graphics processor 15041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072. The touch panel 15071 is also called a touch screen. The touch panel 15071 may include two parts: a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0110] The memory 1509 can be used to store software programs and various data. The memory 1509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1509 may include a volatile memory or a non-volatile memory, or the memory x09 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0111] The processor 1510 may include one or more processing units; optionally, the processor 1510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1510.
[0112] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned information processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0113] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0114] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0115] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0116] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned information processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0117] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0118] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. An input device, characterized in that: It comprises a body, a telescopic member, a storage unit and an angle sensor, wherein the inner wall of the body is provided with a slide groove, the outer wall of the telescopic member is provided with a guide bar, the guide bar can be slidably installed in the slide groove, so that the telescopic member can be telescopically installed on the body, and the storage unit is arranged in the body; The storage unit is used to store the target information obtained by the body from the electronic device, and the interception length of the target information is determined according to the extension amount of the telescopic member relative to the body; when the target information is graphic information, the interception length of the target information refers to the number of pictures and the number of characters of text; when the target information is video information, the interception length of the target information refers to the number of video frames of the video; The angle sensor is used to detect the tilt angle of the main body. If it is determined that the main body is tilted forward relative to the electronic device based on the tilt angle detected by the angle sensor, the main body acquires target information from a starting point backward; if it is determined that the main body is tilted backward relative to the electronic device based on the tilt angle detected by the angle sensor, the main body acquires target information from a starting point forward.
2. The input device according to claim 1, characterized in that Also includes: A rotating member, the rotating member is rotatably connected to the body; When the rotating member rotates to a first position relative to the body, the body is used to obtain video information; When the rotating member rotates to a second position relative to the main body, the main body is used to obtain graphic information.
3. The input device according to claim 1, characterized in that It also includes a display screen, which is arranged on the main body and is used to display the target information.
4. The input device according to any one of claims 1 to 3, characterized in that: The input device is a stylus pen, the main body is the pen holder of the stylus pen, and the telescopic member is arranged at one end of the pen holder.
5. An electronic device component, characterized in that: It comprises an electronic device and an input device as claimed in any one of claims 1 to 4, wherein the input device is communicatively connected with the electronic device.
6. An information processing method, applied to the input device according to any one of claims 1 to 4, characterized in that: include: Receiving a first input from a user, wherein the first input is used to adjust the telescopic member of the input device from a first length to a second length, wherein the first length is smaller than the second length; In response to the first input, acquiring target information from an electronic device and storing the target information in a storage unit of the input device; The acquiring target information from the electronic device comprises: determining a telescopic amount of the telescopic member according to the first length and the second length; The interception length of the target information is determined based on the extension amount of the telescopic member; when the target information is graphic information, the interception length of the target information refers to the number of pictures and the number of characters of text; when the target information is video information, the interception length of the target information refers to the number of video frames of the video; Before acquiring the target information from the electronic device, the method further includes: Acquire the angle information of the main body; determine the content of the target information based on the angle information of the main body; if it is determined according to the angle information of the main body that the main body is tilted forward relative to the electronic device, the main body acquires the target information backward from the starting point; if it is determined according to the angle information of the main body that the main body is tilted backward relative to the electronic device, the main body acquires the target information forward from the starting point.
7. The information processing method according to claim 6, characterized in that: After storing the target information in the storage unit of the input device, the following step is further included: receiving a second input from a user, wherein the second input is used to adjust the second length to a third length of the telescopic member, wherein the second length is greater than the third length; In response to the second input, at least part of the information in the storage unit is sent to the target device.
8. An information processing device, applied to the input device according to any one of claims 1 to 4, characterized in that: include: a receiving module, the receiving module being used to receive a first input from a user, the first input being used to adjust a telescopic member of an input device from a first length to a second length, the first length being smaller than the second length; and being used to obtain angle information of the body; a processing module, the processing module being used to obtain target information from the electronic device in response to the first input, and to store the target information in a storage unit of the input device; and being used to determine the content of the target information based on the angle information of the body; if it is determined according to the angle information of the body that the body is tilted forward relative to the electronic device, the body obtains the target information backward from a starting point; if it is determined according to the angle information of the body that the body is tilted backward relative to the electronic device, the body obtains the target information forward from a starting point; The acquiring target information from the electronic device comprises: determining a telescopic amount of the telescopic member according to the first length and the second length; The clipping length of the target information is determined based on the extension amount of the telescopic part; when the target information is graphic information, the clipping length of the target information refers to the number of pictures and the number of characters in the text; when the target information is video information, the clipping length of the target information refers to the number of video frames of the video.
