A processing method and device
By responding to the input signals generated by the rotation and relative position of the input device and switching the state of the pending resources, the existing stylus input device has solved the problem of cumbersome and low efficiency of operation, and achieved more flexible and efficient input operations.
Patent Information
- Application Number
- CN202111166031.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2041-09-30
AI Technical Summary
The input method of existing stylus input devices is single, resulting in cumbersome operation and low efficiency, which cannot meet the input control needs of complex applications.
By obtaining the first input signal generated by the rotation of the input device and the second input signal generated by the relative position of the input device when the input device is in contact with the processing device, the state of the resource to be processed is switched in response to these signals, thereby achieving more flexible and efficient input operations.
It enriches input methods, simplifies processing steps, improves processing efficiency, and is suitable for input control needs of complex applications.
Smart Images

Figure CN113918075B_ABST
Abstract
Description
Technical Field
[0001] The present application relates generally to the field of electronic technology, and more specifically to a processing method and device. Background Art
[0002] With the development of computer electronic technology, it is currently proposed to use input devices such as stylus pens to replace mice and keyboards to implement signal input operations on processing devices. For example, in input applications of processing devices such as drawing boards and tablets, users can use stylus pens to complete input operations more flexibly and it is easy to carry.
[0003] However, currently, input devices such as styluses usually use touch input methods such as point control and sliding to implement application operations on processing devices. The input method is single and has great limitations. Moreover, for the input control process of most applications, this touch input process is still relatively cumbersome and inefficient. Summary of the invention
[0004] In view of this, the present application proposes a processing method, which is applied to a processing device, comprising:
[0005] Obtaining a first input signal generated by an input device; wherein the first input signal is an input signal generated based on the rotation of the input device, and the processing device can obtain a second input signal generated based on the relative position of the input device and the first acquisition device of the processing device when in contact;
[0006] In response to at least the first input signal, the resources to be processed in the first state are switched to resources to be processed in the second state.
[0007] Optionally, the input device has a first end and a second end opposite to each other, and the first end is an end at which the first acquisition device can detect the input device;
[0008] The first input signal generated by the rotation of the input device includes: the first input signal generated by the rotation of the input device along a target reference, and the target reference is a line between the first end and the second end.
[0009] Optionally, the method further includes:
[0010] obtaining the second input signal generated by the input device;
[0011] The step of switching the to-be-processed resource in the first state to the to-be-processed resource in the second state in response to at least the first input signal includes:
[0012] In response to at least the first input signal and the second input signal, the resource to be processed in the first state is switched to the resource to be processed in the second state.
[0013] Optionally, the second input signal represents: a change in relative position of the input device and the first acquisition device of the processing device when they are in contact during the process of generating the first input signal.
[0014] Optionally, the method further includes:
[0015] Obtaining a third input signal representing an angle between the input device and the first acquisition means;
[0016] Determining a target corresponding relationship in a set of candidate corresponding relationships according to the third input signal;
[0017] The step of switching the to-be-processed resource in the first state to the to-be-processed resource in the second state in response to the first input signal includes:
[0018] Determining a first state of a resource to be processed;
[0019] Determining a state adjustment range for the resource to be processed according to the first input signal and the target correspondence relationship;
[0020] According to the state adjustment range, the to-be-processed resource is adjusted from the first state to a second state.
[0021] Optionally, determining a target corresponding relationship in a candidate corresponding relationship set according to the third input signal includes:
[0022] When the angle represented by the third input signal is a first value, determining that the unit rotation amplitude of the input device corresponds to a first adjustment amplitude of the state adjustment of the resource to be processed; when the angle represented by the third input signal is a second value, determining that the unit rotation amplitude of the input device corresponds to a second adjustment amplitude of the state adjustment of the resource to be processed; wherein the first value is greater than the second value, and the first adjustment amplitude is greater than the second adjustment amplitude;
[0023] and / or,
[0024] When the angle represented by the third input signal is a first value, it is determined that the output device of the processing device outputs a first adjustment interface; when the angle represented by the third input signal is a second value, it is determined that the output device outputs a second adjustment interface; the first adjustment interface and the second adjustment interface are different.
[0025] Optionally, the resources to be processed include response parameters of the processing device in response to the second input signal.
[0026] Optionally, switching the to-be-processed resource in the first state to the to-be-processed resource in the second state includes:
[0027] The resources to be processed that execute the first quantity input instruction are switched to the resources to be processed that execute the second quantity input instruction, wherein the first quantity and the second quantity are different.
[0028] Optionally, the step of switching the to-be-processed resource in the first state to the to-be-processed resource in the second state in response to at least the first input signal includes:
[0029] Determine a resource to be processed among candidate processing resources according to the second input signal and / or the third input signal and / or the target reference orientation; wherein the third input signal represents the angle between the input device and the first acquisition device; and the target reference is a line between opposite first ends and second ends of the input device;
[0030] In response to the first input signal, the to-be-processed resource in the first state is switched to a to-be-processed resource in the second state.
[0031] The present application also proposes a processing device, comprising:
[0032] An obtaining device, used to obtain a first input signal generated by the rotation of the input device;
[0033] The first acquisition device is used to obtain a second input signal generated by the relative position of the input device when it contacts
[0034] The processing device is used to switch the resources to be processed in the first state to the resources to be processed in the second state in response to at least the first input signal.
[0035] The present application also proposes a computer-readable storage medium on which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned control method.
[0036] It can be seen that the present application proposes a processing method and a processing device, wherein the processing device can obtain an input signal generated based on the rotation of an input device, and can obtain a second input signal generated based on the relative position of the input device when in contact with the first acquisition device of the processing device. The processing device at least responds to the first input signal and switches the resource to be processed in the first state to the resource to be processed in the second state. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0038] Figure 1 A schematic structural diagram of an optional example of a processing device applicable to the processing method proposed in the present application;
[0039] Figure 2 A schematic diagram of an optional application scenario applicable to the processing method proposed in this application;
[0040] Figure 3 A structural schematic diagram of another optional example of a processing device proposed for this application;
[0041] Figure 4 A structural schematic diagram of another optional example of a processing device proposed for this application;
[0042] Figure 5 A structural schematic diagram of another optional example of a processing device proposed for this application;
[0043] Figure 6 A schematic diagram of another optional application scenario applicable to the processing method proposed in this application;
[0044] Figure 7 A schematic diagram of the hardware structure of another optional example of a processing device proposed for this application;
[0045] Figure 8 A flowchart of an optional example of the processing method proposed in this application;
[0046] Fig. 9 A schematic diagram of an optional structure of an input device in another optional application scenario applicable to the processing method proposed in this application;
[0047] Fig.10 A flowchart diagram of another optional example of the processing method proposed in this application;
[0048] Fig.11 A flowchart diagram of another optional example of the processing method proposed in this application;
[0049] Fig.12a A schematic diagram of another optional application scenario applicable to the processing method proposed in this application;
[0050] Figure 12b A schematic diagram of another optional application scenario applicable to the processing method proposed in this application;
[0051] Fig.13 A schematic diagram of another optional application scenario applicable to the processing method proposed in this application;
[0052] Fig.14 A flowchart diagram of another optional example of the processing method proposed in this application;
[0053] Fig.15 The present invention is a schematic diagram of another optional application scenario applicable to the processing method proposed in this application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] Reference Figure 1 , is a schematic diagram of an optional example of a processing device applicable to the processing method proposed in this application. The processing device may include but is not limited to terminals such as smart phones, tablet computers, and laptop computers. In different application scenarios, the product type of the processing device can be determined according to application requirements. Figure 1 As shown, the processing device 100 may include but is not limited to: an acquisition device 110, a first collection device 120 and a processing device 130, wherein:
[0056] The obtaining device 110 can be used to obtain a first input signal generated by the rotation of the input device 200, and the first acquisition device 120 can be used to obtain a second input signal generated by the relative position of the input device 200 when in contact; the processing device 130 can be used to at least respond to the first input signal and switch the resource to be processed in the first state to the resource to be processed in the second state. The implementation method can refer to the description of the corresponding part of the method embodiment below, and will not be repeated in this embodiment.
[0057] It can be seen that the input device 200 can contact the first acquisition device 120 of the processing device 100, and during the contact period, a corresponding input signal can be generated based on the relative position between the input device 200 and the first acquisition device 120, or the change of the relative position, which is obtained by the first acquisition device 120 and transmitted to the processing device 130 to control the corresponding resources of the processing device 100. Therefore, the above-mentioned input device 200 involved in this application can be an input device such as a pen, which is different from input devices such as a mouse, a keyboard, and a pickup.
[0058] In practical applications, refer to Figure 2The scene diagram shown is not limited to Figure 2 Product types of the processing device 100 and the input device 200 in the scenario shown. The user can generate a first input signal by rotating the input device 200 (such as a smart pen, etc.) defined in this application, or can control the relative position and changes between the input device 200 and the processing device 100, such as angle, contact position, movement trajectory, etc., and the first acquisition device 120 acquires the input signal generated based on the relative position. It can be seen that the input signal generated based on the relative position between the input device 200 and the first acquisition device 120 of the processing device 100 includes but is not limited to the second input signal described above, and the present application does not limit the content of the above-mentioned input signals obtained by the processing device 100 and the acquisition method thereof, which can be determined according to the category of the first acquisition device 120 and its working principle, and this embodiment will not be described in detail here.
[0059] In some embodiments, Figure 3 As shown, the first input signal can be collected by the second collecting device 210 built in the input device 200, and then the first input signal is sent to the obtaining device 110 through the sending device 220. In this case, Figure 3 As shown, the obtaining device 110 may be a receiving device 111 for receiving a first input signal generated by the rotation of the input device 200 and sent by the sending device 220. The present application does not limit the device type and hardware structure of the receiving device 111, which may be determined according to circumstances.
[0060] In this embodiment, since the second acquisition device 210 in the input device 200 can be used to acquire the first input signal generated by the rotation of the input device 200, the second acquisition device 210 can be one or more sensors such as a gravity sensor, an acceleration sensor, a gyroscope, a displacement sensor, etc., which can be determined based on the functional requirements that the input device 200 can achieve.
[0061] The sending device 220 for transmitting the first input signal and the receiving device 111 for receiving the first input signal by the processing device 100 may be communication devices, which may include but are not limited to WIFI modules, 5G / 6G (fifth generation mobile communication network / sixth generation mobile communication network) modules, GPRS modules, short-range wireless communication modules, etc. It should be noted that in this embodiment, the input device 200 and the processing device 100 may transmit the input signal through one or more communication methods. Therefore, the receiving device 111 and the sending device 220 may include at least one communication module of the same category, which may be determined according to actual communication requirements.
[0062] It should be understood that the receiving device 111 of the processing device 100 and the sending device 220 of the input device 200 are not limited to the device types described in the above embodiment. And for the input signal generated based on the rotation of the input device 200,
[0063] In some other embodiments, the first input signal generated based on the rotation of the input device 200 is not limited to being obtained by the second acquisition device 210 of the input device 200, but can also be acquired by the processing device 100. In this case, Figure 4 As shown, the obtaining device 110 in the processing device 100 described above may specifically be the third collecting device 112. Figure 2 In the scenario shown in which the input device 100 rotates, the third acquisition device 112 may obtain a first input signal generated by the rotation of the input device 200 .
[0064] Among them, the device type and structure of the third acquisition device 112 in the processing device 100 can be determined according to the product type of the input device 200. Exemplarily, if the input device 200 is an electromagnetic pen, the third acquisition device 112 can include an electromagnetic induction plate. During the rotation of the input device 200, under the action of the magnetic field lines between the electromagnetic coils of the third acquisition device 112 and the third acquisition device 112, the third acquisition device 112 can obtain the corresponding first input signal, thereby characterizing the rotation parameters of the input device 200 (such as the rotation direction, the number of rotations, the rotation position, etc.). The implementation process can be determined based on the electromagnetic induction technology, which will not be described in detail in this application.
[0065] Optionally, the third acquisition device 112 may also include one or more sensor combinations such as a laser sensor (such as an infrared sensor), a distance sensor, a temperature sensor, a pressure sensor, etc. Based on this, during the rotation of the input device 200, the third acquisition device 112 can sense the corresponding first input signal, thereby characterizing the rotation movement of the input device 200 relative to the processing device 100.
[0066] It should be noted that the implementation method of the acquisition device 110 in the processing device 100 obtaining the first input signal includes but is not limited to the implementation method described above in this application. For different implementation methods, the acquisition device 110 may have corresponding structures, which are not listed one by one in this application.
[0067] In the embodiment of the present application, in combination with the above description of the first acquisition device 120 and the input device 200, the first acquisition device 120 may include but is not limited to one or more sensor combinations selected from electromagnetic induction panels, laser sensors (such as infrared sensors), distance sensors, temperature sensors, pressure sensors, displacement sensors, light sensors, visual sensors, etc., to detect the relative position between the input device 200 and the processing device 100, such as the contact position, relative angle, movement trajectory, etc. between the input device 200 and the first acquisition device 120. Parameters such as the input posture of the input device 200 relative to the first acquisition device 200 can also be obtained as needed. The present application does not limit the structure of the first acquisition device 120 and its implementation method for obtaining the above-mentioned second input signal, which can be determined according to the actual situation.
[0068] It is understandable that in different application scenarios, the operation mode of the input device 200 relative to the processing device 100 may be different, so that the meaning of the relative position representation between the input device 200 and the first acquisition device 120 generated by it may be different; and in the same application scenario, the meaning of the relative position representation between the input device 200 and the first acquisition device 120 generated by different operation modes of the input device 200 relative to the processing device 100 may also be different, including but not limited to the corresponding parts of the above embodiments, which can be configured according to actual conditions, and this application does not list them one by one.
[0069] The processing device 130 may include but is not limited to a central processing unit CPU, an application specific integrated circuit (ASIC), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices.
[0070] In the embodiment of the present application, the processing device 130 can execute the processing method proposed in the embodiment of the present application to meet the application requirements. Regarding the implementation process of the processing method, reference can be made to but not limited to the description of the corresponding part of the method embodiment below, and the embodiment of the present application will not be described in detail here.
[0071] Based on the structure of the processing device 100 described in the above embodiments, Figure 5As shown, the processing device 100 may further include: an output device 140 for outputting the resources to be processed. Optionally, in combination with the above description of the processing device 130, it can be seen that according to application requirements, the state of the resources to be processed can be adjusted, and the output device 140 can synchronously display the state adjustment process of the resources to be processed, that is, output the resources to be processed with the state after each adjustment.
[0072] For example, refer to Figure 6 As shown in the schematic diagram of an optional application scenario, the output device 140 of the processing device 100 outputs a drawing interface of a drawing application, such as Figure 6 As shown in the drawing interface presenting the headphone picture, when the thickness of the headphone line needs to be adjusted, the input device 200 can be controlled to rotate, and the processing device 130 can increase or decrease the thickness of the headphone line in accordance with the corresponding adjustment direction (the mapping relationship between different rotation directions and line thickness adjustment directions can be pre-configured) in response to the first input signal generated thereby. The user can intuitively see the dynamic adjustment process of the headphone line to quickly and accurately obtain the headphone with the required line requirements, which is very convenient and improves the processing efficiency.
[0073] Similarly, the present application can also implement dynamic color adjustment of the application object (such as the above-mentioned headphones, but not limited to this) according to the above adjustment method, that is, the processing device 130 responds to the first input signal generated by the rotation of the input device 200, and can change the color presented by the application object, and the output device 140 can synchronously display the color presented by the application object after each adjustment, so that the user can intuitively see whether the adjusted color is the target color (that is, the actual required color of the application object), so as to improve the color adjustment efficiency. The state adjustment implementation process for other categories of resources is similar, and the embodiments of the present application are not exhaustive.
[0074] Among them, in the process of implementing the state adjustment of the resources to be processed, in order to be able to adjust the target resources of the application object, the processing device 130 can combine the relative position obtained between the input device 200 and the first acquisition device 120 to enter the state adjustment mode of the corresponding resource, such as color adjustment mode, line thickness adjustment mode, etc., and then, according to the method described above, the adjustment of the state of the corresponding resource is implemented. The implementation process is not described in detail in this embodiment.
[0075] Optionally, the processing device 130 can combine the relative position between the input device 200 and the first acquisition device 120 to retrieve the adjustment interface of the corresponding resource, and the output device 140 outputs the corresponding adjustment interface, such as the line thickness adjustment interface corresponding to the above example (such as Figure 5The circular adjustment interface schematic diagram showing the change of line thickness shown on the right), color adjustment interface, etc. It should be noted that for different relative positions between the input device 200 and the first acquisition device 120, the adjustment interface called out by the output device 140 is different. The implementation process can refer to the description of the corresponding part of the method embodiment below, which will not be described in detail in this embodiment.
[0076] It can be understood that in the process of adjusting the status of different resources based on the relative position change between the input device 200 and the first acquisition device 120, the output device 140 can also be used to output the corresponding selection window, the application object of the corresponding resource and its application content and other information, which can be determined according to the application scenario. The present application does not limit the output content of the output device 140.
[0077] Combined with the above analysis, the output device 140 may include but is not limited to a display, and the display may include a display panel, such as a touch display panel, a non-touch display panel, etc. The present application does not limit the display type and its composition structure. It can be understood that in different application scenarios, according to the output requirements of different applications, the output device 140 may also include a speaker, a vibration mechanism, an indicator light, etc. The present application does not limit the structure of the output device 140, which may be determined according to the circumstances.
[0078] In some embodiments, when the output device 140 includes a display, the application content is presented through the display. When the state of a certain type of resource for the application content needs to be adjusted, the input device 200 can be rotated within a certain input signal detection range, and the relative position between the input device 200 and the first acquisition device 120 can also be controlled to achieve state adjustment of the corresponding resources.
[0079] Among them, in the process of controlling the input device 200, after the input device 200 contacts the display panel of the display, it can draw a circle on the display panel, that is, rotate the input device 200; continue to contact and move; change the angle between the input device 200 and the display panel, etc. Of course, the input device 200 can also rotate directly above the display panel without contacting the display panel to meet resource processing requirements.
[0080] Based on this, in this embodiment, the first acquisition device 120 can be deployed in the display area of the display panel to ensure that the input signal generated by the relative position and changes between the input device 200 and the display panel can be obtained in a timely and accurate manner. This application does not limit the structure of the first acquisition device 120 and its deployment method, which can be determined according to the circumstances.
[0081] Need to explain, Figure 1 , Figure 3 , Figure 4 , Figure 5 The structure of the processing device shown does not constitute a limitation on the processing device in the embodiments of the present application. In practical applications, the processing device may include more components or combined components than those shown in the corresponding drawings. Figure 7 The hardware structure diagram of another optional example of the processing device shown is that the processing device may also include various communication interfaces, microphones, speakers, display panels, power management modules, antennas and other components for realizing content devices and / or data transmission with external devices. These components may be determined based on the functional requirements of the processing device 100, and are not listed one by one in this application.
[0082] Combined with the above description of the composition structure and application scenarios of the processing device 100, refer to Figure 8 , is a flowchart of an optional example of the processing method proposed in this application, which can be executed by a processing device, such as Figure 8 As shown, the processing method proposed in this embodiment may include:
[0083] Step S11, obtaining a first input signal generated by an input device;
[0084] In combination with the description of the corresponding part of the above embodiment, the first input signal can be an input signal generated based on the rotation of the input device, and the processing device can not only obtain the first input signal generated by the rotation of the input device, but also obtain the second input signal generated based on the relative position of the input device and the first acquisition device of the processing device when they are in contact, thereby limiting the type of the input device, such as a smart pen.
[0085] Among them, the relative position between the above-mentioned input device 200 and the first acquisition device 120 of the processing device 100 may include but is not limited to parameters such as angle, contact position, movement trajectory, distance, etc., and can obtain an input signal generated by one or more parameters according to actual application requirements, thereby responding to the input signal and realizing resource processing of the corresponding application object. The implementation process of this embodiment will not be described in detail here.
[0086] In some embodiments, reference Fig. 9 As shown in the scene schematic diagram, the input device 200 may have opposite first and second ends 231 and 232. The first end 231 may be the end of the input device 200 that can be detected by the first acquisition device 120. In this case, the second input signal may be an input signal generated based on the relative position of the first end 231 of the input device 200 and the first acquisition device 120 when they are in contact. That is, the first acquisition device 120 may obtain the input signal generated by the relative position of the first end 231.
[0087] Furthermore, if the line between the first end 231 and the second end 232 of the input device 200 is determined as the target reference, the first input signal generated based on the rotation of the input device 200 may include: the first input signal generated based on the rotation of the input device 100 along the target reference, that is, the first input signal generated by the rotation of the input device 100. The implementation method of the processing device 100 obtaining the first input signal can refer to but is not limited to the description of the corresponding part of the embodiment of the processing device 100 above, and this embodiment does not limit the implementation method of obtaining the first input signal.
[0088] Step S12, in response to at least the first input signal, switching the to-be-processed resources in the first state to the to-be-processed resources in the second state.
[0089] In the embodiment of the present application, when determining the resources to be processed, such as the color of the application object, the thickness / type of the line, the progress of resource processing, etc., the input device 200 can be controlled to rotate (the input device rotates by itself, rotates in a circle relative to the processing device, etc.) to indicate the state adjustment of the resources to be processed. Therefore, after the processing device 100 synchronously obtains the first input signal generated by the rotation of the input device 200, it responds to the first input signal and can adjust the state of the resources to be processed according to the rotation parameters of the input device 200 indicated by the first input signal. The implementation process is not described in detail in this application.
[0090] For example, see above Figure 6 As shown in the scenario diagram, if the resource to be processed is the thickness of the headphone line, and it is desired to adjust the thickness of the headphone line by rotating the input device 200, the processing device 100 obtains a first input signal representing rotation parameters such as the number of rotations, rotation angle, and rotation duration of the input device 200, and executes the line thickness adjustment parameters mapped by the rotation parameters represented by the first input signal according to the mapping relationship between the pre-configured corresponding rotation parameters and the line thickness adjustment parameters of the application object, so as to adjust the headphone line having a first thickness specification to a headphone line having a second thickness specification.
[0091] Among them, in the state adjustment process of the above-mentioned resources to be processed, for the resources to be processed in the first state, it can be directly switched to the resources to be processed in the second state corresponding to the first input signal generated when the input device 200 stops rotating; according to needs, during the rotation of the input device 200, the state adjustment parameters mapped by the rotation parameters represented by the continuously generated first input signal include multiple, and the determined state adjustment parameters can be executed in sequence to dynamically adjust the state of the resources to be processed until the resources to be processed in the second state are obtained.
[0092] For example, Figure 6In the application scenario shown, during the rotation of the input device 200, the earphone output by the processing device 100 can be directly switched from the line thickness state shown in the first row of drawings on the left to the line thickness state shown in the third row of drawings; or Figure 6 As shown, the state of the resource to be processed is switched to the line thickness state shown in the second row of the figure, or even more line thickness states, until the line thickness state shown in the third row of the figure is obtained. This application does not limit the state switching process of the resource to be processed in the process of responding to the first input signal. It should be noted that for other resources to be processed, the state adjustment process is similar, and this application does not describe them one by one.
[0093] In some embodiments, the above-mentioned resources to be processed in the present application may include response parameters of the processing device 100 in response to the second input signal. Therefore, after the processing device 100 obtains the second input signal, it can determine the resources to be processed from the candidate processing resources according to the relative position between the input device 200 and the first acquisition device 120 represented by the second input signal. The implementation process can refer to but is not limited to the description of the corresponding part of the embodiment below. Afterwards, the state adjustment of the resources to be processed can be achieved in response to the first input signal according to but not limited to the implementation method described above.
[0094] It should be noted that the method for determining the resources to be processed includes but is not limited to the implementation method described above. In some other embodiments, the present application can also determine the resources to be processed from the candidate processing resources based on the third input signal that characterizes the angle between the input device and the first acquisition device, and / or the target reference orientation of the input device. In the actual processing method, it can be determined according to the scene requirements. Among them, the target reference orientation can be determined by detecting the angle between the first end of the input device and the first acquisition device; or, the distance between the first end and the second end of the input device and the first acquisition device is detected, and based on the respective distance comparison results of the two, it is determined whether the first end is close to the first acquisition device or the second end is close to the first acquisition device. The candidate processing resource corresponding to the comparison result can be determined as the resource to be processed, but it is not limited to the implementation method described in this embodiment.
[0095] In summary, for an input device that can generate a second input signal based on the relative position when in contact with the first acquisition device of the processing device, in an application scenario where the state of the resource to be processed needs to be adjusted, the embodiment of the present application can directly control the rotation of the input device 100 so that the processing device 100 obtains the first input signal generated based on the rotation of the input device 100, and switches the resource to be processed in the first state to the resource to be processed in the second state by at least responding to the first input signal, thereby meeting application requirements, no longer being limited to the clicking input method of the input device, enriching the input method, simplifying the processing steps, and improving processing efficiency.
[0096] Reference Fig.10 , which is another optional example of the processing method proposed in this application, is different from the implementation method of adjusting the state of the resources to be processed according to the rotation of the input device described in the above embodiment. The embodiment of this application can adjust the state of the resources to be processed according to the rotation of the input device and the relative position of the continuous contact between the input device and the first acquisition device of the processing device, but is not limited to the implementation method described in this embodiment. Fig.10 As shown, the method may include:
[0097] Step S21, obtaining a first input signal generated based on the rotation of the input device, and a second input signal generated based on the relative position of the input device and the first acquisition device when in contact;
[0098] Step S22, in response to at least the first input signal and the second input signal, switching the to-be-processed resource in the first state to the to-be-processed resource in the second state.
[0099] In combination with the above description of the second input signal and the application scenario of the processing device 100 and the input device 200, refer to Figure 2 In the application scenario shown, when the state of the resource to be processed needs to be adjusted, the input device 200 can be controlled to contact the first acquisition device 120 of the processing device 100, and the input device 200 and the first acquisition device 120 can be controlled to rotate relative to each other during the contact period, such as Figure 2 The dotted line shows the movement trajectory of the input device 200. During this period, the obtaining device 110 of the processing device 100 can obtain the above-mentioned first input signal, and at the same time, the first collecting device 120 can obtain the above-mentioned second input signal.
[0100] After the processing device 130 in the processing device 100 receives the first input signal sent by the obtaining device 110 and the second input signal sent by the first acquisition device 120, when responding to at least the two input signals, the meanings represented by the two input signals can be analyzed. For example, the first input signal can represent the rotation parameters such as the number of rotations, rotation angle, and rotation duration of the input device 100. The second input signal can represent the relative position change when the input device 200 and the first acquisition device 120 of the processing device 100 are in contact during the process of generating the first input signal, such as the movement trajectory of the input device 200 when it is in contact with the first acquisition device 120. Figure 2 As shown, but not limited to the movement trajectory caused by the change of contact position.
[0101] It can be seen that referring to Figure 2According to the scene diagram shown, the processing device 130 can obtain the rotation trajectory of the input device 200 during the continuous contact between the input device 200 and the first acquisition device 120. After that, the state of the resource to be processed can be adjusted according to the mapping relationship between the different rotation trajectories of the input device 200 in contact with the first acquisition device 120 according to the pre-configured state adjustment parameters of the resource to be processed, so as to obtain the resource to be processed in the required second state. The adjustment process can refer to but should not be limited to the state adjustment process of the resource to be processed described above, which will not be elaborated in this embodiment.
[0102] In some embodiments, in order to further determine that the first input signal and the second input signal obtained by the processing device 100 are generated based on the action of the same input device, after obtaining the first input signal and the second input signal and analyzing the information content represented by each of the two input signals, it can be further determined whether the two information contents match, such as whether the rotation direction of the input device represented by the first input signal matches the moving direction of the input device represented by the second input signal relative to the first acquisition device. If they match, it can be considered that the two input signals are generated based on the action of the same input device, and step S22 can be executed to adjust the state of the resources to be processed.
[0103] On the contrary, it is determined that the rotation direction of the input device represented by the first input signal does not match the movement direction of the input device represented by the second input signal relative to the first acquisition device. For example, the rotation direction is clockwise and the movement direction is counterclockwise (or other movement directions, such as the direction of the movement trajectory generated by writing, etc.). After comparison, it is found that the rotation direction does not match the movement direction. It can be considered that the first input signal and the second input signal are input signals generated by different input device actions. In this case, the processing device 100 can respond to the obtained first input signal and the second input signal respectively, and execute according to their respective processing rules to meet different application requirements.
[0104] In this case, the implementation process of the response to the first input signal can refer to the description of the corresponding part of the above embodiment, and this embodiment will not be repeated. Regarding the processing rules executed in response to the second input signal in this case, it can be determined according to the information content represented by the second input signal, such as the second input signal generated by writing on the processing device using an input device, and the processing device can output corresponding text information in response to the second input signal, but it is not limited to this text processing rule.
[0105] Reference Fig.11, is a flowchart of an optional example of the processing method proposed in this application. The embodiment of this application describes how to adjust the state of the resource to be processed according to the rotation of the input device and its angle with the first acquisition device, but is not limited to the implementation method described in this embodiment. Fig.11 As shown, the method may include:
[0106] Step S31, obtaining a first input signal generated based on the rotation of the input device, and a third input signal representing the angle between the input device and the first acquisition device;
[0107] Regarding the process of obtaining the first input signal, reference may be made to the description of the corresponding part of the above embodiment, and this embodiment will not be repeated. The third input signal may be obtained by a second acquisition device built into the input device. In this case, the second acquisition device may include a gyroscope, a gravity sensor, an acceleration sensor, etc. When a certain angle is formed between the input device 200 and the first acquisition device 120, the second acquisition device obtains a third input signal generated based on the angle, and then sends the third input signal to the receiving device of the processing device 100 through the sending device, and the receiving device forwards the third input signal to the processing device 130.
[0108] In some other embodiments, the third input signal may also be obtained by the first acquisition device in the processing device 100. In this case, the first acquisition device in the processing device 100 for obtaining the third input signal may include but is not limited to a laser sensor, a distance sensor, a visual sensor (such as a camera, determining the angle through image analysis, etc.), a magnetic field sensor, and the like. Sensors capable of obtaining the angle between the input device 100 and the first acquisition device may be determined based on actual needs.
[0109] It can be understood that the angle between the input device 200 and the first acquisition device 120 can also be used as a parameter to represent the relative position between the input device 200 and the first acquisition device 120. However, in this case, the input device 200 and the first acquisition device 120 may be in contact or not, depending on the circumstances.
[0110] Step S32, determining a target corresponding relationship in the candidate corresponding relationship set according to the third input signal;
[0111] In some embodiments, each candidate correspondence included in the candidate correspondence set can represent the adjustment range of different resources corresponding to the unit rotation of the input device at different angles between the input device and the first acquisition device, that is, the correspondence between different angles and the adjustment ranges of different resources. This application does not limit the content of the correspondence and its representation method.
[0112] Based on this, after the processing device 130 of the processing device 100 obtains the above-mentioned third input signal, it can analyze and obtain the angle between the input device 200 and the first acquisition device 120 at the current moment. Thereafter, the candidate correspondence corresponding to the obtained angle can be screened from the candidate correspondence set to be determined as the target correspondence, and the screening method is not limited.
[0113] Step S33, determining the first state of the resource to be processed;
[0114] Step S34, determining a state adjustment range for the resource to be processed according to the corresponding relationship between the first input signal and the target;
[0115] Step S35: adjusting the resource to be processed from the first state to the second state according to the state adjustment range.
[0116] The method for determining the resources to be processed can refer to but is not limited to the description of the corresponding part above, and this embodiment will not be repeated. After determining the content of the resources to be processed, such as the color of the application object, the line thickness, etc., the current default state of the resources to be processed can be recorded as the first state, such as the system default state, or the state determined by the last adjustment of the resource state, etc. This application does not limit the implementation method of step S33.
[0117] Following the above analysis, the target correspondence relationship can be used to determine the adjustment amplitude (i.e., unit adjustment amplitude) corresponding to the unit rotation parameter of the input device 200 (such as unit rotation angle, one rotation, unit rotation duration, etc.) in the current scenario. The continuous rotation parameter of the input device can be obtained by analyzing the first input signal. By multiplying the continuous rotation parameter with the adjustment amplitude, the state adjustment amplitude for the resource to be processed determined by controlling the rotation of the input device 200 this time can be obtained. Afterwards, the state adjustment amplitude can be accumulated on the basis of the first state of the resource to be processed to determine the second state of the resource to be processed, and the resource to be processed in the second state can be obtained, thereby meeting the processing requirements of the application object.
[0118] Exemplarily, assuming that the resource to be processed is the color of application object A in the application running on the processing device, the first state of the resource to be processed may include a first color value, such as an RGB value, etc., and a first angle is formed between the input device 200 and the first acquisition device 120. The processing device 130 can determine, based on the third input signal representing the first angle, that when the input device 200 and the first acquisition device 120 are at the first angle, the color value adjustment value corresponding to the unit rotation parameter of the input device 200 (this embodiment is illustrated using the unit rotation angle as an example, and the implementation process of other categories of rotation parameters is similar).
[0119] In this way, in the process of responding to the first input signal generated by the rotation of the input device 200, the continuous rotation angle of the input device 200 can be obtained, and the color value adjustment value of the unit rotation angle is used to obtain the color adjustment value of the color of the application object A obtained by rotating the input device 200 by the continuous rotation angle (the adjustment direction of the color value can be indicated by the positive or negative color value, such as a positive number indicates an increase in the corresponding dimension value, and a negative number indicates a decrease in the corresponding dimension value, but it is not limited to this). The color adjustment value is added to the first color value of the application object A to directly obtain the second color value of the application object A.
[0120] Optionally, during the rotation of the input device 200, the continuous rotation angle gradually increases. At the same time, the color adjustment value of the color of the application object A can be obtained synchronously, and the adjusted color value of the application object A at the corresponding moment can be obtained. That is to say, during the rotation of the input device 200, the dynamic adjustment process of the color of the application object A can be synchronously displayed, which not only realizes a more fine-grained adjustment of the resource status, but also this synchronous display of the adjustment process processing method facilitates users to quickly and accurately locate the required state resources and improve processing efficiency. The adjustment implementation process of other categories of resource status is similar, and this application will not be described in detail one by one.
[0121] In combination with the above-described embodiment, the solution for adjusting the state of the resource to be processed is implemented based on the rotation of the input device 200 and the angle between the input device 200 and the first acquisition device 120.
[0122] In some embodiments, the larger the value of the angle a (in this application, referred to as the included angle) between the input device 200 and the first acquisition device 120 (i.e., the closer the two are to perpendicularity), the larger the adjustment amplitude corresponding to the determined unit rotation amplitude of the input device 200 (i.e., the unit rotation parameter described above); conversely, the smaller the value of the angle a between the input device 200 and the first acquisition device 120 (i.e., the further the two are from perpendicularity), the smaller the adjustment amplitude corresponding to the determined unit rotation amplitude of the input device 200.
[0123] It can be seen that referring to Fig.12a and Figure 12bAs shown in the scenario diagram, when the angle a represented by the third input signal is a first value, it can be determined that the unit rotation amplitude of the input device 200 corresponds to the first adjustment amplitude of the resource state adjustment to be processed; when the angle a represented by the third input signal is a second value, it can be determined that the unit rotation amplitude of the input device 200 corresponds to the second adjustment amplitude of the resource state adjustment to be processed; wherein, if the first value is greater than the second value, the first adjustment amplitude is greater than the second adjustment amplitude. The present application does not impose any restriction on the correspondence between the numerical value of the angle a between the input device 200 and the first acquisition device 120 and the numerical value of the adjustment amplitude for different resources, and it can be flexibly configured according to the adjustment granularity requirements of the corresponding resources, which will not be elaborated in the present application.
[0124] Based on the description of this embodiment, if the color of an application object needs to be finely adjusted, that is, the color unit adjustment range needs to be small, the input device 200 and the first acquisition device 120 can be controlled to form a small angle, such as Figure 12b As shown, while maintaining the angle, in response to the first input signal generated by the rotation of the input device 200, the color of the application object can be gradually changed in a small range according to the method described in the corresponding part above until the application object of the target color is obtained. Similarly, if it is necessary to quickly adjust the color of the application object but the final color requirement is not high, the input device 200 and the first acquisition device 120 can be controlled to form a larger angle, such as Fig.12a As shown, rotating the input device 200 will control the color presented by the application object to be adjusted quickly and significantly.
[0125] It should be noted that the adjustment process for other categories of pending resources, such as line thickness, playback volume of video files, playback progress, etc., is similar, and this application does not give detailed examples one by one.
[0126] In some other embodiments proposed in the present application, different from the technical solution described above, which updates the adjustment amplitude of the resource to be processed corresponding to the unit rotation amplitude of the input device 200 according to the angle a (the present application refers to the included angle) between the input device 200 and the first acquisition device 120, the present application proposes to call up the adjustment interface for different resources according to the angle a (the present application refers to the included angle) between the input device 200 and the first acquisition device 120. In this embodiment, the candidate correspondences included in the above-mentioned candidate correspondence set may include: the adjustment interfaces of different resources that can be called up at different angles between the input device 200 and the first acquisition device 120, that is, the correspondence between the different angles between the input device 200 and the first acquisition device 120 and the adjustment interfaces of different resources. The present application does not limit the content of the correspondence, which can be determined according to the circumstances.
[0127] Based on this, the processing device 130 determines the current angle between the input device 200 and the first acquisition device 120 according to the third input signal, and can obtain the adjustment interface of the resource to be processed corresponding to the current angle. This embodiment determines the candidate correspondence between the current angle and the adjustment interface of the resource to be processed as the target correspondence. That is to say, the resource to be processed is determined based on the current angle, and the adjustment interface of the resource to be processed can be called up at the same time, and the adjustment interface is output by the output device.
[0128] Therefore, when the processing device 130 of the processing device 100 obtains the third input signal and determines that the angle between the input device 200 represented by the third input signal and the first acquisition device 120 is the first value, it can be determined that the output device 140 of the processing device 100 outputs the first adjustment interface; similarly, when it is determined that the angle between the input device 200 represented by the third input signal and the first acquisition device 120 is the second value, it can be determined that the output device 140 outputs the second adjustment interface. Among them, the first adjustment interface and the second adjustment interface are different, but the present application does not limit the content of the first adjustment interface and the second adjustment interface.
[0129] It can be seen that the angle a between the input device 200 and the first acquisition device 120 is Fig.12a During the process of the state shown gradually changing to the state shown in FIG. 12 , the output device 140 can synchronously output the adjustment interface corresponding to the obtained real-time angle a in the manner described above, so as to facilitate the rapid determination of the currently required resource adjustment interface. Moreover, according to this adjustment method, after determining the adjustment interface of the resource to be processed, the state of the corresponding resource can still be adjusted in the adjustment interface by rotating the input device 200 as described above, and the implementation process will not be described in detail in this embodiment. Optionally, the present application can also combine the relative position change between the input device 200 and the first acquisition device 120 to realize the adjustment of the currently determined state of the resource to be processed, such as the movement trajectory, etc., and the present application will not give detailed examples one by one.
[0130] For example, in Fig.12a In the angle state between the input device 200 and the first acquisition device 120 of the processing device 100 shown in FIG. 1 , the display of the processing device 100 can present a color adjustment interface; Figure 12b Under the angle state of the input device 200 and the first acquisition device 120 of the processing device 100 shown, the display of the processing device 100 can present a line thickness adjustment interface; during the switching process between these two angle states, the display can also present a line type adjustment interface, a volume adjustment interface, etc., depending on the situation.
[0131] In some other embodiments proposed in this application, refer to Fig.13The scene schematic diagram shown in the figure, the present application can also determine the adjustment interface to be retrieved according to the movement trajectory between the input device and the first acquisition device, such as Fig.13 The input device shown slides downward on the display to output a line thickness adjustment interface. Afterwards, the thickness of the desired line can be dynamically adjusted by rotating the input device. The output device 140 can output the adjusted line to visually see the adjusted line thickness. It should be noted that the movement trajectory between the input device and the first acquisition device includes but is not limited to Fig.13 The downward sliding shown can also be a moving trajectory of a preset shape, such as a check mark, a circle, etc., which can be configured according to actual conditions. Different moving trajectories can correspond to different adjustment interfaces to achieve quick access to different resource adjustment interfaces. The implementation process is combined with the above embodiments to call the corresponding adjustment interface according to different angles, etc., and the embodiments of this application will not be repeated.
[0132] Reference Fig.14 , which is a flowchart of another optional example of the processing method proposed in the present application. This embodiment can describe another optional implementation method for the processing device 100 described in the above embodiments to switch the resources to be processed in the first state to the resources to be processed in the second state, but is not limited to the detailed implementation method described in this embodiment. Fig.14 As shown, the method may include:
[0133] Step S41, obtaining a first input signal generated based on the rotation of the input device;
[0134] Step S42, in response to at least the first input signal, switching the to-be-processed resources for executing the first quantity input instruction to the to-be-processed resources for executing the second quantity input instruction.
[0135] The implementation method of step S41 may refer to the description of the corresponding part of the above embodiment, which will not be elaborated in this embodiment.
[0136] In some embodiments proposed in the present application, during the processing of the resources to be processed, the resources to be processed obtained after each processing can be recorded, that is, the historical processing data of the resources to be processed can be recorded. In this way, according to the method described in the above embodiments, during the processing of the resources to be processed, if it is determined that the resources to be processed obtained by the current processing do not meet the requirements, and the resources to be processed obtained in the historical processing process are more in line with the requirements, that is, it is necessary to restore the previous processing steps of the resources to be processed. The processing of the resources to be processed can be undone by responding to the rotation parameters of the input device represented by the first input signal, and the resources to be processed that execute the first number of input instructions can be switched to the resources to be processed that execute the second number of input instructions. In this case, the first number is greater than the second number, such as returning from the resources to be processed that execute the 21st input instruction to the resources to be processed that execute the 20th input instruction.
[0137] It should be noted that the first quantity input instruction may be a current input instruction or an input instruction in a historical processing process, depending on the circumstances.
[0138] Similarly, in some other embodiments, the first number may also be smaller than the second number. In this case, it can be considered that the resource to be processed is returned to the pending resources that executed the first number of input instructions in the past. The pending resources do not meet the resource processing requirements and can still be switched back to the pending resources that execute the second number of input instructions, such as switching from the pending resources that executed the 20th input instruction that were returned to the pending resources that executed the 21st input instruction.
[0139] Exemplarily, in an application scenario where an adjustment interface of a corresponding resource is called up based on the angle between the input device 200 and the first acquisition device 120, and the output device 140 of the processing device 100 outputs the called adjustment interface, if the angle between the input device 200 and the first acquisition device 120 is 30 degrees, the output device 140 outputs a color adjustment interface; the input device 200 is continued to be adjusted so that the angle with the first acquisition device 120 is increased to 50 degrees, and the output device 140 outputs a line thickness adjustment interface; the input device 200 is continued to be adjusted so that the angle with the first acquisition device 120 is increased to 60 degrees, and the output device 140 outputs a line type adjustment interface; the input device 200 is continued to be adjusted so that the angle with the first acquisition device 120 is increased to 80 degrees, and the output device 140 outputs a volume adjustment interface; the input device 200 is continued to be adjusted so that the angle with the first acquisition device 120 is increased to 60 degrees, and the output device 140 outputs a screen brightness adjustment interface.
[0140] If it is determined that the screen brightness adjustment interface does not meet the current resource adjustment requirements, and a drawing application is currently running and the line thickness is to be adjusted, the input device 200 can be adjusted so that the angle between it and the first acquisition device 120 is reduced to 50 degrees or a certain angle within its angle range (this application can be the angle range corresponding to different adjustment interfaces, and this application does not limit the angle range values corresponding to different adjustment interfaces), and the line thickness adjustment interface can be output; if the line type is to be adjusted, the angle of the first acquisition device 120 of the input device 200 can be increased to 60 degrees or a certain angle within its angle range, and the line type adjustment interface can be re-output. This flexible control method for the adjustment interface greatly improves processing convenience and efficiency, and improves user experience.
[0141] It should be noted that the dynamic adjustment process of the unit adjustment amplitude / state adjustment amplitude of the resource to be processed, or the resource processing process of other contents, etc., is similar to the processing process of the adjustment interface of different resources described above. For example, through the first rotation direction of the input device 200, the color value of the application object can be controlled to gradually increase; in this process, if the rotation direction of the input device 200 is changed, such as controlling the input device 200 to rotate in the opposite direction of the first rotation direction, that is, the second rotation direction, through the second rotation direction of the input device 200, the color value of the application object can be controlled to gradually decrease, as shown in the figure, by repeatedly comparing and adjusting to obtain the desired target color. This application does not give detailed examples one by one.
[0142] It should be understood that Fig.15 In the application scenario shown, the output device 140 of the processing device 100 outputs a multimedia file, such as running a video application and outputting a certain video file. According to the method described above, after determining that the volume of the video to be processed is to be adjusted, the video volume can be increased or decreased by rotating the input device 200 in different directions; optionally, the application can also combine the relative position change when the input device 200 contacts the first acquisition device 120 to comprehensively implement the adjustment of the video volume, and the implementation process is not described in detail in the embodiment of this application. Similarly, the processing process for the video playback progress / playback rate waiting for processing resources is similar, and this application does not give detailed examples one by one.
[0143] It should be noted that the input device in the above application scenario embodiments is described by taking a smart pen as an example, but is not limited to the product type of the input device 200 described in each application scenario embodiment.
[0144] The present application also provides a storage medium on which a computer program can be stored. The computer program can be called and loaded by a processor to implement the various steps of the processing method described in the above embodiment. The implementation process can refer to the description of the corresponding part of the above embodiment.
[0145] The present application also proposes a processing system, which may include a processing device 100 and an input device 200. Regarding the composition structure and functions of the processing device 100 and the input device 200, reference may be made to the description of the corresponding parts of the above embodiments, and the embodiments of the present application will not be repeated.
[0146] Finally, it should be noted that, with respect to the above embodiments, unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not specifically refer to the singular, but may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements. The elements defined by the sentence "includes a..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.
[0147] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0148] The terms such as "first", "second", etc. used in this application are only used for descriptive purposes to distinguish one operation, unit or module from another operation, unit or module, and do not necessarily require or imply any actual relationship or order between these units, operations or modules. They cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0149] In addition, flow charts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, the various steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.
[0150] In this specification, each embodiment is described in a progressive or parallel manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the processing device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0151] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A processing method, applied to a processing device, comprising: Obtaining a first input signal generated by an input device; wherein the first input signal is an input signal generated based on the rotation of the input device, and the processing device can obtain a second input signal generated based on the relative position of the input device and the first acquisition device of the processing device when they are in contact; wherein the second acquisition device in the input device can be used to acquire an input signal generated when the input device rotates on the display panel without contacting the display panel, and the second acquisition device is one or more sensors selected from a gravity sensor, an acceleration sensor, a gyroscope, and a displacement sensor; In response to at least the first input signal, the resources to be processed in the first state are switched to resources to be processed in the second state.
2. The method according to claim 1, wherein the input device has a first end and a second end opposite to each other, and the first end is an end at which the first acquisition device can detect the input device; in, The first input signal generated by the rotation of the input device includes: the first input signal generated by the rotation of the input device along a target reference, and the target reference is a line between the first end and the second end.
3. The method according to claim 1, further comprising: obtaining the second input signal generated by the input device; The step of switching the to-be-processed resource in the first state to the to-be-processed resource in the second state in response to at least the first input signal includes: In response to at least the first input signal and the second input signal, the resource to be processed in the first state is switched to the resource to be processed in the second state. 4 . The method according to claim 3 , wherein the second input signal represents: a change in relative position of the input device and the first acquisition device of the processing device when they are in contact during the process of generating the first input signal.
5. The method according to claim 1, further comprising: Obtaining a third input signal representing an angle between the input device and the first acquisition means; Determining a target corresponding relationship in a set of candidate corresponding relationships according to the third input signal; The step of switching the to-be-processed resource in the first state to the to-be-processed resource in the second state in response to the first input signal includes: Determining a first state of a resource to be processed; Determining a state adjustment range for the resource to be processed according to the first input signal and the target correspondence relationship; According to the state adjustment range, the to-be-processed resource is adjusted from the first state to a second state.
6. The method according to claim 5, wherein determining the target corresponding relationship in the candidate corresponding relationship set according to the third input signal comprises: When the angle represented by the third input signal is a first value, determining that a unit rotation amplitude of the input device corresponds to a first adjustment amplitude of the state of the resource to be processed; When the angle represented by the third input signal is a second value, determining that the unit rotation amplitude of the input device corresponds to a second adjustment amplitude of the state of the resource to be processed; wherein the first value is greater than the second value, and the first adjustment amplitude is greater than the second adjustment amplitude; and / or, When the angle represented by the third input signal is a first value, it is determined that the output device of the processing device outputs a first adjustment interface; when the angle represented by the third input signal is a second value, it is determined that the output device outputs a second adjustment interface; the first adjustment interface and the second adjustment interface are different. 7 . The method according to claim 1 , wherein the resource to be processed comprises a response parameter of the processing device in response to the second input signal.
8. The method according to claim 1, wherein switching the to-be-processed resource in the first state to the to-be-processed resource in the second state comprises: The resources to be processed that execute the first quantity input instruction are switched to the resources to be processed that execute the second quantity input instruction, wherein the first quantity and the second quantity are different.
9. The method according to claim 1, wherein at least in response to the first input signal, switching the resource to be processed in the first state to the resource to be processed in the second state comprises: Determine a resource to be processed among candidate processing resources according to the second input signal and / or the third input signal and / or the target reference orientation; wherein the third input signal represents the angle between the input device and the first acquisition device; and the target reference is a line between opposite first ends and second ends of the input device; In response to the first input signal, the to-be-processed resource in the first state is switched to a to-be-processed resource in the second state.
10. A processing device comprising: An acquisition device is used to acquire a first input signal generated by the rotation of the input device; wherein the second acquisition device in the input device can be used to acquire an input signal generated by the input device rotating on the display panel without contacting the display panel, and the second acquisition device is one or more sensors selected from the group consisting of a gravity sensor, an acceleration sensor, a gyroscope, and a displacement sensor; The first acquisition device is used to obtain a second input signal generated by the relative position of the input device when it contacts The processing device is used to switch the resources to be processed in the first state to the resources to be processed in the second state in response to at least the first input signal.
Citation Information
Patent Citations
Touch screen stylus with communication interface
CN105556426A