Health service reservation method, device, terminal, storage medium and product
Through the association between the first embedded program and the second embedded program, the user can trigger the reservation control on the application interface of the first embedded program, display the reservation interface of the second embedded program, solving the problem of lack of flexibility in reservation health services in the prior art, and realizing a more efficient reservation process.
Patent Information
- Application Number
- CN202210023295.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-10
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2042-01-10
AI Technical Summary
In the prior art, people can only make appointments for health services through embedded programs on the health service platform, which lacks flexibility. If users do not pay attention to the program, they cannot make appointments, which reduces the appointment efficiency.
By providing a health service reservation method, using the association between the first embedded program and the second embedded program, the user can trigger the reservation control on the application interface of the first embedded program and display the reservation interface of the second embedded program, thereby realizing the reservation of the health service.
It improves the flexibility of health service appointments, so that users do not need to pay special attention to the second embedded program used to make appointments for health services, but only needs to make appointments for health services through the associated first embedded program, which improves the appointment efficiency.
Smart Images

Figure CN114464302B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technologies, and in particular, to a method, device, terminal, storage medium, and product for booking health services. Background Art
[0002] People have an increasing demand for health services such as vaccination and nucleic acid testing; in order to improve the efficiency of people in obtaining health services, people generally need to book health services before receiving health services.
[0003] In related technologies, people can only book health services through an embedded program connected to a health service platform. If people do not pay attention to this embedded program, they cannot book health services, thus reducing the flexibility of booking health services. Summary of the Invention
[0004] Embodiments of this application provide a method, device, terminal, storage medium, and product for booking health services, which can improve the flexibility of booking health services. The technical solutions are as follows:
[0005] On the one hand, a method for booking health services is provided. The method includes:
[0006] Display a first application interface of a first embedded program of a target application. The first embedded program is a program for which the reservation object has registered a user account, and the first embedded program is associated with a second embedded program for booking health services. The first application interface includes a reservation control;
[0007] In response to a trigger operation on the reservation control, display a reservation interface of the second embedded program of the target application;
[0008] Based on the reservation interface in the second embedded program, book a health service for the user account to obtain reservation information of the user account.
[0009] In one implementation, the displaying of the reservation interface of the second embedded program of the target application includes:
[0010] Jump from the first embedded program to the second embedded program, and display the reservation interface of the second embedded program in the second embedded program.
[0011] In one implementation, the displaying of the reservation interface of the second embedded program of the target application includes:
[0012] Obtain interface information of the reservation interface from the second embedded program, and based on the interface information, display the reservation interface of the second embedded program in the first embedded program.
[0013] In one implementation, before displaying the reservation interface of the second embedded program for the target application, the method further includes:
[0014] Based on the first registration information of the reservation object in the first embedded program, perform registration in the second embedded program to obtain second registration information;
[0015] Log in to the second embedded program based on the second registration information.
[0016] In one implementation, after making a reservation for a health service for the user account based on the reservation interface in the second embedded program to obtain the reservation information of the user account, the method further includes:
[0017] Generate a graphical code for the user account;
[0018] Display the graphical code in the second application interface of the first embedded program, and the graphical code is used to verify the reservation information of the user account.
[0019] In one implementation, the method further includes:
[0020] If the graphical code meets the update condition, obtain the updated graphical code from the first embedded program, where the updated graphical code is obtained by the first embedded program updating the graphical code;
[0021] Update the graphical code displayed in the second application interface to the updated graphical code.
[0022] In one implementation, the method further includes at least one of the following implementations:
[0023] If the startup operation of the first embedded program is detected again, determine that the graphical code meets the update condition;
[0024] If the display duration of the graphical code reaches a preset duration, determine that the graphical code meets the update condition.
[0025] In one implementation, the method further includes:
[0026] Send a graphical code identifier to the health service platform through the second embedded program. The graphical code identifier is the identifier corresponding to the updated graphical code. The health service platform is a platform that provides health services, and the health service platform is used to verify the updated graphical code based on the graphical code identifier when providing health services for the reservation object.
[0027] In one implementation, the reservation interface includes a reservation number source;
[0028] Reserving a health service for the user account based on the reservation interface in the second embedded program to obtain reservation information of the user account, including:
[0029] Based on the reservation number source, using the second embedded program to reserve the health service for the user account and generate the reservation information of the user account;
[0030] Receiving the reservation information sent by the second embedded program.
[0031] In one implementation, after reserving a health service for the user account based on the reservation interface in the second embedded program to obtain the reservation information of the user account, the method further includes:
[0032] Using the second embedded program to send the reservation information and the user information stored in the first embedded program of the user account to a health service platform, where the health service platform is a platform providing health services and is used to perform identity verification on the reservation object based on the stored reservation information and user information when providing health services to the reservation object.
[0033] On the other hand, a health service reservation device is provided, and the device includes:
[0034] A first display module, configured to display a first application interface of a first embedded program of a target application, where the first embedded program is a program in which a reservation object has registered a user account, and the first embedded program is associated with a second embedded program for reserving a health service, and a reservation control is included on the first application interface;
[0035] A second display module, configured to display a reservation interface of the second embedded program of the target application in response to a trigger operation of the reservation control;
[0036] A reservation module, configured to reserve a health service for the user account based on the reservation interface in the second embedded program to obtain reservation information of the user account.
[0037] In one implementation, the second display module is configured to:
[0038] Jump from the first embedded program to the second embedded program and display the reservation interface of the second embedded program in the second embedded program.
[0039] In one implementation, the second display module is configured to:
[0040] Obtain the interface information of the reservation interface from the second embedded program, and based on the interface information, display the reservation interface of the second embedded program in the first embedded program.
[0041] In one implementation, the device further includes:
[0042] A registration module, configured to perform registration in the second embedded program based on the first registration information of the reservation object in the first embedded program to obtain second registration information;
[0043] A login module, configured to log in to the second embedded program based on the second registration information.
[0044] In one implementation, the device further includes:
[0045] A generation module, configured to generate a graphic code for the user account;
[0046] A third display module, configured to display the graphic code in a second application interface of the first embedded program, where the graphic code is used to verify the reservation information of the user account.
[0047] In one implementation, the device further includes:
[0048] An acquisition module, configured to, if the graphic code meets the update condition, acquire the updated graphic code from the first embedded program, where the updated graphic code is obtained by the first embedded program updating the graphic code;
[0049] An update module, configured to update the graphic code displayed in the second application interface to the updated graphic code.
[0050] In one implementation, the device further includes:
[0051] A first determination module, configured to determine that the graphic code meets the update condition if the startup operation of the first embedded program is detected again;
[0052] A second determination module, configured to determine that the graphic code meets the update condition if the display duration of the graphic code reaches a preset duration.
[0053] In one implementation, the device further includes:
[0054] A first sending module, configured to send a graphic code identifier to a health service platform through the second embedded program, where the graphic code identifier is the identifier corresponding to the updated graphic code, and the health service platform is a platform that provides health services, and the health service platform is configured to verify the updated graphic code based on the graphic code identifier when providing health services for the reservation object.
[0055] In one implementation, the reservation interface includes a reservation number source; the reservation module is configured to:
[0056] Based on the reservation number source, reserve the health service for the user account through the second embedded program, and generate reservation information for the user account;
[0057] Receive the reservation information sent by the second embedded program.
[0058] In one implementation, the device further includes:
[0059] A second sending module, configured to send the reservation information and the user information stored in the first embedded program of the user account to a health service platform through the second embedded program, where the health service platform is a platform that provides health services, and the health service platform is configured to perform identity verification on the reservation object based on the stored reservation information and user information when providing health services for the reservation object.
[0060] On the other hand, a terminal is provided, which includes one or more processors and one or more memories. At least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the health service reservation method according to any of the above implementations.
[0061] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the health service reservation method according to any of the above implementations.
[0062] On the other hand, a computer program product is provided, which includes computer program code. The computer program code is stored in a computer-readable storage medium, and a processor of a terminal reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code to enable the terminal to implement the health service reservation method according to any of the above implementations.
[0063] An embodiment of the present application provides a method for booking health services. Since the first embedded program is associated with the second embedded program for booking health services, and since the application interface of the first embedded program includes a booking control, a booking interface of the second embedded program can be displayed based on the triggering operation of the booking control, so as to book health services based on the booking interface. This method enables the booking object not to pay attention to the second embedded program for booking health services, and can book health services only based on the first embedded program associated with the second embedded program, thereby improving the flexibility of booking health services. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0065] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0066] Figure 2 is a flowchart of a method for booking health services provided by an embodiment of the present application;
[0067] Figure 3 is a flowchart of a method for booking health services provided by an embodiment of the present application;
[0068] Figure 4 is a block diagram of a device for booking health services provided by an embodiment of the present application;
[0069] Figure 5 is a block diagram of a terminal provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0070] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the drawings.
[0071] It should be noted that the user information involved in the present application (including but not limited to user device information, user personal information, etc.) is information authorized by the user or fully authorized by all parties.
[0072] In the description, claims, and drawings of this application, terms such as "first", "second", "third", and "fourth" are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0073] An implementation environment for a health service reservation method is provided in an embodiment of this application. Refer to Figure 1 , this implementation environment includes a first embedded program 10, a second embedded program 20, and a terminal 30. The terminal 30 is the terminal 30 used by the reservation object. The first embedded program 10 and the second embedded program 20 are respectively embedded programs of the target application; the first embedded program 10 is the program in which the reservation object has registered a user account, and the second embedded program 20 is the program for reserving health services. The terminal 30 is used to display the application interface of the first embedded program 10 and the reservation interface of the second embedded program 20, and reserve health services for the reservation object based on the user account of the reservation object.
[0074] An embodiment of this application provides a health service reservation method, and the execution subject is a terminal. Refer to Figure 2 , the method includes:
[0075] 201. Display a first application interface of a first embedded program of the target application. The first embedded program is the program in which the reservation object has registered a user account, and the first embedded program is associated with a second embedded program for reserving health services. The first application interface includes a reservation control.
[0076] 202. In response to a trigger operation of the reservation control, display the reservation interface of the second embedded program of the target application.
[0077] 203. Based on the reservation interface in the second embedded program, reserve health services for the user account to obtain reservation information of the user account.
[0078] In one implementation, displaying the reservation interface of the second embedded program of the target application includes:
[0079] Jump from the first embedded program to the second embedded program, and display the reservation interface of the second embedded program in the second embedded program.
[0080] In one implementation, displaying the reservation interface of the second embedded program of the target application includes:
[0081] Obtain the interface information of the reservation interface from the second embedded program, and based on the interface information, display the reservation interface of the second embedded program in the first embedded program.
[0082] In one implementation, before displaying the reservation interface of the second embedded program of the target application, the method further includes:
[0083] Based on the first registration information of the reservation object in the first embedded program, perform registration in the second embedded program to obtain second registration information;
[0084] Log in to the second embedded program based on the second registration information.
[0085] In one implementation, after making a reservation for a health service for the user account based on the reservation interface in the second embedded program to obtain the reservation information of the user account, the method further includes:
[0086] Generate a graphic code for the user account;
[0087] Display the graphic code in the second application interface of the first embedded program, and the graphic code is used to verify the reservation information of the user account.
[0088] In one implementation, the method further includes:
[0089] If the graphic code meets the update condition, obtain the updated graphic code from the first embedded program, and the updated graphic code is obtained by the first embedded program updating the graphic code;
[0090] Update the graphic code displayed in the second application interface to the updated graphic code.
[0091] In one implementation, the method further includes at least one of the following implementations:
[0092] If the startup operation of the first embedded program is detected again, determine that the graphic code meets the update condition;
[0093] If the display duration of the graphic code reaches the preset duration, determine that the graphic code meets the update condition.
[0094] In one implementation, the method further includes:
[0095] Through the second embedded program, send the graphic code identifier to the health service platform. The graphic code identifier is the identifier corresponding to the updated graphic code. The health service platform is the platform that provides health services, and the health service platform is used to verify the updated graphic code based on the graphic code identifier when providing health services for the reservation object.
[0096] In one implementation, the reservation interface includes reservation number sources; based on the reservation interface in the second embedded program, a health service is reserved for the user account, and reservation information of the user account is obtained, including:
[0097] Based on the reservation number sources, a health service is reserved for the user account through the second embedded program, and reservation information of the user account is generated;
[0098] Receive the reservation information sent by the second embedded program.
[0099] In one implementation, after a health service is reserved for the user account based on the reservation interface in the second embedded program and the reservation information of the user account is obtained, the method further includes:
[0100] Through the second embedded program, send the reservation information and the user information stored by the user account in the first embedded program to the health service platform. The health service platform is a platform for providing health services. When providing health services for the reservation object, the health service platform is used to perform identity verification on the reservation object based on the stored reservation information and user information.
[0101] The embodiment of the present application provides a health service reservation method. Since the first embedded program is associated with the second embedded program for reserving health services, and since the application interface of the first embedded program includes a reservation control, based on the triggering operation of the reservation control, the reservation interface of the second embedded program can be displayed, so as to reserve health services based on the reservation interface; this method enables the reservation object not to pay attention to the second embedded program for reserving health services, and can reserve health services only based on the first embedded program associated with the second embedded program, thereby improving the flexibility of reserving health services.
[0102] The embodiment of the present application provides a health service reservation method. Refer to Figure 3 , the method includes:
[0103] 301. The terminal displays the first application interface of the first embedded program of the target application. The first embedded program is the program in which the user account of the reservation object is registered.
[0104] Among them, the first embedded program is associated with the second embedded program for reserving health services, and the first application interface includes a reservation control. The terminal is the terminal used by the reservation object, and the target application runs on this terminal; the first application interface displayed by the terminal is the interface logged in with the user account of the reservation object. The target application is one of an application for chatting, an application for payment, an application for playing short videos, etc. In the embodiment of the present application, no specific limitation is made thereto.
[0105] In some embodiments, the first embedded program is a program for generating a status code of a reservation object, and the status code is used to represent the physical status of the reservation object; with the development of the normalization of the epidemic, when people enter and exit various places, they can freely enter and exit the place by presenting the status code. When the first embedded program for generating the status code is combined with the second embedded program to reserve health services for the reservation object subsequently, since both the first embedded program and the second embedded program are embedded programs for coping with the normalization of the epidemic, the user information in the first embedded program and the second embedded program is more consistent, so that the data call between the two embedded programs is more convenient and flexible.
[0106] 302. In response to the triggering operation of the reservation control, the terminal registers in the second embedded program based on the first registration information of the reservation object in the first embedded program to obtain second registration information, and the terminal logs in to the second embedded program based on the second registration information.
[0107] Among them, the second embedded program is a program associated with the first embedded program and used for reserving health services, and the second embedded program is docked with the health service platform and can transmit information with the health service platform. The first registration information and the second registration information both include the user account of the reservation object, the password corresponding to the user account, and other user information, etc. In the embodiments of the present application, no specific limitation is made thereto.
[0108] It should be noted that if the user account logs in to the second embedded program for the first time, the above step 302 is executed; if the user account is not logging in to the second embedded program for the first time, the second registration information obtained based on step 302 is directly obtained and the second embedded program is logged in.
[0109] In the embodiments of the present application, the terminal can directly register in the second embedded program based on the first registration information of the reservation object in the first embedded program and log in to the second embedded program based on the obtained second registration information, avoiding the process of the reservation object manually registering in the second embedded program, saving time and effort, improving the efficiency of registering the second embedded program, and thus facilitating directly logging in to the second embedded program based on the already registered second registration information when logging in to the second embedded program again subsequently.
[0110] In another implementation manner, the terminal directly logs in to the second embedded program based on the first registration information of the reservation object in the first embedded program. In this implementation manner, registering in the second embedded program is avoided, the occupation of the storage resources of the second embedded program is reduced, and the process of logging in to the second embedded program is reduced, thereby improving the efficiency of logging in to the second embedded program.
[0111] 303. The terminal displays the reservation interface of the second embedded program of the target application.
[0112] Among them, the reservation interface includes a second reservation control for reserving health services. In the embodiments of the present application, the reservation control on the first application interface is used as the first reservation control.
[0113] In one implementation, the terminal jumps from the first embedded program to the second embedded program, and the reservation interface of the second embedded program is displayed in the second embedded program. Since the second embedded program itself is a program for reserving health services, it enables subsequent direct reservation of health services based on the second embedded program, thereby saving processes and improving reservation efficiency.
[0114] Optionally, the reservation control on the first application interface is a program jump control; the terminal determines that a trigger operation on the first application interface is detected in response to the trigger operation of the program jump control. Optionally, the program jump control is a "Open the second embedded program" function button, and in the embodiments of the present application, no specific limitation is made thereto. In this way, by setting the program jump control, the terminal can directly jump to the second program interface based on the program jump control, thereby improving the convenience of displaying the reservation interface of the second embedded program.
[0115] In another implementation, the terminal obtains the interface information of the reservation interface from the second embedded program, and based on the interface information, the reservation interface of the second embedded program is displayed in the first embedded program. In this way, by directly obtaining and displaying the reservation interface of the second embedded program, the process of having to jump to the second embedded program is avoided, saving processes and improving the efficiency of displaying the reservation interface of the second embedded program.
[0116] Optionally, the reservation control included on the first application interface is a health service reservation control; the terminal determines that a trigger operation on the first application interface is detected in response to the trigger operation of the health service reservation control. Optionally, the health service reservation control is a "Reserve health services" function button, and in the embodiments of the present application, no specific limitation is made thereto. In the embodiments of the present application, by setting the health service reservation control, the terminal can directly display the reservation interface of the second embedded program based on the health service reservation control, thereby improving the convenience of displaying the reservation interface of the second embedded program.
[0117] 304. The terminal reserves health services for the user account based on the reservation interface in the second embedded program, and obtains the reservation information of the user account.
[0118] In some embodiments, the reservation interface includes a reservation number source, and the reservation number source is a number source for reserving health services; the reservation information includes at least one of the time, location, and reservation number of the health services reserved by the reservation object. In the embodiments of the present application, no specific limitation is made thereto.
[0119] In one implementation, the terminal reserves a health service for the user account based on the reservation number source through the second embedded program, generates reservation information for the user account; the terminal receives the reservation information sent by the second embedded program. In this implementation, since the second embedded program itself is a program for reserving health services, generating the reservation information for the user account through the second embedded program can improve the convenience and efficiency of generating the reservation information.
[0120] In another implementation, the terminal obtains the reservation number source in the second embedded program, reserves a health service for the user account, and generates reservation information for the user account. In another implementation, the terminal reserves a health service for the user account based on the reservation number source through the first embedded program, generates reservation information for the user account; the terminal receives the reservation information sent by the first embedded program, which avoids the process of jumping to the second embedded program and improves the efficiency of generating the reservation information.
[0121] In some embodiments, the terminal also sends the reservation information and the user information stored in the first embedded program of the user account to the health service platform through the second embedded program. The health service platform is a platform for providing health services, and the health service platform is used to perform identity verification on the reservation object based on the stored reservation information and user information when providing health services for the reservation object.
[0122] In one implementation, the second embedded program obtains the user information stored in the first embedded program through an API (Application Programming Interface) interface; optionally, the second embedded program calls the API interface to obtain the user information matching the user account in the first embedded program. Among them, the second embedded program is provided with a user information table, which is a preset table. The second embedded program fills the user information obtained from the first embedded program into the user information table and sends the user information table to the health service platform to implement sending user information to the health service platform. It should be noted that the second embedded program can call all the data in all the databases in the first embedded program through this API interface.
[0123] In the embodiments of the present application, since the second embedded program itself is a program for docking with the health service platform, sending the reservation information and user information to the health service platform through the second embedded program improves the information transmission efficiency; and by sending the reservation information and user information to the health service platform, it is further convenient to perform identity verification on the reservation object based on the reservation information and user information subsequently, thereby improving the efficiency and accuracy of the verification.
[0124] Optionally, the health service is one of vaccination, nucleic acid testing, etc.; the health service platform is one of a vaccination platform, a nucleic acid testing platform, etc.; in the embodiments of the present application, the types of the health service and the health service platform are not specifically limited.
[0125] 305. The terminal generates a graphic code of the user account and displays the graphic code in the second application interface of the first embedded program. The graphic code is used to verify the reservation information of the user account.
[0126] Optionally, the graphic code is a two-dimensional code, a bar code, etc. In the embodiments of the present application, no specific limitation is made thereto.
[0127] In one implementation, the terminal generates the graphic code of the user account through the second embedded program; wherein, the terminal generates the reservation information of the user account through the second embedded program. After the reservation information is generated, the second embedded program generates the graphic code of the user account and sends it to the terminal; the terminal receives the graphic code of the user account sent by the second embedded program.
[0128] In another implementation, the terminal generates the graphic code of the user account through the first embedded program; wherein, after the terminal generates the reservation information of the user account through the second embedded program, it sends a creation request to the first embedded program. The creation request carries the identification information of the user account. In response to the creation request, the first embedded program generates the graphic code of the user account and sends it to the terminal; the terminal receives the graphic code of the user account sent by the first embedded program.
[0129] In the embodiments of the present application, by generating the graphic code of the user account and being able to display the graphic code in the second application interface of the first embedded program, the reservation information can be directly verified based on the graphic code subsequently, and the efficiency of verifying the reservation information can be improved by verifying through the graphic code.
[0130] 306. The terminal displays the updated graphic code in the second application interface of the first embedded program.
[0131] In some embodiments, if the graphic code meets the update condition, the terminal obtains the updated graphic code from the first embedded program. The updated graphic code is obtained by the first embedded program updating the graphic code; the terminal updates the graphic code displayed in the second application interface to the updated graphic code. In this embodiment, the terminal generates the graphic code through the first embedded program and updates the graphic code through the first embedded program. It should be noted that taking a screenshot or a photo of the graphic code and sending it to other places will have an adverse impact on the reservation object. In the embodiments of the present application, by updating the graphic code, the security of the user information of the user account can be effectively guaranteed.
[0132] Among them, the terminal determines that the graphic code meets the update condition, including at least one of the following implementation manners:
[0133] In one implementation manner, if the terminal detects the startup operation of the first embedded program again, it determines that the graphic code meets the update condition. Since the first embedded program is generally started to display the graphic code when performing the verification of the graphic code, in the embodiments of the present application, the graphic code is updated by determining that the update condition is met when the first embedded program is started, so that the verification matters corresponding to the startup can be performed based on the graphic code updated in time when the first embedded program is started, thereby ensuring the accuracy of the verification.
[0134] In another implementation manner, if the display duration of the graphic code reaches a preset duration, the terminal determines that the graphic code meets the update condition. Optionally, an update period is set in advance to update the graphic code regularly, and the preset duration is the period duration for the regular update of the graphic code; in this way, it is determined that the update condition is met through the update period of the graphic code, so that the graphic code can be updated in time based on the update period.
[0135] In some embodiments, if the graphic code meets the update condition, the terminal obtains the updated graphic code through the first embedded program. Among them, the first embedded program updates the graphic code regularly, that is, generates the updated graphic code regularly and sends the updated graphic code to the terminal.
[0136] In some embodiments, the terminal sends the graphic code identifier to the health service platform through the second embedded program. The graphic code identifier is the identifier corresponding to the updated graphic code. The health service platform is a platform that provides health services. The health service platform is used to verify the updated graphic code based on the graphic code identifier when providing health services for the appointment object. In the embodiments of the present application, by sending the graphic code identifier to the health service platform, the health service platform can verify the updated graphic code based on the graphic code identifier, and verifying the graphic code through the graphic code identifier can improve the convenience of verification.
[0137] Among them, the graphic code identifier is associated with the user information of the appointment object. The health service platform verifies the graphic code based on the graphic code identifier, obtains the user information corresponding to the graphic code identifier, and then obtains the appointment information corresponding to the user information, and verifies the identity of the appointment object based on the appointment information and the user information.
[0138] In one implementation manner, the terminal generates the graphic code identifier through the second embedded program. After the graphic code displayed on the second application interface is updated to the updated graphic code, the terminal sends the graphic code identifier to the health service platform through the second embedded program.
[0139] In another implementation, the terminal generates a graphic code identifier through a first embedded program; if the terminal detects the start operation of the first embedded program again, it sends the graphic code identifier to a second embedded program through the first embedded program, and then sends the graphic code identifier to a health service platform through the second embedded program. Optionally, the graphic code identifier is updated regularly with the graphic code. If the second embedded program does not receive the graphic code identifier within a preset time period, the second embedded program regularly obtains the graphic code identifier generated by the first embedded program based on the update period of the graphic code and sends it to the health service platform.
[0140] In some embodiments, the appointment object is not registered in the first embedded program, that is, in the case where the appointment object does not make an appointment for health services through the first embedded program, after the appointment object is registered in the first embedded program, it can also match and obtain the appointment information generated by the second embedded program and obtain the graphic code based on the first registration information in the first embedded program, and perform verification of the appointment information during health services based on the graphic code, thereby improving the flexibility of verifying the appointment information. Optionally, the appointment object enters the registration interface of the first embedded program by scanning the graphic code before registration.
[0141] The embodiment of the present application provides a method for making an appointment for health services. Since the first embedded program is associated with the second embedded program for making an appointment for health services, and since the application interface of the first embedded program includes an appointment control, based on the trigger operation of the appointment control, the appointment interface of the second embedded program can be displayed to make an appointment for health services based on the appointment interface; this method enables the appointment object not to pay attention to the second embedded program for making an appointment for health services, and can make an appointment for health services only based on the first embedded program associated with the second embedded program, thereby improving the flexibility of making an appointment for health services.
[0142] The embodiment of the present application also provides a device for making an appointment for health services. Refer to Figure 4 , the device includes:
[0143] A first display module 401, configured to display a first application interface of a first embedded program of a target application. The first embedded program is a program for which the appointment object has registered a user account, and the first embedded program is associated with a second embedded program for making an appointment for health services. The first application interface includes an appointment control;
[0144] A second display module 402, configured to display an appointment interface of a second embedded program of the target application in response to a trigger operation of the appointment control;
[0145] An appointment module 403, configured to make an appointment for health services for a user account based on the appointment interface in the second embedded program to obtain appointment information of the user account.
[0146] In one implementation, the second display module 402 is configured to:
[0147] Jump from the first embedded program to the second embedded program, and display the reservation interface of the second embedded program in the second embedded program.
[0148] In one implementation, the second display module 402 is configured to:
[0149] Obtain the interface information of the reservation interface from the second embedded program, and based on the interface information, display the reservation interface of the second embedded program in the first embedded program.
[0150] In one implementation, the device further includes:
[0151] A registration module, configured to perform registration in the second embedded program based on the first registration information of the reservation object in the first embedded program to obtain second registration information;
[0152] A login module, configured to log in to the second embedded program based on the second registration information.
[0153] In one implementation, the device further includes:
[0154] A generation module, configured to generate a graphic code for the user account;
[0155] A third display module, configured to display the graphic code in the second application interface of the first embedded program, and the graphic code is used to verify the reservation information of the user account.
[0156] In one implementation, the device further includes:
[0157] An acquisition module, configured to, if the graphic code meets the update condition, obtain the updated graphic code from the first embedded program, where the updated graphic code is obtained by the first embedded program updating the graphic code;
[0158] An update module, configured to update the graphic code displayed in the second application interface to the updated graphic code.
[0159] In one implementation, the device further includes:
[0160] A first determination module, configured to determine that the graphic code meets the update condition if the startup operation of the first embedded program is detected again;
[0161] A second determination module, configured to determine that the graphic code meets the update condition if the display duration of the graphic code reaches a preset duration.
[0162] In one implementation, the device further includes a first sending module, configured to send a graphic code identifier to a health service platform through a second embedded program, where the graphic code identifier is an identifier corresponding to the updated graphic code, and the health service platform is a platform that provides health services. The health service platform is configured to verify the updated graphic code based on the graphic code identifier when providing health services to the appointment object.
[0163] In one implementation, the appointment interface includes appointment number sources; and an appointment module 403, configured to:
[0164] Based on the appointment number sources, make an appointment for health services for the user account through a second embedded program, and generate appointment information for the user account;
[0165] Receive the appointment information sent by the second embedded program.
[0166] In one implementation, the device further includes a second sending module, configured to send the appointment information and the user information stored in the first embedded program of the user account to a health service platform through a second embedded program. The health service platform is a platform that provides health services. The health service platform is configured to perform identity verification on the appointment object based on the stored appointment information and user information when providing health services to the appointment object.
[0167] Figure 5 FIG. shows a structural block diagram of a terminal 500 provided by an exemplary embodiment of the present application. The terminal 500 may be a portable mobile terminal, such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop computer, or a desktop computer. The terminal 500 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
[0168] Generally, the terminal 500 includes: a processor 501 and a memory 502.
[0169] The processor 501 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0170] The memory 502 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 502 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 502 is used to store at least one program code, and the at least one program code is used to be executed by the processor 501 to implement the health service reservation method provided in the method embodiments of the present application.
[0171] In some embodiments, the terminal 500 may further optionally include: a peripheral device interface 503 and at least one peripheral device. The processor 501, the memory 502, and the peripheral device interface 503 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 503 through a bus, signal lines, or a circuit board. Specifically, the peripheral devices include at least one of a radio frequency circuit 504, a display screen 505, a camera assembly 506, an audio circuit 507, a positioning component 508, and a power supply 509.
[0172] The peripheral device interface 503 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 501 and the memory 502. In some embodiments, the processor 501, the memory 502, and the peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral device interface 503 can be implemented on separate chips or circuit boards, and this embodiment does not limit this.
[0173] The radio frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 504 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 504 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on. The radio frequency circuit 504 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 504 may further include a circuit related to NFC (Near Field Communication), and this application does not limit this.
[0174] The display screen 505 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to collect touch signals on or above the surface of the display screen 505. The touch signals can be input to the processor 501 as control signals for processing. At this time, the display screen 505 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there may be one display screen 505, which is provided on the front panel of the terminal 500; in other embodiments, there may be at least two display screens 505, which are respectively provided on different surfaces of the terminal 500 or in a foldable design; in other embodiments, the display screen 505 may be a flexible display screen, which is provided on the curved surface or the folding surface of the terminal 500. Even, the display screen 505 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 505 can be prepared from materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0175] The camera module 506 is used to capture images or videos. Optionally, the camera module 506 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth camera, a wide-angle camera, and a telephoto camera, so as to realize the function of background blurring by fusing the main camera and the depth camera, the function of panoramic shooting by fusing the main camera and the wide-angle camera, and the VR (Virtual Reality) shooting function or other fused shooting functions. In some embodiments, the camera module 506 may further include a flash. The flash can be a single-color temperature flash or a two-color temperature flash. The two-color temperature flash refers to the combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.
[0176] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 501 for processing, or input to the radio frequency circuit 504 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 500. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 507 may further include a headphone jack.
[0177] The positioning component 508 is used to locate the current geographical location of the terminal 500 to implement navigation or LBS (Location Based Service). The positioning component 508 may be a positioning component based on the GPS (Global Positioning System) of the United States, the Beidou system of China, or the Galileo system of Russia.
[0178] The power supply 509 is used to supply power to each component in the terminal 500. The power supply 509 may be alternating current, direct current, a primary battery or a rechargeable battery. When the power supply 509 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charging technology.
[0179] In some embodiments, the terminal 500 further includes one or more sensors 510. The one or more sensors 510 include but are not limited to: an acceleration sensor 511, a gyroscope sensor 512, a pressure sensor 513, a fingerprint sensor 514, an optical sensor 515, and a proximity sensor 516.
[0180] The acceleration sensor 511 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 501 can control the display screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 can also be used for game or collection of the user's motion data.
[0181] The gyroscope sensor 512 can detect the body direction and rotation angle of the terminal 500. The gyroscope sensor 512 can cooperate with the acceleration sensor 511 to collect the 3D actions of the user on the terminal 500. Based on the data collected by the gyroscope sensor 512, the processor 501 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.
[0182] The pressure sensor 513 can be disposed on the side frame of the terminal 500 and / or the lower layer of the display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal 500, it can detect the holding signal of the user on the terminal 500, and the processor 501 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed on the lower layer of the display screen 505, the processor 501 can control the operable controls on the UI interface according to the pressure operation of the user on the display screen 505. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0183] The fingerprint sensor 514 is used to collect the fingerprint of the user. The processor 501 can identify the user's identity according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 can identify the user's identity according to the collected fingerprint. When the identity of the user is identified as a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations, and the sensitive operations include unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings, etc. The fingerprint sensor 514 can be disposed on the front, back, or side of the terminal 500. When there are physical buttons or manufacturer logos on the terminal 500, the fingerprint sensor 514 can be integrated with the physical buttons or manufacturer logos.
[0184] The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the display screen 505 according to the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is decreased. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera module 506 according to the ambient light intensity collected by the optical sensor 515.
[0185] The proximity sensor 516, also known as a distance sensor, is typically disposed on the front panel of the terminal 500. The proximity sensor 516 is used to collect the distance between the user and the front of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front of the terminal 500 is gradually decreasing, the processor 501 controls the display screen 505 to switch from the lit state to the off state; when the proximity sensor 516 detects that the distance between the user and the front of the terminal 500 is gradually increasing, the processor 501 controls the display screen 505 to switch from the off state to the lit state.
[0186] Those skilled in the art can understand that Figure 5 the structure shown in does not constitute a limitation on the terminal 500, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component layout.
[0187] The embodiment of the present application also provides a computer-readable storage medium, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the health service reservation method in any of the above implementation manners.
[0188] The embodiment of the present application also provides a computer program product, which includes computer program code. The computer program code is stored in a computer-readable storage medium. The processor of the terminal reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the terminal executes the health service reservation method in any of the above implementation manners.
[0189] In some embodiments, the computer program product involved in the embodiment of the present application can be deployed to be executed on one terminal, or on multiple terminals located at one location, or on multiple terminals distributed at multiple locations and interconnected through a communication network. The multiple terminals distributed at multiple locations and interconnected through a communication network can form a blockchain system.
[0190] The embodiment of the present application provides a health service reservation method. Since the first embedded program is associated with the second embedded program for reserving health services, and since the application interface of the first embedded program includes a reservation control, based on the trigger operation of the reservation control, the reservation interface of the second embedded program can be displayed, so as to reserve health services based on the reservation interface; this method enables the reservation object not to pay attention to the second embedded program for reserving health services, and can reserve health services only based on the first embedded program associated with the second embedded program, thereby improving the flexibility of reserving health services.
[0191] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Claims
1. A health service reservation method, characterized in that, The method includes: Display a first application interface of a first embedded program of a target application, where the first embedded program is a program for which the reservation object has registered a user account, and the first embedded program is associated with a second embedded program for reserving health services. A reservation control is included on the first application interface, and the first application interface is an interface logged in to the user account of the reservation object; In response to a trigger operation of the reservation control, based on first registration information of the reservation object in the first embedded program, register in the second embedded program to obtain second registration information; Based on the second registration information, log in to the second embedded program and display a reservation interface of the second embedded program of the target application; Based on the reservation interface in the second embedded program, reserve health services for the user account to obtain reservation information of the user account; Generate a graphical code of the user account through the second embedded program; Display the graphical code in a second application interface of the first embedded program, where the graphical code is used to verify the reservation information of the user account; Through the second embedded program, call user information of the user account in the first embedded program from the first embedded program, and send the reservation information and the user information to a health service platform. The second embedded program is a program docked with the health service platform, and the health service platform is a platform for providing health services. The health service platform is used to perform identity verification on the reservation object based on the stored reservation information and user information when providing health services to the reservation object.
2. The method according to claim 1, characterized in that, The displaying of the reservation interface of the second embedded program of the target application includes: Jump from the first embedded program to the second embedded program and display the reservation interface of the second embedded program in the second embedded program.
3. The method according to claim 1, characterized in that, The displaying of the reservation interface of the second embedded program of the target application includes: Obtain interface information of the reservation interface from the second embedded program, and based on the interface information, display the reservation interface of the second embedded program in the first embedded program.
4. The method according to claim 1, characterized in that, The method further includes: If the graphical code meets the update condition, obtain the updated graphical code from the first embedded program, where the updated graphical code is obtained by the first embedded program updating the graphical code; Update the graphical code displayed in the second application interface to the updated graphical code.
5. The method according to claim 4, characterized in that, The method further includes at least one of the following implementation manners: If a startup operation of the first embedded program is detected again, determine that the graphical code meets the update condition; If the display duration of the graphical code reaches a preset duration, determine that the graphical code meets the update condition.
6. The method according to claim 4, characterized in that, The method further includes: Send a graphic code identifier to the health service platform through the second embedded program. The graphic code identifier is the identifier corresponding to the updated graphic code. The health service platform is a platform that provides health services and is used to verify the updated graphic code based on the graphic code identifier when providing health services to the appointment object.
7. The method according to claim 1, characterized in that, The appointment interface includes appointment number sources. Making an appointment for a health service for the user account based on the appointment interface in the second embedded program to obtain the appointment information of the user account includes: Based on the appointment number source, making an appointment for the health service for the user account through the second embedded program to generate the appointment information of the user account; Receiving the appointment information sent by the second embedded program.
8. A health service reservation device, characterized in that, The device includes: A first display module for displaying a first application interface of a first embedded program of a target application. The first embedded program is a program for which the appointment object has registered a user account, and the first embedded program is associated with a second embedded program for making an appointment for a health service. The first application interface includes an appointment control, and the first application interface is an interface logged in with the user account of the appointment object. A second display module for, in response to a trigger operation of the appointment control, registering in the second embedded program based on the first registration information of the appointment object in the first embedded program to obtain second registration information; logging in to the second embedded program based on the second registration information and displaying an appointment interface of the second embedded program of the target application. An appointment module for making an appointment for a health service for the user account based on the appointment interface in the second embedded program to obtain the appointment information of the user account. A generation module for generating a graphic code of the user account through the second embedded program. A third display module for displaying the graphic code in a second application interface of the first embedded program. The graphic code is used to verify the appointment information of the user account. A second sending module for, through the second embedded program, calling the user information of the user account in the first embedded program from the first embedded program and sending the appointment information and the user information stored in the first embedded program of the user account to the health service platform. The second embedded program is a program docked with the health service platform, and the health service platform is a platform that provides health services and is used to verify the identity of the appointment object based on the stored appointment information and user information when providing health services to the appointment object.
9. A terminal, characterized in that, The terminal includes one or more processors and one or more memories. At least one program code is stored in the one or more memories and is loaded and executed by the one or more processors to implement the health service appointment method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, At least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to implement the health service reservation method according to any one of claims 1 to 7.
11. A computer program product, characterized in that, The computer program product includes computer program code, the computer program code is stored in a computer-readable storage medium, a processor of a terminal reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code so that the terminal executes the health service reservation method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Reservation code display method and device, equipment and storage medium
CN112990509A
Application interface display method and device
CN113467874A