Service calling method and device, storage medium, electronic equipment and display equipment
By monitoring the writing trajectory on the user side and interacting with the cloud backend, and directly executing pre-stored target instructions, the problem that users find it difficult to find functions or interface buttons in unfamiliar with the application, and improve the convenience of the application.
Patent Information
- Application Number
- CN202310638847.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2024-12-03
AI Technical Summary
In existing service calling methods, it is difficult for users to find specific functions or interface buttons in unfamiliar applications, especially for users who are unfamiliar with the application, there is difficulty in calling functions or interfaces by clicking buttons.
By monitoring the writing trajectory on the user side to generate the image to be inspected and sent to the cloud backend, the cloud backend judges and responds to the target instructions, so that the user side can directly execute the pre-stored target instructions based on the writing trajectory without clicking on a specific interface or button.
Users can directly call pre-stored target instructions through writing tracks, which improves the convenience and intuitiveness of the application, avoids the difficulty of finding buttons in unfamiliar interfaces, and enhances the user experience.
Smart Images

Figure CN119065578A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the technical field of application development, and in particular, to a service calling method, apparatus, storage medium, electronic device, and display device. Background Art
[0002] In related service calling methods, such as mobile phone programs, medical applications, conference applications, etc., functions or interfaces are often called by clicking specific buttons. For users who are not familiar with the applications, it is often difficult to find buttons corresponding to functions and interfaces. Summary of the invention
[0003] In view of this, the purpose of the present application is to propose a service calling method, device, storage medium, electronic device and display device.
[0004] Based on the above purpose, the present application provides a service calling method, which is applied to a user end and includes:
[0005] The method comprises:
[0006] In response to detecting a writing track on a preset first interface, generating an image to be inspected from the writing track and sending the image to a cloud backend, the second interface is an interface for adding the prepared image as a target image;
[0007] In response to receiving a target instruction sent by the cloud backend, the target instruction is executed, wherein the executed target instruction corresponds to the monitored writing trajectory, and the cloud backend determines the writing trajectory corresponding to the target instruction.
[0008] Furthermore, before responding to receiving the target instruction sent by the cloud backend, the method further includes:
[0009] In response to receiving the inquiry from the cloud backend whether to call the target instruction, sending a call request for calling the target instruction to the cloud backend.
[0010] Furthermore, the method further comprises:
[0011] In response to detecting a writing track on a preset second interface, generating a preliminary image of the writing track and sending the image to a cloud backend;
[0012] In response to receiving a creation request sent by the cloud backend, creating a mapping relationship for the prepared image;
[0013] The mapping relationship is sent to the cloud backend.
[0014] Further, in response to receiving the creation request sent by the cloud backend, the method further includes:
[0015] In response to rejecting the creation request, adding the preliminary image fails.
[0016] Further, creating a mapping relationship for the prepared image includes:
[0017] Select any one of the preset multiple service instructions and mark it as the target instruction;
[0018] A mapping relationship between the target instruction and the prepared image is created.
[0019] Based on the same inventive concept, the present application also provides another service calling method, which is applied to the cloud backend, and the method includes:
[0020] In response to receiving an image to be inspected sent by a user terminal in the first interface, determining whether a target image identical to the image to be inspected is pre-stored, wherein the image to be inspected is generated by a writing trajectory monitored by the user terminal, and the target image is a preliminary image pre-stored in a cloud backend;
[0021] In response to determining that the target image is stored, a target instruction pre-marked corresponding to the target image is called and sent to the user terminal.
[0022] Further, determining whether a target image identical to the image to be inspected is pre-stored includes:
[0023] Extracting image features from the image to be inspected and inputting them into a pre-trained classification model;
[0024] The classification model is used to determine whether the image feature belongs to the type of multiple pre-stored target images.
[0025] Further, after determining whether a target image identical to the image to be inspected is pre-stored, the method further includes:
[0026] In response to determining that the target image is not stored, any target instruction is not called, and any request is not sent to the user terminal.
[0027] Further, calling a pre-marked target instruction corresponding to the target image includes:
[0028] Determining a mapping relationship stored corresponding to the target image;
[0029] Determine a target instruction marked corresponding to the target image from the mapping relationship;
[0030] Inquiring the user terminal whether to call the target instruction;
[0031] In response to receiving the calling request sent by the user terminal, calling the target instruction.
[0032] Furthermore, the method further comprises:
[0033] In response to receiving a preliminary image sent by a user terminal in a second interface, determining whether to pre-store a target image identical to the preliminary image, wherein the preliminary image is generated by a writing trajectory monitored by the user terminal;
[0034] In response to determining that the target image is not stored, sending a creation request to the user terminal;
[0035] In response to receiving the mapping relationship corresponding to the prepared image sent by the user terminal, the prepared image is stored as the target image, and the mapping relationship is stored.
[0036] Further, after determining whether a target image identical to the preliminary image is pre-stored, the method further includes:
[0037] In response to determining that the target image is pre-stored, refusing to add the preliminary image;
[0038] And send a prompt indicating that adding the prepared image fails to the user terminal.
[0039] Based on the same inventive concept, the present application also provides a service calling device, including: a trajectory determination module and an execution module;
[0040] The track determination module is configured to, in response to detecting a writing track in the first interface, generate an image to be inspected from the writing track, and send the image to be inspected to a cloud backend;
[0041] The execution module is configured to execute the target instruction in response to receiving the target instruction sent by the cloud background, wherein the executed target instruction corresponds to the monitored writing trajectory, and the cloud background determines the writing trajectory corresponding to the target instruction.
[0042] Based on the same inventive concept, the present application also provides another service calling device, including: a judgment module and a mapping module;
[0043] The judgment module is configured to, in response to receiving an image to be inspected sent by a user terminal in the first interface, judge whether a target image identical to the image to be inspected is pre-stored, wherein the image to be inspected is generated by a writing trajectory monitored by the user terminal, and the target image is a preliminary image pre-stored in a cloud backend;
[0044] The mapping module is configured to, in response to the target image being stored, call a pre-marked target instruction corresponding to the target image and send the pre-marked target instruction to the user terminal.
[0045] Based on the same inventive concept, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the service calling method as described in any of the above items is implemented.
[0046] Based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the service calling method as described above.
[0047] Based on the same inventive concept, the present application also provides a display device, wherein the display device includes the service calling device as described above.
[0048] From the above, it can be seen that the service calling method, device, storage medium, electronic device and display device provided by the present application can generate an image to be inspected based on the writing trajectory sent by the client to the cloud backend, so that the cloud backend can determine whether the image to be inspected has been pre-stored, and when the cloud platform has stored the same target image as the image to be inspected, call and send the corresponding target instruction to the user end, so that the user end can directly execute the pre-corresponding target instruction based on the writing trajectory. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are 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 these drawings without creative work.
[0050] Figure 1 A logic diagram of a service calling method according to an embodiment of the present application;
[0051] Figure 2 A first flow chart of the service calling method at the user end of an embodiment of the present application;
[0052] Figure 3 A second flow chart of the service calling method at the user end of an embodiment of the present application;
[0053] Figure 4 This is a first flow chart of the service calling method in the cloud background of an embodiment of the present application;
[0054] Figure 5 A second flow chart of the service calling method in the cloud background of an embodiment of the present application;
[0055] Figure 6A first structural diagram of a service calling device according to an embodiment of the present application;
[0056] Figure 7 A second structural diagram of the service calling device according to an embodiment of the present application;
[0057] Figure 8 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0059] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connecting" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0060] As described in the background technology section, the related service calling methods are still difficult to meet the actual usage needs of the application program.
[0061] In the process of implementing this application, the applicant discovered that the main problem with the relevant service calling methods is that in the relevant service calling methods, such as mobile phone programs, medical applications, conference applications, etc., functions or interfaces are often called by clicking specific buttons. For users who are not familiar with the applications, it is often difficult to find the buttons for the corresponding functions and interfaces.
[0062] Based on this, one or more embodiments of the present application provide a service calling method, which calls the pre-corresponding stored instructions based on the user's writing trajectory on the user end through the cloud background and sends them to the user end for execution.
[0063] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0064] by Figure 1 As a specific example, in this embodiment, a user end and a cloud backend are included.
[0065] Among them, the user end can be regarded as the local end that carries the application and can be connected to multiple hardware. By writing on the user end, the preset service instructions corresponding to the writing trajectory can be executed to control various hardware or call various functions in the application.
[0066] The corresponding relationship between the writing track and the preset service instruction can be customized by the user, and is defined as a mapping relationship in this embodiment.
[0067] It should be noted that the mapping relationship may be the corresponding relationship between the writing track itself and the service instruction as described above, or may be the corresponding relationship between the image corresponding to the writing track and the service instruction.
[0068] Specifically, the user terminal may be a children's learning machine with a touch screen, and various learning function units may be directly called by writing on the touch screen of the children's learning machine.
[0069] For example, by writing Chinese characters: pinyin, or letters: pinyin, or graphics: five-pointed star, etc. on the touch screen of the children's learning machine, functional units such as pinyin literacy, painting, or playing nursery rhymes can be directly called.
[0070] Furthermore, the user terminal can also be a touch-sensitive smart screen with information about medical procedures, and various medical functional units can be directly called by writing on the smart screen.
[0071] For example, write the Chinese characters: blood pressure, or write the letters: pressure, or write the graphic: circle on the smart screen to jump the current interface of the smart screen to the blood pressure measurement interface, start the blood pressure measurement program, or directly start the blood pressure monitor connected to the smart screen, or start other functions or jump to other interfaces.
[0072] Furthermore, the user terminal may also be a conference screen with a mouse or a touch pad used in a conference room. The conference screen has a screen, and each conference function unit can be directly called by writing on the display interface of the screen using the mouse.
[0073] For example, writing Chinese characters: player, or writing letters: PPT, or writing graphics: square in the display interface can jump the current interface of the display interface to the player interface, or directly start the slide show function, or start other functions or jump to other interfaces.
[0074] Furthermore, the cloud backend establishes a communication connection with the user end through a communication network and can be regarded as a background program that carries the user end application.
[0075] The cloud backend may be a medical database or a cloud platform of the Internet of Things, and stores a mapping relationship between user-defined writing trajectories and service instructions.
[0076] Furthermore, each user may pre-register a unique account when using the application, and bind the registration information and related custom information, such as custom mapping relationships, to the account.
[0077] like Figure 1 As shown, after the user has pre-registered an account, he can log in to the account from the user terminal and perform specific Figure 1 Steps in: S101, user login.
[0078] Furthermore, after logging into the account, the user can enter any interface of the application.
[0079] In this embodiment, all interfaces of the application are divided into an add interface and any other interface except the add interface, and any other interface except the add interface is defined as the first interface, and the add interface is defined as the second interface. Users can choose any one of the two interfaces to enter.
[0080] Specifically, users can execute Figure 1 Step S102: Enter any other interface to enter the first interface, and execute Figure 1 Step: S103, enter the add interface to enter the second interface.
[0081] The second interface, namely the adding interface, is used for the user to add writing tracks or graphics, and to add a mapping relationship between the writing tracks or graphics and the service instructions.
[0082] refer to Figure 2 A service calling method according to an embodiment of the present application is applied to a user terminal and specifically includes the following steps:
[0083] Step S201: In response to detecting a writing track on a preset first interface, generating an image to be inspected from the writing track and sending the image to a cloud backend.
[0084] In an embodiment of the present application, when the user terminal is in the first interface, the user's current writing trajectory on the first interface can be monitored in real time. When the user is writing on the first interface, the user terminal can generate an image to be inspected based on the monitored writing trajectory and send it to the cloud background for inspection through the communication network.
[0085] In a specific example, Figure 1 As shown, based on the client in the first interface, the step: S104, determining the image to be tested.
[0086] Specifically, the user terminal determines whether the user is writing in the first interface by monitoring in real time whether a writing track appears in the first interface.
[0087] Furthermore, when the writing track is detected, the pixel coordinates of each writing track in the current first interface can be determined.
[0088] Furthermore, an image corresponding to the writing track can be obtained according to the determined pixel coordinates and used as the image to be tested.
[0089] The writing track detected by the user terminal may be Chinese characters written by the user, any graphics written by the user, or letters of other languages written by the user.
[0090] Furthermore, if Figure 1 As shown, the user end can send the image to be tested to the cloud backend, so that the cloud backend can detect and judge the image to be tested.
[0091] Step S202, in response to receiving the target instruction sent by the cloud backend, executing the target instruction, wherein the executed target instruction corresponds to the monitored writing trajectory, and the cloud backend determines the writing trajectory corresponding to the target instruction.
[0092] In an embodiment of the present application, the user terminal may receive a target instruction from the cloud backend and execute the target instruction.
[0093] exist Figure 1 In the specific example shown, after the cloud backend sends the target instruction to the user terminal, the user terminal can execute the step: S105, receive the target instruction, and call the function.
[0094] The target instruction may be used to call any function of the application program, or may be used to call any other interface.
[0095] Specifically, the target instruction can call the above function or interface by calling the entrance of the corresponding function or interface without being affected by the current interface. That is to say, when the user terminal calls the corresponding function and interface, it can currently be in any first interface.
[0096] In a specific example, taking the above-mentioned children's learning machine with a touch screen as an example, after the user terminal receives the target instruction for calling the pinyin literacy interface, even if the user terminal is currently in, for example, a nursery rhyme playing interface, it can still switch the current interface by calling the entrance of the corresponding pinyin literacy interface.
[0097] In another specific example, taking a touch-sensitive smart screen related to a medical procedure as an example, after the user terminal receives a target instruction for invoking blood pressure measurement, even if the user terminal is currently in the interface and function of heart rate measurement, it can still call the blood pressure measurement function and interface by calling the corresponding blood pressure measurement entrance, and directly call the blood pressure meter connected to the smart screen to start blood pressure measurement.
[0098] In another specific example, taking the conference screen used in a conference room as an example, after the user terminal receives the target instruction for calling the desktop interface, even if the user terminal is currently in the interface and function of playing slides, it can still call the desktop interface to complete the interface switching by calling the entrance of the corresponding desktop interface.
[0099] It can be seen that the user end can generate an image to be inspected based on the writing trajectory written by the user in the first interface, and obtain the target instruction corresponding to the image to be inspected from the cloud platform by interacting with the cloud platform, and execute the instruction, so that the user can call the pre-stored target instruction directly by writing in any interface except the add interface, or in any function.
[0100] In another embodiment of the present application, before the user terminal receives the target instruction sent from the cloud backend, the user terminal may also receive an inquiry about calling the target instruction from the cloud backend, and after the user terminal makes a decision, the call request for calling the target instruction is sent to the cloud backend.
[0101] exist Figure 1 In the specific example shown, after the user receives the inquiry sent from the cloud, step S106 is executed to decide whether to execute.
[0102] Furthermore, if Figure 1 As shown, after the user terminal determines to execute the target instruction, that is, the execution result of step S106 is yes, a call request is sent to the cloud backend so that the cloud backend performs the next call.
[0103] Furthermore, if Figure 1 As shown, when the user terminal determines not to execute the target instruction, that is, the execution result of step S106 is no, then execute Figure 1 Step S107 in the above method: no call and no prompt.
[0104] That is to say, when the execution result of step S106 of the user terminal is no, the current interface and function of the user terminal will not be switched.
[0105] Specifically, in the aforementioned example of the children's learning machine, a dialog box may pop up on the touch screen of the children's learning machine and provide the user with the option of switching to the pinyin literacy interface. The user may click the confirmation button to send a call request for the corresponding target instruction to the cloud backend.
[0106] Furthermore, after the user clicks the button to cancel or refuse the switch, the touch screen will maintain the current nursery rhyme playback interface.
[0107] In the example of the smart screen of the aforementioned medical program, the smart screen can pop up a dialog box and provide the user with an interface and function to choose yes or no to switch blood pressure measurement. The user can click the confirmation button to send a call request for the corresponding target instruction to the cloud background.
[0108] Furthermore, after the user clicks the cancel or refuses switch button, the smart screen will maintain the current heart rate measurement interface and functions.
[0109] In the aforementioned conference screen example, a dialog box may pop up on the conference screen and provide the user with the option of yes or no to switch to the desktop switching interface. The user may click a confirmation button to send a call request for the corresponding target instruction to the cloud backend.
[0110] Furthermore, after the user clicks a button to cancel or refuse switching, the touch screen will maintain the current interface and function of playing the slide show.
[0111] It can be seen that after the target instruction is determined, based on the inquiry of the cloud background and the options set on the user side, the user can independently choose to call the target instruction or not through the user side, thereby avoiding the situation where the user side directly executes the target instruction once the cloud background determines the target instruction. In some cases, for example, when the target instruction determined by the cloud background is not the erroneous target instruction required by the user due to a user's mistaken operation, the user can promptly avoid directly executing the erroneous target instruction.
[0112] In another embodiment of the present application, the service calling method further includes customizing the mapping relationship between the writing track and the target instruction, such as Figure 3 As shown, the specific steps include the following steps.
[0113] Step S301, in response to detecting a writing track on a preset second interface, generating a preliminary image of the writing track and sending it to a cloud backend, wherein the second interface is an interface for adding the preliminary image as a target image.
[0114] In an embodiment of the present application, when the user terminal is in the second interface, the user's current writing trajectory on the second interface can be monitored in real time. When the user is writing on the second interface, the user terminal can generate a preliminary image of the monitored writing trajectory and send it to the cloud background for detection through the communication network.
[0115] In a specific example, Figure 1 As shown, based on the client in the second interface, the step: S108, determining a preliminary image.
[0116] Specifically, the user terminal determines whether the user is writing in the second interface by monitoring in real time whether a writing track appears in the second interface.
[0117] Furthermore, when the writing track is detected, the pixel coordinates of each writing track in the current second interface can be determined.
[0118] Furthermore, an image corresponding to the writing track can be obtained according to the determined pixel coordinates and used as a preliminary image.
[0119] The writing track detected by the user terminal may be Chinese characters written by the user, any graphics written by the user, or letters of other languages written by the user.
[0120] Furthermore, if Figure 1 As shown, the user end can send the prepared image to the cloud backend, so that the cloud backend can detect and judge the prepared image.
[0121] Step S302: In response to receiving a creation request sent by the cloud backend, a mapping relationship is created for the prepared image.
[0122] In an embodiment of the present application, the user end may receive a request for creating the prepared image in the aforementioned step from the cloud backend, and based on this, create a mapping relationship with respect to the target instruction for the prepared image.
[0123] exist Figure 1 In the specific example shown, after the cloud backend sends a creation request to the user end, the user end can execute step: S109, deciding whether to create.
[0124] Furthermore, if Figure 1 As shown, after the user terminal determines to create the mapping relationship, that is, the execution result of step S109 is yes, the user can customize the corresponding mapping relationship for the prepared image in the above step on the user terminal, that is, execute Figure 1 In step S110, a mapping relationship is defined.
[0125] Specifically, the user terminal may display multiple service instructions for the user to select, and the user may select one or more service instructions from the displayed multiple service instructions and mark them as target instructions.
[0126] Furthermore, a mapping relationship is defined between the correspondence between the marked target instructions and the above-mentioned preparation images.
[0127] In the aforementioned example of the children's learning machine, after the children's learning machine receives a creation request sent from the cloud background, a dialog box can pop up on the touch screen and provide the user with the option of yes or create a mapping relationship corresponding to the prepared image. The user can start the dialog box for creating the mapping relationship by clicking the confirmation button, and provide multiple service instructions in the dialog box, such as changing the pinyin literacy interface, switching the painting interface, switching the nursery rhyme interface and playing nursery rhyme functions, etc.
[0128] Further, when the nursery rhyme interface and the function of playing nursery rhyme are selected, the nursery rhyme interface and the function of playing nursery rhyme are marked as target instructions, and the correspondence between the prepared image and the nursery rhyme interface and the function of playing nursery rhyme is defined as a mapping relationship.
[0129] In the example of the smart screen for the aforementioned medical procedure, after receiving the creation request sent from the cloud background, the smart screen can pop up a dialog box and provide the user with the option of yes or create a mapping relationship corresponding to the prepared image. The user can start the dialog box for creating the mapping relationship by clicking the confirmation button, and provide multiple service instructions in the dialog box, such as a blood pressure measurement interface, a heart rate measurement interface, a blood pressure measurement function, and a heart rate measurement function.
[0130] Further, when the blood pressure measurement interface and the blood pressure measurement function are selected, the blood pressure measurement interface and the blood pressure measurement function are marked as target instructions, and the correspondence between the preliminary image and the blood pressure measurement interface and the blood pressure measurement function is defined as a mapping relationship.
[0131] In the aforementioned conference screen example, after receiving the creation request sent from the cloud backend, the conference screen can pop up a dialog box and provide the user with the option of selecting yes or creating a mapping relationship for the corresponding prepared images. The user can start the dialog box for creating the mapping relationship by clicking the confirmation button, and provide multiple service instructions in the dialog box, such as a desktop interface, a resource manager interface, and a slide show function.
[0132] Further, when the desktop interface is selected, the desktop interface is marked as a target instruction, and the corresponding relationship between the prepared image and the desktop interface is defined as a mapping relationship.
[0133] It can be seen that based on the preset multiple service instructions, the user can select any number of service instructions to be marked as target instructions, so that the user can call a target instruction separately, and can also independently combine multiple services, and realize that in subsequent calls, after the user writes the corresponding target image, multiple target instructions can be called at the same time to enable the user end to execute multiple functions simultaneously or continuously, for example, switch to the blood pressure measurement interface, and start the blood pressure measurement function without having to divide it into multiple calls, and the combination of multiple target instructions corresponding to the same target image can be combined by the user independently, which is more in line with the user's usage habits.
[0134] In some other embodiments of the present application, such as Figure 1 As shown, when the user terminal determines not to create a mapping relationship, that is, the execution result of step S109 is no, the user is prompted through the second interface of the user terminal that the addition of the preliminary image and the mapping relationship fails, that is, the execution Figure 1 In step S111, it is prompted that the adding fails.
[0135] It can be seen that based on the rejection option set on the user side, the user can independently choose to reject the creation request sent by the cloud backend. In some cases, for example, when the user is not satisfied with the previously written preliminary image, it avoids directly adding the undesirable preliminary image as the target image and creating a mapping relationship.
[0136] In the embodiments of the present application, Figure 1 As shown, based on the preliminary image sent in step S108, when the user terminal receives the information from the cloud backend refusing to add the preliminary image, it is considered that the preliminary image sent by the user terminal does not meet the conditions for adding the preliminary image and creating a mapping relationship. At this time, the user terminal will also execute the above-mentioned step S111 and prompt the user through the second interface that the addition of the preliminary image and the mapping relationship has failed.
[0137] Step S303: Send the mapping relationship to the cloud backend.
[0138] In the embodiments of the present application, Figure 1 As shown, based on the mapping relationship defined in the above steps, the mapping relationship is sent to the cloud backend so that the cloud backend performs the next step of storage.
[0139] Furthermore, after receiving the information that the mapping relationship is successfully added from the cloud backend, the user end can display it to the user through the current second interface, that is, execute Figure 1 In step S112, it is prompted that the addition is successful.
[0140] It can be seen that the user end can customize the mapping relationship between the target instruction and the writing trajectory by writing a writing trajectory in the second interface, that is, the adding interface, and by selecting the target instruction platform, and through interaction with the cloud background, the target image corresponding to the writing trajectory and the relevant mapping relationship can be stored in the cloud background, so that the user can directly call the corresponding target instruction through the writing trajectory after creation.
[0141] Based on the same inventive concept, Figure 4 Corresponding to any of the above-mentioned embodiments, the embodiment of the present application also provides another service calling method, which is applied to the cloud backend and specifically includes the following steps:
[0142] Step S401, in response to receiving an image to be inspected sent by a user terminal in a first interface, determine whether a target image identical to the image to be inspected is pre-stored, wherein the image to be inspected is generated by a writing trajectory monitored by the user terminal, and the target image is a prepared image pre-stored in the cloud background.
[0143] In an embodiment of the present application, a plurality of target images are pre-stored in the cloud background. After the cloud background receives the image to be inspected sent by the user terminal in the first interface, the first image feature of the image to be inspected can be used to check whether there is a target image identical to the image to be inspected in the plurality of pre-stored target images.
[0144] exist Figure 1 In the specific example shown, step S113 may be performed to extract the first image feature.
[0145] Specifically, a classification model for classification may be set in the cloud backend, and the classification model may be a pre-trained classification model based on machine learning.
[0146] Further, the received image to be inspected is input into the classification model, the classification model is used to extract the first image feature of the image to be inspected, and the image to be inspected is classified using the first image feature, that is, executing Figure 1 In step S114, the category of the image to be inspected is determined.
[0147] In this embodiment, the multiple target images pre-stored in the cloud backend can be regarded as multiple image types, that is, each target image can be used as an image type, and these types are used as multiple preset categories of the classification model to classify the images to be inspected.
[0148] Specifically, the classification model may be used to determine whether the image to be inspected is the same as any pre-stored target image.
[0149] Furthermore, if the image to be tested is identical to any target image, it can be considered that the image to be tested belongs to the image category of the target image; if the image to be tested is not identical to any target image, it can be considered that the image to be tested does not belong to any pre-stored image category.
[0150] It can be seen that based on the extracted image features and the classification results of the classification model, the problem of determining whether the image to be inspected belongs to the target image can be converted into a classification problem, and the pre-trained classification model can be used to effectively solve the classification problem, that is, to effectively determine whether the image to be inspected belongs to the target image.
[0151] Step S402: In response to determining that the target image is stored, calling a pre-marked target instruction corresponding to the target image and sending it to the user terminal.
[0152] In an embodiment of the present application, a plurality of target instructions are pre-marked in the cloud backend, wherein each target instruction corresponds to at least one target image, and a target image also corresponds to at least one target instruction. Based on the judgment of the image to be inspected in the aforementioned steps, if it is judged that the image to be inspected belongs to any pre-stored image category, the target instruction corresponding to the target image can be called and sent to the user end for execution.
[0153] exist Figure 1 In the specific example shown, the cloud backend also stores a mapping relationship for each target image, wherein the mapping relationship specifically maps the corresponding relationship between the target image and one or more target instructions.
[0154] Based on this, after executing step S114, when it is determined that the image to be inspected belongs to any image category of the target image, that is, when the execution result is belongs, step S115 is further executed to determine the target instruction and inquire whether to execute it.
[0155] Specifically, based on the target image determined to be the same as the image to be tested, one or more mapping relationships corresponding to the target image can be determined, and from each mapping relationship, a pre-correspondingly marked target instruction can be determined, that is, based on the target image, one or more target instructions can be determined.
[0156] Based on this, Figure 1 As shown, a query request may be sent to the user terminal, and the query request may be specifically used to inquire whether to execute the above-determined target instruction.
[0157] Furthermore, if Figure 1 As shown, when the cloud backend receives a call request from the user end, the user end decides to execute the target instruction.
[0158] Based on this, the cloud backend can further call one or more target instructions determined above and send them all to the user end, that is, execute Figure 1 Step S117 in the above method calls the target instruction and sends it to the user end.
[0159] It can be seen that based on the determined target image, the cloud platform can further determine the pre-stored mapping relationship about the target image, thereby determining the target instruction that needs to be called from the mapping relationship, and asking the user end whether to call it, thereby cooperating with the user's autonomous choice and calling or not calling the target instruction according to the user's choice.
[0160] In this embodiment, if Figure 1 As shown, after executing step S114, when it is determined that the image to be inspected does not belong to any image category of the target image, that is, when the execution result is not, step S116 is further executed without calling and prompting.
[0161] Specifically, when the image to be inspected does not belong to any pre-stored target image category, it is considered that the writing trace of the user on the user terminal does not indicate the intention to call any target instruction, and therefore, there is no need to send a prompt to the user terminal.
[0162] It can be seen that when the image to be inspected is judged to be not the same as the pre-stored target image, if any execution instruction is fed back to the user terminal, for example, a dialog box pops up to prompt the user that the writing is incorrect, etc., which will interrupt the function currently being used by the user. In the process of the user using the user terminal, it is difficult to avoid writing various graphics that do not conform to the target image without the user's intention to call any target instruction. If the cloud backend feeds back a prompt of refusing to call the target instruction for the images to be inspected corresponding to various graphics that do not conform to the target image sent by the user terminal, the function executed by the user terminal will be constantly interfered with and interrupted. Therefore, when the image to be inspected does not conform to the target image, the cloud platform does not call the target instruction and does not send other situations to the user terminal, which can avoid disturbing the interface or function currently being used by the user.
[0163] It can be seen that the cloud backend can determine the mapping relationship corresponding to the image to be inspected by comparing it with multiple pre-stored target images, and thereby determine the corresponding target instruction. Based on the call request of the user end, the target instruction can be called and sent to the user end, so that the user end can obtain and execute the target instruction corresponding to the image to be inspected.
[0164] In another embodiment of the present application, the service calling method further includes customizing the mapping relationship between the writing track and the target instruction, such as Figure 5 As shown, the specific steps include the following steps.
[0165] Step S501: in response to receiving a preliminary image sent by a user terminal in a second interface, determining whether a target image identical to the preliminary image is pre-stored, wherein the preliminary image is generated by a writing trajectory monitored by the user terminal.
[0166] In an embodiment of the present application, a plurality of target images are pre-stored in the cloud backend. After the cloud backend receives a preliminary image sent by a user terminal on the second interface, the second image feature of the preliminary image can be used to check whether there is a target image identical to the preliminary image in the plurality of pre-stored target images.
[0167] exist Figure 1 In the specific example shown, step S118 may be performed to extract the second image feature.
[0168] Specifically, a classification model for classification may be set in the cloud backend, and the classification model may be a pre-trained classification model based on machine learning.
[0169] Further, the received preliminary image is input into the classification model, the classification model is used to extract the second image feature of the preliminary image, and the preliminary image is classified using the second image feature, that is, performing Figure 1 In step S119, the category of the preliminary image is determined.
[0170] In this embodiment, the multiple target images pre-stored in the cloud backend can be regarded as multiple image types, that is, each target image can be used as an image type, and these types are used as multiple preset categories of the classification model to classify the prepared images.
[0171] Specifically, a classification model may be used to determine whether the prepared image is the same as any pre-stored target image.
[0172] Furthermore, if the prepared image is identical to any target image, it can be considered that the prepared image belongs to the image category of the target image; if the prepared image is not identical to any target image, it can be considered that the prepared image does not belong to any pre-stored image category.
[0173] Step S502: In response to determining that the target image is not stored, sending a creation request to the user terminal.
[0174] In an embodiment of the present application, based on the detection in the aforementioned steps, when it is determined that the cloud backend does not store the target image identical to the prepared image, a mapping relationship for creating the prepared image may be sent to the user terminal.
[0175] exist Figure 1In the specific example shown, after executing step S119, if it is determined that the prepared image is not the same as any pre-stored target image, that is, when the execution result is not, it means that the prepared image does not belong to any image type pre-stored in the current cloud backend, that is, the prepared image can be regarded as a new image type, and it can be considered that the current cloud backend meets the conditions for adding the prepared image and meets the conditions for creating a mapping relationship regarding the prepared image.
[0176] Based on this, step S120 may be further executed to send a creation request.
[0177] Specifically, the cloud backend may send a creation request to the user end, where the creation request is specifically a request for creating a mapping relationship about the prepared image.
[0178] exist Figure 1 In the specific example shown, after executing step S119, if it is determined that the prepared image is the same as any pre-stored target image, that is, when the execution result is belongs to, it means that the prepared image belongs to a certain image type pre-stored in the current cloud backend, that is, the prepared image cannot be regarded as a new image type, and it is considered that the current cloud backend does not meet the conditions for adding the prepared image, nor does it meet the conditions for creating a mapping relationship regarding the prepared image.
[0179] Based on this, Figure 1 As shown, the cloud backend can refuse to store the prepared image as the target image and send a message of refusing to add to the user end.
[0180] It can be seen that based on the detection that the preliminary image is the same as the pre-stored target image, by refusing to add the preliminary image and sending a prompt of failed addition to the user end, the cloud backend can selectively add the preliminary image, avoiding the situation where the preliminary image that does not meet the above conditions is added as the target image.
[0181] Step S503: In response to receiving the mapping relationship corresponding to the prepared image sent by the user terminal, storing the prepared image as the target image, and storing the mapping relationship.
[0182] In an embodiment of the present application, when the cloud backend receives a mapping relationship from the user terminal, the mapping relationship can be stored and a successful addition message can be sent to the user terminal so that the user terminal knows that the corresponding target instruction can be called through the writing trajectory.
[0183] exist Figure 1 In the specific example shown, when the cloud backend receives the mapping relationship sent by the user end, it is considered that the user end has the intention to create the mapping relationship. Based on this, step S121 can be further executed to add the target image and create the mapping relationship.
[0184] Specifically, the cloud backend stores the prepared image in the aforementioned step S119 as the target image, and determines the target instruction corresponding to the prepared image specified by the user end according to the received mapping relationship.
[0185] Furthermore, a corresponding relationship between the target image and the instruction for calling the target is created in the cloud background, and is stored as a newly created mapping relationship.
[0186] Based on this, the cloud backend can send information to the user end that the target image and the corresponding mapping relationship have been added successfully.
[0187] It can be seen that the cloud backend can determine whether the prepared image meets the conditions for being added as a target image based on the received prepared image by comparing it with multiple pre-stored target images, and if it does, it will query the user end to obtain the user end's creation request. Based on this, the cloud platform can create the prepared image as a target image, and create and store the corresponding mapping relationship. Based on this, the mapping relationship between the target image and the target instruction specified by the user end can be stored on the cloud platform, so that the user end can directly call the corresponding target instruction from the cloud backend through the writing trajectory after creating the mapping relationship.
[0188] It can be seen that the service calling method of the embodiment of the present application, based on the image to be inspected generated by the writing trajectory sent by the client to the cloud backend, can enable the cloud backend to determine whether the image to be inspected has been pre-stored, and when the cloud platform has stored the target image identical to the image to be inspected, call and send the corresponding target instruction to the user end, so that the user end can directly execute the pre-corresponding target instruction based on the writing trajectory.
[0189] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0190] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0191] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the embodiment of the present application also provides a service calling device.
[0192] refer to Figure 6 , the service calling device comprises: a trajectory determination module 601 and an execution module 602;
[0193] The track determination module 601 is configured to, in response to detecting a writing track on a preset first interface, generate an image to be inspected from the writing track and send it to a cloud backend;
[0194] The execution module 602 is configured to execute the target instruction in response to receiving the target instruction sent by the cloud background, wherein the executed target instruction corresponds to the monitored writing trajectory, and the cloud background determines the writing trajectory corresponding to the target instruction.
[0195] As an optional embodiment, the execution module 602 is specifically configured to:
[0196] Before responding to receiving the target instruction sent by the cloud backend:
[0197] In response to receiving the inquiry from the cloud backend whether to call the target instruction, sending a call request for calling the target instruction to the cloud backend.
[0198] Furthermore, the service invocation device further includes: a preparation module 603, a definition module 604 and a sending module 605;
[0199] The preparation module 603 is configured to generate a preparation image from the writing trajectory in response to detecting the writing trajectory on a preset second interface, and send the preparation image to the cloud backend, wherein the second interface is an interface for adding the preparation image as a target image;
[0200] The definition module 604 is configured to, in response to receiving a creation request sent from the cloud backend, prepare 605 and is configured to send the mapping relationship to the cloud backend.
[0201] As an optional embodiment, the definition module 604 is specifically configured to:
[0202] In response to receiving the creation request sent by the cloud backend:
[0203] In response to rejecting the creation request, adding the preliminary image fails.
[0204] Select any one of the preset multiple service instructions and mark it as the target instruction;
[0205] A mapping relationship between the target instruction and the prepared image is created.
[0206] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the embodiment of the present application also provides another service calling device.
[0207] refer to Figure 7 , the service calling device comprises: a judgment module 701 and a mapping module 702;
[0208] The judgment module 701 is configured to, in response to receiving an image to be inspected sent by a user terminal in the first interface, judge whether a target image identical to the image to be inspected is pre-stored, wherein the image to be inspected is generated by a writing track monitored by the user terminal, and the target image is a preliminary image pre-stored in the cloud backend;
[0209] The mapping module 702 is configured to, in response to determining that the target image is stored, call a pre-marked target instruction corresponding to the target image and send the pre-marked target instruction to the user terminal.
[0210] As an optional embodiment, the determining module 701 is specifically configured to:
[0211] Extracting image features from the image to be inspected and inputting them into a pre-trained classification model;
[0212] The classification model is used to determine whether the image feature belongs to the type of multiple pre-stored target images.
[0213] After determining whether a target image identical to the image to be inspected is pre-stored, the method further includes:
[0214] In response to determining that the target image is not stored, any target instruction is not called, and any request is not sent to the user terminal.
[0215] As an optional embodiment, the mapping module 702 is specifically configured as follows:
[0216] Determining a mapping relationship stored corresponding to the target image;
[0217] Determine a target instruction marked corresponding to the target image from the mapping relationship;
[0218] Inquiring the user terminal whether to call the target instruction;
[0219] In response to receiving the calling request sent by the user terminal, calling the target instruction.
[0220] Furthermore, the service calling device further includes: a determination module 703, a request module 704 and a creation module 705;
[0221] The determination module 703 is configured to, in response to receiving a preliminary image sent by the user terminal in the second interface, determine whether a target image identical to the preliminary image is pre-stored;
[0222] The request module 704 is configured to, in response to determining that the target image is not stored, send a creation request to the user terminal;
[0223] The creation module 705 is configured to, in response to receiving the mapping relationship corresponding to the prepared image sent by the user terminal, store the prepared image as the target image and store the mapping relationship.
[0224] As an optional embodiment, the determination module 703 is specifically configured to:
[0225] After determining whether a target image identical to the prepared image is pre-stored:
[0226] In response to determining that the target image is pre-stored, refusing to add the preliminary image;
[0227] And send a prompt indicating that adding the prepared image fails to the user terminal.
[0228] For the convenience of description, the above devices are described in terms of functions and are divided into various modules. Of course, when implementing the embodiments of the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0229] The device of the above embodiment is used to implement the corresponding service calling method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0230] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the service calling method described in any of the above embodiments is implemented.
[0231] Figure 8 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0232] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0233] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solution provided in the embodiment of the present application is implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0234] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0235] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0236] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0237] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiment of the present application, and does not necessarily include all the components shown in the figure.
[0238] The device of the above embodiment is used to implement the corresponding service calling method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0239] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the service calling method described in any of the above embodiments.
[0240] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0241] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the service calling method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0242] Based on the same inventive concept, the present application also provides a display device, wherein the display device includes the service calling device as described in any of the above embodiments.
[0243] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0244] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0245] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0246] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A service calling method, characterized in that: Applied to the user side; The method comprises: In response to detecting a writing track on a preset first interface, generating an image to be inspected from the writing track and sending the image to a cloud backend; In response to receiving a target instruction sent by the cloud backend, the target instruction is executed, wherein the executed target instruction corresponds to the monitored writing trajectory, and the cloud backend determines the writing trajectory corresponding to the target instruction.
2. The method according to claim 1, characterized in that Before the response receives the target instruction sent by the cloud backend, it also includes: In response to receiving the inquiry from the cloud backend whether to call the target instruction, sending a call request for calling the target instruction to the cloud backend.
3. The method according to claim 1, characterized in that The method further comprises: In response to detecting a writing track on a preset second interface, generating a preliminary image from the writing track and sending the image to a cloud backend, wherein the second interface is an interface for adding the preliminary image as a target image; In response to receiving a creation request sent by the cloud backend, creating a mapping relationship for the prepared image; The mapping relationship is sent to the cloud backend.
4. The method according to claim 3, characterized in that After receiving the creation request sent by the cloud backend, the response also includes: In response to rejecting the creation request, adding the preliminary image fails.
5. The method according to claim 3, characterized in that: The creating a mapping relationship for the prepared image includes: Select any one of the preset multiple service instructions and mark it as the target instruction; A mapping relationship between the target instruction and the prepared image is created.
6. A service calling method, characterized in that: Applied to cloud backend; The method comprises: In response to receiving an image to be inspected sent by a user terminal in the first interface, determining whether a target image identical to the image to be inspected is pre-stored, wherein the image to be inspected is generated by a writing trajectory monitored by the user terminal, and the target image is a preliminary image pre-stored in a cloud backend; In response to determining that the target image is stored, a target instruction pre-marked corresponding to the target image is called and sent to the user terminal.
7. The method according to claim 6, characterized in that The determining whether a target image identical to the image to be inspected is pre-stored comprises: Extracting image features from the image to be inspected and inputting them into a pre-trained classification model; The classification model is used to determine whether the image feature belongs to the type of multiple pre-stored target images.
8. The method according to claim 6, characterized in that After determining whether a target image identical to the image to be inspected is pre-stored, the method further includes: In response to determining that the target image is not stored, any target instruction is not called, and any request is not sent to the user terminal.
9. The method according to claim 6, characterized in that The calling of a target instruction pre-marked corresponding to the target image comprises: Determining a mapping relationship stored corresponding to the target image; Determine a target instruction marked corresponding to the target image from the mapping relationship; Inquiring the user terminal whether to call the target instruction; In response to receiving the calling request sent by the user terminal, calling the target instruction.
10. The method according to claim 6, characterized in that: The method further comprises: In response to receiving a preliminary image sent by a user terminal in a second interface, determining whether to pre-store a target image identical to the preliminary image, wherein the preliminary image is generated by a writing trajectory monitored by the user terminal; In response to determining that the target image is not stored, sending a creation request to the user terminal; In response to receiving the mapping relationship corresponding to the prepared image sent by the user terminal, the prepared image is stored as the target image, and the mapping relationship is stored.
11. The method according to claim 10, characterized in that After determining whether a target image identical to the prepared image is pre-stored, the method further includes: In response to determining that the target image is pre-stored, refusing to add the preliminary image; And a prompt indicating that adding the prepared image fails is sent to the user terminal.
12. A service calling device, characterized in that: include: Trajectory determination module and execution module; The track determination module is configured to, in response to detecting a writing track on a preset first interface, generate an image to be inspected from the writing track and send it to a cloud backend; The execution module is configured to execute the target instruction in response to receiving the target instruction sent by the cloud background, wherein the executed target instruction corresponds to the monitored writing trajectory, and the cloud background determines the writing trajectory corresponding to the target instruction.
13. A service calling device, characterized in that: include: Judgment module and mapping module; The judgment module is configured to, in response to receiving an image to be inspected sent by a user terminal in the first interface, judge whether a target image identical to the image to be inspected is pre-stored, wherein the image to be inspected is generated by a writing trajectory monitored by the user terminal, and the target image is a preliminary image pre-stored in a cloud backend; The mapping module is configured to, in response to determining that the target image is stored, call a pre-marked target instruction corresponding to the target image and send the pre-marked target instruction to the user terminal.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 and / or 6 to 11 is implemented.
15. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions for causing a computer to execute the method according to any of claims 1 to 5 and / or 6 to 11.
16. A display device, characterized in that: It comprises the service calling device as claimed in claim 12.
