Information processing method and device
It obtains user identity information through voice interaction, uses map algorithms to calculate routes and actively calls information sampling points, solving the difficulties faced by people with limited mobility in reaching collection points and improving collection efficiency and user experience.
Patent Information
- Application Number
- CN202410352090.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-26
- Publication Date
- 2025-09-26
AI Technical Summary
Elderly people with limited mobility or middle-aged people in poor health cannot easily reach designated information collection points for collection, such as nucleic acid testing or blood sample collection.
The system obtains user identity information through voice call commands, uses pre-stored map information and multi-point shortest path algorithm to calculate and determine the target information sampling point, and actively calls or guides the user to the location. It combines Redis cache and RocketMQ message middleware to process requests to improve response efficiency.
It enables special groups to efficiently and accurately reach information sampling points for collection, reduces resource waste, and improves user experience and system response speed.
Smart Images

Figure CN120711069A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to an information processing method and device. Background Art
[0002] For some information collection points, such as nucleic acid testing sampling points and blood sample collection points, more and more elderly people with limited mobility or middle-aged people in poor health are unable to go to designated locations for collection, and there is currently no mature solution to solve this problem.
[0003] How to overcome the difficulties faced by special groups in collecting information at designated sampling points is a technical problem that needs to be solved at present. Summary of the Invention
[0004] The present application provides an information processing method and device to address the deficiencies in the prior art.
[0005] This application provides an information processing method, including:
[0006] Responding to a voice call instruction of a current user, obtaining identity information of the current user;
[0007] When the current user is determined to be a preset user based on the identity information of the current user and basic information of the current user is obtained, the basic information of the current user is sent to a first target information sampling point to actively call the first target information sampling point; wherein the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm.
[0008] According to an information processing method provided by the present application, before sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, the method further includes:
[0009] Obtaining the starting coordinates corresponding to the current user and the sampling point coordinates of multiple information sampling points;
[0010] For each information sampling point, based on pre-stored map information and a multi-point shortest path algorithm, determine the shortest path starting from the starting coordinates and passing through the coordinates of the sampling point;
[0011] A target shortest path indicating the shortest distance is determined, and an information sampling point corresponding to the target shortest path is determined as a first target information sampling point.
[0012] According to an information processing method provided by the present application, sending the basic information of the current user to a first target information sampling point to actively call the first target information sampling point includes:
[0013] The basic information of the current user and the target shortest path are sent to a first target information sampling point to actively call the first target information sampling point.
[0014] According to an information processing method provided by the present application, after obtaining the identity information of the current user in response to a voice call instruction of the current user, the method further includes:
[0015] When it is determined based on the identity information of the current user that the current user is not a preset user, a second target information sampling point is pushed to the current user; wherein the second target information sampling point is the information sampling point closest to the current user in a straight line distance.
[0016] According to an information processing method provided by the present application, after obtaining the identity information of the current user in response to a voice call instruction of the current user, the method further includes:
[0017] If it is determined based on the identity information of the current user that the current user is a preset user and the basic information of the current user has not been obtained, sending voice guidance information to guide the current user to enter the corresponding basic information;
[0018] The basic information of the current user is stored, and a voice confirmation message is sent to determine whether the current user continues to call the information sampling point.
[0019] According to an information processing method provided by the present application, after sending the basic information of the current user to a first target information sampling point to actively call the first target information sampling point, the method further includes:
[0020] In the event of a call failure, continue to send the basic information of the current user to the first target information sampling point;
[0021] If the basic information of the current user is sent to the first target information sampling point a preset number of times and the call still fails, the second target information sampling point is pushed to the current user, and a voice prompt message is sent to prompt the current user that the call fails.
[0022] According to an information processing method provided by the present application, after sending the basic information of the current user to a first target information sampling point to actively call the first target information sampling point, the method further includes:
[0023] In response to the voice completion instruction of the current user, the information collection times of the current user are updated; wherein the information collection times are used to indicate the number of times the current user successfully calls the information sampling point.
[0024] According to an information processing method provided by this application, user identity information is stored through Redis cache, and requests are processed asynchronously through RocketMQ message middleware;
[0025] The obtaining, in response to the voice call instruction of the current user, the identity information of the current user includes:
[0026] In response to a voice call instruction of the current user, query the identity information of the current user in the Redis cache, and if the identity information of the current user exists in the Redis cache, obtain the identity information of the current user;
[0027] If the identity information of the current user does not exist in the Redis cache, the voice call instruction is forwarded to the RocketMQ message middleware, the request is asynchronously processed by the RocketMQ message middleware, the identity information of the current user is obtained, and the identity information of the current user is stored in the Redis cache.
[0028] The present application also provides an information processing device, comprising:
[0029] An acquisition module, configured to acquire identity information of the current user in response to a voice call instruction of the current user;
[0030] a calling module, configured to, upon determining that the current user is a preset user based on the current user's identity information and obtaining the current user's basic information, send the current user's basic information to a first target information sampling point to actively call the first target information sampling point; wherein the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm.
[0031] The present application also provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute any of the above-mentioned information processing methods through the computer program.
[0032] The present application also provides a computer-readable storage medium, which includes a stored program, wherein the program is executed to implement any of the above-mentioned information processing methods when it is run.
[0033] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned information processing methods.
[0034] This application provides an information processing method and device that, in response to a voice call command from the current user, obtains the current user's identity information. Upon determining that the current user is a preset user based on the current user's identity information and obtaining the current user's basic information, the method and device then sends the current user's basic information to a first target information sampling point to proactively call the first target information sampling point. The first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm. Thus, this application determines user identity by obtaining the user's identity information. For pre-defined special users, the method calls the target information sampling point based on the special user's basic information, thereby resolving the difficulty faced by special groups in proactively collecting information at designated sampling points. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0037] Figure 1 is a schematic diagram of a hardware environment of an information processing method according to an embodiment of the present application;
[0038] Figure 2 This is one of the flow charts of the information processing method provided by this application;
[0039] Figure 3 It is a complete flow chart of the information processing method provided by this application;
[0040] Figure 4 It is a structural diagram of the information processing device provided by this application;
[0041] Figure 5 It is a structural diagram of the electronic device provided in this application. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising 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 devices.
[0044] According to one aspect of the embodiment of the present application, an information processing method is provided. The information processing method is widely used in smart home (Smart Home), smart home, smart home device ecology, smart home (IntelligenceHouse) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above information processing method can be applied to Figure 1 In the hardware environment shown in FIG. 1 , which is composed of a terminal device 102 and a server 104. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or the client installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.
[0045] The aforementioned network may include, but is not limited to, at least one of the following: a wired network and a wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity) and Bluetooth. The terminal device 102 may be, but is not limited to, a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing machine, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, smart curtains, smart audio and video, a smart socket, a smart speaker, a smart fresh air device, smart kitchen and bathroom equipment, smart bathroom equipment, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purifier, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.
[0046] It should be noted that for some information collection points, such as nucleic acid testing sampling points and blood sample collection points, an increasing number of elderly people with limited mobility or middle-aged people in poor health are unable to go to designated locations for collection, and there is currently no mature solution to this problem. Based on this, this application provides an information processing method to overcome the difficulties faced by special groups in collecting information at designated sampling points.
[0047] Figure 2 This is one of the flow charts of the information processing method provided by this application, such as Figure 2 As shown, the information processing method provided by this application includes:
[0048] Step 100: In response to a voice call instruction from a current user, obtain the identity information of the current user.
[0049] It should be noted that the execution subject of this embodiment is a smart home with voice interaction function, such as a smart phone, tablet computer, smart speaker, etc., which is used to realize voice interaction with the user.
[0050] Specifically, the identity information is information indicating the user's age or physical condition.
[0051] In one embodiment, the user sends a voice call instruction, such as "I want to do nucleic acid testing" or "nucleic acid appointment", which triggers the smart home to perform voiceprint recognition and identify the age information of the current user.
[0052] In another embodiment, the user sends a voice call instruction, such as "I want to do nucleic acid testing" or "nucleic acid appointment", and the camera on the smart home captures the image of the current user and compares it with the pre-stored image to determine the current user's identity information and specific age information or physical condition information.
[0053] Step 200: When the current user is determined to be a preset user based on the current user's identity information and basic information of the current user is obtained, the basic information of the current user is sent to a first target information sampling point to actively call the first target information sampling point; wherein the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm.
[0054] It should be noted that the preset user can be an elderly person, such as over 60 years old; the preset user can also be a person with limited mobility, such as a disabled person, a pregnant woman, etc. The user can store his or her identity information in advance to improve the efficiency of controlling the smart home to make active calls.
[0055] Specifically, when it is confirmed that the current user is the preset user, the basic information of the current user is obtained, such as name, age, gender, specific location, etc., so that the basic information can be sent to the information sampling point, so that the information sampling point can make targeted preparations and conduct door-to-door sampling.
[0056] It should be noted that a multi-point shortest path algorithm refers to an algorithm that finds the shortest paths between all pairs of vertices in a directed or undirected weighted graph. The following are two common multi-point shortest path algorithms: Floyd's algorithm: Using dynamic programming, it gradually finds the final shortest path by traversing intermediate nodes. Its time complexity is O(n^3), making it suitable for smaller graphs. Johnson's algorithm: Based on the idea of re-weighting, it adds a virtual node, re-weights it, and then uses the Dijkstra algorithm to solve it. Its time complexity is O(n^2logn), making it suitable for larger graphs.
[0057] Furthermore, there may be multiple information sampling points near the same user. To avoid repeated calls and waste of resources, before making an active call, it is necessary to calculate and determine the first target information sampling point based on pre-stored map information and a multi-point shortest path algorithm, that is, the information sampling point closest to the user, and at the same time calculate the shortest path from the information sampling point to the user's location to improve the efficiency of active calls.
[0058] The above is a description of the steps of the information processing method provided by this application. From the description of the above steps, it can be seen that according to the information processing method provided by this application, in response to the voice call instruction of the current user, the identity information of the current user is obtained; when the current user is determined to be a preset user based on the identity information of the current user and the basic information of the current user is obtained, the basic information of the current user is sent to the first target information sampling point to actively call the first target information sampling point, wherein the first target information sampling point is determined based on the pre-stored map information and the multi-point shortest path algorithm. It can be seen that this application realizes the judgment of the user's identity by obtaining the user's identity information. For pre-set special users, the target information sampling point is called based on the basic information of the special user, thereby solving the problem that it is difficult for special groups to actively go to the designated sampling point to collect information.
[0059] Based on the above embodiment, in this embodiment, before sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, the method further includes:
[0060] Obtaining the starting coordinates corresponding to the current user and the sampling point coordinates of multiple information sampling points;
[0061] For each information sampling point, based on pre-stored map information and a multi-point shortest path algorithm, determine the shortest path starting from the starting coordinates and passing through the coordinates of the sampling point;
[0062] A target shortest path indicating the shortest distance is determined, and an information sampling point corresponding to the target shortest path is determined as a first target information sampling point.
[0063] Specifically, the starting coordinates of the current user are obtained, which can be the user's current location or the starting point specified by the user, as well as the coordinates of multiple information sampling points, for subsequent path planning. For each information sampling point, the shortest path from the starting coordinates to this sampling point is calculated based on pre-stored map information and a multi-point shortest path algorithm (such as the Floyd algorithm or the Johnson algorithm). In this way, all possible key paths can be calculated in advance to facilitate the subsequent selection of the shortest path. Among all the calculated shortest paths, the one with the closest distance is selected as the target shortest path, and the information sampling point corresponding to this shortest path is determined as the first target information sampling point.
[0064] The information processing method provided in this embodiment determines the shortest path from the starting coordinates through the sampling point coordinates based on pre-stored map information and a multi-point shortest path algorithm, and determines the information sampling point corresponding to the target shortest path as the first target information sampling point, thereby providing an efficient and accurate path planning service.
[0065] Based on the above embodiment, in this embodiment, sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point includes:
[0066] The basic information of the current user and the target shortest path are sent to a first target information sampling point to actively call the first target information sampling point.
[0067] The information processing method provided in this embodiment sends the basic information of the current user and the target shortest path to the first target information sampling point at the same time, so as to actively call the first target information sampling point, thereby improving the efficiency of door-to-door sampling.
[0068] Based on the above embodiment, in this embodiment, after obtaining the identity information of the current user in response to the voice call instruction of the current user, the method further includes:
[0069] When it is determined based on the identity information of the current user that the current user is not a preset user, a second target information sampling point is pushed to the current user; wherein the second target information sampling point is the information sampling point closest to the current user in a straight line distance.
[0070] Specifically, if the current user's identity information determines that they are not a preset user, this indicates that they are not elderly or physically challenged and therefore cannot proactively call an information sampling point for door-to-door sampling, thus avoiding wasted resources. However, the second target information sampling point closest to the current user will be pushed to the current user. Alternatively, all information sampling points within the preset range can be pushed to the user, allowing them to select and visit an information sampling point based on their needs.
[0071] The information processing method provided in this embodiment pushes a second target information sampling point or all information sampling points within a preset range to the current user when the current user is determined not to be a preset user based on the current user's identity information, prompting the current user to go to the information sampling point on their own, thereby improving the user experience and avoiding resource waste.
[0072] Based on the above embodiment, in this embodiment, after obtaining the identity information of the current user in response to the voice call instruction of the current user, the method further includes:
[0073] If it is determined based on the identity information of the current user that the current user is a preset user and the basic information of the current user has not been obtained, sending voice guidance information to guide the current user to enter the corresponding basic information;
[0074] The basic information of the current user is stored, and a voice confirmation message is sent to determine whether the current user continues to call the information sampling point.
[0075] Specifically, if the user is identified as a preset user based on their identity information but their basic information is not available, they will not be able to proactively call the information sampling point. Voice guidance is sent to guide the user to enter the corresponding basic information and upload it to the backend system. After the information maintenance is completed, the system will confirm again whether to make an appointment for the door-to-door sampling service to avoid accidental calls.
[0076] The information processing method provided in this embodiment guides the current user to enter the corresponding basic information by sending voice guidance information, and uploads it to the background system, thereby improving the efficiency of subsequent active calls; after the information maintenance is completed, it is confirmed again whether to make an appointment for the door-to-door sampling service to avoid accidental touches.
[0077] Based on the above embodiment, in this embodiment, after sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, the method further includes:
[0078] In the event of a call failure, continue to send the basic information of the current user to the first target information sampling point;
[0079] If the basic information of the current user is sent to the first target information sampling point a preset number of times and the call still fails, the second target information sampling point is pushed to the current user, and a voice prompt message is sent to prompt the current user that the call fails.
[0080] Specifically, in the event of a call failure, the program will call multiple times at the first opportunity. If the call fails after reaching the preset number of times, the program will recommend the nearest information sampling point to the user and inform the user of the call failure.
[0081] The information processing method provided in this embodiment ensures active calling through multiple calls.
[0082] Based on the above embodiment, in this embodiment, after sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, the method further includes:
[0083] In response to the voice completion instruction of the current user, the information collection times of the current user are updated; wherein the information collection times are used to indicate the number of times the current user successfully calls the information sampling point.
[0084] Specifically, after staff visit a home to collect data, they can wake up the smart home device. For example, if a user issues a voice command, "The nucleic acid test is complete," the program will update the user's nucleic acid test record in the background, making it easier to query later. Furthermore, Redis is used to cache data, such as user information, during business processing to improve response time.
[0085] The information processing method provided in this embodiment updates the number of times the current user's information is collected to facilitate subsequent inquiries.
[0086] Based on the above embodiment, in this embodiment, the user's identity information is stored in the Redis cache, and the request is processed asynchronously through the RocketMQ message middleware;
[0087] The obtaining, in response to the voice call instruction of the current user, the identity information of the current user includes:
[0088] In response to a voice call instruction of the current user, query the identity information of the current user in the Redis cache, and if the identity information of the current user exists in the Redis cache, obtain the identity information of the current user;
[0089] If the identity information of the current user does not exist in the Redis cache, the voice call instruction is forwarded to the RocketMQ message middleware, the request is asynchronously processed by the RocketMQ message middleware, the identity information of the current user is obtained, and the identity information of the current user is stored in the Redis cache.
[0090] It should be noted that in high-concurrency scenarios, when the system receives a large number of requests (voice call instructions), it first determines whether these requests can be quickly processed through the Redis cache. For requests that can be processed through the Redis cache, the system will directly read and return data from the Redis cache to reduce direct access to the database or other backend services, thereby dispersing the request pressure and improving the system's response speed and throughput; for requests that cannot be processed through the Redis cache, RocketMQ message middleware is used for asynchronous processing. The system will send the request to the RocketMQ message middleware, convert it into a message and put it into a queue to process these requests asynchronously without blocking the main thread or affecting the user experience. The background worker thread can take the message from the queue and process it. Once the processing is completed, the result can be stored in the Redis cache for quick access by subsequent requests.
[0091] The information processing method provided in this embodiment improves response time by introducing Redis cache and RocketMQ message middleware.
[0092] Figure 3 This is a complete flow chart of the information processing method provided by this application, such as Figure 3 As shown, combined with specific application scenarios, taking the nucleic acid test of the elderly as an example, the information processing method provided by this application is explained:
[0093] 1. The user sends a voice call command "I want to do nucleic acid testing".
[0094] 2. If the person is not an elderly person, the nearest nucleic acid test site will be recommended; if the person is an elderly person, basic information will be obtained.
[0095] 3. If basic information is not obtained, guide the user to enter basic information, such as name, age, etc., upload the basic information, and actively call a third-party agency; if basic information is obtained, directly call the third-party agency.
[0096] 4. If the call is successful, wait for the nucleic acid site staff to come to collect the sample; if multiple calls fail, the user will be recommended to go to the nucleic acid site by themselves.
[0097] It should be noted that in the above process, the user's basic information can also be manually entered in advance and uploaded to the management system for maintenance; after the nucleic acid collection is completed, the number of nucleic acid collections will be updated in the system for subsequent inquiries.
[0098] The information processing device provided in the present application is described below. The information processing device described below and the information processing method described above can be referenced to each other.
[0099] Figure 4 This is a schematic diagram of the structure of the information processing device provided by this application. Figure 4 As shown, the information processing device provided by this application includes:
[0100] An acquisition module 401 is configured to acquire identity information of a current user in response to a voice call instruction of the current user;
[0101] The calling module 402 is configured to, upon determining that the current user is a preset user based on the current user's identity information and obtaining the current user's basic information, send the current user's basic information to a first target information sampling point to actively call the first target information sampling point; wherein the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm.
[0102] The information processing device provided by this application obtains the identity information of the current user in response to a voice call instruction from the current user. If the current user is determined to be a preset user based on the current user's identity information and the current user's basic information is obtained, the current user's basic information is sent to a first target information sampling point to proactively call the first target information sampling point, where the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm. Thus, the application determines the user's identity by obtaining the user's identity information. For pre-defined special users, the application calls the target information sampling point based on the special user's basic information, thereby resolving the difficulty faced by special groups in proactively collecting information at designated sampling points.
[0103] Based on the above embodiment, in this embodiment, the apparatus further includes a first determining module, specifically configured to:
[0104] Before sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, obtaining the starting coordinates corresponding to the current user and the sampling point coordinates of multiple information sampling points;
[0105] For each information sampling point, based on pre-stored map information and a multi-point shortest path algorithm, determine the shortest path starting from the starting coordinates and passing through the coordinates of the sampling point;
[0106] A target shortest path indicating the shortest distance is determined, and an information sampling point corresponding to the target shortest path is determined as a first target information sampling point.
[0107] Based on the above embodiment, in this embodiment, the calling module 402 is specifically configured to:
[0108] The basic information of the current user and the target shortest path are sent to a first target information sampling point to actively call the first target information sampling point.
[0109] Based on the above embodiment, in this embodiment, the apparatus further includes a second determining module, specifically configured to:
[0110] After obtaining the identity information of the current user in response to the voice call instruction of the current user, if it is determined based on the identity information of the current user that the current user is not a preset user, a second target information sampling point is pushed to the current user; wherein the second target information sampling point is the information sampling point closest to the current user in a straight line distance.
[0111] Based on the above embodiment, in this embodiment, the device further includes a storage module, which is specifically configured to:
[0112] After obtaining the identity information of the current user in response to a voice call instruction of the current user, if the current user is determined to be a preset user based on the identity information of the current user and the basic information of the current user has not been obtained, sending voice guidance information to guide the current user to enter the corresponding basic information;
[0113] The basic information of the current user is stored, and a voice confirmation message is sent to determine whether the current user continues to call the information sampling point.
[0114] Based on the above embodiment, in this embodiment, the device further includes a push module, which is specifically configured to:
[0115] After sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, if the call fails, continue to send the basic information of the current user to the first target information sampling point;
[0116] If the basic information of the current user is sent to the first target information sampling point a preset number of times and the call still fails, the second target information sampling point is pushed to the current user, and a voice prompt message is sent to prompt the current user that the call fails.
[0117] Based on the above embodiment, in this embodiment, the apparatus further includes an updating module, specifically configured to:
[0118] After sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, in response to the voice completion instruction of the current user, the information collection number of the current user is updated; wherein the information collection number is used to indicate the number of times the current user successfully calls the information sampling point.
[0119] Based on the above embodiment, in this embodiment, the user's identity information is stored in the Redis cache, and the request is processed asynchronously through the RocketMQ message middleware;
[0120] The acquisition module 401 is specifically configured to:
[0121] In response to a voice call instruction of the current user, query the identity information of the current user in the Redis cache, and if the identity information of the current user exists in the Redis cache, obtain the identity information of the current user;
[0122] If the identity information of the current user does not exist in the Redis cache, the voice call instruction is forwarded to the RocketMQ message middleware, the request is asynchronously processed by the RocketMQ message middleware, the identity information of the current user is obtained, and the identity information of the current user is stored in the Redis cache.
[0123] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the information processing method, which includes:
[0124] Responding to a voice call instruction of a current user, obtaining identity information of the current user;
[0125] When the current user is determined to be a preset user based on the identity information of the current user and basic information of the current user is obtained, the basic information of the current user is sent to a first target information sampling point to actively call the first target information sampling point; wherein the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm.
[0126] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the 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 for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0127] On the other hand, the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the information processing method provided by the above methods, which includes:
[0128] Responding to a voice call instruction of a current user, obtaining identity information of the current user;
[0129] When the current user is determined to be a preset user based on the identity information of the current user and basic information of the current user is obtained, the basic information of the current user is sent to a first target information sampling point to actively call the first target information sampling point; wherein the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm.
[0130] In another aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is run, the information processing method provided by each of the above methods is executed, and the method includes:
[0131] Responding to a voice call instruction of a current user, obtaining identity information of the current user;
[0132] When the current user is determined to be a preset user based on the identity information of the current user and basic information of the current user is obtained, the basic information of the current user is sent to a first target information sampling point to actively call the first target information sampling point; wherein the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm.
[0133] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0134] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An information processing method, characterized in that: include: Responding to a voice call instruction of a current user, obtaining identity information of the current user; When the current user is determined to be a preset user based on the identity information of the current user and basic information of the current user is obtained, the basic information of the current user is sent to a first target information sampling point to actively call the first target information sampling point; wherein the first target information sampling point is determined based on pre-stored map information and a multi-point shortest path algorithm.
2. The information processing method according to claim 1, wherein: Before sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, the method further includes: Obtaining the starting coordinates corresponding to the current user and the sampling point coordinates of multiple information sampling points; For each information sampling point, based on pre-stored map information and a multi-point shortest path algorithm, determine the shortest path starting from the starting coordinates and passing through the coordinates of the sampling point; A target shortest path indicating the shortest distance is determined, and an information sampling point corresponding to the target shortest path is determined as a first target information sampling point.
3. The information processing method according to claim 2, wherein: The sending of the basic information of the current user to the first target information sampling point to actively call the first target information sampling point includes: The basic information of the current user and the target shortest path are sent to a first target information sampling point to actively call the first target information sampling point.
4. The information processing method according to claim 1, wherein: After obtaining the identity information of the current user in response to the voice call instruction of the current user, the method further includes: When it is determined based on the identity information of the current user that the current user is not a preset user, a second target information sampling point is pushed to the current user; wherein the second target information sampling point is the information sampling point closest to the current user in a straight line distance.
5. The information processing method according to claim 1, wherein: After obtaining the identity information of the current user in response to the voice call instruction of the current user, the method further includes: If it is determined based on the identity information of the current user that the current user is a preset user and the basic information of the current user has not been obtained, sending voice guidance information to guide the current user to enter the corresponding basic information; The basic information of the current user is stored, and a voice confirmation message is sent to determine whether the current user continues to call the information sampling point.
6. The information processing method according to claim 4, characterized in that After sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, the method further includes: In the event of a call failure, continue to send the basic information of the current user to the first target information sampling point; If the basic information of the current user is sent to the first target information sampling point a preset number of times and the call still fails, the second target information sampling point is pushed to the current user, and a voice prompt message is sent to prompt the current user that the call fails.
7. The information processing method according to claim 1, wherein: After sending the basic information of the current user to the first target information sampling point to actively call the first target information sampling point, the method further includes: In response to the voice completion instruction of the current user, the information collection times of the current user are updated; wherein the information collection times are used to indicate the number of times the current user successfully calls the information sampling point.
8. The information processing method according to claim 1, wherein: Use Redis cache to store user identity information and use RocketMQ messaging middleware to process requests asynchronously. The obtaining, in response to the voice call instruction of the current user, the identity information of the current user includes: In response to a voice call instruction of the current user, query the identity information of the current user in the Redis cache, and if the identity information of the current user exists in the Redis cache, obtain the identity information of the current user; If the identity information of the current user does not exist in the Redis cache, the voice call instruction is forwarded to the RocketMQ message middleware, the request is asynchronously processed by the RocketMQ message middleware, the identity information of the current user is obtained, and the identity information of the current user is stored in the Redis cache.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 8 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 8 through the computer program.
Citation Information
Patent Citations
A one-touch calling visiting small screen set and a method of using the same
CN105072856A
Call device and call method for the field of logistics
CN106791098A
Voice information processing method and device
CN112581961A
Home-based care intelligent voice call monitoring system and method
CN115829805A
Online car-hailing reservation calling device
CN214376578U