A method, device, system, equipment and medium for generating indication content
The location information and indicator codes are obtained through the mobile terminal, combined with the remote screening and generation technology, the problem of the inability to give differential indication contents according to the region in the existing technology is solved, and an efficient business processing process is achieved.
Patent Information
- Application Number
- CN202210439236.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-25
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2042-04-25
AI Technical Summary
The prior art cannot give customer differences instructions based on the region, resulting in low efficiency when handling business.
Local location information is obtained through the mobile terminal, and the service-related indicator code is sent to the remote terminal. The remote terminal generates and filters the indicator content based on the indicator code and location information, and returns it to the mobile terminal for display.
It realizes dynamically generating instructions based on the user's area, improves the efficiency of business processing, and ensures that the instructions are in line with the information of the user's location.
Smart Images

Figure CN114896488B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile internet technology, and in particular to a method, device, system, equipment and medium for generating indication content. Background Art
[0002] For the same business, some areas can be solved through business outlets (offline), and some areas can only be solved online. Therefore, in order to improve the efficiency of customers in handling business, the customer's area can be located, and prompts can be sent to customers based on the instructions in the area to instruct customers to complete the business handling.
[0003] Therefore, there is a need for a method that can provide customers with different instructions for the same business based on their regions, so as to facilitate customers in handling business. Summary of the invention
[0004] In view of the above problems in the prior art, the purpose of this article is to provide a method, device, system, equipment and medium for generating indication content, so as to solve the problem in the prior art that it is impossible to provide customer-specific indication content according to regions.
[0005] In order to solve the above technical problems, the specific technical solutions of this article are as follows:
[0006] On the one hand, this document provides a method for generating indication content, which is applied to a mobile terminal and includes:
[0007] In response to a pending indication status of the service, determining an indication code according to the pending indication status;
[0008] Acquire local location information, and send the location information and the indication code to a remote end;
[0009] The indication content returned by the remote end is displayed.
[0010] As an embodiment of this invention, the waiting-for-indication state is a state in which the service is in interaction with a remote end and before receiving the remote end instruction execution step.
[0011] As an embodiment of this invention, the indication code includes the number of the service and the number of the steps for executing the service.
[0012] On the other hand, the present invention also provides an indication content generating device, which is applied to a mobile terminal and includes:
[0013] an indication code unit, configured to respond to a pending indication state of a service and determine an indication code according to the pending indication state;
[0014] A data sending unit, used for acquiring local location information, and sending the location information and the indication code to a remote end;
[0015] The display unit is used to display the indication content returned by the remote end.
[0016] On the other hand, this document also provides a method for generating indication content, which is applied to a remote end and includes:
[0017] Receiving location information and indication code sent by a mobile terminal;
[0018] determining a number of indication contents according to the indication code, and filtering the number of indication contents according to the position information;
[0019] The filtered instruction content is sent to the mobile terminal.
[0020] As an embodiment of this invention, the method for generating the indication content is as follows:
[0021] The information source takes a screenshot of the information and obtains a text entry;
[0022] Determine keywords in the text entry;
[0023] The indication content is generated according to the keyword.
[0024] As an embodiment of this invention, the information source takes a screenshot of the information and obtains a text entry, further comprising:
[0025] Determine the area where the text bar in the screenshot is located;
[0026] Projecting the area in a horizontal direction;
[0027] Determine the upper and lower bounds of each line of text within the projection;
[0028] The region is cut according to the upper boundary and the lower boundary to obtain a plurality of text strips.
[0029] As an embodiment of this invention, the step of determining the keywords in the text entry further includes:
[0030] Normalizing the text strips to obtain a number of normalized text strips;
[0031] Compressing a plurality of the standardized text strips to obtain a plurality of lightweight text strips;
[0032] The keyword is determined according to the lightweight text strip.
[0033] As an embodiment of this invention, the normalizing the text strips to obtain a plurality of normalized text strips further includes:
[0034] Convolving the normalized convolution layer with the text strip to obtain a number of normalized text strips whose height and width are reduced by half and whose number of channels is fixed;
[0035] Wherein, the normalized convolution layer includes a plurality of convolution kernels with a stride of [2, 2];
[0036] The number of channels of the normalized text strip corresponds to the number of convolution kernels.
[0037] As an embodiment of this invention, compressing the plurality of normalized text strips to obtain a plurality of lightweight text strips further includes:
[0038] Compressing the normalized text strip in height;
[0039] The number of channels of the normalized text strip is increased according to the compressed height feature to obtain the lightweight text strip.
[0040] As an embodiment of this invention, before compressing the normalized text strip in height, the method includes:
[0041] Convolving the normalized text strip with the separation convolution layer and the standard convolution layer in sequence;
[0042] According to the feature weight, each channel of the normalized text strip is assigned a weight value;
[0043] The channels whose weights are less than a threshold are weakened, the channels whose weights are greater than the threshold are strengthened, and the channels are recombined to obtain a normalized text strip.
[0044] As an embodiment of this invention, determining the keyword according to the lightweight text strip further includes:
[0045] Parsing the character string corresponding to the lightweight text strip;
[0046] The keyword in the character string is detected using a regular expression rule.
[0047] As an embodiment of this invention, the generating of indication content according to the keyword further includes:
[0048] Acquire location information associated with the keyword according to the long short-term memory network;
[0049] Marking the position information on the header of the preset indication content to obtain the indication content;
[0050] The preset indication content corresponds to the indication code.
[0051] As an embodiment of this invention, determining a plurality of indication contents according to the indication code, and filtering a plurality of indication contents according to the location information further includes:
[0052] Extracting a number of the instruction contents according to the business number and the step number of the instruction code;
[0053] The position information corresponding to the indication code is matched with the headers of several indication contents respectively to filter and obtain the indication contents.
[0054] On the other hand, the present invention also provides an indication content generating device, which is applied to a remote end and includes:
[0055] A receiving unit, used for receiving location information and indication code sent by a mobile terminal;
[0056] A query unit, used to determine a number of indication contents according to the indication code, and filter a number of the indication contents according to the location information;
[0057] The content sending unit is used to send the filtered indication content to the mobile terminal.
[0058] On the other hand, the present invention also provides an indication content generation system, comprising:
[0059] The mobile terminal is used to respond to the pending indication status of the service, determine the indication code according to the pending indication status; obtain local location information, and send both the location information and the indication code to the remote end; and display the indication content returned by the remote end;
[0060] The remote end is used to receive the location information and the indication code sent by the mobile terminal; determine a number of indication contents according to the indication code, and filter a number of the indication contents according to the location information; encode the filtered indication contents and send them to the mobile terminal;
[0061] Information source, used to display consultation.
[0062] On the other hand, this document also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any one of the methods for generating indication content is implemented.
[0063] On the other hand, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the methods for generating indication content is implemented.
[0064] By adopting the above technical scheme, the response described in this article to the service pending indication status is to determine the indication code according to the pending indication status; when the mobile terminal executes the key steps of different types of services, the code of the key steps can be called, and the local location information can be obtained by calling the location authority of the mobile terminal, and the location information and the indication code are sent to the remote end; the user's location information can be sent to the remote end, and the location information is obtained in real time. In this way, the user can avoid reducing the efficiency of business handling due to regional differences; the data packet returned by the remote end is parsed and the indication content is displayed; the user can continue to execute the key steps according to the indication content, and the indication content is the most consistent with the indication of the user's location.
[0065] In order to make the above and other purposes, features and advantages of this article more obvious and easy to understand, the following specifically cites preferred embodiments and describes them in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the technical solutions in the embodiments of this article or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of this article. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0067] Figure 1 A schematic diagram of an indication content generation system according to an embodiment of this invention is shown;
[0068] Figure 2 A schematic diagram showing the steps of a method for generating indication content applied to a mobile terminal according to an embodiment of the present invention is shown;
[0069] Figure 3 A schematic diagram showing an indication content generating device applied to a mobile terminal according to an embodiment of the present invention is shown;
[0070] Figure 4 A schematic diagram showing a method for generating indication content applied to a remote end according to an embodiment of the present invention
[0071] Figure 5 A schematic diagram showing a method for generating content indicated in an embodiment of this invention is shown;
[0072] Figure 6 A schematic diagram of the outline of the embodiment of this invention is shown;
[0073] Figure 7 A schematic diagram of determining keywords in the embodiment of this article is shown;
[0074] Figure 8 A schematic diagram of a text strip in an embodiment of this invention is shown;
[0075] Fig. 9 A schematic diagram of the text strip channel assignment process in the embodiment of this invention is shown;
[0076] Fig.10 A device for generating indication content applied to a remote end according to an embodiment of the present invention is shown;
[0077] Fig.11 A schematic diagram of a computer device according to an embodiment of the present invention is shown.
[0078] Description of the accompanying symbols:
[0079] 101. Mobile terminal;
[0080] 102, distal end;
[0081] 103. Information sources;
[0082] 301, indicator code unit;
[0083] 302. Data sending unit;
[0084] 303. Display unit;
[0085] 1001. Receiving unit;
[0086] 1002. Query unit;
[0087] 1003, content sending unit;
[0088] 1102. Computer equipment;
[0089] 1104. Processor;
[0090] 1106. Memory;
[0091] 1108. Driving mechanism;
[0092] 1111, input / output module;
[0093] 1112. Input device;
[0094] 1114. Output device;
[0095] 1116. Presentation equipment;
[0096] 1118. Graphical user interface;
[0097] 1120. Network interface;
[0098] 1122. Communication link;
[0099] 1124. Communication bus. DETAILED DESCRIPTION
[0100] The following will be combined with the drawings in the embodiments of this article to clearly and completely describe the technical solutions in the embodiments of this article. Obviously, the described embodiments are only part of the embodiments of this article, not all of the embodiments. Based on the embodiments of this article, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this article.
[0101] It should be noted that the terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0102] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0103] At present, due to the different medical strategies in various regions around the world, regions that accept tourists will be affected to varying degrees. Therefore, managers in various regions will monitor all day and send out relevant information as soon as possible. However, there is a certain delay when the information is sent from the center to each node, so a method is needed to quickly respond to information in order to provide users with the best way to handle business.
[0104] like Figure 1 A schematic diagram of an indication content generation system is shown, comprising a mobile terminal 101, a remote terminal 102 and an information source 103;
[0105] Mobile terminal 101 is used to run APP. When a user performs a certain business through APP, for the convenience of explanation, the execution of a certain business can be divided into three steps, among which the first and second steps are relatively basic steps, such as filling in fixed parameters and fixed texts, and the third step may involve steps that the user needs to cooperate with, such as personally going to a business point for authorization verification, or performing online verification. The specific operation requires information about the user's area.
[0106] In the third step, the mobile terminal 101 responds to the service pending indication state, and the APP determines the indication code according to the indication state through a specific mapping relationship; the mobile terminal 101 obtains the local location information through the location function, and sends the location information and the indication code to the remote end 102; when the remote end 102 returns a data packet, the mobile terminal 101 parses the data packet returned by the remote end 102 and displays the indication content.
[0107] It should be noted that the mobile terminal 101 in this article includes a mobile phone, a tablet or a smart wearable device. The mobile terminal 101 in this article can run on Android, Symbian, Windows or IOS operating system, which is not limited in this article.
[0108] The remote end 102 is used to receive the location information and instruction code sent by the mobile terminal 101; for example, if the mobile terminal 101 needs to execute service A, then in the remote end 102, there are several instruction contents for responding to service A, which may include instructions for the user to go to a certain place, instructions for the user to verify the remote end 102, and instructions that the service cannot be processed. Determine several instruction contents according to the instruction code, and filter several instruction contents according to the location information; in this article, the location information may include the location coordinates of the mobile terminal 101, or it may be the large-scale coordinates of the community, street, district, county, etc. where the mobile terminal 101 is located; encode the filtered instruction content and send it to the mobile terminal 101. In order to protect privacy, the remote end 102 can encode the instruction content and send it to the mobile terminal 101. The specific encoding rules can be determined by different versions of the APP. In order to save transmission time, the instruction content can also be compressed and encoded and sent to the mobile terminal 101.
[0109] The information source 103 is used to connect to the information release system of the community, street, district, or county where the mobile terminal 101 is located. The information source 103 can instantly receive various information, which can be non-reproducible content or reproducible content. When the information is non-reproducible content, the remote end can take a screenshot of the content and recognize the screenshot content through OCR technology.
[0110] The consultation usually includes information about the location of each place.
[0111] It should be noted that text is one of the most important sources of information for humans, and natural scenes are full of various text symbols. Optical character recognition (OCR) refers to the process of examining characters printed on paper or images collected by other devices, determining their shapes by detecting dark and light patterns, and then translating the shapes into computer text through character recognition methods.
[0112] Since information in different regions updates quickly, the existing technology is unable to provide differentiated instructions to customers based on region, resulting in low efficiency for users when handling business and affecting users' favorable impression of the operator.
[0113] In order to solve the above problems, the embodiment of this article provides a method for generating indication content, which can provide different indication contents for customers according to regions. Figure 2 This is a schematic diagram of the steps of a method for generating indication content applied to a mobile terminal provided in an embodiment of this invention. This specification provides method operation steps as described in the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or device product is executed, it can be executed in the order or in parallel according to the method shown in the embodiment or the accompanying drawings. Specifically, Figure 2 As shown, the method may include:
[0114] Step 201: In response to a pending indication status of a service, determine an indication code according to the pending indication status.
[0115] Step 202: Acquire local location information, and send the location information and the indication code to a remote end.
[0116] Step 203: Display the instruction content returned by the remote end.
[0117] By adopting the above technical scheme, the response described in this article to the service pending indication status is to determine the indication code according to the pending indication status; when the mobile terminal executes the key steps of different types of services, the code of the key steps can be called, and the local location information can be obtained by calling the location authority of the mobile terminal, and the location information and the indication code are sent to the remote end; the user's location information can be sent to the remote end, and the location information is obtained in real time. In this way, the user can avoid reducing the efficiency of business handling due to regional differences; the indication content returned by the remote end is displayed; the user can continue to execute the key steps according to the indication content, and the indication content is the information indication that best matches the user's location.
[0118] It should be noted that the method for generating indication content in this article can be used in the financial field, and can also be used in any field other than the financial field. The application field of the method for generating indication content in this article is not limited.
[0119] As an embodiment of this invention, the waiting-for-indication state is a state in which the service is in interaction with a remote end and before receiving the remote end instruction execution step.
[0120] In this step, it should be noted that the pending indication state in this article is a state in which the user stops executing a certain step in the service. For example, when the mobile terminal performs identity authentication, password verification is required, which can be called the pending indication state, or when the mobile terminal performs login code verification, it can also be called the pending indication state. In the service pending indication state, the mobile terminal needs to obtain remote instructions or indication content before it can complete this step or execute the next step. For the same service, at least one pending indication state may appear, and this article only gives the process of solving one pending indication state. When the second, third and fourth pending indication states appear, technical personnel in this field can execute the corresponding methods in sequence according to the contents of this article. This article does not limit the number of pending indication states for a service.
[0121] As an embodiment of this invention, the indication code includes the number of the service and the number of the steps for executing the service.
[0122] It should be noted that the indication code in this article can be composed of an array of different lengths or an array of the same length. The array can represent different service indication states. For example, the code of the service is 23, and the steps of the service are composed of 3 parts, among which the third step has a service indication state, so the indication code can include codes such as [23-3...].
[0123] It should be noted that the mobile terminal can obtain local location information through the user's active authorization. Of course, the active authorization in this article should always be turned on. When the local location information cannot be obtained, for example, when the signal of the mobile terminal is poor or the user turns off the active authorization, the content of the location acquisition failure can be displayed to the user. After the local location signal of the mobile terminal is successfully obtained, the location information will be sent.
[0124] In the process of sending the location information and indication code to the remote end, in order to facilitate the recognition of the code, the format of the code can be unified. For example, the code of the service is 23, and the steps of the service are composed of 3 parts, among which the third step is that the service is in a pending indication state, and the area is Beijing. The digits of the Beijing address can be entered into the end of the indication code. In this article, the Beijing address can be 110, so the indication code with the location information added can be [23-3-...-110]. The specific content of the indication code is not limited in this article. Those skilled in the art can deform the code structure of the indication code and the location information as needed to obtain better results, which will not be repeated in this article.
[0125] It should be noted that the instruction content in this article may be encrypted, and the specific encryption method, or the method for generating and cracking the secret key, may be agreed upon when the APP is generated. Moreover, the encryption method and decryption method may be changed when the APP is updated to enhance the security of the instruction content.
[0126] like Figure 3 A schematic diagram of an indication content generating device applied to a mobile terminal is shown, which is applied to a mobile terminal and includes:
[0127] An indication code unit 301, configured to determine an indication code according to the pending indication state in response to the pending indication state of the service;
[0128] The data sending unit 302 is used to obtain local location information and send the location information and the indication code to a remote end;
[0129] The display unit 303 is used to display the indication content returned by the remote end.
[0130] By adopting the above technical scheme, the response described in this article to the service pending indication status is to determine the indication code according to the pending indication status; when the mobile terminal executes the key steps of different types of services, the code of the key steps can be called, and the local location information can be obtained by calling the location authority of the mobile terminal, and the location information and the indication code are sent to the remote end; the user's location information can be sent to the remote end, and the location information is obtained in real time. In this way, the user can avoid reducing the efficiency of business handling due to regional differences; the indication content returned by the remote end is displayed; the user can continue to execute the key steps according to the indication content, and the indication content is the information indication that best matches the user's location.
[0131] like Figure 4 A schematic diagram of a method for generating indication content applied to a remote end is shown, which is applied to a remote end and includes:
[0132] Step 401: Receive location information and an indication code sent by a mobile terminal.
[0133] Step 402: determine a plurality of indication contents according to the indication code, and filter the plurality of indication contents according to the location information.
[0134] Step 403: Send the filtered instruction content to the mobile terminal.
[0135] By adopting the above technical scheme, the location information and indication code sent by the mobile terminal are received as described in this article; when the mobile terminal executes the key steps of different types of services, the service waiting indication status of the mobile terminal can be responded to, and the location information from the mobile terminal can be received, and a number of indication contents can be determined according to the indication code, and a number of indication contents can be filtered according to the location information. The remote end realizes calling a number of indication contents according to the indication code, and through the location information of the mobile terminal, the remote end can filter out the indication content that best matches the information of the area where the mobile terminal is located; the filtered indication content is encoded and sent to the mobile terminal.
[0136] It should be noted that the mobile terminal in this article may have multiple services, and there are at least two corresponding indication contents for each service in the remote end. Therefore, the two indication contents can respectively deal with two situations of information.
[0137] like Figure 5 The schematic diagram of the method for generating the indication content is shown as an embodiment of this invention. The method for generating the indication content is:
[0138] Step 501: The information source takes a screenshot of the information and obtains a text entry.
[0139] In this step, the screenshot can be obtained by the remote operation and maintenance personnel. Because there may be problems with the coloring of the text in the screenshot, the colored fonts need to be converted to black and white.
[0140] For the sake of convenience of explanation, the consultation can be used as the foreground, and the content other than the information can be used as the background. In order to eliminate the background so that the obtained text bar has no space characters and increase the beauty of the indicated content, this can be achieved by determining the position of the foreground, specifically: determining the area where the text bar is located in the screenshot.
[0141] The step of determining the area where the text bar in the screenshot is located further includes:
[0142] Converting the screenshot into a grayscale image;
[0143] According to the grayscale threshold, the grayscale image is binarized to obtain a black and white image;
[0144] Detecting contour lines in the black and white image;
[0145] The contour area is calculated according to the contour line, and the area with the largest contour area is taken as the area where the text strip is located.
[0146] like Figure 6As shown in the contour diagram, in this article, the screenshot rectangle of the operator and the two sides of the foreground can be regarded as a contour line. This contour line forms a larger area, which can be regarded as the contour area to be detected. The area composed of the remaining contour lines is regarded as the interference contour area. In this article, the contour area can be calculated by the area calculation method to distinguish the contour area to be detected and the interference contour area.
[0147] After confirming the area where the text strip is located;
[0148] Projecting the area in a horizontal direction;
[0149] Determine the upper and lower bounds of each line of text within the projection;
[0150] The region is cut according to the upper boundary and the lower boundary to obtain a plurality of text strips.
[0151] Through the above method, the efficiency of operation and maintenance personnel in importing information to the remote end can be further improved. At the remote end, the method of recording and uploading the relevant information of the instruction content by taking screenshots is relatively convenient and quick. Moreover, this process does not require professional operation and maintenance personnel to write the relevant information of the instruction content to the remote end in the form of code. Only a device with screenshot or camera is needed to upload the instruction content, which is convenient for the release of the instruction content.
[0152] Step 502: Determine the keywords in the text entry.
[0153] like Figure 7 The keyword determination diagram, in this step, also includes step 701, normalizing the text entry to obtain a plurality of normalized text entries.
[0154] like Figure 8 The schematic diagram of the text strip is shown. For the convenience of explanation, in this article, the text strip can be similar to a rectangle. The text strip can be characterized by three parameters: height H, width W and number of channels C, where the height is the height of each line of text strip, the width is the distance from the leftmost to the rightmost of each line of text strip, and the number of channels is the color of the text strip. When the text strip is in black and white, the number of channels is 1, and when the text strip is in RGB primary colors, the number of channels is 3.
[0155] In this step, in order to make the subsequent text strip processing uniform, different images need to be normalized in this article, and images of different heights, different bandwidths and different numbers of channels need to be unified to the same height, width and number of channels.
[0156] Convolving the normalized convolution layer with the text strip to obtain a number of normalized text strips whose height and width are reduced by half and whose number of channels is fixed;
[0157] Wherein, the normalized convolution layer includes a plurality of convolution kernels with a stride of [2, 2];
[0158] The number of channels of the normalized text strip corresponds to the number of convolution kernels.
[0159] Through this step, the keyword extraction process of this article can be more flexible to adapt to a variety of text items, and through this method, the global impact of the input text item change on the normalization model can be eliminated. In this step, the StemCNN model is used as the normalization model for normalization adjustment. After adjustment, the format of the output tensor is {16, H1, W1}, which is the number of channels of all text items.
[0160] Step 702: compress the standardized text strips to obtain a plurality of lightweight text strips. This step specifically includes:
[0161] Compressing the normalized text strip in height;
[0162] The number of channels of the normalized text strip is increased according to the compressed height feature to obtain the lightweight text strip.
[0163] Because the remote computing speed is limited, in order to speed up the remote computing speed, reduce the remote computing amount, and avoid wasting the remote computing resources, the text strip needs to be streamlined and lightweight. Because in the process of recognizing the text strip, there is a certain blank distance between each character in the text strip, and this distance is the minimum accuracy of the model recognition, so it is impossible to reduce the dimension of the text strip by squeezing two characters in the text strip. Therefore, this paper uses a specific convolutional layer with a stride of (2, 1) to convolve with the text strip multiple times to obtain a normalized text strip that is reduced by half in height H each time, until the height of the normalized text strip is 1, that is, a lightweight text strip is obtained.
[0164] like Fig. 9 The schematic diagram of the text strip channel assignment process shown in the figure includes:
[0165] Convolving the normalized text strip with the separation convolution layer and the standard convolution layer in sequence;
[0166] According to the feature weight, each channel of the normalized text strip is assigned a weight value;
[0167] The channels whose weights are less than a threshold are weakened, the channels whose weights are greater than the threshold are strengthened, and the channels are recombined to obtain a normalized text strip.
[0168] In this step, the separation convolution layer can divide the standardized text strips into several discrete text strips based on the channel, and then the standard convolution layer performs standardization on the text strips.
[0169] After obtaining several discrete text strips, the text strips are weighted according to the characteristics of the channels. In this paper, the corresponding process is performed through the SE model, which is called the Squeeze and Excitation model. The SE model explicitly models the interdependence between feature channels. The importance of each feature channel is automatically obtained through network self-learning, and then the useful features are promoted according to this importance and the features that are not very useful for the current task are suppressed.
[0170] Specifically include Squeeze operation and Excitation operation.
[0171] Squeeze operation: In the spatial dimension, the input discrete text items are After compression, the output dimension is 1×1×c2, and each two-dimensional feature channel is converted into a real number. This real number has a global receptive field to some extent, and the output dimension matches the number of input feature channels, which represents the global distribution of responses on the feature channels.
[0172] Excitation operation, which is a mechanism similar to the gate in a recurrent neural network. The weight is generated for each feature channel through a threshold, where the threshold can be preset or self-learned to explicitly model the correlation between feature channels.
[0173] Step 703: Determine the keyword according to the lightweight text strip.
[0174] Parsing the character string corresponding to the lightweight text strip;
[0175] The keyword in the character string is detected using a regular expression rule.
[0176] In this step, the text strip can be converted into a character string using a common conversion algorithm.
[0177] As an embodiment of this invention, step 503 generates indication content according to the keyword, further comprising:
[0178] The position information associated with the keyword is obtained according to the long short-term memory network.
[0179] The position information is marked on the header of the preset indication content to obtain the indication content.
[0180] The preset indication content corresponds to the indication code.
[0181] After being converted into a character string, the position information associated with the keyword is obtained according to the long short-term memory network; the position information is marked on the header of the preset indication content to obtain the indication content; wherein the preset indication content corresponds to the indication code.
[0182] It should be noted that according to the rules of information release, it can be concluded that in the information, certain specific words require special attention, such as Chinese characters for region, area or management, etc., which are usually followed by corresponding location information, such as Beijing, Shanghai or Guangzhou, etc. Through the long short-term memory network, the keywords that require special attention are selected from the characters corresponding to several words, and the subsequent positions of the keywords are recorded. Then, the location information is set in the header of the preset indication content, and the generation of the indication content can be completed. In this way, the time wasted by operation and maintenance personnel in selecting specific location information from consultations with a large number of characters can be greatly reduced, thereby improving the efficiency of generating indication content.
[0183] As an embodiment of this invention, determining a plurality of indication contents according to the indication code, and filtering a plurality of indication contents according to the location information further includes:
[0184] Extracting a number of the instruction contents according to the business number and the step number of the instruction code;
[0185] The position information corresponding to the indication code is matched with the headers of several indication contents respectively to filter and obtain the indication contents.
[0186] In this step, the operation and maintenance personnel preset several types of indication content headers. For example, in the third step corresponding to business A, the remote end is provided with a first indication content and a second indication content, wherein the first indication content and the second indication content are respectively provided with their own headers, and the headers are changed periodically. At certain moments, the header of the first indication content includes Heilongjiang, Jilin and Beijing, etc., and the second indication content includes Shanghai, Hainan and Taiwan, etc., and the location information of the mobile terminal is Beijing, then the first indication content is matched and sent to the mobile terminal.
[0187] like Fig.10 A device for generating indication content applied to a remote end is shown, comprising:
[0188] The receiving unit 1001 is used to receive the location information and indication code sent by the mobile terminal.
[0189] The query unit 1002 is used to determine a plurality of indication contents according to the indication code, and filter the plurality of indication contents according to the position information.
[0190] The content sending unit 1003 is used to send the filtered indication content to the mobile terminal.
[0191] By adopting the above technical scheme, the location information and indication code sent by the mobile terminal are received as described in this article; when the mobile terminal executes the key steps of different types of services, the service waiting indication status of the mobile terminal can be responded to, and the location information from the mobile terminal can be received, and a number of indication contents can be determined according to the indication code, and a number of indication contents can be filtered according to the location information. The remote end realizes calling a number of indication contents according to the indication code, and through the location information of the mobile terminal, the remote end can filter out the indication content that best matches the information of the area where the mobile terminal is located; the filtered indication content is encoded and sent to the mobile terminal.
[0192] The present invention also provides an indication content generation system, comprising:
[0193] The mobile terminal 101 is used to respond to the pending indication state of the service, determine the indication code according to the pending indication state; obtain local location information, and send both the location information and the indication code to the remote end; and display the indication content returned by the remote end;
[0194] The remote end 102 is used to receive the location information and indication code sent by the mobile terminal; determine a number of indication contents according to the indication code, and filter a number of the indication contents according to the location information; and encode the filtered indication contents and send them to the mobile terminal.
[0195] Information source 103 is used to display consultation.
[0196] like Fig.11 As shown, a computer device provided in an embodiment of the present invention, the computer device 1102 may include one or more processors 1104, such as one or more central processing units (CPUs), each of which may implement one or more hardware threads. The computer device 1102 may also include any memory 1106, which is used to store any kind of information such as code, settings, data, etc. Non-restrictive, for example, the memory 1106 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent a fixed or removable component of the computer device 1102. In one case, when the processor 1104 executes an associated instruction stored in any memory or a combination of memories, the computer device 1102 may perform any operation of the associated instruction. The computer device 1102 also includes one or more drive mechanisms 1108 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.
[0197] The computer device 1102 may also include an input / output module 1111 (I / O) for receiving various inputs (via input device 1112) and for providing various outputs (via output device 1114). A specific output mechanism may include a presentation device 1116 and an associated graphical user interface (GUI) 1118. In other embodiments, the input / output module 1111 (I / O), input device 1112, and output device 1114 may not be included, and the computer device 1102 may be used as a computer device in a network. The computer device 1102 may also include one or more network interfaces 1120 for exchanging data with other devices via one or more communication links 1122. One or more communication buses 1124 couple the components described above together.
[0198] The communication link 1122 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 1122 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.
[0199] Corresponds to Figure 2-Figure 6 and Figure 8 The method in this article also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are executed.
[0200] The embodiment of the present invention also provides a computer readable instruction, wherein when the processor executes the instruction, the program therein causes the processor to execute the following Figure 2-Figure 6 and Figure 8 The method shown.
[0201] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.
[0202] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0203] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this article.
[0204] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0205] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.
[0206] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.
[0207] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
[0208] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this article is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0209] Specific embodiments are used in this article to illustrate the principles and implementation methods of this article. The description of the above embodiments is only used to help understand the methods and core ideas of this article. At the same time, for general technicians in this field, according to the ideas of this article, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on this article.
Claims
1. A method for generating indication content, characterized in that: Applied to mobile terminals, including: In response to a pending indication status of the service, determining an indication code according to the pending indication status; Acquire local location information, and send the location information and the indication code to a remote end; Display the indication content returned by the remote end; The waiting indication state is the state in which the service is in interaction with the remote end and before receiving the remote end instruction execution step; the indication code includes the number of the service and the number of the step for executing the service; The instruction content is generated by the remote end, and the method for generating the instruction content includes: the information source takes a screenshot of the information and obtains a text strip; determines the keywords in the text strip; generates the instruction content based on the keywords; the information source takes a screenshot of the information and obtains the text strip, further including: determining the area where the text strip is located in the screenshot; horizontally projecting the area; determining the upper and lower boundaries of each line of text in the projection; cutting the area according to the upper and lower boundaries to obtain a number of the text strips.
2. An indication content generating device, characterized in that: Applied to mobile terminals, including: an indication code unit, configured to respond to a pending indication state of a service and determine an indication code according to the pending indication state; A data sending unit, used for acquiring local location information, and sending the location information and the indication code to a remote end; A display unit, used for displaying the indication content returned by the remote end; The waiting indication state is the state in which the service is in interaction with the remote end and before receiving the remote end instruction execution step; the indication code includes the number of the service and the number of the step for executing the service; The instruction content is generated by the remote end, and the method for generating the instruction content includes: the information source takes a screenshot of the information and obtains a text strip; determines the keywords in the text strip; generates the instruction content based on the keywords; the information source takes a screenshot of the information and obtains the text strip, further including: determining the area where the text strip is located in the screenshot; horizontally projecting the area; determining the upper and lower boundaries of each line of text in the projection; cutting the area according to the upper and lower boundaries to obtain a number of the text strips.
3. A method for generating indication content, characterized in that: Applied to remote end, including: Receiving location information and indication code sent by a mobile terminal; determining a number of indication contents according to the indication code, and filtering the number of indication contents according to the position information; Sending the filtered instruction content to the mobile terminal; The indication code includes the number of the service and the number of the step for executing the service; The method for generating the indication content is: the information source takes a screenshot of the information and obtains a text strip; determines the keywords in the text strip; and generates the indication content based on the keywords; the method for the information source taking a screenshot of the information and obtaining the text strip further includes: determining the area in the screenshot where the text strip is located; horizontally projecting the area; determining the upper and lower boundaries of each line of text in the projection; and cutting the area according to the upper and lower boundaries to obtain a number of the text strips.
4. The method for generating indication content according to claim 3, characterized in that: The determining of the keywords in the text entry further includes: Normalizing the text strips to obtain a number of normalized text strips; Compressing a plurality of the standardized text strips to obtain a plurality of lightweight text strips; The keyword is determined according to the lightweight text strip.
5. The method for generating indication content according to claim 4, characterized in that: The step of normalizing the text strips to obtain a plurality of normalized text strips further includes: Convolving the normalized convolution layer with the text strip to obtain a number of normalized text strips whose height and width are reduced by half and whose number of channels is fixed; Wherein, the normalized convolution layer includes a plurality of convolution kernels with a stride of [2, 2]; The number of channels of the normalized text strip corresponds to the number of convolution kernels.
6. The method for generating indication content according to claim 4, characterized in that: The step of compressing the plurality of standardized text strips to obtain a plurality of lightweight text strips further includes: Compressing the normalized text strip in height; The number of channels of the normalized text strip is increased according to the compressed height feature to obtain the lightweight text strip.
7. The method for generating indication content according to claim 6, characterized in that: Before compressing the normalized text strip in height, the method comprises: Convolving the normalized text strip with the separation convolution layer and the standard convolution layer in sequence; According to the feature weight, each channel of the normalized text strip is assigned a weight value; The channels whose weights are less than a threshold are weakened, the channels whose weights are greater than the threshold are strengthened, and the channels are recombined to obtain a normalized text strip.
8. The method for generating indication content according to claim 5, characterized in that: The step of determining the keyword according to the lightweight text strip further includes: Parsing the character string corresponding to the lightweight text strip; The keyword in the character string is detected using a regular expression rule.
9. The method for generating indication content according to claim 3, characterized in that: The step of generating indication content according to the keyword further includes: Acquire location information associated with the keyword according to a long short-term memory network; Marking the position information on the header of the preset indication content to obtain the indication content; The preset indication content corresponds to the indication code.
10. The method for generating indication content according to claim 3, characterized in that: The determining of a plurality of indication contents according to the indication code and screening of a plurality of indication contents according to the location information further includes: Extracting a number of the instruction contents according to the business number and the step number of the instruction code; The position information corresponding to the indication code is matched with the headers of several indication contents respectively to filter and obtain the indication contents.
11. An indication content generating device, characterized in that: Applied to remote end, including: A receiving unit, used for receiving location information and indication code sent by a mobile terminal; A query unit, used to determine a number of indication contents according to the indication code, and filter a number of the indication contents according to the location information; A content sending unit, used for sending the filtered indication content to the mobile terminal; The indication code includes the number of the service and the number of the step for executing the service; The remote end generates the instruction content: the information source takes a screenshot of the information and obtains a text strip; determines the keywords in the text strip; and generates the instruction content based on the keywords; wherein the information source takes a screenshot of the information and obtains the text strip, further comprising: determining the area in the screenshot where the text strip is located; horizontally projecting the area; determining the upper and lower boundaries of each line of text in the projection; and cutting the area according to the upper and lower boundaries to obtain a number of the text strips.
12. A system for generating indication content, characterized in that: include: A mobile terminal, used to respond to a pending indication state of a service, determine an indication code according to the pending indication state; obtain local location information, and send both the location information and the indication code to a remote end; and display the indication content returned by the remote end; the pending indication state is a state in which the service is in interaction with the remote end and before receiving the remote end instruction execution step; the indication code includes the number of the service and the number of the step for executing the service; The remote end is used to receive the location information and indication code sent by the mobile terminal; Determine a number of indication contents according to the indication code, and filter a number of the indication contents according to the location information; Encoding the filtered indication content and sending it to the mobile terminal; Information source, used to display consultation; The remote end generates the instruction content: the information source takes a screenshot of the information and obtains a text strip; Determine keywords in the text entry; generating the instruction content according to the keyword; The method of taking a screenshot of information and obtaining text strips by the information source further includes: determining the area in the screenshot where the text strip is located; projecting the area horizontally; determining the upper and lower boundaries of each line of text in the projection; and cutting the area according to the upper and lower boundaries to obtain a plurality of the text strips.
13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for generating indication content as described in any one of claims 1 or 3-10 is implemented.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating indication content according to any one of claims 1 or 3-10 is implemented.
Citation Information
Patent Citations
Information processing system, equipment and method
CN101742477A
Content item data playing method and device, computer equipment and storage medium
CN112235609A