Processing Method, Device and System for Instant Messaging Messages of Order Receiving Device
By using platform servers and printers in order receiving equipment to process instant messaging messages of users' orders, the problem of poor timeliness of message processing in the prior art is solved, efficient and accurate message processing is achieved, and user experience is improved.
Patent Information
- Application Number
- CN202410245464.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2044-03-04
AI Technical Summary
In the prior art, merchants rely on mobile phones when processing instant messaging messages of users' orders, resulting in poor timeliness of processing.
By introducing platform servers and printers into order receiving devices, the processing method of instant messaging messages is realized. The platform server receives instant messaging messages sent by the order application and converts formats so that they can be recognized by the printer. The printer displays the target information on the display screen, obtains the reply content, generates a reply message, and the platform server converts the format again and sends it to the order application.
It improves the processing efficiency and user experience of instant messaging messages, reduces the processing time of target information, enhances the consistency and accuracy of messages, and simplifies the process of message processing.
Smart Images

Figure CN117978768B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet technologies, and particularly to a method, device, and system for processing instant messaging messages of an order receiving device. Background Art
[0002] With the continuous development of Internet technologies, the use of takeaway services by users has become increasingly popular. Users can place orders online through a terminal. After the printer of a merchant receives the user's order, it prints the user's order and performs corresponding processing.
[0003] In related technologies, a printer can only be used for receiving and printing orders. For instant messaging messages of a user's order, a merchant often needs to rely on a mobile phone to receive the user's instant messaging messages and reply. The mobile phone is small in size and easy to move, and generally for single-person use only, so the timeliness of processing instant messaging messages of a user's order is poor. Summary of the Invention
[0004] The embodiments of the present application provide a method, device, and system for processing instant messaging messages of an order receiving device to improve the efficiency of processing instant messaging messages. The technical solutions are as follows:
[0005] In a first aspect, the embodiments of the present application provide a method for processing instant messaging messages of an order receiving device, the method including:
[0006] A platform server receives a first instant messaging message sent by an order application program through a data link channel, where the first instant messaging message is a message associated with a target order, and the data link channel is the data link channel corresponding to the target order;
[0007] The platform server performs a first format conversion on the first instant messaging message to obtain a second instant messaging message, where the first format is a format recognizable by a printer connected to the platform server;
[0008] The platform server sends the second instant messaging message to the printer;
[0009] The printer receives the second instant messaging message and displays target information on a display screen of the printer, where the target information is obtained based on the second instant messaging message;
[0010] The printer obtains a target reply content for the target information, generates a first reply message based on the target reply content, and sends the first reply message to the platform server;
[0011] The platform server receives the first reply message, performs a second format conversion on the first reply message to obtain a second reply message, where the second format is a format recognizable by the order application;
[0012] The platform server sends the second reply message to the order application through the data link channel, and the order application displays the second reply message.
[0013] In a second aspect, an embodiment of the present application provides a method for processing instant messaging messages of an order receiving device. The method includes:
[0014] Receiving a second instant messaging message, where the second instant messaging message has a format recognizable by a printer connected to the platform server, and the second instant messaging message comes from an instant message transmitted by the order application through a data link channel;
[0015] Displaying target information on a display screen of the printer, where the target information is obtained based on the second instant messaging message;
[0016] The printer obtains target reply content for the target information, generates a first reply message based on the target reply content, sends the first reply message to the platform server. The first reply message is used by the platform server to perform a second format conversion into a second reply message in a format recognizable by the order application, and transmits the second reply message to the order application through the data link channel, and the order application displays the second reply message.
[0017] In a third aspect, an embodiment of the present application provides a method for processing instant messaging messages of an order receiving device. The method includes:
[0018] Receiving a first instant messaging message sent by an order application through a data link channel, where the first instant messaging message is a message associated with a target order, and the data link channel is a data link channel corresponding to the target order;
[0019] Performing a first format conversion on the first instant messaging message to obtain a second instant messaging message, where the first format is a format recognizable by a connected printer;
[0020] Sending the second instant messaging message to the printer, where the second instant messaging message is used for the printer to display target information on a display screen of the printer, obtaining target reply content for the target information, generating a first reply message based on the target reply content, and sending the first reply message, where the target information is obtained based on the second instant messaging message;
[0021] Receive the first reply message, perform a second format conversion on the first reply message to obtain a second reply message, where the second format is a format recognizable by the order application;
[0022] Send the second reply message to the order application through the data link channel, and the order application displays the second reply message.
[0023] Fourthly, an embodiment of the present application provides a processing device for instant messaging messages of an order receiving device, and the device includes:
[0024] A receiving module, configured to receive a second instant messaging message, where the second instant messaging message has a format recognizable by a printer connected to the platform server, and the second instant messaging message comes from an instant message transmitted by the order application through the data link channel;
[0025] A display module, configured to display target information on a display screen of the printer, where the target information is obtained based on the second instant messaging message;
[0026] An obtaining module, configured to obtain target reply content for the target information, and generate a first reply message based on the target reply content;
[0027] A sending module, configured to send the first reply message to the platform server, where the first reply message is used by the platform server to perform a second format conversion into a second reply message recognizable by the order application, and transmit the second reply message to the order application through the data link channel, and the order application displays the second reply message.
[0028] Fifthly, an embodiment of the present application provides a processing device for instant messaging messages of an order receiving device, and the device includes:
[0029] A receiving module, configured to receive a first instant messaging message sent by the order application through the data link channel, where the first instant messaging message is a message associated with a target order, and the data link channel is a data link channel corresponding to the target order;
[0030] A conversion module, configured to perform a first format conversion on the first instant messaging message to obtain a second instant messaging message, where the first format is a format recognizable by the connected printer;
[0031] A sending module, configured to send the second instant messaging message to the printer, where the second instant messaging message is used for the printer to display target information on a display screen of the printer, obtain target reply content for the target information, generate a first reply message based on the target reply content, and send the first reply message, where the target information is obtained based on the second instant messaging message;
[0032] The receiving module is further configured to receive the first reply message;
[0033] The conversion module is further configured to perform a second format conversion on the first reply message to obtain a second reply message, where the second format is a format recognizable by the order application;
[0034] The sending module is further configured to send the second reply message to the order application through the data link channel, and the order application displays the second reply message.
[0035] In a sixth aspect, an embodiment of the present application provides a processing system for instant messaging messages of an order receiving device, where the system includes a platform server and a printer:
[0036] The platform server is configured to receive a first instant messaging message sent by an order application through a data link channel, where the first instant messaging message is a message associated with a target order, and the data link channel is a data link channel corresponding to the target order;
[0037] The platform server is further configured to perform a first format conversion on the first instant messaging message to obtain a second instant messaging message, where the first format is a format recognizable by a printer connected to the platform server;
[0038] The platform server is further configured to send the second instant messaging message to the printer;
[0039] The printer is configured to receive the second instant messaging message and display target information on a display screen of the printer, where the target information is obtained based on the second instant messaging message;
[0040] The printer is further configured to obtain target reply content for the target information, generate a first reply message based on the target reply content, and send the first reply message to the platform server;
[0041] The platform server is further configured to receive the first reply message, perform a second format conversion on the first reply message to obtain a second reply message, where the second format is a format recognizable by the order application;
[0042] The platform server is further configured to send the second reply message to the order application through the data link channel, and the order application displays the second reply message.
[0043] In a seventh aspect, an embodiment of the present application provides a computer device, which includes a processor and a memory. At least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor so that the computer device implements the processing method for instant messaging of any of the above-mentioned order receiving devices.
[0044] In an eighth aspect, a computer-readable storage medium is further provided. At least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor so that a computer implements the processing method for instant messaging of any of the above-mentioned order receiving devices.
[0045] In a ninth aspect, a computer program or a computer program product is further provided. At least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor so that a computer implements the processing method for instant messaging of any of the above-mentioned order receiving devices.
[0046] The technical solutions provided by the embodiments of the present application at least bring the following beneficial effects:
[0047] In the present application, by performing format conversion processing on the first instant messaging, a second instant messaging in a format recognizable by a printer is obtained. Based on the second instant messaging, display target information is obtained, and the target information is displayed on a display screen. To a certain extent, the processing time of the target information can be reduced, and the processing efficiency of instant messaging and the user experience can be improved. By obtaining a first reply message generated for the target information, performing format conversion processing on the first reply message to obtain a second reply message, and sending the second reply message to the order application, through format conversion processing, the consistency and accuracy of the message can be improved, thereby simplifying the message processing flow and improving the message processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0049] Figure 1 It is a schematic diagram of an implementation environment of a method for processing instant messaging of an order receiving device provided by an embodiment of the present application;
[0050] Figure 2 It is a flowchart of a method for processing instant messaging messages of an order receiving device provided by an embodiment of the present application;
[0051] Figure 3 It is a schematic diagram of determining selected alternative reply content provided by an embodiment of the present application;
[0052] Figure 4 It is another schematic diagram of determining selected alternative reply content provided by an embodiment of the present application;
[0053] Figure 5 It is still another schematic diagram of determining selected alternative reply content provided by an embodiment of the present application;
[0054] Figure 6 It is a schematic diagram of determining target reply content provided by an embodiment of the present application;
[0055] Figure 7 It is a flowchart of a method for processing instant messaging messages of an order receiving device provided by an embodiment of the present application;
[0056] Figure 8 It is a flowchart of a method for processing instant messaging messages of an order receiving device provided by an embodiment of the present application;
[0057] Figure 9 It is a schematic diagram of the structure of a device for processing instant messaging messages of an order receiving device provided by an embodiment of the present application;
[0058] Figure 10 It is another schematic diagram of the structure of a device for processing instant messaging messages of an order receiving device provided by an embodiment of the present application;
[0059] Figure 11 It is a schematic diagram of a system for processing instant messaging messages of an order receiving device provided by an embodiment of the present application;
[0060] Figure 12 It is a schematic diagram of the structure of a terminal device provided by an embodiment of the present application;
[0061] Figure 13 It is a schematic diagram of the structure of a server provided by an embodiment of the present application. Detailed implementation manners
[0062] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0063] It should be noted that the terms "first", "second", etc. in this application are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0064] Figure 1 It is a schematic diagram of the implementation environment for processing instant messaging messages of an order receiving device provided by an embodiment of the present application. As Figure 1 shown, the implementation environment includes: a terminal device 101, a printer 102, and a server 103.
[0065] The terminal device 101 can be the terminal device of the user. An order application is installed and run in the terminal device 101. The order application installed and run on the terminal device 101 can be used to generate the user's order. The printer 102 can be used to receive and display the order generated by the terminal device 101 and the message sent by the user, and process the order and the message sent by the user. Optionally, the printer 102 can be an integrated device, that is, a device in which the printer and the order receiving device are integrated. The printer 102 can also be an independent device. When the printer 102 is an independent device, the printer 102 is communicatively connected to the order receiving device.
[0066] The server 103 is used to provide background services for the order applications installed in the terminal device 101 and the printer 102. In a possible implementation manner, the server 103 undertakes the main computing work, and the terminal device 101 and the printer 102 undertake the secondary computing work. Or, the server 103 undertakes the secondary computing work, and the terminal device 101 and the printer 102 undertake the main computing work. Or, a distributed computing architecture is adopted among the terminal device 101, the printer 102, and the server 103 for collaborative computing.
[0067] Optionally, the terminal device 101 can be any electronic device product that can interact with the user in one or more ways such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, the terminal device 101 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a PC (Personal Computer), a mobile phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a smart vehicle console, a smart TV, etc. The printer 102 can be an electronic product with printing function, information display function, and information processing function.
[0068] The terminal device 101 and the printer 102 can generally refer to one of multiple terminal devices and printers. This embodiment only takes the terminal device as an example for illustration. Those skilled in the art can know that the number of the above terminal devices or printers can be more or less. For example, the above terminal device 101 or printer 102 can be only one, or the above terminal device 101 or printer 102 can be dozens or hundreds, or more. The embodiments of the present application do not limit the number and device type of the terminal device 101 and the printer 102.
[0069] The server 103 is a single server, or a server cluster composed of multiple servers, or any one of a cloud computing platform and a virtualization center. The embodiments of the present application do not limit this. The server 103 is directly or indirectly communicatively connected to the terminal device 101 and the printer 102 through a wired or wireless communication method. The server 103 has a data receiving function, a data processing function, and a data sending function. Of course, the server 103 can also have other functions. The embodiments of the present application do not limit this.
[0070] Those skilled in the art should understand that the above first terminal device 101, printer 102, and server 103 are only for illustration. Other existing or future possible terminal devices, printers, or servers, if applicable to the present application, should also be included in the protection scope of the present application and are hereby incorporated by reference.
[0071] The embodiments of the present application provide a method for processing instant messaging messages of an order receiving device. This method can be applied to the above Figure 1 shown implementation environment. For example, this method can be interactively executed by Figure 1 the terminal device 101, printer 102, and server 103 therein. Taking the process of interactively executing this method by the printer 102 and the server 103 as an example, as Figure 2 shown, this method includes the following steps 210 to step 270.
[0072] In step 210, the platform server receives a first instant messaging message sent by the order application through the data link channel. The first instant messaging message is a message associated with the target order, and the data link channel is the data link channel corresponding to the target order.
[0073] In an exemplary embodiment of the present application, the platform server may receive an order generated by the order application of the user terminal based on the data link channel. The user's order may include an order number and user information. Optionally, the user order may further include, but is not limited to, the order placement time, order commodity information, payment information, preferential information, merchant information, and note information. For example, the user information may include, but is not limited to, the user account, user name, user contact information, user address, etc.; the merchant information may include, but is not limited to, the merchant name, merchant address, etc.
[0074] After receiving the user's order, the platform server may further receive a first instant messaging message sent by the order application of the user terminal through the data link channel. Among them, the data link channel may be the same as the data link channel for receiving the user's order, and the first instant messaging message is a message associated with the target order. That is to say, the first instant messaging message may be associated with the target order based on at least one of the order number, user account, user name, user contact information, or user address, where the target order is one of the orders of multiple users.
[0075] Exemplarily, the first instant messaging message may be a supplementary description of the target order or a question consultation about the target order. For example, the first instant messaging message may include, but is not limited to, an order details consultation message, a user special requirement message, a commodity consultation message, or other service-related consultation messages.
[0076] In step 220, the platform server performs a first format conversion on the first instant messaging message to obtain a second instant messaging message. The first format is a format recognizable by the printer connected to the platform server.
[0077] In an exemplary embodiment of the present application, after receiving the first instant messaging message, the platform server may determine the format of the first instant messaging message. For example, after obtaining the first instant messaging message, the first instant messaging message may be parsed to obtain the header field of the first instant messaging message, and the format of the first instant messaging message may be determined based on the header field. Different header fields may correspond to different message formats. It should be noted that the method for determining the format of the first instant messaging message in the present application is an exemplary description, and other methods may also be used to determine the format of the first instant messaging message. The present application does not limit this.
[0078] When the format of the first instant messaging message is different from the first format recognizable by the printer, that is, the first instant messaging message cannot be directly recognized by the printer connected to the platform server, the platform server performs a first format conversion on the first instant messaging message to obtain a second instant messaging message.
[0079] Exemplarily, the format of the first instant messaging message includes but is not limited to text format, voice format, picture format, video format, file format, and emoji format. For example, if the first instant messaging message is in voice format, the platform server can obtain the content of the voice message in the first instant messaging message and convert the content of the voice message into a format recognizable by the printer (e.g., text format) to obtain a second instant messaging message.
[0080] It should be noted that when the format of the first instant messaging message is the same as the first format, the platform server may not convert the format of the first instant messaging message either. The first format can be set based on different printer parameters. After the printer sets the first format, it can send the relevant parameters of the set first format to the platform server, which is not limited in this application.
[0081] Based on the fact that the platform server can convert first instant messaging messages from different sources and in different formats into second instant messaging messages in the first format, it is possible to better process the second instant messaging messages in subsequent processes, improving the efficiency of instant messaging message processing.
[0082] In step 230, the platform server sends the second instant messaging message to the printer.
[0083] In an exemplary embodiment of the present application, the platform server can send the second instant messaging message to the printer through a data link channel. Among them, the data link channel through which the platform server sends the second instant messaging message to the printer can be different from the data link channel through which the platform server receives the first instant messaging message.
[0084] In step 240, the printer receives the second instant messaging message and displays target information on the display screen of the printer. The target information is obtained based on the second instant messaging message.
[0085] In an exemplary embodiment of the present application, after receiving the second instant messaging message, the printer can detect the content of the second instant messaging message and determine the target information based on the detection result. The target information is the information displayed on the display screen of the printer. After obtaining the target information, the target information can be displayed on the display screen of the printer. Among them, the target information can be obtained based on the second instant messaging message, or the target information can be obtained based on the second instant messaging message and the target order.
[0086] In an embodiment of the present application, when the second instant messaging message includes the first instant messaging message and the target order associated with the first instant messaging message, the platform server may detect the content in the second instant messaging message. When the content in the second instant messaging message is the same as the standard format content corresponding to the target information, the second instant messaging message is taken as the target information; when the content in the second instant messaging message is different from the standard format content corresponding to the target information, the second instant messaging message is standardized to obtain the target information. Among them, the standardization process may include but is not limited to removing redundant content of the target order included in the second instant messaging message, supplementing missing content of the target order, and performing privacy processing on the personal information of the second instant messaging message and the target order, etc.
[0087] For example, when there is redundant content of the target order in the content of the target order included in the second instant messaging message compared with the standard format content corresponding to the target information, the content of the target order can be screened based on the standard format content, retaining the standard format content corresponding to the target order and deleting other redundant content of the target order to obtain the target information.
[0088] For another example, when there is missing content of the target order in the content of the target order included in the second instant messaging message compared with the standard format content, the corresponding target order can be queried through the content of the target order included in the second instant messaging message, the missing content of the target order can be obtained based on the standard format content, and after supplementing the missing content of the target order, the target information is obtained.
[0089] In another embodiment of the present application, when the target order is not included in the second instant messaging message, the target order can be queried through at least one of the user account, user name, user contact information, or user address of the first instant messaging message included in the second instant messaging message, and the target order information is obtained, and the obtained target order information is combined with the first instant messaging message to be converted into standard format content to obtain the target information.
[0090] It should be noted that the standard format content corresponding to the target information can be the printer system settings or can be set by the user based on the actual usage situation, and the present application does not limit this.
[0091] By processing the second instant messaging message in the present application to obtain the target information and displaying the target information on the display screen of the printer, the accuracy and reliability of the content of the target information displayed by the printer can be improved, thereby improving the efficiency of message processing.
[0092] In step 250, the printer obtains the target reply content for the target information, generates a first reply message based on the target reply content, and sends the first reply message to the platform server.
[0093] In an exemplary embodiment of the present application, the process by which the printer obtains the target reply content for the target information includes: the printer displays multiple alternative reply contents for the target information on the display screen; the printer determines the selected alternative reply content from the multiple alternative reply contents and uses the selected alternative reply content as the target reply content.
[0094] Exemplarily, after the printer determines the multiple alternative reply contents, it may display the multiple alternative reply contents on the display screen and determine the target reply content based on the display of the multiple alternative reply contents. Determining the selected alternative reply content from the multiple alternative reply contents displayed on the display screen may include the following situations: Situation 1, determining the selected alternative reply content based on the confirmation button of the printer, at least two direction buttons, and the multiple alternative reply contents in the reply list of the target information; Situation 2, determining the selected alternative reply content based on any physical button of the printer and the alternative reply content corresponding to any physical button; Situation 3, the display screen of the printer is a touch screen, and determining the selected alternative reply content based on the touch options corresponding to the multiple alternative reply contents displayed on the touch screen. The following will explain the three situations separately.
[0095] Situation 1, the printer includes a confirmation button and at least two direction buttons, and the at least two direction buttons correspond to different selection directions. The printer displays a reply list for the target information on the display screen, and the reply list includes multiple alternative reply contents. The at least two direction buttons are used to select candidate reply contents from the multiple alternative reply contents according to the corresponding selection directions, and the display mode of the candidate reply contents is different from that of the unselected alternative reply contents. The printer determines the currently selected candidate reply content in the reply list as the selected alternative reply content based on the trigger operation of the confirmation button.
[0096] Figure 3 FIG. is a schematic diagram for determining the selected alternative reply content provided by an embodiment of the present application. As Figure 3 shown, the printer may include a display area 301 and a button area 302. Among them, the display area 301 is used to display the target information received by the printer and the reply list 303, and the reply list 303 contains multiple alternative reply contents. For example, alternative reply content 1, alternative reply content 2,..., alternative reply content n. The button area 302 includes a first direction button ("+" button) 304, a second direction button ("-" button) 305, and a confirmation button 306. The first direction button 304, the second direction button 305, and the confirmation button 306 are used to select candidate reply contents from the multiple alternative reply contents in the reply list 303.
[0097] The first direction button 304 and the second direction button 305 can correspond to different selection directions in the reply list 303. For example, the first direction button 304 can indicate moving up one alternative reply content in the reply list 303, and the second direction button 305 can indicate moving down one alternative reply content in the reply list 303. When an alternative reply content is selected as a candidate reply content, the display manner of the candidate reply content is different from that of the unselected alternative reply content. Among them, the display manner of the candidate reply content can include but is not limited to highlighting, shading, bolding, increasing the font size, and changing the color display. For example, Figure 3 perform shading display on the candidate reply content. When a triggering operation of the confirmation button 306 of the printer is detected, the currently selected candidate reply content in the reply list 303 is determined as the selected alternative reply content.
[0098] Case 2: The printer includes multiple physical buttons, and different physical buttons correspond to different alternative reply contents. Based on the triggering operation of any physical button, the printer determines the alternative reply content corresponding to any physical button as the selected alternative reply content.
[0099] Figure 4 is another schematic diagram for determining the selected alternative reply content provided by an embodiment of the present application. As Figure 4 shown, the printer can include a display area 401 and a button area 402. Among them, the display area 401 is used to display the target information received by the printer and the reply list 403. The reply list 403 contains multiple alternative reply contents. For example, alternative reply content A, alternative reply content B,..., alternative reply content K. The button area 402 includes multiple physical buttons 404 and a confirmation button 405. The physical buttons 404 can be letter buttons, and the letters displayed on the letter buttons correspond to the letters in the alternative reply contents. Among them, the number of alternative reply contents is less than or equal to the number of letter buttons. The physical buttons 404 and the confirmation button 405 are used to determine the selected alternative reply content among the multiple alternative reply contents in the reply list 403.
[0100] For example, when a triggering operation of a letter button is detected, the alternative reply content corresponding to the same letter in the reply list is displayed differently. The different display manners can include but are not limited to highlighting, shading, bolding, increasing the font size, and changing the color display. For example, Figure 4 perform shading display on the selected alternative reply content.
[0101] It should be noted that the form of the physical button being a letter button in this application is an exemplary illustration. The physical button can also be in other forms. For example, the physical button can also be a numeric button. At least one numeric button is associated with the alternative response content in the response list. The form of the physical button in this application is not limited.
[0102] Case 3: The display screen is a touch screen. The printer displays a response list for the target information on the touch screen. The response list includes multiple alternative response contents, and the response list also includes touch options corresponding to each alternative response content. The printer determines any alternative response content as the selected alternative response content based on the touch option corresponding to any alternative response content being selected.
[0103] Figure 5 This is another schematic diagram for determining the selected alternative response content provided by the embodiments of the present application. As Figure 5 shown, the printer may include a display area 501. Among them, the display area 501 is used to display the target information received by the printer and the response list 502. The response list 502 contains multiple alternative response contents, and the alternative response contents can correspond one-to-one with touch options. Among them, the touch option can be a touch area containing the alternative response content, and the touch areas corresponding to different alternative response contents do not overlap. When the touch option corresponding to any alternative response content is selected, the alternative response content corresponding to the selected touch option can be determined as the selected alternative response content.
[0104] Optionally, the display area 501 may further include a confirmation control 503. When the touch option corresponding to any alternative response content is selected, the alternative response content corresponding to the selected touch option can be displayed differently. The different display methods can be similar to those in Figure 4 and will not be elaborated here too much.
[0105] Exemplarily, after determining the selected alternative response content, the selected alternative response content is determined as the target response content.
[0106] In the exemplary embodiments of the present application, a set of response contents can be set in advance in the printer, and the set of response contents can include multiple alternative response contents. Cases 1 to 3 are for explaining how to determine the selected alternative response content among multiple alternative response contents. There is also more than one case for obtaining multiple alternative response contents. Obtaining multiple alternative response contents can include the following cases: Case 4: Determining multiple alternative response contents for the target information based on tag matching; Case 5: Determining multiple alternative response contents for the target information based on an alternative response content generation model.
[0107] Case 4: The set of reply contents includes common reply contents and the tags corresponding to the reply contents. Among them, the tags corresponding to the reply contents can be associated with the keywords in the target information. When the printer obtains the target information, it can determine the tags corresponding to the reply contents based on the keywords included in the target information, and use the multiple reply contents corresponding to the tags as multiple alternative reply contents.
[0108] Case 5: Input the target information into the alternative reply content generation model that has completed training. The alternative reply content generation model analyzes the target information, and generates corresponding multiple alternative reply contents according to the previous model training results and the current target information.
[0109] It should be noted that the method for determining multiple alternative reply contents in this application is an exemplary illustration, and multiple alternative reply contents can also be determined by other methods. This application does not make any limitations in this regard.
[0110] In addition, different situations for obtaining multiple alternative reply contents (Case 4 and Case 5) can be combined with different situations for determining the selected alternative reply content among multiple alternative reply contents (Case 1 to Case 3) to obtain different solutions. For example, obtain multiple alternative reply contents based on Case 4, and use any one of the methods in Case 1, Case 2, or Case 3 to determine the selected alternative reply content among multiple alternative reply contents.
[0111] In an exemplary embodiment of this application, after providing multiple alternative reply contents, the printer can also generate a prompt message.
[0112] Exemplarily, the printer can play a voice prompt message through the printer's speaker. The voice prompt message is used to prompt to select a target reply content from multiple alternative reply contents. Among them, the voice prompt message can be obtained based on the target information. For example, the content of the target information can be directly played. Playing the voice prompt message through the printer's speaker can, to a certain extent, improve the processing efficiency of the target information and avoid missing the target information.
[0113] Exemplarily, the printer displays a text prompt message on the printer's display screen. The text prompt message is used to prompt to select a target reply content from multiple alternative reply contents. Among them, the text prompt message can include the target information and multiple alternative reply contents, and select the target reply content from multiple alternative reply contents. Displaying the text prompt message on the printer's display screen can, to a certain extent, improve the accuracy of the target reply content.
[0114] In an exemplary embodiment of this application, after determining the target reply content, the printer can generate a first reply message based on the target reply content and send the first reply message to the platform server.
[0115] In an exemplary embodiment of the present application, the platform server generates a corresponding first reply message by parsing the target reply content, where the first reply message can be a formatted message that is easy to understand and conforms to the interaction standard.
[0116] Optionally, in the process of generating the first reply message based on the target reply content, information of some target orders can also be added, and the added information of some target orders can be information related to the first instant messaging message.
[0117] Taking the target order as a food delivery order as an example, the target order shows that the user's taste information is "need scallions", the first instant messaging message associated with the target order is "no coriander", and the target reply content obtained by the printer is "received the taste information of no coriander". In the process of generating the first reply message, the taste information in the target order is added. For example, the first reply message sent to the platform is "Taste: need scallions, no coriander".
[0118] In another exemplary embodiment of the present application, the platform server can also obtain the content of the first reply message and directly generate the first reply message based on the content of the first reply message.
[0119] Exemplarily, when the display screen is a touch screen or the key area of the display screen includes letter keys, the content of the first reply message can be directly edited through the touch screen or letter keys of the printer. The content of the first reply message can be the content of the message edited by the merchant, and the present application does not limit the content of the first reply message. After determining the content of the first reply message, a corresponding first reply message is generated based on the content of the first reply message.
[0120] In the present application, by determining the target reply content from multiple alternative reply contents for the target information displayed on the display screen of the printer and generating the first reply message based on the target reply content, the printer can be used to quickly process the target information, which can reduce the processing time of the target information to a certain extent and improve the processing efficiency of user orders and the user experience.
[0121] In an exemplary embodiment of the present application, the printer includes a confirmation button. The process of the printer obtaining the target reply content for the target information can include: the printer collects a first voice signal, performs voice recognition on the first voice signal to obtain a first reply content for the target information; displays the first reply content through the display screen, and based on the trigger operation of the confirmation button, and the duration of the trigger operation is less than the duration threshold, the first reply content is used as the target reply content for the target information.
[0122] Figure 6It is a schematic diagram for determining target reply content provided by an embodiment of the present application. As Figure 6 shown, the printer may include a display area 601 and a key area 602. The display area 601 may display the target information received by the printer, and the key area 602 may include an OK key 604. When the printer detects a triggering operation in the first state of the OK key 604, the printer collects a first voice signal, recognizes and converts the first voice signal, and displays a first reply content converted based on the first voice signal in a reply area 603 in the display area 601. For example, the triggering operation in the first state may be a long-press operation. When the OK key 604 is in the long-press operation state, the collected first voice signal may be converted in real time, or may be converted after the collection of the first voice signal is completed, to obtain the first reply content.
[0123] After the first reply content is displayed on the display screen of the printer, the triggering operation of the OK key is continuously detected. When the printer detects a triggering operation in the second state of the OK key, the triggering operation in the second state is different from the triggering operation in the first state, and the target reply content is determined based on the triggering operation in the second state of the OK key and the first reply content.
[0124] Taking the duration of the triggering operation in the second state being less than a duration threshold as an example, for example, the duration threshold is 2 s, the triggering operation in the second state is a click operation, and when the click duration is less than 2 s, the first reply content displayed by the printer is used as the target reply content for the target information.
[0125] In an exemplary embodiment of the present application, after the first reply content is displayed on the display screen, based on the triggering operation of the OK key and the duration of the triggering operation being greater than or equal to the duration threshold, the printer collects a second voice signal, performs voice recognition on the second voice signal to obtain a second reply content for the target information; the second reply content is displayed through the display screen, and based on the triggering operation of the OK key and the duration of the triggering operation being less than the duration threshold, the second reply content is used as the target reply content for the target information.
[0126] After the first reply content is displayed on the display screen of the printer, the triggering operation of the OK key is continuously detected. When the printer detects a triggering operation in the third state of the OK key, the triggering operation in the third state is at least different from the triggering operation in the second state, and a second voice signal is collected based on the triggering operation in the third state of the OK key, and the second voice signal is recognized and converted to obtain a second reply content. Among them, the triggering operation in the third state may be the same as the triggering operation in the first state, or may be different from the triggering operation in the first state; the process of recognizing and converting the second voice signal is similar to the process of recognizing and converting the first voice signal, and will not be elaborated here.
[0127] After the second reply content is displayed on the display screen of the printer, the detection of the trigger operation of the confirmation button continues. The printer detects the trigger operation of the fourth state of the confirmation button. The trigger operation of the fourth state is different from that of the third state. The target reply content is determined based on the trigger operation of the fourth state of the confirmation button and the second reply content. Among them, the trigger operation of the fourth state may be the same as that of the second state or different from that of the second state. For example, the trigger operation of the fourth state may be the same as that of the second state, that is, the duration of the trigger operation of the fourth state is less than the duration threshold.
[0128] It should be noted that the process of determining the target reply content based on the trigger operation of the fourth state of the confirmation button and the second reply content is similar to the process of determining the target reply content based on the trigger operation of the second state of the confirmation button and the first reply content, and will not be elaborated here.
[0129] In this application, the voice signal is collected and converted to obtain the target reply content for the target information, providing diverse ways to obtain the target reply content, improving the convenience of generating the target reply content, and to a certain extent, improving the timeliness of instant messaging and the efficiency of instant messaging processing. Moreover, the generated target reply content is confirmed through the confirmation button of the printer. When the generated target reply content needs to be modified, it can be modified in a timely manner through the confirmation button of the printer, which can improve the accuracy of the target reply content.
[0130] In step 260, the platform server receives the first reply message and performs a second format conversion on the first reply message to obtain a second reply message. The second format is a format recognizable by the order application.
[0131] In an exemplary embodiment of the present application, after the platform server receives the first reply message sent by the printer, it can perform a second format conversion on the first reply message. Among them, the second format may be a format recognizable by the order application. Among them, the order application contains the message format recognizable by the order application, that is, the second format. Before the server can receive the first reply message, it can obtain the relevant information of the second format. The process of the platform server performing a second format conversion on the first reply message is similar to the process of the platform server performing a first format conversion on the first instant messaging message, and will not be elaborated here.
[0132] Based on the fact that the platform server can convert the first reply message in different formats into the second reply message in the second format, the second reply message can be better processed in the subsequent process, improving the efficiency of instant messaging processing.
[0133] In step 270, the platform server sends a second reply message to the order application through the data link channel, and the order application displays the second reply message.
[0134] Exemplarily, the platform server can send a second reply message to the order application through the data link channel. Among them, the data link channel through which the platform server sends the second reply message to the order application can be the same as the data link channel through which the platform server receives the first instant messaging message. After receiving the second reply message, the order application displays the second reply message in a specified area of the order application.
[0135] In this application, by performing format conversion processing on the first instant messaging message, a second instant messaging message in a format recognizable by the printer is obtained. Based on the second instant messaging message, display target information is obtained, and the target information is displayed on the display screen. To a certain extent, the processing time of the target information can be reduced, and the processing efficiency of the instant messaging message and the user experience can be improved. By obtaining the first reply message generated for the target information, performing format conversion processing on the first reply message to obtain a second reply message, and sending the second reply message to the order application, through format conversion processing, the consistency and accuracy of the message can be improved, thereby simplifying the message processing flow and improving the message processing efficiency.
[0136] Figure 7 is a flowchart of a method for processing instant messaging messages of an order receiving device provided by an embodiment of this application. This method can be executed by Figure 1 the printer 102 in the shown implementation environment. This method includes steps 710 to step 730.
[0137] In step 710, a second instant messaging message is received. Among them, the second instant messaging message has a format recognizable by the printer connected to the platform server, and the second instant messaging message comes from the instant message transmitted by the order application through the data link channel.
[0138] In step 720, target information is displayed on the display screen of the printer, and the target information is obtained based on the second instant messaging message.
[0139] In step 730, the printer obtains the target reply content for the target information, generates a first reply message based on the target reply content, sends the first reply message to the platform server. The first reply message is used by the platform server to perform a second format conversion into a second reply message recognizable by the order application, and transmits the second reply message to the order application through the data link channel, and the order application displays the second reply message.
[0140] It should be noted that steps 710 to 730 have been described in the above steps 210 to 270, and will not be elaborated here.
[0141] In this application, by performing format conversion processing on the first instant messaging message, a second instant messaging message in a format recognizable by the printer is obtained. Based on the second instant messaging message, display target information is obtained and the target information is displayed on the display screen. To a certain extent, the processing time of the target information can be reduced, and the processing efficiency of the instant messaging message and the user experience can be improved. By obtaining a first reply message generated for the target information, performing format conversion processing on the first reply message to obtain a second reply message, and sending the second reply message to the order application, through format conversion processing, the consistency and accuracy of the message can be improved, thereby simplifying the message processing flow and improving the message processing efficiency.
[0142] Figure 8 is a flowchart of a method for processing instant messaging messages of an order receiving device provided by an embodiment of this application. This method can be executed by Figure 1 the server 103 in the shown implementation environment. This method includes steps 810 to 850.
[0143] In step 810, a first instant messaging message sent by the order application through the data link channel is received. The first instant messaging message is a message associated with the target order, and the data link channel is the data link channel corresponding to the target order.
[0144] In step 820, a first format conversion is performed on the first instant messaging message to obtain a second instant messaging message. The first format is a format recognizable by the connected printer.
[0145] In step 830, the second instant messaging message is sent to the printer. The second instant messaging message is used for the printer to display the target information on the display screen of the printer, obtain the target reply content for the target information, generate a first reply message based on the target reply content, and send the first reply message. The target information is obtained based on the second instant messaging message.
[0146] In step 840, the first reply message is received, and a second format conversion is performed on the first reply message to obtain a second reply message. The second format is a format recognizable by the order application.
[0147] In step 850, the second reply message is sent to the order application through the data link channel, and the order application displays the second reply message.
[0148] It should be noted that steps 810 to 850 have been described in the above steps 210 to 270, and will not be elaborated here.
[0149] In this application, by performing format conversion processing on the first instant messaging message, a second instant messaging message in a format recognizable by the printer is obtained. Based on the second instant messaging message, display target information is obtained, and the target information is displayed on the display screen. To a certain extent, the processing time of the target information can be reduced, and the processing efficiency of the instant messaging message and the user experience can be improved. By obtaining a first reply message generated for the target information, performing format conversion processing on the first reply message to obtain a second reply message, and sending the second reply message to the order application, through format conversion processing, the consistency and accuracy of the message can be improved, thereby simplifying the message processing flow and improving the efficiency and accuracy of message processing.
[0150] This application also provides a processing device for instant messaging messages of an order receiving device. Figure 9 It is a schematic structural diagram of a processing device for instant messaging messages of an order receiving device provided by an embodiment of this application, as Figure 9 shown. The device includes:
[0151] A receiving module 910, configured to receive a second instant messaging message, where the second instant messaging message has a format recognizable by a printer connected to the platform server, and the second instant messaging message comes from an instant message transmitted by the order application through a data link channel.
[0152] A display module 920, configured to display target information on the display screen of the printer, where the target information is obtained based on the second instant messaging message.
[0153] An obtaining module 930, configured to obtain a target reply content for the target information and generate a first reply message based on the target reply content.
[0154] A sending module 940, configured to send the first reply message to the platform server. The first reply message is used by the platform server to perform a second format conversion into a second reply message recognizable by the order application, and transmit the second reply message to the order application through a data link channel, and the order application displays the second reply message.
[0155] In a possible implementation manner, the obtaining module 930 is configured to: the printer displays multiple alternative reply contents for the target information on the display screen; the printer determines a selected alternative reply content from the multiple alternative reply contents and uses the selected alternative reply content as the target reply content.
[0156] In a possible implementation, the printer further includes a confirmation button and at least two direction buttons, and the at least two direction buttons correspond to different selection directions; an obtaining module 930, configured to enable the printer to display a reply list for target information on a display screen, the reply list including a plurality of alternative reply contents, and the at least two direction buttons are used to select a candidate reply content from the plurality of alternative reply contents according to the corresponding selection direction, and the display manner of the candidate reply content is different from that of the unselected alternative reply contents; an obtaining module 930, configured to enable the printer to determine the currently selected candidate reply content in the reply list as the selected alternative reply content based on the triggering operation of the confirmation button.
[0157] In a possible implementation, the printer includes a plurality of physical buttons, and different physical buttons correspond to different alternative reply contents; an obtaining module 930, configured to enable the printer to determine the alternative reply content corresponding to any physical button as the selected alternative reply content based on the triggering operation of any physical button.
[0158] In a possible implementation, the display screen is a touch screen, and an obtaining module 930, configured to enable the printer to display a reply list for target information on the touch screen, the reply list including a plurality of alternative reply contents, and the reply list further includes touch options corresponding to each alternative reply content; an obtaining module 930, configured to enable the printer to determine any alternative reply content as the selected alternative reply content based on the selection of the touch option corresponding to any alternative reply content.
[0159] In a possible implementation, the obtaining module 930 is further configured to enable the printer to play a voice prompt message through a speaker of the printer, and the voice prompt message is used to prompt to select a target reply content from the plurality of alternative reply contents; or, the printer displays a text prompt message on a display screen of the printer, and the text prompt message is used to prompt to select a target reply content from the plurality of alternative reply contents.
[0160] In a possible implementation, the printer includes a confirmation button, and an obtaining module 930, configured to enable the printer to collect a first voice signal, perform voice recognition on the first voice signal to obtain a first reply content for target information; display the first reply content through a display screen, and based on the triggering operation of the confirmation button and the duration of the triggering operation being less than a duration threshold, use the first reply content as the target reply content for the target information.
[0161] In a possible implementation, the obtaining module 930 is further configured to collect a second voice signal based on a trigger operation of a confirmation button, where the duration of the trigger operation is greater than or equal to a duration threshold, perform voice recognition on the second voice signal to obtain a second reply content for the target information; display the second reply content on a display screen, and based on the trigger operation of the confirmation button, where the duration of the trigger operation is less than the duration threshold, use the second reply content as the target reply content for the target information.
[0162] In this application, by performing format conversion processing on the first instant messaging message, a second instant messaging message in a format recognizable by the printer is obtained, the display target information is obtained based on the second instant messaging message, and the target information is displayed on the display screen, which can, to a certain extent, reduce the processing time of the target information and improve the processing efficiency of instant messaging messages and the user experience. By obtaining the first reply message generated for the target information, performing format conversion processing on the first reply message to obtain a second reply message, and sending the second reply message to the order application program, through format conversion processing, the consistency and accuracy of the message can be improved, thereby simplifying the message processing flow and improving the message processing efficiency.
[0163] This application also provides a processing device for instant messaging messages of another order receiving device. Figure 10 It is a schematic structural diagram of a processing device for instant messaging messages of another order receiving device provided by an embodiment of this application, as Figure 10 shown, the device includes:
[0164] A receiving module 1001, configured to receive a second instant messaging message, where the second instant messaging message has a format recognizable by a printer connected to a platform server, and the second instant messaging message comes from an instant message transmitted by an order application program through a data link channel.
[0165] A display module 1002, configured to display target information on a display screen of the printer, where the target information is obtained based on the second instant messaging message.
[0166] An obtaining module 1003, configured to obtain a target reply content for the target information and generate a first reply message based on the target reply content.
[0167] A sending module 1004, configured to send the first reply message to the platform server, where the first reply message is used by the platform server to perform a second format conversion into a second reply message recognizable by the order application program, and transmit the second reply message to the order application program through the data link channel, and the order application program displays the second reply message.
[0168] It should be noted that Figure 10The functions of each module have been described in detail in Steps 210 to 270, and will not be elaborated here.
[0169] Figure 11 is a schematic diagram of a processing system for instant messaging of an order receiving device provided by an embodiment of the present application. The system includes a platform server and a printer.
[0170] The platform server is configured to receive a first instant messaging message sent by an order application through a data link channel. The first instant messaging message is a message associated with a target order, and the data link channel is the data link channel corresponding to the target order. The platform server is further configured to perform a first format conversion on the first instant messaging message to obtain a second instant messaging message, where the first format is a format recognizable by the printer connected to the platform server. The platform server is further configured to send the second instant messaging message to the printer. The printer is configured to receive the second instant messaging message and display target information on the display screen of the printer, where the target information is obtained based on the second instant messaging message. The printer is further configured to obtain a target reply content for the target information, generate a first reply message based on the target reply content, and send the first reply message to the platform server. The platform server is further configured to receive the first reply message, perform a second format conversion on the first reply message to obtain a second reply message, where the second format is a format recognizable by the order application. The platform server is further configured to send the second reply message to the order application through the data link channel for the order application to display the second reply message.
[0171] It should be noted that Figure 11 the interaction process between the platform server and the printer in has been described in the above Steps 210 to 270 and will not be elaborated here.
[0172] In the present application, by performing format conversion processing on the first instant messaging message to obtain a second instant messaging message in a format recognizable by the printer, and obtaining and displaying the target information based on the second instant messaging message on the display screen, the processing time of the target information can be reduced to a certain extent, and the processing efficiency of instant messaging messages and the user experience can be improved. By obtaining the first reply message generated for the target information, performing format conversion processing on the first reply message to obtain a second reply message, and sending the second reply message to the order application, the consistency and accuracy of the message can be improved through format conversion processing, thereby simplifying the message processing flow and improving the message processing efficiency.
[0173] It should be understood that when the above-provided device implements its functions, only the division of the above functional modules is used for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiments and the method embodiments belong to the same concept. For the specific implementation process, please refer to the method embodiments and will not be elaborated here.
[0174] Figure 12 The block diagram of the terminal device 1100 provided by an exemplary embodiment of the present application is shown. The terminal device 1100 can be any electronic device product that can perform human-computer interaction with the user in one or more ways such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, a smart watch, etc.
[0175] Generally, the terminal device 1100 includes a processor 1101 and a memory 1102.
[0176] The processor 1101 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 1101 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1101 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0177] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may further include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1102 is used to store at least one instruction for being executed by the processor 1101 to implement the method for processing instant messaging messages of the order receiving device provided in the method embodiments of the present application.
[0178] In some embodiments, the terminal device 1100 may further optionally include: a peripheral device interface 1103 and at least one peripheral device. The processor 1101, the memory 1102, and the peripheral device interface 1103 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1103 through a bus, signal lines, or a circuit board. Specifically, the peripheral devices include at least one of a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107, and a power supply 1108.
[0179] The peripheral device interface 1103 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, the memory 1102, and the peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102, and the peripheral device interface 1103 may be implemented on a separate chip or circuit board, and the present embodiment does not limit this.
[0180] The radio frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1104 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1104 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 1104 can communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1104 may further include a circuit related to NFC (Near Field Communication), which is not limited in this application.
[0181] The display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1105 also has the ability to collect touch signals on or above the surface of the display screen 1105. The touch signal can be input to the processor 1101 as a control signal for processing. At this time, the display screen 1105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1105, which is set on the front panel of the terminal device 1100; in other embodiments, there may be at least two display screens 1105, which are respectively set on different surfaces of the terminal device 1100 or are in a foldable design; in other embodiments, the display screen 1105 may be a flexible display screen, which is set on a curved surface or a folding surface of the terminal device 1100. Even, the display screen 1105 can be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 1105 can be prepared from materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0182] The camera component 1106 is used to collect images or videos. Optionally, the camera component 1106 includes a front camera and a rear camera. Generally, the front camera is disposed on the front panel of the terminal device 1100, and the rear camera is disposed on the back of the terminal device 1100. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth camera, a wide-angle camera, and a telephoto camera, so as to implement the function of background blurring by fusing the main camera and the depth camera, panoramic shooting by fusing the main camera and the wide-angle camera, and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera component 1106 may further include a flash. The flash may be a single-color temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.
[0183] The audio circuit 1107 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1101 for processing, or input them to the radio frequency circuit 1104 to achieve voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively disposed at different parts of the terminal device 1100. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 1107 may further include a headphone jack.
[0184] The power supply 1108 is used to supply power to each component in the terminal device 1100. The power supply 1108 may be alternating current, direct current, a primary battery or a rechargeable battery. When the power supply 1108 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charging technology.
[0185] In some embodiments, the terminal device 1100 further includes one or more sensors 1110. The one or more sensors 1110 include but are not limited to: an acceleration sensor 1111, a gyroscope sensor 1112, a pressure sensor 1113, an optical sensor 1114, and a proximity sensor 1115.
[0186] The acceleration sensor 1111 can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established by the terminal device 1100. For example, the acceleration sensor 1111 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 1101 can control the display screen 1105 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 can also be used for collecting game or user's motion data.
[0187] The gyroscope sensor 1112 can detect the body direction and rotation angle of the terminal device 1100. The gyroscope sensor 1112 can cooperate with the acceleration sensor 1111 to collect the 3D actions of the user on the terminal device 1100. Based on the data collected by the gyroscope sensor 1112, the processor 1101 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.
[0188] The pressure sensor 1113 can be disposed on the side frame of the terminal device 1100 and / or the lower layer of the display screen 1105. When the pressure sensor 1113 is disposed on the side frame of the terminal device 1100, it can detect the holding signal of the user on the terminal device 1100, and the processor 1101 can perform left - hand / right - hand identification or shortcut operations according to the holding signal collected by the pressure sensor 1113. When the pressure sensor 1113 is disposed on the lower layer of the display screen 1105, the processor 1101 can control the operable controls on the UI interface according to the pressure operation of the user on the display screen 1105. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0189] The optical sensor 1114 is used to collect the ambient light intensity. In one embodiment, the processor 1101 can control the display brightness of the display screen 1105 according to the ambient light intensity collected by the optical sensor 1114. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the display screen 1105 is decreased. In another embodiment, the processor 1101 can also dynamically adjust the shooting parameters of the camera module 1106 according to the ambient light intensity collected by the optical sensor 1114.
[0190] The proximity sensor 1115, also known as a distance sensor, is usually disposed on the front panel of the terminal device 1100. The proximity sensor 1115 is used to collect the distance between the user and the front of the terminal device 1100. In one embodiment, when the proximity sensor 1115 detects that the distance between the user and the front of the terminal device 1100 is gradually decreasing, the processor 1101 controls the display screen 1105 to switch from the lit state to the off state; when the proximity sensor 1115 detects that the distance between the user and the front of the terminal device 1100 is gradually increasing, the processor 1101 controls the display screen 1105 to switch from the off state to the lit state.
[0191] Those skilled in the art can understand that Figure 12 the structure shown in does not constitute a limitation on the terminal device 1100, and it may include more or fewer components than shown in the figure, or combine some components, or adopt different component arrangements.
[0192] Figure 13 FIG. is a schematic structural diagram of a server provided by an embodiment of the present application. The server 1200 may vary greatly due to different configurations or performances, and may include one or more processors 1201 and one or more memories 1202. Among them, at least one program code is stored in the one or more memories 1202, and the at least one program code is loaded and executed by the one or more processors 1201 to implement the processing method of instant messaging messages of the receiving device provided by each of the above method embodiments. Of course, the server 1200 may also have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input / output. The server 1200 may also include other components for implementing device functions, which will not be elaborated here.
[0193] In an exemplary embodiment, a computer-readable storage medium is also provided. At least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to enable a computer to implement the processing method of instant messaging messages of any one of the above receiving devices.
[0194] Optionally, the above computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0195] In an exemplary embodiment, a computer program or a computer program product is further provided. At least one computer instruction is stored in the computer program or the computer program product. The at least one computer instruction is loaded and executed by a processor to enable a computer to implement the method for processing instant messaging messages of any one of the above receiving devices.
[0196] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the first instant messaging message, the second instant messaging message, the target reply content, the first reply message, the second reply message, etc. involved in this application are all obtained under sufficient authorization.
[0197] It should be understood that the "plurality" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0198] The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for processing instant messaging messages of an order receiving device, characterized in that: The method comprises: After the platform server receives the user's order, the platform server receives a first instant messaging message sent by the order application of the user through the data link channel, wherein the first instant messaging message is a message associated with the target order, and the first instant messaging message is a supplementary explanation of the target order by the ordering user or a question about the target order; The platform server sends a second instant messaging message in a format recognizable by the printer obtained based on the first instant messaging message to the printer; The printer determines target information to be displayed on the display screen of the printer based on the received second instant messaging message; The printer obtains target reply content for the target information, wherein the target reply content is determined from candidate reply contents based on a button trigger of the printer or a touch screen of the printer being touched, or the target reply content for the target information is obtained by collecting a first voice signal and performing voice recognition on the first voice signal, a first reply message is generated based on the target reply content, and the first reply message is sent to the platform server; The platform server obtains a second reply message in a format recognizable by the order application based on the received first reply message; The platform server sends the second reply message to the order application, and the order application displays the second reply message to the user as a reply to the first instant messaging message associated with the target order.
2. A method for processing instant messaging messages of an order receiving device, characterized in that: The method comprises: Receiving a second instant messaging message, wherein the second instant messaging message has a format recognizable by a printer connected to the platform server, the second instant messaging message is obtained from the first instant messaging message, and the first instant messaging message is a supplementary description of the ordering user to the target order generated by the order application program at the user end or a question about the target order; Displaying target information on a display screen of the printer, the target information being obtained based on the second instant messaging message; The printer obtains target reply content for the target information, wherein the target reply content is determined from alternative reply content based on a button trigger of the printer or based on touching the touch display screen of the printer, or is obtained by collecting a first voice signal and performing voice recognition on the first voice signal; a first reply message is generated based on the target reply content, and the first reply message is sent to the platform server, the first reply message is used to obtain a second reply message in a format recognizable by the order application, and the second reply message is transmitted to the order application, and the order application displays the second reply message to the user as a reply to the first instant messaging message associated with the target order.
3. The method according to claim 1 or 2, characterized in that: The printer obtains target reply content for the target information, including: The printer displays a plurality of candidate reply contents for the target information on the display screen; The printer determines a selected candidate reply content from the plurality of candidate reply contents, and uses the selected candidate reply content as the target reply content.
4. The method according to claim 3, characterized in that The printer further includes a confirmation button and at least two direction buttons, wherein the at least two direction buttons correspond to different selection directions; the printer displays a plurality of alternative reply contents for the target information on the display screen, including: The printer displays a reply list for the target information on the display screen, the reply list includes the multiple candidate reply contents, the at least two direction keys are used to select candidate reply contents from the multiple candidate reply contents according to corresponding selection directions, and the display mode of the candidate reply contents is different from the display mode of unselected candidate reply contents; The printer determines a selected candidate reply content from the plurality of candidate reply contents, including: The printer determines the currently selected candidate reply content in the reply list as the selected candidate reply content based on the triggering operation of the confirmation button.
5. The method according to claim 3, characterized in that: The printer includes a plurality of physical buttons, and different physical buttons correspond to different alternative reply contents; The printer determines a selected candidate reply content from the plurality of candidate reply contents, including: The printer determines, based on a triggering operation of any physical key, that the candidate reply content corresponding to the any physical key is the selected candidate reply content.
6. The method according to claim 3, characterized in that The display screen is a touch screen, and the printer displays a plurality of alternative reply contents for the target information on the display screen, including: The printer displays a reply list for the target information on the touch screen, the reply list including the multiple candidate reply contents, and the reply list also including touch options corresponding to each candidate reply content; The printer determines a selected candidate reply content from the plurality of candidate reply contents, including: The printer determines that any one of the candidate reply contents is the selected candidate reply content based on that a touch option corresponding to any one of the candidate reply contents is selected.
7. The method according to claim 3, characterized in that Before the printer determines the selected candidate reply content from the plurality of candidate reply contents, the printer further includes: The printer plays voice prompt information through a speaker of the printer, wherein the voice prompt information is used to prompt the user to select the target reply content from the multiple candidate reply contents; Alternatively, the printer displays text prompt information on a display screen of the printer, where the text prompt information is used to prompt the user to select the target reply content from the multiple candidate reply contents.
8. The method according to claim 1 or 2, characterized in that: The printer includes a confirmation button, and the printer obtains target reply content for the target information, including: The printer collects a first voice signal, and obtains a first reply content for the target information by performing voice recognition on the first voice signal; The first reply content is displayed on the display screen, and based on the trigger operation of the confirmation button, and the duration of the trigger operation is less than a duration threshold, the first reply content is used as the target reply content for the target information.
9. The method according to claim 8, characterized in that After the first reply content is displayed on the display screen, the method further includes: Based on the triggering operation of the confirmation button, and the duration of the triggering operation is greater than or equal to the duration threshold, the printer collects a second voice signal, and obtains a second reply content for the target information by performing voice recognition on the second voice signal; The second reply content is displayed through the display screen, and based on the trigger operation of the confirmation button, and the duration of the trigger operation is less than the duration threshold, the second reply content is used as the target reply content for the target information.
10. A method for processing instant messaging messages of an order receiving device, characterized in that: The method comprises: After the platform server receives the user's order, the platform server receives a first instant messaging message sent by the order application of the user through the data link channel, wherein the first instant messaging message is a message associated with the target order, and the first instant messaging message is a supplementary explanation of the target order by the ordering user or a question about the target order; Sending a second instant messaging message in a format recognizable by the printer obtained based on the first instant messaging message to the printer, the second instant messaging message being used by the printer to display target information on a display screen of the printer, obtaining target reply content for the target information, generating a first reply message based on the target reply content, and sending the first reply message, the target information being obtained based on the second instant messaging message, the target reply content being determined from alternative reply contents based on a button trigger of the printer or based on a touch control of a touch display screen of the printer, or being obtained by collecting a first voice signal and performing voice recognition on the first voice signal; Obtaining a second reply message in a format recognizable by the order application based on the received first reply message; The second reply message is sent to the order application, and the order application displays the second reply message to the user as a reply to the first instant messaging message associated with the target order.
11. A device for processing instant messaging messages of an order receiving device, characterized in that: The device comprises: A receiving module, configured to receive a second instant messaging message, wherein the second instant messaging message has a format recognizable by a printer connected to the platform server, the second instant messaging message is obtained from the first instant messaging message, and the first instant messaging message is a supplementary description of the ordering user to the target order generated by the order application program at the user end or a question about the target order; A display module, configured to display target information on a display screen of the printer, wherein the target information is obtained based on the second instant messaging message; an acquisition module, used to acquire target reply content for the target information, and generate a first reply message based on the target reply content, wherein the target reply content is determined from alternative reply contents based on a key trigger of the printer or based on a touch control of a touch display screen of the printer, or is obtained by collecting a first voice signal and performing voice recognition on the first voice signal; A sending module is used to send the first reply message to the platform server, the first reply message is used to obtain a second reply message in a format recognizable by the order application, and transmit the second reply message to the order application, which displays the second reply message to the user as a reply to the first instant messaging message associated with the target order.
12. A device for processing instant messaging messages of an order receiving device, characterized in that: The device comprises: A receiving module, used to receive an order from a user, and receive a first instant messaging message sent by an order application through a data link channel, wherein the first instant messaging message is a message associated with a target order, and the first instant messaging message is a supplementary explanation of the target order by the ordering user or a question about the target order; a sending module, configured to send a second instant messaging message in a format recognizable by the printer obtained based on the first instant messaging message to the printer, the second instant messaging message being used by the printer to display target information on a display screen of the printer, obtain target reply content for the target information, generate a first reply message based on the target reply content, and send the first reply message, the target information being obtained based on the second instant messaging message, the target reply content being determined based on a button trigger of the printer or based on a touch control of a touch display screen of the printer, or being obtained by collecting a first voice signal and performing voice recognition on the first voice signal; The receiving module is further used to receive the first reply message; The sending module is also used to send a second reply message in a format recognizable by the order application based on the received first reply message to the order application, and the order application displays the second reply message to the user as a reply to the first instant messaging message associated with the target order, as a reply to the first instant messaging message associated with the target order.
13. A system for processing instant messaging messages of an order receiving device, characterized in that: The system comprises: a platform server and a printer; The platform server is used to receive a first instant messaging message sent by an order application on a user side through a data link channel after receiving an order from the user, wherein the first instant messaging message is a message associated with a target order, and the first instant messaging message is a supplementary explanation of the target order by the ordering user or a question about the target order; The platform server is further configured to send to the printer a second instant messaging message in a format recognizable by the printer obtained based on the first instant messaging message; The printer is used to determine target information displayed on the display screen of the printer based on the received second instant messaging message; The printer is further configured to determine target reply content for the target information from the alternative reply content based on a button trigger of the printer or based on a touch control of the touch display screen of the printer, or to obtain the target reply content for the target information by collecting a first voice signal and performing voice recognition on the first voice signal, generate a first reply message based on the target reply content, and send the first reply message to the platform server; The platform server is further configured to obtain, based on the received first reply message, a second reply message in a format recognizable by the order application; The platform server is also used to send the second reply message to the order application, and the order application displays the second reply message to the user as a reply to the first instant messaging message associated with the target order.
Citation Information
Patent Citations
Systems and methods for sending and receiving a task via instant messaging
US20090043857A1