Method, device and system for processing instant messaging message of order receiving equipment
By displaying and editing instant messaging messages on the printer, the problem of merchants processing user messages in a timely manner is solved, and more efficient message processing and consistent display are achieved.
Patent Information
- Application Number
- CN202510686090.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2025-09-05
AI Technical Summary
In the prior art, businesses need to rely on mobile phones to process users' instant messaging messages, resulting in poor timeliness in processing instant messaging messages.
The platform server converts the user's instant messaging message into a format recognizable by the printer, and displays the target information on the printer screen. The merchant edits the reply content through the printer, generates and sends the reply message to the platform server, and finally the reply message is displayed by the order application.
It improves the processing efficiency and consistency of instant messaging messages, simplifies the message processing process, and enhances the user experience.
Smart Images

Figure CN120602449A_ABST
Abstract
Description
[0001] This application is a divisional application of the patent application with the application date of March 4, 2024, application number CN202410245464.2, and invention name “Method, device and system for processing instant messaging messages of order-taking equipment”. Technical Field
[0002] The embodiments of the present application relate to the field of Internet technology, and in particular to a method, device, and system for processing instant messaging messages of an order-taking device. Background Art
[0003] With the continuous development of Internet technology, the use of food delivery services is becoming more and more popular. Users can place orders online through terminals. After the merchant's printer receives the user's order, it prints the user's order and processes it accordingly.
[0004] In related technologies, printers can only be used to receive and print orders. For instant messaging (IM) messages regarding user orders, merchants often rely on mobile phones to receive and respond to them. Mobile phones are small, portable, and generally intended for single-person use, making them less responsive to IM messages. Summary of the Invention
[0005] The present invention provides a method, device, and system for processing instant messaging messages on an order-taking device to improve the efficiency of instant messaging message processing. The technical solution is as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for processing instant messaging messages of an order-taking device, the method comprising:
[0007] After the platform server receives the user's order, the platform server receives a first instant messaging message sent by the user's order application through the data link channel. The first instant messaging message is a message associated with the target order and is a supplementary explanation of the target order or a question regarding the target order from the ordering user.
[0008] 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;
[0009] The printer determines target information to be displayed on the printer display screen based on the received second instant messaging message;
[0010] The printer obtains target reply content for the target information, where the target reply content is the message content edited by the merchant through the printer;
[0011] Generate a first reply message based on the target reply content, and send the first reply message to the platform server;
[0012] The platform server obtains a second reply message in a format recognizable by the order application based on the received first reply message;
[0013] The platform server sends the second reply message to the order application, and the order application displays the second reply message as a reply to the first instant messaging message associated with the target order.
[0014] In a second aspect, an embodiment of the present application provides a method for processing instant messaging messages of an order-taking device, the method comprising:
[0015] 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 being derived from the first instant messaging message, the first instant messaging message being a supplementary explanation or inquiry regarding a target order generated by an order application program on the user side from the ordering user;
[0016] displaying target information on a display screen of the printer, the target information being obtained based on the second instant messaging message;
[0017] The printer obtains target reply content for the target information. The printer obtains target reply content for the target information, and the target reply content is the message content edited by the merchant through the printer; 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. The order application displays the second reply message as a reply to the first instant messaging message associated with the target order.
[0018] In a third aspect, an embodiment of the present application provides a method for processing instant messaging messages of an order-taking device, the method comprising:
[0019] After the platform server receives the user's order, 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 is a supplementary explanation of the target order or a question about the target order from the ordering user.
[0020] 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 printer obtaining target reply content for the target information, the target reply content being message content edited by the merchant via the printer;
[0021] Obtaining a second reply message in a format recognizable by the order application based on the received first reply message;
[0022] The second reply message is sent to the order application, and the order application displays the second reply message as a reply to the first instant messaging message associated with the target order.
[0023] In a fourth aspect, an embodiment of the present application provides a device for processing instant messaging messages of an order-taking device, the device comprising:
[0024] 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 being derived from a first instant messaging message, the first instant messaging message being a supplementary explanation or inquiry regarding a target order generated by an order application program on the user side by the ordering user;
[0025] a display module, configured to display target information on a display screen of the printer, the target information being obtained based on the second instant messaging message;
[0026] an acquisition module, configured to acquire target reply content for the target information, and generate a first reply message based on the target reply content, wherein the printer acquires the target reply content for the target information, wherein the target reply content is the message content edited by the merchant through the printer;
[0027] 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.
[0028] In a fifth aspect, an embodiment of the present application provides a device for processing instant messaging messages of an order-taking device, the device comprising:
[0029] a receiving module, configured to receive an order from a user and receive a first instant messaging message sent by the order application via a data link channel, wherein the first instant messaging message is a message associated with a target order and is a supplementary explanation of the target order or a question regarding the target order from the ordering user;
[0030] 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 obtained by the printer for the target information, the target reply content being message content edited by the merchant via the printer;
[0031] The receiving module is further configured to receive the first reply message;
[0032] 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 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.
[0033] In a sixth aspect, an embodiment of the present application provides a system for processing instant messaging messages of an order-taking device, the system comprising a platform server and a printer:
[0034] The platform server is configured to receive, after receiving an order from a user, a first instant messaging message sent by an order application via a data link channel, wherein the first instant messaging message is a message associated with a target order and is a supplementary explanation of the target order or a question regarding the target order from the ordering user;
[0035] The platform server is further 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;
[0036] The printer is configured to determine target information to be displayed on the printer display screen based on the received second instant messaging message;
[0037] The printer is further configured to edit the content of a first reply message based on triggering by a button of the printer or by touching the touch screen of the printer, wherein the content of the first reply message is the message content edited by the merchant via the printer, generate a first reply message based on the target reply content, and send the first reply message to the platform server;
[0038] 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;
[0039] The platform server is further configured to send the second reply message to the order application via the data link channel, and the order application displays the second reply message.
[0040] In the seventh aspect, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to enable the computer device to implement any of the above-mentioned methods for processing instant messaging messages of the order-taking device.
[0041] In the eighth aspect, a computer-readable storage medium is also provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable the computer to implement any of the above-mentioned methods for processing instant messaging messages of the order-taking device.
[0042] In the ninth aspect, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable the computer to implement any of the above-mentioned methods for processing instant messaging messages of the order-taking device.
[0043] The technical solutions provided by the embodiments of the present application bring at least the following beneficial effects:
[0044] This application converts the format of a first instant messaging message into a second instant messaging message in a format recognizable by the printer, obtains display target information based on the second instant messaging message, and displays the target information on the display screen. The merchant edits the message content through the printer to form a target reply content for the target information, which can reduce the processing time of the target information to a certain extent, improve the processing efficiency of instant messaging messages and user experience. By obtaining a first reply message generated for the target information and converting the format of the first reply message into a second reply message, and sending the second reply message to the order application, the format conversion process can improve the consistency and accuracy of the message, thereby simplifying the message processing process and improving the efficiency of message processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0046] Figure 1 This is a schematic diagram of an implementation environment of a method for processing instant messaging messages of an order-taking device provided in an embodiment of the present application;
[0047] Figure 2 This is a flow chart of a method for processing instant messaging messages of an order-taking device provided in an embodiment of the present application;
[0048] Figure 3 This is a schematic diagram of determining the selected alternative reply content provided by an embodiment of the present application;
[0049] Figure 4 This is another schematic diagram of determining the selected alternative reply content provided by an embodiment of the present application;
[0050] Figure 5 This is a schematic diagram of another method of determining selected alternative reply content provided by an embodiment of the present application;
[0051] Figure 6 This is a schematic diagram of determining target reply content provided by an embodiment of the present application;
[0052] Figure 7 This is a flowchart of a method for processing instant messaging messages of an order-taking device provided in an embodiment of the present application;
[0053] Figure 8 This is a flowchart of a method for processing instant messaging messages of an order-taking device provided in an embodiment of the present application;
[0054] Figure 9 This is a schematic diagram of the structure of an instant messaging message processing device of an order-taking device provided in an embodiment of the present application;
[0055] Figure 10 This is a structural diagram of an instant messaging message processing device of another order-taking device provided in an embodiment of the present application;
[0056] Figure 11 This is a schematic diagram of an instant messaging message processing system for an order-taking device provided in an embodiment of the present application;
[0057] Figure 12 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0058] Figure 13 This is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0060] It should be noted that the terms "first," "second," and the like in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0061] Figure 1 This is a schematic diagram of an implementation environment of a method for processing instant messaging messages of an order-taking device provided in an embodiment of the present application. Figure 1 As shown, the implementation environment includes: a terminal device 101 , a printer 102 and a server 103 .
[0062] Terminal device 101 may be a user's terminal device, and an order application may be installed and running on terminal device 101. The order application installed and running on terminal device 101 may be used to generate user orders. Printer 102 may be used to receive and display orders generated by terminal device 101 and messages sent by users, and to process the orders and messages sent by users. Alternatively, printer 102 may be an integrated device, i.e., a printer integrated with an order-taking device. Alternatively, printer 102 may be a standalone device. In this case, printer 102 is in communication with the order-taking device.
[0063] Server 103 provides backend services for the order application installed on terminal device 101 and printer 102. In one possible implementation, server 103 performs primary computing tasks, while terminal device 101 and printer 102 perform secondary computing tasks. Alternatively, server 103 performs secondary computing tasks, while terminal device 101 and printer 102 perform primary computing tasks. Alternatively, terminal device 101, printer 102, and server 103 utilize a distributed computing architecture for collaborative computing.
[0064] Optionally, the terminal device 101 may be any electronic device capable of human-computer interaction with a user through one or more methods such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. For example, the terminal device 101 may be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, PC (Personal Computer), mobile phone, PDA (Personal Digital Assistant), wearable device, PPC (Pocket PC), smart car computer, smart TV, etc. The printer 102 may be an electronic product with printing, information display, and information processing functions.
[0065] The terminal device 101 and printer 102 may generally refer to one of multiple terminal devices and printers. This embodiment uses a terminal device as an example. Those skilled in the art will appreciate that the number of terminal devices or printers may be greater or lesser. For example, there may be only one terminal device 101 or printer 102, or there may be dozens, hundreds, or even more terminal devices 101 or printers 102. This embodiment of the application does not limit the number or device type of the terminal devices 101 and printers 102.
[0066] The server 103 is a single server, or a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in the embodiments of the present application. The server 103 is directly or indirectly connected to the terminal device 101 and the printer 102 via wired or wireless communication. The server 103 has a data receiving function, a data processing function, and a data sending function. Of course, the server 103 may also have other functions, which are not limited in the embodiments of the present application.
[0067] Those skilled in the art should understand that the above-mentioned first terminal device 101, printer 102 and server 103 are merely examples, and other existing or future terminal devices, printers or servers, if applicable to this application, should also be included in the scope of protection of this application and are included here by reference.
[0068] The embodiment of the present application provides a method for processing instant messaging messages of an order receiving device, which can be applied to the above Figure 1 In the implementation environment shown, for example, the method can be implemented by Figure 1 The terminal device 101, the printer 102 and the server 103 in the embodiment interact with each other. Take the process of interactively executing the method from the printer 102 and the server 103 as an example, as shown in FIG. Figure 2 As shown, the method includes the following steps 210 to 270.
[0069] In step 210, the platform server receives a first instant messaging message sent by the 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.
[0070] In an exemplary embodiment of the present application, the platform server may receive an order generated by an order application on a user's end via a data link channel. The user's order may include an order number and user information. Optionally, the user's order may also include, but is not limited to, the order time, order product information, payment information, discount information, merchant information, and remarks. For example, user information may include, but is not limited to, user account number, user name, user contact information, user address, etc.; merchant information may include, but is not limited to, merchant name, merchant address, etc.
[0071] After receiving a user's order, the platform server may also receive a first instant messaging message sent by the user's order application via a data link channel. The data link channel may be the same data link channel used to receive the user's order, and the first instant messaging message is associated with the target order. In other words, 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 multiple users' orders.
[0072] Exemplarily, the first instant messaging message may be the user's supplementary explanation of the target order or inquiry about the target order. For example, the first instant messaging message may include but is not limited to order detail inquiry messages, user special requirement messages, product inquiry messages or other service-related inquiry messages.
[0073] In step 220, the platform server converts the first instant messaging message into a first format to obtain a second instant messaging message, where the first format is a format recognizable by a printer connected to the platform server.
[0074] 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 platform server may parse the first instant messaging message to obtain the header fields of the first instant messaging message, and determine the format of the first instant messaging message based on the header fields. 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 this application is merely an example, and other methods may also be used to determine the format of the first instant messaging message, and this application does not limit this.
[0075] 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 converts the first instant messaging message into the first format to obtain a second instant messaging message.
[0076] For example, the format of the first instant messaging message includes, but is not limited to, text format, voice format, image format, video format, file format, and emoticon 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, convert the content of the voice message into a format that can be recognized by the printer (for example, text format), and obtain the second instant messaging message.
[0077] 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. The first format can be set based on different printer parameters. After the printer sets the first format, the relevant parameters of the set first format can be sent to the platform server. This application does not limit this.
[0078] This application is based on a platform server that can convert first instant messaging messages from different sources and in different formats into second instant messaging messages in the first format, and can better process the second instant messaging messages in subsequent processes, thereby improving the efficiency of instant messaging message processing.
[0079] In step 230 , the platform server sends a second instant messaging message to the printer.
[0080] In an exemplary embodiment of the present application, the platform server may send a second instant messaging message to the printer via a data link channel, wherein the data link channel through which the platform server sends the second instant messaging message to the printer may be different from the data link channel through which the platform server receives the first instant messaging message.
[0081] In step 240 , 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.
[0082] In an exemplary embodiment of the present application, after receiving the second instant messaging message, the printer may detect the content of the second instant messaging message and determine target information based on the detection result. The target information is the information displayed on the printer's display screen. After obtaining the target information, the target information may be displayed on the printer's display screen. The target information may be obtained based on the second instant messaging message, or the target information may be obtained based on the second instant messaging message and the target order.
[0083] In one embodiment of the present application, when a second instant messaging message includes a first instant messaging message and a target order associated with the first instant messaging message, the platform server may detect the content of the second instant messaging message. If the content of the second instant messaging message is the same as the standard format content corresponding to the target information, the second instant messaging message is used as the target information. If the content of the second instant messaging message is different from the standard format content corresponding to the target information, the second instant messaging message is subjected to standardization processing to obtain the target information. The standardization processing may include, but is not limited to, removing redundant content of the target order contained 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.
[0084] For example, when the content of the target order contained in the second instant messaging message contains redundant target order content compared to the standard format content corresponding to the target information, the content of the target order can be filtered based on the standard format content, the standard format content corresponding to the target order can be retained, and other redundant target order content can be deleted to obtain the target information.
[0085] For another example, when the content of the target order contained in the second instant messaging message is missing compared to the standard format content, the corresponding target order can be queried through the content of the target order contained in the second instant messaging message, and the missing target order content can be obtained based on the standard format content. After supplementing the missing target order content, the target information can be obtained.
[0086] 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 contained in the second instant messaging message, and the target order information can be obtained, and the obtained target order information can be combined with the first instant messaging message and converted into standard format content to obtain the target information.
[0087] It should be noted that the standard format content corresponding to the target information can be set by the printer system or by the user based on actual usage, and this application does not impose any restrictions on this.
[0088] This application processes the second instant messaging message to obtain target information and displays the target information on the display screen of the printer, which can improve the accuracy and reliability of the content of the target information displayed by the printer, thereby improving the efficiency of message processing.
[0089] In step 250 , the printer obtains 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.
[0090] In an exemplary embodiment of the present application, the process of the printer obtaining target reply content for 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.
[0091] Exemplarily, after the printer determines multiple alternative reply contents, it can 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 can include the following situations: Situation 1, determining the selected alternative reply content based on the printer's confirmation button, at least two direction buttons, and 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 three situations will be explained below.
[0092] In the first scenario, the printer includes a confirmation button and at least two directional buttons, with the at least two directional buttons corresponding to different selection directions. The printer displays a list of responses to the target message on the display screen. The list includes multiple candidate responses. The at least two directional buttons are used to select candidate responses from the multiple candidate responses according to the corresponding selection directions. The display of the candidate responses is different from the display of unselected candidate responses. Upon triggering the confirmation button, the printer determines the currently selected candidate response in the list as the selected candidate response.
[0093] Figure 3 This is a schematic diagram of determining the selected alternative reply content provided by the embodiment of the present application. Figure 3 As shown, the printer may include a display area 301 and a button area 302, wherein the display area 301 is used to display the target information received by the printer and a reply list 303, wherein the reply list 303 includes 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 a candidate reply content from the multiple alternative reply contents in the reply list 303.
[0094] The first direction button 304 and the second direction button 305 may correspond to different selection directions in the reply list 303. For example, the first direction button 304 may indicate moving up one alternative reply content in the reply list 303, and the second direction button 305 may 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 mode of the candidate reply content is different from the display mode of the unselected alternative reply content, wherein the display mode of the candidate reply content may include but is not limited to highlighting, shading, bolding, increasing font size, and changing color. For example, Figure 3 When the trigger operation of the confirmation button 306 of the printer is detected, the candidate reply content currently selected in the reply list is determined as the selected candidate reply content.
[0095] In 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.
[0096] Figure 4 This is another schematic diagram of determining the selected alternative reply content provided by the embodiment of the present application. Figure 4 As shown, the printer may include a display area 401 and a button area 402, wherein the display area 401 is used to display the target information and reply list 403 received by the printer, and 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 406. The physical buttons 404 can be letter buttons, and the letters displayed on the letter buttons correspond to the letters in the alternative reply content, wherein 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 from the multiple alternative reply contents in the reply list 403.
[0097] For example, when a trigger operation of a letter key is detected, the alternative reply contents corresponding to the same letter in the reply list are displayed differently, and the different display methods may include but are not limited to highlighting, shading, bolding, increasing font size and changing color. Figure 4 The selected alternative reply content is displayed in shadow.
[0098] It should be noted that the present application uses letter keys as an example for illustration, and the physical keys can also be keys of other forms. For example, the physical keys can also be numeric keys, and at least one numeric key is used to associate with the alternative reply content in the reply list. The present application does not limit the form of the physical keys.
[0099] Case three, the display screen is a touch screen, and the printer displays a reply list for the target information on the touch screen. The reply list includes multiple alternative reply contents, and the reply list also includes touch options corresponding to each alternative reply content; the printer determines that any alternative reply content is the selected alternative reply content based on the touch option corresponding to any alternative reply content being selected.
[0100] Figure 5 This is another schematic diagram of determining the selected alternative reply content provided by the embodiment of the present application. Figure 5 As shown, the printer may include a display area 501, wherein the display area 501 is used to display the target information received by the printer and a reply list 502. The reply list 502 includes multiple alternative reply contents. The alternative reply contents may correspond one-to-one with touch options. The touch options may be touch areas containing alternative reply contents, and the touch areas corresponding to different alternative reply contents do not overlap. When a touch option corresponding to any alternative reply content is selected, the alternative reply content corresponding to the selected touch option may be determined as the selected alternative reply content.
[0101] Optionally, the display area 501 may further include a confirmation control 503. When any touch option corresponding to an alternative reply content is selected, the alternative reply content corresponding to the selected touch option may be displayed in a differentiated manner. The differentiated display method may be the same as that of the touch option. Figure 4 The differences are displayed in a similar way, so I will not go into details here.
[0102] Exemplarily, after the selected candidate reply content is determined, the selected candidate reply content is determined as the target reply content.
[0103] In an exemplary embodiment of the present application, a set of reply content may be pre-set in the printer, and the set of reply content may include multiple candidate reply content. Cases 1 to 3 illustrate how to determine the selected candidate reply content from multiple candidate reply content. There are also multiple cases for obtaining multiple candidate reply content, including the following: Case 4, determining multiple candidate reply content for the target information based on tag matching; Case 5, determining multiple candidate reply content for the target information based on a candidate reply content generation model.
[0104] In case 4, the set of reply contents includes commonly used reply contents and corresponding tags. The tags corresponding to the reply contents can be associated with keywords in the target information. After the printer obtains the target information, it can determine the tags corresponding to the reply contents based on the keywords in the target information and select the multiple reply contents corresponding to the tags as multiple candidate reply contents.
[0105] In case five, the target information is input into the trained alternative response content generation model. The alternative response content generation model analyzes the target information and generates multiple corresponding alternative response contents based on the previous model training results and the current target information.
[0106] It should be noted that the method of determining multiple alternative reply contents in this application is an exemplary description. Multiple alternative reply contents can also be determined by other methods, and this application does not limit this.
[0107] In addition, different situations of obtaining multiple alternative reply contents (Situation 4 and Situation 5) can be combined with different situations of determining the selected alternative reply content from multiple alternative reply contents (Situation 1 to Situation 3) to obtain different solutions. For example, based on Situation 4, multiple alternative reply contents are obtained, and any one of Situation 1, Situation 2 or Situation 3 is used to determine the selected alternative reply content from multiple alternative reply contents.
[0108] In an exemplary embodiment of the present application, the printer may also generate prompt information after providing multiple alternative reply contents.
[0109] For example, the printer can play a voice prompt through the printer's speaker, prompting the user to select a target response from multiple response options. The voice prompt can be derived based on the target information, for example, the target information can be played directly. Playing the voice prompt through the printer's speaker can improve the efficiency of processing the target information and prevent the target information from being missed.
[0110] For example, the printer displays text prompts on the printer's display screen, prompting the user to select a target response from a plurality of response options. The text prompts may include target information and a plurality of response options, and the user may select the target response from the plurality of response options. Displaying the text prompts on the printer's display screen can improve the accuracy of the target response to a certain extent.
[0111] In an exemplary embodiment of the present application, after determining the target reply content, the printer may generate a first reply message based on the target reply content and send the first reply message to the platform server.
[0112] In an exemplary embodiment of the present application, the platform server generates a corresponding first reply message by parsing the target reply content, wherein the first reply message can be a formatted message that is easy to understand and complies with the interaction standard.
[0113] Optionally, in the process of generating the first reply message based on the target reply content, information about some target orders may be added, and the added information about some target orders may be information related to the first instant messaging message.
[0114] Taking the target order as a takeaway order as an example, the target order shows that the user's taste information is "need chopped green onions", and the first instant messaging message associated with the target order is "no coriander". 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 chopped green onions, no coriander".
[0115] In another exemplary embodiment of the present application, the platform server may 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.
[0116] For example, 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 edited directly 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. This 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.
[0117] This application determines the target reply content from multiple alternative reply contents for the target information displayed on the display screen of the printer, and generates a 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 user experience.
[0118] In an exemplary embodiment of the present application, the printer includes a confirmation button, and the process of the printer obtaining the target reply content for the target information may include: the printer collects a first voice signal, and obtains the 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 triggering operation of the confirmation button, and the duration of the triggering operation is less than the duration threshold, the first reply content is used as the target reply content for the target information.
[0119] Figure 6This is a schematic diagram of determining target reply content provided by an embodiment of the present application. Figure 6 As shown, the printer may include a display area 601 and a button area 602. The display area 601 may display the target information received by the printer, and the button area 602 may include a confirmation button 604. When the printer detects a trigger operation of the confirmation button 604 in the first state, the printer collects a first voice signal, recognizes and converts the first voice signal, and displays a first reply content based on the conversion of the first voice signal in the reply area 603 of the display area 601. For example, the trigger operation in the first state may be a long press operation. When the confirmation button 604 is in the long press operation state, the collected first voice signal may be converted in real time, or after the first voice signal is collected, to obtain the first reply content.
[0120] After the first reply content is displayed on the printer's display screen, the trigger operation of the confirmation button continues to be detected. The printer detects the trigger operation of the second state of the confirmation button. The trigger operation of the second state is different from the trigger operation of the first state. The target reply content is determined based on the trigger operation of the second state of the confirmation button and the first reply content.
[0121] Taking the example of the trigger operation of the second state being less than the duration threshold, for example, the duration threshold is 2s, the trigger operation of the second state is a click operation, and the click duration is less than 2s, the first reply content displayed by the printer will be used as the target reply content for the target information.
[0122] In an exemplary embodiment of the present application, after the first reply content is displayed on the display screen, the printer can also collect a second voice signal based on the trigger operation of the confirmation button, and the duration of the trigger operation is greater than or equal to the duration threshold, and obtain the second reply content for the target information by performing voice recognition on the second voice signal; the second 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 the duration threshold, the second reply content is used as the target reply content for the target information.
[0123] After the printer's display screen displays the first reply content, it continues to detect the trigger operation of the confirmation button. The printer detects the trigger operation of the confirmation button in the third state, which is at least different from the trigger operation in the second state. Based on the trigger operation of the confirmation button in the third state, the printer collects a second voice signal, recognizes and converts the second voice signal, and obtains the second reply content. The trigger operation in the third state can be the same as or different from the trigger 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 further described here.
[0124] After the printer's display screen displays the second reply content, the printer continues to detect the trigger operation of the confirmation button. The printer detects the trigger operation of the confirmation button in the fourth state, which is different from the trigger operation in the third state. The target reply content is determined based on the trigger operation of the confirmation button in the fourth state and the second reply content. The trigger operation in the fourth state can be the same as the trigger operation in the second state, or it can be different from the trigger operation in the second state. For example, the trigger operation in the fourth state can be the same as the trigger operation in the second state, that is, the trigger operation in the fourth state is triggered for a duration less than a duration threshold.
[0125] 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.
[0126] This application obtains the target reply content for the target information by collecting and converting the voice signal, providing a variety of 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 messages and the efficiency of instant messaging message processing. In addition, the generated target reply content is confirmed by the confirmation button of the printer. When the generated target reply content needs to be modified, the target reply content can also be modified in time through the confirmation button of the printer, which can improve the accuracy of the target reply content.
[0127] In step 260, the platform server receives the first reply message, converts the first reply message into a second format, and obtains a second reply message, where the second format is a format recognizable by the order application.
[0128] In an exemplary embodiment of the present application, after receiving the first reply message sent by the printer, the platform server may convert the first reply message into a second format, where the second format may be a format recognizable by the order application. The order application includes a message format recognizable by the order application, i.e., the second format. The server may obtain relevant information in the second format before receiving the first reply message. The process by which the platform server converts the first reply message into the second format is similar to the process by which the platform server converts the first instant messaging message into the first format, and will not be further elaborated here.
[0129] This application is based on a platform server that can convert a first reply message of a different format into a second reply message of a second format, and can better process the second reply message in a subsequent process, thereby improving the efficiency of instant messaging message processing.
[0130] 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.
[0131] For example, the platform server may send a second reply message to the order application via a data link channel. The data link channel used by the platform server to send the second reply message to the order application may be the same data link channel used by the platform server to receive the first instant messaging message. After receiving the second reply message, the order application displays the second reply message in a designated area of the order application.
[0132] This application converts the format of a first instant messaging message into a second instant messaging message in a format recognizable by the printer, obtains display target information based on the second instant messaging message, and displays the target information on the display screen. The merchant edits the message content through the printer to form a target reply content for the target information, which can reduce the processing time of the target information to a certain extent, improve the processing efficiency of instant messaging messages and user experience. By obtaining a first reply message generated for the target information, converting the format of the first reply message into 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 process and improving the efficiency of message processing.
[0133] Figure 7 This is a flowchart of a method for processing instant messaging messages of an order-taking device provided in an embodiment of the present application. The method can be performed by Figure 1 The method is executed by the printer 102 in the illustrated implementation environment and includes steps 710 to 730 .
[0134] In step 710, a second instant messaging message is received, wherein 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.
[0135] In step 720, target information is displayed on a display screen of the printer, where the target information is obtained based on the second instant messaging message.
[0136] 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, and sends the first reply message to the platform server. The first reply message is used by the platform server to convert the second format 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.
[0137] It should be noted that steps 710 to 730 have been described in the above steps 210 to 270 and will not be repeated here.
[0138] This application converts the format of the first instant messaging message to obtain a second instant messaging message in a format that can be recognized by the printer, obtains display target information based on the second instant messaging message, and displays the target information on the display screen. The merchant edits the message content through the printer to form a target reply content for the target information, which can reduce the processing time of the target information to a certain extent and improve the processing efficiency and user experience of the instant messaging message. By obtaining the first reply message generated for the target information, converting the format of the first reply message to obtain the second reply message, and sending the second reply message to the order application, the consistency and accuracy of the message can be improved through the format conversion processing, thereby simplifying the message processing process and improving the efficiency of message processing.
[0139] Figure 8 This is a flowchart of a method for processing instant messaging messages of an order-taking device provided in an embodiment of the present application. The method can be performed by Figure 1 The method is executed by the server 103 in the illustrated implementation environment and includes steps 810 to 850 .
[0140] In step 810, a first instant messaging message sent by the order application through a data link channel is received, 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.
[0141] In step 820, the first instant messaging message is converted into a first format to obtain a second instant messaging message, where the first format is a format recognizable by the connected printer.
[0142] In step 830, a second instant messaging message is sent to the printer, the second instant messaging message is used by 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, where the target information is obtained based on the second instant messaging message.
[0143] In step 840, a first reply message is received, and the first reply message is converted into a second format to obtain a second reply message, where the second format is a format recognizable by the order application.
[0144] In step 850, a second reply message is sent to the order application through the data link channel, and the order application displays the second reply message.
[0145] It should be noted that steps 810 to 850 have been described in the above steps 210 to 270 and will not be repeated here.
[0146] This application converts the format of a first instant messaging message to obtain a second instant messaging message in a format recognizable by the printer, obtains display target information based on the second instant messaging message, and displays the target information on the display screen. The merchant edits the message content through the printer to form a target reply content for the target information, which can reduce the processing time of the target information to a certain extent and improve the processing efficiency and user experience of instant messaging messages. By obtaining a first reply message generated for the target information, converting the format of 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 process and improving the efficiency and accuracy of message processing.
[0147] The present application also provides a device for processing instant messaging messages of an order-taking device. Figure 9 This is a schematic diagram of the structure of an instant messaging message processing device of an order receiving device provided in an embodiment of the present application. Figure 9 As shown, the device includes:
[0148] The receiving module 910 is used 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, and the second instant messaging message comes from an instant message transmitted by the order application through a data link channel.
[0149] The display module 920 is 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.
[0150] The acquisition module 930 is configured to acquire target reply content for the target information and generate a first reply message based on the target reply content.
[0151] Sending module 940 is used to send a first reply message to the platform server. The first reply message is used by the platform server to convert the second format into a second reply message in a format 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.
[0152] In a possible implementation, the acquisition module 930 is configured to cause the printer to display multiple candidate reply contents for the target information on a display screen; the printer determines a selected candidate reply content from the multiple candidate reply contents and uses the selected candidate reply content as the target reply content.
[0153] In one possible implementation, the printer also includes a confirmation button and at least two direction buttons, and the at least two direction buttons correspond to different selection directions; an acquisition module 930 is used for the printer to display a reply list for the target information on the display screen, the reply list includes multiple alternative reply contents, and 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 method of the candidate reply contents is different from the display method of the unselected alternative reply contents; the acquisition module 930 is used for 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.
[0154] In one possible implementation, the printer includes multiple physical buttons, and different physical buttons correspond to different alternative reply contents; the acquisition module 930 is used for the printer to determine that the alternative reply content corresponding to any physical button is the selected alternative reply content based on the triggering operation of any physical button.
[0155] In one possible implementation, the display screen is a touch screen, and the acquisition module 930 is used for the printer to display a reply list for the target information on the touch screen, the reply list including multiple alternative reply contents, and the reply list also including touch options corresponding to each alternative reply content; the acquisition module 930 is used for the printer to determine that any alternative reply content is the selected alternative reply content based on the touch option corresponding to any alternative reply content being selected.
[0156] In one possible implementation, the acquisition module 930 is also used for the printer to play voice prompt information through the printer's speaker, and the voice prompt information is used to prompt the user to select a target reply content from multiple alternative reply contents; or, the printer displays text prompt information on the printer's display screen, and the text prompt information is used to prompt the user to select a target reply content from multiple alternative reply contents.
[0157] In one possible implementation, the printer includes a confirmation button and an acquisition module 930, which is used for the printer to collect a first voice signal, and obtain 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 triggering operation of the confirmation button, and the duration of the triggering operation is less than the duration threshold, the first reply content is used as the target reply content for the target information.
[0158] In one possible implementation, the acquisition module 930 is also used to trigger an operation based on a confirmation button, and the duration of the trigger operation is greater than or equal to a 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 on 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.
[0159] This application converts the format of a first instant messaging message to obtain a second instant messaging message in a format recognizable by the printer, obtains display target information based on the second instant messaging message, and displays the target information on the display screen. The merchant edits the message content through the printer to form a target reply content for the target information, which can reduce the processing time of the target information to a certain extent and improve the processing efficiency and user experience of instant messaging messages. By obtaining a first reply message generated for the target information, converting the format of 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 process and improving the efficiency of message processing.
[0160] The present application also provides another device for processing instant messaging messages of an order-taking device. Figure 10 This is a structural diagram of an instant messaging message processing device of another order-taking device provided in an embodiment of the present application. Figure 10 As shown, the device includes:
[0161] The receiving module 1001 is used 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, and the second instant messaging message comes from an instant message transmitted by the order application through a data link channel.
[0162] The display module 1002 is 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.
[0163] The acquisition module 1003 is configured to acquire target reply content for the target information and generate a first reply message based on the target reply content.
[0164] Sending module 1004 is used to send a first reply message to the platform server. The first reply message is used by the platform server to convert the second format into a second reply message in a format 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.
[0165] It should be noted that Figure 10 The functions of each module have been described in detail in steps 210 to 270 and will not be elaborated on here.
[0166] Figure 11 This is a schematic diagram of an instant messaging message processing system for an order-taking device provided in an embodiment of the present application, which includes a platform server and a printer.
[0167] The platform server is used to receive a first instant messaging message sent by the 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; the platform server is also used to perform a first format conversion on the first instant messaging message to obtain a second instant messaging message, where the first format is recognizable by a printer connected to the platform server; the platform server is also used to send a second instant messaging message to the printer; the printer is used 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; the printer is also used 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; the platform server is also used 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 recognizable by the order application; the platform server is also used to send the second reply message to the order application through the data link channel, where the order application displays the second reply message.
[0168] It should be noted that Figure 11 The interaction process between the platform server and the printer has been described in the above steps 210 to 270 and will not be repeated here.
[0169] This application converts the format of a first instant messaging message to obtain a second instant messaging message in a format recognizable by the printer, obtains display target information based on the second instant messaging message, and displays the target information on the display screen. The merchant edits the message content through the printer to form a target reply content for the target information, which can reduce the processing time of the target information to a certain extent and improve the processing efficiency and user experience of instant messaging messages. By obtaining a first reply message generated for the target information, converting the format of 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 process and improving the efficiency of message processing.
[0170] It should be understood that the above-mentioned device is merely an example of the division of the above-mentioned functional modules when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0171] Figure 12 The following is a block diagram of a terminal device 1100 provided in accordance with an exemplary embodiment of the present application. The terminal device 1100 may be any electronic device capable of human-computer interaction with a user through one or more methods, such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. Examples include a PC (Personal Computer), mobile phone, smartphone, PDA (Personal Digital Assistant), wearable device, Pocket PC (PPC), tablet computer, smart car computer, smart TV, smart speaker, smart watch, and the like.
[0172] Typically, the terminal device 1100 includes a processor 1101 and a memory 1102 .
[0173] The processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0174] Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1102 is used to store at least one instruction, which is executed by processor 1101 to implement the method for processing instant messaging messages of an order-taking device provided in the method embodiments of the present application.
[0175] In some embodiments, terminal device 1100 may optionally include a peripheral device interface 1103 and at least one peripheral device. Processor 1101, memory 1102, and peripheral device interface 1103 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 1103 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may 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.
[0176] The peripheral device interface 1103 can be used to connect at least one I / O (Input / Output)-related peripheral device 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 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0177] The RF circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF 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 user identity module card, and the like. The RF circuit 1104 can communicate with other terminal devices via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1104 may also include circuitry related to Near Field Communication (NFC), which is not limited in this application.
[0178] 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 screen display, the display screen 1105 also has the ability to collect touch signals on the surface or above the surface of the display screen 1105. The touch signal can be input as a control signal to the processor 1101 for processing. At this time, the display screen 1105 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there can be one display screen 1105, which is set on the front panel of the terminal device 1100; in other embodiments, there can be at least two display screens 1105, which are respectively set on different surfaces of the terminal device 1100 or in a folding design; in other embodiments, the display screen 1105 can be a flexible display screen, which is set on the curved surface or folding surface of the terminal device 1100. Even more, the display screen 1105 can be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0179] The camera assembly 1106 is used to capture images or videos. Optionally, the camera assembly 1106 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 1100, and the rear camera is arranged 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 of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A 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 at different color temperatures.
[0180] The audio circuit 1107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 1101 for processing, or input into the radio frequency circuit 1104 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each disposed at different locations of the terminal device 1100. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals 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 electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 1107 may also include a headphone jack.
[0181] Power supply 1108 is used to power various components in terminal device 1100. Power supply 1108 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is charged via a wired line, while a wireless rechargeable battery is charged via a wireless coil. The rechargeable battery can also support fast charging technology.
[0182] In some embodiments, the terminal device 1100 further includes one or more sensors 1110 , including but not limited to: an acceleration sensor 1111 , a gyroscope sensor 1112 , a pressure sensor 1113 , an optical sensor 1114 , and a proximity sensor 1115 .
[0183] The accelerometer 1111 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal device 1100. For example, the accelerometer 1111 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 1101 can control the display screen 1105 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 1111. The accelerometer 1111 can also be used to collect game or user motion data.
[0184] The gyroscope sensor 1112 can detect the body orientation and rotation angle of the terminal device 1100. The gyroscope sensor 1112 can work with the acceleration sensor 1111 to collect the user's 3D movements of 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 based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0185] The pressure sensor 1113 can be set 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 set on the side frame of the terminal device 1100, it can detect the user's grip signal of the terminal device 1100, and the processor 1101 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 1113. When the pressure sensor 1113 is set on the lower layer of the display screen 1105, the processor 1101 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 1105. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0186] Optical sensor 1114 is used to collect ambient light intensity. In one embodiment, processor 1101 can control the display brightness of display screen 1105 based on the ambient light intensity collected by optical sensor 1114. Specifically, when the ambient light intensity is high, the display brightness of display screen 1105 is increased; when the ambient light intensity is low, the display brightness of display screen 1105 is decreased. In another embodiment, processor 1101 can also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1114.
[0187] Proximity sensor 1115, also known as a distance sensor, is typically located on the front panel of terminal device 1100. Proximity sensor 1115 is used to detect the distance between the user and the front of terminal device 1100. In one embodiment, when proximity sensor 1115 detects that the distance between the user and the front of terminal device 1100 is gradually decreasing, processor 1101 controls display screen 1105 to switch from the screen-on state to the screen-off state. When proximity sensor 1115 detects that the distance between the user and the front of terminal device 1100 is gradually increasing, processor 1101 controls display screen 1105 to switch from the screen-off state to the screen-on state.
[0188] Those skilled in the art will understand that Figure 12 The structure shown in the figure does not constitute a limitation on the terminal device 1100, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0189] Figure 13 This is a schematic diagram of the structure of the server provided in an embodiment of the present application. The server 1200 may vary significantly due to different configurations or performance, and may include one or more processors 1201 and one or more memories 1202. The one or more memories 1202 store at least one program code, which is loaded and executed by the one or more processors 1201 to implement the instant messaging message processing methods for order-taking devices provided in the various method embodiments described above. Of course, the server 1200 may also have components such as a wired or wireless network interface, a keyboard, and input / output interfaces for input and output. The server 1200 may also include other components for implementing device functions, which are not detailed here.
[0190] In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement the method for processing instant messaging messages of any of the above-mentioned order-taking devices.
[0191] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0192] In an exemplary embodiment, a computer program or computer program product is also provided, in which at least one computer instruction is stored, and the at least one computer instruction is loaded and executed by a processor to enable the computer to implement the method for processing instant messaging messages of any of the above-mentioned order-taking devices.
[0193] 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 used 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 must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the first instant messaging message, second instant messaging message, target reply content, first reply message, second reply message, etc. involved in this application are all obtained with full authorization.
[0194] It should be understood that the term "plurality" used herein refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.
[0195] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection 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 user's order application via the data link channel. The first instant messaging message is a message associated with the target order and is a supplementary explanation of the target order or a question regarding the target order from the ordering user. 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 printer display screen based on the received second instant messaging message; The printer obtains target reply content for the target information, where the target reply content is the message content edited by the merchant through the printer; Generate a first reply message based on the target reply content, and send the first reply message 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 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 being derived from the first instant messaging message, and the first instant messaging message being a supplementary explanation or inquiry regarding a target order generated by an order application program on the user side from the ordering user; 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. The printer obtains target reply content for the target information, and the target reply content is the message content edited by the merchant through the printer; 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. The order application displays the second reply message 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 Also includes: The printer displays a plurality of alternative 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 multiple 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 including the plurality of candidate reply contents, the at least two direction keys being used to select candidate reply contents from the plurality of candidate reply contents according to corresponding selection directions, and the display manner of the candidate reply contents being different from the display manner 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 candidate reply content currently selected 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 multiple 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 a touch option 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 candidate reply content is the selected candidate reply content based on that a touch option corresponding to any candidate reply content 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 a voice prompt message through a speaker of the printer, wherein the voice prompt message 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, and further includes: 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 triggering operation of the confirmation button, and the duration of the triggering operation is less than the 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 displaying the first reply content on the display screen, the method further includes: Based on a triggering operation of the confirmation button, and the duration of the triggering operation is greater than or equal to a 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 on the display screen, and based on the triggering operation of the confirmation button, and the duration of the triggering 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 through the data link channel. The first instant messaging message is a message associated with the target order and is a supplementary explanation of the target order or a question about the target order from the ordering user. 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 printer obtaining target reply content for the target information, the target reply content being message content edited by the merchant via the printer; 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 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 being derived from a first instant messaging message, the first instant messaging message being a supplementary explanation or inquiry regarding a target order generated by an order application program on the user side by the ordering user; a display module, configured to display target information on a display screen of the printer, the target information being obtained based on the second instant messaging message; an acquisition module, configured to acquire target reply content for the target information, and generate a first reply message based on the target reply content, wherein the printer acquires the target reply content for the target information, wherein the target reply content is the message content edited by the merchant through the printer; 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.
12. A device for processing instant messaging messages of an order-taking device, characterized in that: The device comprises: a receiving module, configured to receive an order from a user and receive a first instant messaging message sent by the order application via a data link channel, wherein the first instant messaging message is a message associated with a target order and is a supplementary explanation of the target order or a question regarding the target order from the ordering user; 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, wherein the target information is obtained based on the second instant messaging message, and the printer obtains the target reply content for the target information, the target reply content being the message content edited by the merchant via the printer; The receiving module is further configured 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 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-taking device, characterized in that: The system includes: a platform server and a printer; The platform server is configured to receive, after receiving an order from a user, a first instant messaging message sent by an order application via a data link channel, wherein the first instant messaging message is a message associated with a target order and is a supplementary explanation of the target order or a question regarding the target order from the ordering user; The platform server is further 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 printer is configured to determine target information to be displayed on the printer display screen based on the received second instant messaging message; The printer is further configured to edit the content of a first reply message based on triggering by a button of the printer or by touching the touch screen of the printer, wherein the content of the first reply message is the message content edited by the merchant via the printer, 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 further configured to send the second reply message to the order application via the data link channel, and the order application displays the second reply message.