Operation instruction response method, device and equipment and computer storage medium
By presetting the input platform set and instruction mapping relationship set, the problem of complexity of input event adaptation in cross-platform application development is solved, and a unified response operation of cross-platform applications is realized, reducing development costs and improving user experience.
Patent Information
- Application Number
- CN202411331392.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-12-20
AI Technical Summary
When developing cross-platform applications, the existing technology requires complex adaptation and unified processing of input events from different devices and platforms, resulting in high development difficulty and cost.
By preset input platform set and instruction mapping relationship set, the target operation instructions are obtained and mapped to a unified preset event, and the response operations of cross-platform applications are realized, reducing the need for judgment and processing of events of different input platform.
It greatly reduces the cost and difficulty of cross-platform application development, ensures that applications on different platforms have a unified user experience, and improves user experience.
Smart Images

Figure CN119166001A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device and equipment for responding to an operation instruction, and a computer storage medium. Background Art
[0002] With the continuous development of science and technology and society, more and more types of smart devices have appeared in people's lives, such as mobile phones, personal computers, tablets, wearable smart devices, etc. Therefore, for applications, they are usually developed to be able to run on multiple devices at the same time. This requires developers to perform cross-platform processing for input events provided by different types of devices when developing corresponding applications, that is, for input events of each device, corresponding response operations are configured separately, so that when the application receives input events triggered by operation instructions from different devices and different platforms, it can make judgments based on the source and type of the input event, and then make appropriate response operations. In this way, the application can obtain a cross-platform operation method.
[0003] However, when developing such applications, developers are required to configure corresponding processing logic for input events of various types of devices. This results in a high time and manpower cost to adapt and unify input events triggered by various types of devices and platform operation instructions during the application development process, which in turn increases the difficulty of developing applications that are compatible with multiple terminals.
[0004] Therefore, there is an urgent need for a new method for responding to operation instructions to reduce the difficulty and cost of developing cross-platform applications for input events triggered by operation instructions. Summary of the invention
[0005] The present application provides a method, device, equipment and computer storage medium for responding to an operation instruction, so as to reduce the difficulty and cost of developing a cross-platform application for an input event triggered by an operation instruction.
[0006] In a first aspect, the present application provides a method for responding to an operation instruction, the method comprising:
[0007] Obtaining a target operation instruction triggered by a target input platform for a target application; wherein the target input platform is an input platform in a preset input platform set;
[0008] Based on the target input platform, the target operation instruction and the preset instruction mapping relationship set, a corresponding target preset event is configured for the target operation instruction; wherein the instruction mapping relationship set includes: at least one preset event, and a corresponding relationship between each preset event and the operation instruction under each input platform in the input platform set; each preset event corresponds to at least two operation instructions from different input platforms;
[0009] The response operation indicated by the target preset event is executed through the target application.
[0010] Optionally, obtaining a target operation instruction triggered by a target application from a target input platform includes:
[0011] Acquire a target native event triggered by the target input platform for the target application;
[0012] Based on a preset event mapping relationship set, a target operation instruction corresponding to the target native event is obtained; wherein the event mapping relationship set includes: at least one operation instruction, and a one-to-one correspondence between each operation instruction and a native event.
[0013] Optionally, the preset event includes one or more of the following: Down press event, Up pop-up event, Click single-click event, Hold long press event, Dbclick double-click event, Move move event, MoveIn move event, MoveOut move out event, Swipeup slide event, Drag drag event, ZoomIn zoom out event, ZoomOut zoom in event.
[0014] Optionally, the input platform set includes a pointer input platform and a touch input platform, and the instruction mapping relationship set includes at least one or more of the following contents:
[0015] The pressing event has a corresponding relationship with the pressing operation of the pointer input platform and the pressing operation of the single input device of the touch input platform;
[0016] The pop-up event has a corresponding relationship with the pop-up operation of the pointer input platform and the single input device leaving operation of the touch input platform;
[0017] The single-click event has a corresponding relationship with a press-and-pop-up operation of the pointer input platform and a press-and-release operation of a single input device of the touch input platform;
[0018] The long press event has a corresponding relationship with the long press operation of the pointer input platform and the single input device long press operation of the touch input platform;
[0019] The double-click event has a corresponding relationship with the double-click operation of the pointer input platform and the single-input device double-click operation of the touch input platform;
[0020] The movement event has a corresponding relationship with the pointer movement operation of the pointer input platform and the single input device touch and move operation of the touch input platform;
[0021] The move-in event has a corresponding relationship with a pointer move-in operation on the pointer input platform for a target object and a single input device touch and move-in operation on the touch input platform for the target object;
[0022] The removal event has a corresponding relationship with a pointer removal operation on the pointer input platform for the target object and a single input device touch and remove operation on the touch input platform for the target object;
[0023] The sliding event has a corresponding relationship with the pointer pressing and moving operation of the pointer input platform and the single input device touching and moving operation of the touch input platform;
[0024] The drag event has a corresponding relationship with a pointer long press and move operation of the pointer input platform and a single input device touch long press and move operation of the touch input platform;
[0025] The zoom-out event corresponds to a scroll wheel sliding operation of the pointer input platform and a dual input device touch pinching operation of the touch input platform;
[0026] The zoom-in event has a corresponding relationship with a scroll wheel sliding operation of the pointer input platform and a dual-input device touch zoom-in operation of the touch input platform.
[0027] Optionally, the pointer input device in the pointer input platform has at least two pointer input components, and the method further includes:
[0028] Selecting one of the at least two pointer input components as a target pointer input component to trigger an operation instruction;
[0029] Shielding operation instructions triggered by other pointer input components except the target pointer input component.
[0030] Optionally, when there are at least two pointer input components in the pointer input device in the pointer input platform, the preset events corresponding to the operation instructions triggered by the respective pointer input components are the same.
[0031] Optionally, the input platform set also includes a keyboard input platform, and in the instruction mapping relationship set, there is at least one preset event that also has a corresponding relationship with an operation instruction under the keyboard input platform.
[0032] In a second aspect, the present application provides a device for responding to an operation instruction, the device comprising:
[0033] An acquisition module, used for acquiring a target operation instruction triggered by a target input platform for a target application; wherein the target input platform is an input platform in a preset input platform set;
[0034] A mapping module, configured to configure a corresponding target preset event for the target operation instruction based on the target input platform, the target operation instruction and a preset instruction mapping relationship set; wherein the instruction mapping relationship set includes: at least one preset event, and a corresponding relationship between each preset event and an operation instruction under each input platform in the input platform set; each preset event corresponds to at least two operation instructions from different input platforms;
[0035] The processing module is used to execute the response operation indicated by the target preset event through the target application.
[0036] Optionally, when the acquisition module is used to acquire the target operation instruction triggered by the target application from the target input platform, it is specifically used to:
[0037] Acquire a target native event triggered by the target input platform for the target application;
[0038] Based on a preset event mapping relationship set, a target operation instruction corresponding to the target native event is obtained; wherein the event mapping relationship set includes: at least one operation instruction, and a one-to-one correspondence between each operation instruction and a native event.
[0039] Optionally, the preset event includes one or more of the following: Down press event, Up pop-up event, Click single-click event, Hold long press event, Dbclick double-click event, Move move event, MoveIn move event, MoveOut move out event, Swipeup slide event, Drag drag event, ZoomIn zoom out event, ZoomOut zoom in event.
[0040] Optionally, the input platform set includes a pointer input platform and a touch input platform, and the instruction mapping relationship set includes at least one or more of the following contents:
[0041] The pressing event has a corresponding relationship with the pressing operation of the pointer input platform and the pressing operation of the single input device of the touch input platform;
[0042] The pop-up event has a corresponding relationship with the pop-up operation of the pointer input platform and the single input device leaving operation of the touch input platform;
[0043] The single-click event has a corresponding relationship with a press-and-pop-up operation of the pointer input platform and a press-and-release operation of a single input device of the touch input platform;
[0044] The long press event has a corresponding relationship with the long press operation of the pointer input platform and the single input device long press operation of the touch input platform;
[0045] The double-click event has a corresponding relationship with the double-click operation of the pointer input platform and the single-input device double-click operation of the touch input platform;
[0046] The movement event has a corresponding relationship with the pointer movement operation of the pointer input platform and the single input device touch and move operation of the touch input platform;
[0047] The move-in event has a corresponding relationship with a pointer move-in operation on the pointer input platform for a target object and a single input device touch and move-in operation on the touch input platform for the target object;
[0048] The removal event has a corresponding relationship with a pointer removal operation on the pointer input platform for the target object and a single input device touch and remove operation on the touch input platform for the target object;
[0049] The sliding event has a corresponding relationship with the pointer pressing and moving operation of the pointer input platform and the single input device touching and moving operation of the touch input platform;
[0050] The drag event has a corresponding relationship with a pointer long press and move operation of the pointer input platform and a single input device touch long press and move operation of the touch input platform;
[0051] The zoom-out event corresponds to a scroll wheel sliding operation of the pointer input platform and a dual input device touch pinching operation of the touch input platform;
[0052] The zoom-in event has a corresponding relationship with a scroll wheel sliding operation of the pointer input platform and a dual-input device touch zoom-in operation of the touch input platform.
[0053] Optionally, if the pointer input device in the pointer input platform has at least two pointer input components, the mapping module is further used to:
[0054] Selecting one of the at least two pointer input components as a target pointer input component to trigger an operation instruction;
[0055] Shielding operation instructions triggered by other pointer input components except the target pointer input component.
[0056] Optionally, when there are at least two pointer input components in the pointer input device in the pointer input platform, the preset events corresponding to the operation instructions triggered by the respective pointer input components are the same.
[0057] Optionally, the input platform set also includes a keyboard input platform, and in the instruction mapping relationship set, there is at least one preset event that also has a corresponding relationship with an operation instruction under the keyboard input platform.
[0058] In a third aspect, an embodiment of the present application provides a computer device, including:
[0059] A memory for storing program instructions;
[0060] The processor is used to call the program instructions stored in the memory and execute the method as described in the first aspect according to the obtained program instructions.
[0061] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method described in the first aspect.
[0062] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.
[0063] The beneficial effects of this application are as follows:
[0064] In this solution, an input platform set and a corresponding instruction mapping relationship set are pre-set, so that operation instructions triggered by different input platforms in the input platform set can be mapped to the same set of preset events through the instruction mapping relationship set. In this way, the target application that exists across platforms does not need to consider whether the instructions come from different input platforms, but only executes the response operation indicated by the preset event according to the triggered preset event. In this way, during the development stage of the cross-platform application, there is no need to develop corresponding response operations for events triggered from different input platforms, but only develop response operations for a set of preset events, which greatly reduces the development cost of the cross-platform application.
[0065] On the other hand, cross-platform applications do not need to consider the input source of operating instructions, but instead respond to a set of preset events. This allows applications installed on different platforms to present the same response operations, giving users who use cross-platform applications a unified user experience on different platforms, which not only reduces the user's usage cost of the cross-platform application, but also improves the user's usage experience of the cross-platform application. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 A logical schematic diagram of a response method to an operation instruction in the related art;
[0067] Figure 2 A schematic diagram of an application scenario of a method for responding to an operation instruction provided in an embodiment of the present application;
[0068] Figure 3 A flowchart of a method for responding to an operation instruction provided in an embodiment of the present application;
[0069] Figure 4 A flowchart of a method for obtaining a target operation instruction provided in an embodiment of the present application;
[0070] Figure 5 A logic diagram of triggering a native event provided in an embodiment of the present application;
[0071] Figure 6 A logical schematic diagram of an instruction mapping relationship set provided in an embodiment of the present application;
[0072] Figure 7 A schematic diagram of a mapping relationship provided in an embodiment of the present application;
[0073] Figure 8 Another mapping relationship diagram provided for an embodiment of the present application;
[0074] Fig. 9 A schematic diagram of an instruction mapping relationship set provided in an embodiment of the present application;
[0075] Fig.10 A logical schematic diagram of a method for responding to an operation instruction provided in an embodiment of the present application;
[0076] Fig.11 A schematic diagram of the structure of a device for responding to an operation instruction provided in an embodiment of the present application;
[0077] Fig.12 It is a schematic diagram of the composition structure of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0078] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0079] The terms "first" and "second" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in the present application can mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
[0080] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0081] In the technical solution of this application, the acquisition, transmission, storage, and use of data are in compliance with the requirements of relevant national laws and regulations.
[0082] With the continuous development of science and technology and society, more and more types of smart devices have appeared in people's lives, such as mobile phones, personal computers, tablets, wearable smart devices, etc. Faced with a wide variety of smart devices, application developers hope to directly develop applications that can be used across platforms and multiple terminals to meet the needs of different types of smart devices in people's hands. Therefore, during the application development stage, it is necessary to perform cross-platform processing for input events provided by different types of devices, that is, for the input events of each device, the corresponding response operations are configured separately, so that when the application receives input events triggered by operation instructions from different devices and different platforms, it can make judgments based on the source and type of the input events, and then make appropriate response operations.
[0083] For example, for an application that can be installed on a smartphone and a personal computer across platforms, the application needs to monitor the touch screen operations that may be received by the smartphone and the mouse click operations received by the personal computer respectively, and trigger different events for these two operations to trigger corresponding response operations. At the same time, in order to ensure that the user experience of using the application on smartphones and personal computers is the same, the application will call different response callback functions for operation instructions from different devices, but the response operations ultimately triggered are roughly the same. For example, Figure 1 As shown, for a certain icon in the application, the touch screen click operation from the smartphone and the left click operation of the mouse from the personal computer, although the events triggered are different, when the application performs the corresponding operations, the response operations corresponding to the two operation instructions are to expand the lower-level interface corresponding to the icon.
[0084] Therefore, when developing such applications, developers are required to configure corresponding processing logic for input events of various types of devices. This results in a high time and manpower cost to adapt and unify input events triggered by various types of devices and platform operation instructions during the application development process, which in turn increases the difficulty of developing applications that are compatible with multiple terminals.
[0085] In view of this, the present application provides a method for responding to an operation instruction, in which it is necessary to obtain a target operation instruction triggered by a target input platform for a target application, wherein the target input platform is an input platform in a preset input platform set; thus, based on the target input platform, the target operation instruction and the preset instruction mapping relationship set, the corresponding target preset event can be configured for the target operation instruction; wherein the instruction mapping relationship set includes: at least one preset event, and the corresponding relationship between each preset event and the operation instruction under each input platform in the input platform set, and each preset event corresponds to at least two operation instruction sets from different input platforms. Through such a mapping operation, even operation instructions from different input platforms can be configured to the same target preset event through the mapping relationship recorded in the instruction mapping relationship set. In this way, the response operation indicated by the target preset event can be executed through the target application.
[0086] After completing the introduction of the main inventive ideas of the embodiments of the present application, the specific implementation of the response method of the operation instruction proposed in the embodiments of the present application will be introduced below in combination with some specific embodiments and drawings.
[0087] The following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In the specific implementation process, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0088] See also Figure 2 , which is a schematic diagram of a possible application scenario provided in an embodiment of the present application. In this scenario, a terminal device 201 and a server 202 may be included.
[0089] The terminal device 201 may be a mobile phone, a tablet computer (PAD), a personal computer (PC), a wearable device, a vehicle-mounted terminal, etc. The server 202 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0090] The terminal device 201 and the server 202 may be directly or indirectly connected to each other through one or more communication networks 203. The communication network 203 may be a wired network or a wireless network, for example, a mobile cellular network or a wireless fidelity (Wireless-Fidelity, WIFI) network, or other possible networks, which are not limited in the embodiment of the present invention.
[0091] It should be noted that the response method of the operation instruction in the embodiment of the present application can be executed by a computer device, which can be a terminal device 201 or a server 202, or other devices installed with a target application. For example, when the response method of the operation instruction is completed by the server 202, when receiving the target operation instruction triggered for the target application, it is first determined that the input platform of the target operation instruction is one of the preset input platforms, and then after determining that it is the target input platform, the target input platform, the target operation instruction, and the preset instruction mapping relationship set are used to determine the target preset event that needs to be configured for the target operation instruction. In this way, through the target application, the server can control the execution of the response operation indicated by the target preset event.
[0092] It should be noted that Figure 2 What is shown is just an example. In fact, the number and communication mode of terminal devices and servers are not limited and are not specifically limited in the embodiments of the present application.
[0093] The following describes the data management method provided by the exemplary embodiment of the present application in combination with the application scenarios described above and with reference to the accompanying drawings. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation methods of the present application are not limited in this regard.
[0094] See also Figure 3 , which is a flow chart of a method for responding to an operation instruction provided in an embodiment of the present application. The method for responding to an operation instruction can be applied to the development of cross-platform applications in different fields, or can also be directly applied to the operation execution stage of a cross-platform application. The present application does not limit this. For example, it can be applied to the development of a cross-platform game application, so that the game application interface displayed on multiple terminals is the same, and the response operations for mouse clicks and finger touches are the same; or, it can also be applied to the use stage of a cross-platform application in the social field, so that users can trigger the same response operation in an intuitive way by using different command input devices, whether on a computer device or on a smart terminal device.
[0095] The execution subject of this method can be Figure 2The terminal device and / or server shown in the figure is not limited in this application. For the convenience of subsequent description, the following will take the execution subject as an example to introduce the response method of the operation instruction proposed in this application.
[0096] like Figure 3 As shown, the specific implementation steps of this method are as follows:
[0097] Step S301: obtaining a target operation instruction triggered by a target application from a target input platform; wherein the target input platform is an input platform in a preset input platform set.
[0098] When using a smartphone or personal computer in a terminal device, the terminal device perceives the user's interactive operation on the displayed content by listening to the corresponding events. Events refer to signals triggered by user operations or system status changes, which notify the application to take corresponding actions. GUI events are usually related to the interaction of user interface components (such as buttons, text boxes, menus, etc.). In other words, when using a terminal device, the user can trigger the corresponding operation instruction by performing certain operations on the terminal device through his own operations, and the terminal device can trigger the corresponding event after perceiving the operation instruction. For example, for a personal computer device, there will be two types of events corresponding to the operation instructions input by the peripheral device, such as mouse events and keyboard events, and for a terminal device with a touch screen, there will also be events of the type of touch events.
[0099] Therefore, in the related art, the application needs to monitor mouse events, touch events, etc. respectively, and perform corresponding response operations based on them. In the response method of the operation instruction proposed in the embodiment of the present application, the events corresponding to the operation instructions from multiple input devices are unified, so that the application can respond to only one set of events.
[0100] To this end, the embodiment of the present application proposes to obtain a target operation instruction triggered by a target input platform for a target application, and the target input platform is an input platform in a preset input platform set.
[0101] The preset input platform set refers to a number of input platforms pre-set in the server, which may include at least two of a pointer input platform, a touch input platform or a keyboard input platform. The pointer input platform refers to a platform for signal input through a pointer input device such as a mouse, while the touch input platform refers to a platform for signal input through an input device such as a finger or a stylus, and the keyboard input platform refers to a platform for signal input through a keyboard light input device.
[0102] The specific method of obtaining the target operation instruction can be completed through the following operations:
[0103] See also Figure 4 , is a flow chart of a method for obtaining a target operation instruction provided in an embodiment of the present application, such as Figure 4 As shown, the specific implementation steps of this method are as follows:
[0104] Step S401: Obtain a target native event triggered by a target application from a target input platform.
[0105] As mentioned above, when a user performs an operation on a terminal device, corresponding events are triggered. These events are native events directly generated by the native operating system of the terminal device and can be used to distinguish the input platform of the operation received by the terminal device. For example, Figure 5 As shown, the native event triggered by the user through the mouse click in the terminal device will be the mouse click event in the corresponding mouse event, and the native event triggered by the user through the touch screen will be the touch click event in the corresponding touch event.
[0106] Based on the type of the triggered target native event, the server can determine the target input platform that triggered the target native event, and then continue to perform the following operations:
[0107] Step S402: based on a preset event mapping relationship set, obtaining a target operation instruction corresponding to a target native event; wherein the event mapping relationship set includes: at least one operation instruction, and a one-to-one correspondence between each operation instruction and a native event.
[0108] After obtaining the target native event, the server can obtain the target operation instruction corresponding to the target native event according to the one-to-one correspondence between the original event and the operation instruction in the event mapping relationship set.
[0109] It should be noted that in the preset event mapping relationship set, a one-to-one correspondence between multiple native events and operation instructions is recorded. For example, native event: mouse click event, the corresponding operation instruction is mouse click, native event: mouse wheel event, the corresponding operation instruction can be to zoom in or out the screen, etc. On the other hand, the storage format of the event mapping relationship set can be in various forms, such as tables, texts, legends, etc., and this application does not limit this.
[0110] Through the above method, the native events generated by the native operating system of the terminal device can be mapped to corresponding operation instructions, so that the target application in the terminal device can respond more clearly to the operations triggered by the user, thereby improving the reliability of the implementation of the solution.
[0111] After completing the confirmation of the target input platform and obtaining the target operation instruction in the above manner, the server can continue to perform the following operations:
[0112] Step S302: Based on the target input platform, the target operation instruction and the preset instruction mapping relationship set, a corresponding target preset event is configured for the target operation instruction.
[0113] The instruction mapping relationship set includes: at least one preset event and a corresponding relationship with operation instructions under each input platform in the input platform set, and each preset event corresponds to at least two operation instructions from different input platforms.
[0114] like Figure 6 As shown, for the instruction mapping relationship set, it includes multiple preset events and the corresponding relationship associated with each preset event, and the preset event is exactly the implementation method of unifying the native events corresponding to multiple input platforms proposed in the embodiment of the present application.
[0115] Specifically, after the server obtains the target operation instruction, it can obtain the corresponding target preset event from the instruction mapping relationship set based on the target input platform of the target operation instruction and the specific information of the target operation instruction, and configure the corresponding target preset event for the target operation instruction.
[0116] It should be noted that step S301 and step S302 are operations performed for one operation instruction. Therefore, in the process of these two steps, Figure 7 As shown, the target native event can be first obtained, then mapped to the target operation instruction according to the event mapping relationship set, and then mapped to the target preset event according to the instruction mapping relationship set, forming a linear mapping relationship.
[0117] In actual applications, the mapping of operation instructions from different input platforms will appear as follows: Figure 8 The tree-like mapping relationship shown. Specifically, assuming that native event A (which can be a mouse click event) is obtained from the pointer input platform for the target application, and native event B (which can be a touch start event) is obtained from the touch input platform for the target application, the server can obtain the mouse click operation instruction triggered by the pointer input platform based on native event A and the event mapping relationship set, and obtain the touch start operation instruction triggered by the touch input platform based on native event B and the event mapping relationship set. Then, based on these two operation instructions and the instruction mapping relationship set, the server can map both operation instructions to the same preset event (which can be a single-click event), thereby realizing unified mapping of cross-platform events to target applications.
[0118] On the other hand, in practical applications, Figure 6 As shown, the operation instructions mapped to the same target preset event can come from more input platforms, or can be different operation instructions from different input platforms. All mapping relationships can be determined according to actual needs. Ultimately, it only needs to ensure that they are mapped to the same set of preset events.
[0119] After the server completes the mapping from the operation instruction to the preset event, it can continue to perform the following operations:
[0120] Step S303: executing the response operation indicated by the target preset event through the target application.
[0121] After the server configures the corresponding target preset event for the target operation instruction, the server can execute the response operation indicated by the target preset event through the target application.
[0122] Among them, the response operation indicated by the target preset event can be indicated by the corresponding relationship configured by the target application during the development stage. In this way, the target application only needs to listen to the occurrence of the target preset event to directly execute the response operation indicated by the target preset event, without having to determine the source of the operation instruction that triggered the occurrence of the target preset event, nor having to set up response operations for the native events of multiple platforms respectively.
[0123] In this solution, an input platform set and a corresponding instruction mapping relationship set are pre-set, so that operation instructions triggered by different input platforms in the input platform set can be mapped to the same set of preset events through the instruction mapping relationship set. In this way, the target application that exists across platforms does not need to consider whether the instructions come from different input platforms, but only executes the response operation indicated by the preset event according to the triggered preset event. In this way, during the development stage of the cross-platform application, there is no need to develop corresponding response operations for events triggered from different input platforms, but only develop response operations for a set of preset events, which greatly reduces the development cost of the cross-platform application.
[0124] On the other hand, cross-platform applications do not need to consider the input source of operating instructions, but instead respond to a set of preset events. This allows applications installed on different platforms to present the same response operations, giving users who use cross-platform applications a unified user experience on different platforms, which not only reduces the user's usage cost of the cross-platform application, but also improves the user's usage experience of the cross-platform application.
[0125] The above introduces the implementation steps of the method for responding to the operation instruction provided in the embodiment of the present application. For the method for responding to the operation instruction, the embodiment of the present application also provides some possible embodiments to further improve the response method.
[0126] In a possible implementation manner, the various preset events included in the above-mentioned instruction mapping relationship set may be one or more of the following preset events, namely:
[0127] Down press event, Up pop-up event, Click click event, Hold long press event, Dbclick double-click event, Move move event, MoveIn move in event, MoveOut move out event, Swipeup slide event, Drag drag event, ZoomIn zoom out event, ZoomOut zoom in event.
[0128] These events are recorded in the server in a unified data structure, forming a set of standard event types, so that developers of target applications can develop and adapt corresponding operation instructions based only on this set of event types.
[0129] Specifically, the mapping relationship between these preset events and operation instructions can also be set according to actual needs. When the preset input platform includes a pointer input platform and a touch input platform, the present application provides a possible mapping relationship for this purpose, such as Fig. 9 As shown, the mapping relationship is as follows:
[0130] The Down press event corresponds to the press operation of the pointer input platform and the single input device press operation of the touch input platform;
[0131] The Up pop-up event corresponds to the pop-up operation of the pointer input platform and the single input device leaving operation of the touch input platform;
[0132] The Click event corresponds to the press and pop-up operation of the pointer input platform and the press and release operation of a single input device of the touch input platform;
[0133] The Hold long press event corresponds to the long press operation of the pointer input platform and the single input device long press operation of the touch input platform;
[0134] The Dbclick double-click event corresponds to the double-click operation of the pointer input platform and the single input device double-click operation of the touch input platform;
[0135] The Move event corresponds to the pointer move operation of the pointer input platform and the single input device touch and move operation of the touch input platform;
[0136] The MoveIn event corresponds to a pointer move-in operation on a target object on a pointer input platform and a single input device touch-and-move operation on a target object on a touch input platform.
[0137] The MoveOut event corresponds to a pointer move-out operation on a target object on a pointer input platform and a single input device touch-and-move-out operation on a target object on a touch input platform;
[0138] The Swipeup event corresponds to the pointer press and move operation of the pointer input platform and the single input device touch press and move operation of the touch input platform;
[0139] The drag event corresponds to the pointer long press and move operation of the pointer input platform and the single input device touch long press and move operation of the touch input platform;
[0140] The ZoomIn zoom-out event corresponds to the wheel swipe-up operation on the pointer input platform and the dual-input device touch pinch operation on the touch input platform;
[0141] The ZoomOut event corresponds to the scroll wheel down operation of the pointer input platform and the dual input device touch zoom operation of the touch input platform.
[0142] Among them, in actual applications, the signal input device of the above-mentioned pointer input platform can be a device such as a mouse, while the signal input device of the touch input platform can be either a finger or a stylus, and this application does not limit this. At the same time, due to the particularity of the touch input platform, when the touch input platform triggers a dual-input device touch pinch operation, it can be an operation completed by two identical devices (such as two-finger pinching) or an operation completed by different types of devices (such as simultaneous input of a finger and a stylus).
[0143] The above is a correspondence between preset events and operation instructions provided in an embodiment of the present application. In actual applications, there may be more or fewer correspondences between preset events and operation instructions, and the present application does not impose any limitation on this.
[0144] In a possible implementation, for a special pointer input device, that is, when there are at least two pointer input components in the pointer input device, the embodiment of the present application also proposes the following two methods to complete the response to the operation instruction.
[0145] Method 1: retain an operation instruction of a pointer input component.
[0146] It should be noted that the pointer input device refers to a device that can control the movement and click of the pointer in the pointer input platform. Corresponding to a specific example, it can be a mouse device. For a pointer input device such as a mouse, it includes multiple pointer input components, namely: left button, right button, side button, etc. However, since cross-platform applications will also be installed in a touch input platform, but the touch input device of the touch input platform generally does not have multiple signal input components in the input device, therefore, in order to ensure the uniformity of the user experience of cross-platform applications on multiple platforms, it is proposed in an embodiment of the present application that for a pointer input device with at least two pointer input components, the server can perform the following operations:
[0147] Selecting one of at least two pointer input components in the pointer input device as a target pointer input component, and triggering the operation instruction by the target pointer input component;
[0148] Shield operation instructions triggered by other pointer input components except the target pointer input component.
[0149] For example, assuming that the pointer input device is a mouse device, the mouse device includes at least two pointer input components, namely a left button, a right button, and a side button. In order to unify the response method of operation instructions across platforms, the server can select the left mouse button as the target pointer input component, and block the operation instructions triggered by the right button and the side button. In this way, for the pointer input device, only the operation instructions triggered by the left mouse button can be responded to. Such operation logic is the same as the operation logic in the touch input platform, and users using cross-platform applications can have a more unified usage experience.
[0150] Method 2: Mapping the operation instructions of different pointer input components to the same preset event.
[0151] In this manner, there is no need to shield the operation instructions triggered by other pointer input components except the target pointer input component, but the operation instructions triggered by each pointer input component are mapped to the same preset event by using the instruction mapping relationship set.
[0152] Specifically, for the same action performed by the user through different pointer input components, the command mapping relationship can be used to map it to the same preset event. Still taking the mouse device as an example, when the user uses the mouse to perform left-click, right-click, and side-click actions, since these actions are the same, only the pointer input components of the input signal are different, therefore, in this method, the operation instructions corresponding to the same actions from different pointer input components can be mapped to the same preset event.
[0153] In this way, even if the pointer input device has more pointer input components, the target application only needs to monitor one preset event to perform subsequent response operations.
[0154] The above describes the mapping relationship between the operation instructions and the preset events when the input platform is a pointer input platform and a touch input platform. The input platform that receives the user's operation also includes a keyboard input platform.
[0155] Therefore, for the keyboard input platform, an embodiment of the present application proposes a possible implementation method: if the input platform set also includes a keyboard input platform, then in the instruction mapping relationship set, there is at least one preset event that also has a corresponding relationship with the operation instruction under the keyboard input platform.
[0156] For example, in the native events corresponding to the keyboard input platform, there are keyboard press events and keyboard release events. For the keyboard press event, it can correspond to the corresponding operation instruction, and then the operation instruction corresponding to the keyboard press event is mapped to the preset event corresponding to the above-mentioned mouse left click event. In this way, it is a supplement to the command mapping relationship concentration and mapping relationship, and also provides more operation input methods for users of the target application, improving the user experience.
[0157] Various implementation methods of the method for responding to operation instructions provided in the embodiments of the present application are introduced above. In order to make the execution process of the method clearer, the method will be generally introduced below using a single-click event in a preset event as an example.
[0158] For the target application, it is installed in the pointer input platform and the touch input platform across platforms. For ease of understanding, it is assumed that the target application is installed in both a personal computer and a smart phone. For the target graphic A presented in the interface of the target application, at least one operation to be performed can be associated with the target graphic, namely: operation A, operation B. Fig.10 As shown, when the user sees the target graphic A presented by the target application on the display, the corresponding target operation instruction can be triggered for the target graphic A. At this time, the triggered target operation instruction may come from different input platforms, which may be from the pointer input platform corresponding to the personal computer, or from the touch input platform corresponding to the smart phone. When the user triggers the operation instruction of clicking the target graphic A with the left mouse button from the pointer input platform, or when the user triggers the operation instruction of clicking the target graphic A with the finger from the touch input platform, the server can map these two operation instructions to the target preset event, that is, the preset event A, through the instruction mapping relationship set. In this way, after the target application monitors the occurrence of the preset event A, it can execute the operation A corresponding to the preset event A, thereby realizing the response to the user's operation instruction.
[0159] Based on the same inventive concept, an embodiment of the present application also provides a device for responding to an operation instruction.
[0160] See also Fig.11 , which is a structural schematic diagram of a device for responding to an operation instruction provided in an embodiment of the present application. The device may be the above-mentioned server or a chip or integrated circuit in the device, etc. The device includes a module / unit / technical means for executing the method executed by the server in the above-mentioned method embodiment.
[0161] Exemplarily, the device 1100 includes:
[0162] An acquisition module 1101 is used to acquire a target operation instruction triggered by a target input platform for a target application; wherein the target input platform is an input platform in a preset input platform set;
[0163] A mapping module 1102 is used to configure a corresponding target preset event for the target operation instruction based on the target input platform, the target operation instruction and a preset instruction mapping relationship set; wherein the instruction mapping relationship set includes: at least one preset event, and a correspondence between each preset event and an operation instruction under each input platform in the input platform set; each preset event corresponds to at least two operation instructions from different input platforms;
[0164] The processing module 1103 is used to execute the response operation indicated by the target preset event through the target application.
[0165] Optionally, when the acquisition module 1101 is used to acquire the target operation instruction triggered by the target application from the target input platform, it is specifically used to:
[0166] Get the target native event triggered by the target input platform for the target application;
[0167] Based on a preset event mapping relationship set, a target operation instruction corresponding to a target native event is obtained; wherein the event mapping relationship set includes: at least one operation instruction, and a one-to-one correspondence between each operation instruction and a native event.
[0168] Optionally, the preset events include one or more of the following: Down press event, Up pop-up event, Click single-click event, Hold long press event, Dbclick double-click event, Move move event, MoveIn move in event, MoveOut move out event, Swipeup slide event, Drag drag event, ZoomIn zoom out event, ZoomOut zoom in event.
[0169] Optionally, the input platform set includes a pointer input platform and a touch input platform, and the instruction mapping relationship set includes at least one or more of the following contents:
[0170] The press event has a corresponding relationship with the press operation of the pointer input platform and the single input device press operation of the touch input platform;
[0171] The pop-up event corresponds to the pop-up operation of the pointer input platform and the single input device leaving operation of the touch input platform;
[0172] The single click event has a corresponding relationship with the press and pop-up operation of the pointer input platform and the press and release operation of a single input device of the touch input platform;
[0173] The long press event corresponds to the long press operation of the pointer input platform and the single input device long press operation of the touch input platform;
[0174] The double-click event corresponds to the double-click operation of the pointer input platform and the single input device double-click operation of the touch input platform;
[0175] The movement event has a corresponding relationship with the pointer movement operation of the pointer input platform and the single input device touch and move operation of the touch input platform;
[0176] The move-in event has a corresponding relationship with a pointer move-in operation on a target object on a pointer input platform and a single input device touch and move-in operation on a target object on a touch input platform;
[0177] The move-out event has a corresponding relationship with a pointer move-out operation on a target object on a pointer input platform and a single input device touch-and-move-out operation on a target object on a touch input platform;
[0178] The sliding event has a corresponding relationship with the pointer pressing and moving operation of the pointer input platform and the single input device touching and moving operation of the touch input platform;
[0179] The drag event has a corresponding relationship with the pointer long press and move operation of the pointer input platform and the single input device touch long press and move operation of the touch input platform;
[0180] The zoom-out event corresponds to the scroll wheel swipe up operation on the pointer input platform and the dual input device touch pinch operation on the touch input platform;
[0181] The zoom event corresponds to the scroll wheel sliding operation of the pointer input platform and the dual input device touch zoom operation of the touch input platform.
[0182] Optionally, if the pointer input device in the pointer input platform has at least two pointer input components, the mapping module 1102 is further used to:
[0183] Selecting one of at least two pointer input components as a target pointer input component to trigger an operation instruction;
[0184] Shield operation instructions triggered by other pointer input components except the target pointer input component.
[0185] Optionally, when there are at least two pointer input components in the pointer input device in the pointer input platform, the preset events corresponding to the operation instructions triggered by the respective pointer input components are the same.
[0186] Optionally, the input platform set also includes a keyboard input platform, and in the instruction mapping relationship set, there is at least one preset event that also has a corresponding relationship with an operation instruction under the keyboard input platform.
[0187] As an example, Fig.11 The apparatus described can be used to perform Figure 3 Therefore, for the functions that can be realized by each functional module of the device, reference can be made to Figure 3 The description of the illustrated embodiment will not be repeated here.
[0188] It should be noted that, although several modules or submodules of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules to be embodied.
[0189] As a possible product form of the above device, see Fig.12 The present application embodiment further provides a computer device 1200, including:
[0190] At least one processor 1201; and a communication interface 1203 communicatively connected to the at least one processor 1201; the at least one processor 1201 executes instructions stored in the memory 1202, so that the computer device 1200 executes the method steps performed by any device in the above method embodiment through the communication interface 1203.
[0191] Optionally, the memory 1202 is located outside the computer device 1200 .
[0192] Optionally, the computer device 1200 includes the memory 1202, the memory 1202 is connected to the at least one processor 1201, and the memory 1202 stores instructions that can be executed by the at least one processor 1201. Fig.12The dashed lines indicate that memory 1202 is optional for computer device 1200 .
[0193] The processor 1201 and the memory 1202 may be coupled via an interface circuit or may be integrated together, which is not limited here.
[0194] The specific connection medium between the processor 1201, the memory 1202 and the communication interface 1203 is not limited in the embodiment of the present application. Fig.12 The processor 1201, the memory 1202 and the communication interface 1203 are connected via a bus 1204. Fig.12 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.12 In the example, only one thick line is used to represent the bus, but it does not mean that there is only one bus or one type of bus. It should be understood that the processor mentioned in the embodiment of the present application can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory.
[0195] Exemplarily, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0196] It should be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or 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), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DirectRambus RAM, DR RAM).
[0197] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.
[0198] It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0199] As another possible product form, an embodiment of the present application also provides a computer-readable storage medium, which is used to store instructions. When the instructions are executed, the computer executes the method steps executed by any device in the above method example.
[0200] As another possible product form, an embodiment of the present application also provides a computer program product including instructions, wherein the computer program product stores instructions that, when executed on a computer, enable the computer to execute the method steps executed by any device in the above method embodiment.
[0201] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0202] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0203] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0204] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0205] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for responding to an operation instruction, characterized in that: include: Obtaining a target operation instruction triggered by a target input platform for a target application; wherein the target input platform is an input platform in a preset input platform set; Based on the target input platform, the target operation instruction and the preset instruction mapping relationship set, a corresponding target preset event is configured for the target operation instruction; wherein the instruction mapping relationship set includes: at least one preset event, and a corresponding relationship between each preset event and the operation instruction under each input platform in the input platform set; each preset event corresponds to at least two operation instructions from different input platforms; The response operation indicated by the target preset event is executed through the target application.
2. The method according to claim 1, characterized in that The step of obtaining a target operation instruction triggered by a target application from a target input platform includes: Acquire a target native event triggered by the target input platform for the target application; Based on a preset event mapping relationship set, a target operation instruction corresponding to the target native event is obtained; wherein the event mapping relationship set includes: at least one operation instruction, and a one-to-one correspondence between each operation instruction and a native event.
3. The method according to claim 1 or 2, characterized in that The preset events include one or more of the following: Down press event, Up pop-up event, Click single-click event, Hold long press event, Dbclick double-click event, Move move event, MoveIn move in event, MoveOut move out event, Swipeup slide event, Drag drag event, ZoomIn zoom out event, ZoomOut zoom in event.
4. The method according to claim 3, characterized in that The input platform set includes a pointer input platform and a touch input platform, and the instruction mapping relationship set includes at least one or more of the following contents: The pressing event has a corresponding relationship with the pressing operation of the pointer input platform and the pressing operation of the single input device of the touch input platform; The pop-up event has a corresponding relationship with the pop-up operation of the pointer input platform and the single input device leaving operation of the touch input platform; The single-click event has a corresponding relationship with a press-and-pop-up operation of the pointer input platform and a press-and-release operation of a single input device of the touch input platform; The long press event has a corresponding relationship with the long press operation of the pointer input platform and the single input device long press operation of the touch input platform; The double-click event has a corresponding relationship with the double-click operation of the pointer input platform and the single-input device double-click operation of the touch input platform; The movement event has a corresponding relationship with the pointer movement operation of the pointer input platform and the single input device touch and move operation of the touch input platform; The move-in event has a corresponding relationship with a pointer move-in operation on the pointer input platform for a target object and a single input device touch and move-in operation on the touch input platform for the target object; The removal event has a corresponding relationship with a pointer removal operation on the pointer input platform for the target object and a single input device touch and remove operation on the touch input platform for the target object; The sliding event has a corresponding relationship with the pointer pressing and moving operation of the pointer input platform and the single input device touching and moving operation of the touch input platform; The drag event has a corresponding relationship with a pointer long press and move operation of the pointer input platform and a single input device touch long press and move operation of the touch input platform; The zoom-out event corresponds to a scroll wheel sliding operation of the pointer input platform and a dual-input device touch pinching operation of the touch input platform; The zoom-in event has a corresponding relationship with a scroll wheel sliding operation of the pointer input platform and a dual-input device touch zoom-in operation of the touch input platform.
5. The method according to claim 4, characterized in that If the pointer input device in the pointer input platform has at least two pointer input components, the method further includes: Selecting one of the at least two pointer input components as a target pointer input component to trigger an operation instruction; Shielding operation instructions triggered by other pointer input components except the target pointer input component.
6. The method according to claim 4, characterized in that When there are at least two pointer input components in the pointer input device in the pointer input platform, the preset events corresponding to the operation instructions triggered by the respective pointer input components are the same.
7. The method according to claim 4, characterized in that The input platform set also includes a keyboard input platform, and in the instruction mapping relationship set, there is at least one preset event that also has a corresponding relationship with an operation instruction under the keyboard input platform.
8. A device for responding to an operation instruction, characterized in that: include: An acquisition module, used for acquiring a target operation instruction triggered by a target input platform for a target application; wherein the target input platform is an input platform in a preset input platform set; A mapping module, configured to configure a corresponding target preset event for the target operation instruction based on the target input platform, the target operation instruction and a preset instruction mapping relationship set; wherein the instruction mapping relationship set includes: at least one preset event, and a corresponding relationship between each preset event and an operation instruction under each input platform in the input platform set; each preset event corresponds to at least two operation instructions from different input platforms; The processing module is used to execute the response operation indicated by the target preset event through the target application.
9. A computer device, characterized in that: include: A memory for storing program instructions; The processor is used to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 7 according to the obtained program instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
