WO2024037583A1 - 服务包的配置方法及装置 - Google Patents

服务包的配置方法及装置 Download PDF

Info

Publication number
WO2024037583A1
WO2024037583A1 PCT/CN2023/113511 CN2023113511W WO2024037583A1 WO 2024037583 A1 WO2024037583 A1 WO 2024037583A1 CN 2023113511 W CN2023113511 W CN 2023113511W WO 2024037583 A1 WO2024037583 A1 WO 2024037583A1
Authority
WO
WIPO (PCT)
Prior art keywords
service package
target service
configuration
information
target
Prior art date
Application number
PCT/CN2023/113511
Other languages
English (en)
French (fr)
Other versions
WO2024037583A9 (zh
Inventor
刘伟灵
Original Assignee
京东方科技集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京东方科技集团股份有限公司 filed Critical 京东方科技集团股份有限公司
Publication of WO2024037583A1 publication Critical patent/WO2024037583A1/zh
Publication of WO2024037583A9 publication Critical patent/WO2024037583A9/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Definitions

  • the present disclosure relates to the field of medical information technology, and in particular, to a service package configuration method and device.
  • a method for configuring a service package includes: obtaining configuration information of each configuration item of the target service package; generating a details page of the target service package based on the configuration information of each configuration item of the target service package, and determining The access address of the details page of the target service package; the information used to instruct the target service package to be put on the shelf is sent to the target applet associated with the target service package, and the information used to instruct the put of the target service package includes the access address of the details page of the target service package.
  • the above-mentioned obtaining the configuration information of each configuration item of the target service package includes: responding to an operation instruction to open the service package configuration interface, displaying the service package configuration interface, and the service package configuration interface includes each configuration item of the target service package. input box; in response to the user's input operation on the input box of each configuration item of the target service package on the service package configuration interface, obtain the configuration information of each configuration item of the target service package.
  • the above method further includes: for each configuration item of the target service package, detecting whether the configuration information of the configuration item conforms to the configuration rules of the configuration item; when the configuration information of the configuration item does not comply with the configuration rules of the configuration item, A prompt message is displayed on the service package configuration interface to instruct the user to re-enter the configuration information of the configuration item.
  • the above method further includes: obtaining updated configuration information of the first configuration item of the target service package; and regenerating the configuration information based on the updated configuration information of the first configuration item and the configuration information of the second configuration item.
  • the above method further includes: when the preset removal conditions are met, sending information to the target applet indicating the removal of the target service package; wherein the preset removal conditions include any of the following : The shelf time of the target service package reaches the preset time; the inventory number of the target service package is less than or equal to the preset number; the operation instruction of the user to remove the target service package is received.
  • the details page of the target service package is a fifth-generation Hypertext Markup Language H5 page.
  • the configuration items of the target service package include one or more of the following: service package name, medical expert team information, service package price, service items, service package Pictures, number of benefits, promotions, service package validity period or service package inventory information.
  • the service package management device includes: a communication unit for obtaining configuration information of each configuration item of the target service package; and a processing unit for obtaining configuration information of each configuration item of the target service package according to the configuration information of the target service package.
  • the above-mentioned communication unit is specifically configured to display the service package configuration interface in response to an operation instruction to open the service package configuration interface.
  • the service package configuration interface includes input boxes for each configuration item of the target service package; in response to the user's On the service package configuration interface, input operations are performed on the input boxes of each configuration item of the target service package to obtain the configuration information of each configuration item of the target service package.
  • the above processing unit is also used to: for each configuration item of the target service package, detect whether the configuration information of the configuration item conforms to the configuration rules of the configuration item; when the configuration information of the configuration item does not comply with the configuration rules of the configuration item , a prompt message is displayed on the service package configuration interface to instruct the user to re-enter the configuration information of the configuration item.
  • the above-mentioned communication unit is also used to obtain the updated configuration information of the first configuration item of the target service package; the above-mentioned processing unit is also used to obtain the updated configuration information based on the first configuration item, and
  • the configuration information of the second configuration item is used to regenerate the details page of the target service package; among them, the second configuration item is other configuration items except the first configuration item in the configuration items of the target service package; the regenerated target service package
  • the access address of the details page is the same as the access address of the details page of the target service package before regeneration.
  • the above-mentioned communication unit is also used to In this case, send information to the target applet to instruct the removal of the target service package;
  • the preset removal conditions include any of the following: the shelf time of the target service package reaches the preset time; the inventory number of the target service package Less than or equal to the preset number; receiving an operation instruction from the user to remove the target service package.
  • the details page of the target service package is a fifth-generation Hypertext Markup Language H5 page.
  • the configuration items of the target service package include one or more of the following: service package name, medical expert team information, service package price, service items, service package Pictures, number of benefits, promotions, service package validity period or service package inventory information.
  • a management server includes a memory and a processor; the memory is coupled to the processor; the memory is used to store computer program code, and the computer program code includes computer instructions.
  • the management server executes the computer instructions, the management server is caused to execute the service package configuration method as described in any of the above embodiments.
  • a non-transitory computer-readable storage medium stores computer program instructions.
  • the processor executes one or more of the service package configuration methods described in any of the above embodiments. steps.
  • a computer program product includes computer program instructions.
  • the computer program instructions When the computer program instructions are executed on a computer, the computer program instructions cause the computer to perform one or more steps in the method for configuring the service package as described in any of the above embodiments. .
  • a computer program When the computer program is executed on a computer, the computer program causes the computer to perform one or more steps in the service package configuration method described in any of the above embodiments.
  • Figure 1 is a composition diagram of a service package management system according to some embodiments.
  • FIG. 2 is a hardware structure diagram of a management server according to some embodiments.
  • Figure 3 is a flowchart 1 of a service package configuration method according to some embodiments.
  • Figure 4 is a flow chart 2 of a service package configuration method according to some embodiments.
  • Figure 5 is an interface diagram 1 of a mall system according to some embodiments.
  • Figure 6 is an interface diagram 2 of a mall system according to some embodiments.
  • Figure 7 is interface diagram 3 of a mall system according to some embodiments.
  • Figure 8 is an interface diagram 1 of a target applet according to some embodiments.
  • Figure 9 is a flow chart 3 of a service package configuration method according to some embodiments.
  • Figure 10 is a flow chart 4 of a service package configuration method according to some embodiments.
  • Figure 11 is interface diagram 4 of a mall system according to some embodiments.
  • Figure 12 is a flow chart 5 of a service package configuration method according to some embodiments.
  • Figure 13 is interface diagram 5 of a mall system according to some embodiments.
  • Figure 14 is an interface diagram 6 of a mall system according to some embodiments.
  • Figure 15 is a flow chart 6 of a service package configuration method according to some embodiments.
  • Figure 16 is an interface diagram of an application program according to some embodiments.
  • Figure 17 is an interface diagram 2 of a target applet according to some embodiments.
  • Figure 18 is an interface diagram 3 of a target applet according to some embodiments.
  • Figure 19 is an interface diagram 4 of a target applet according to some embodiments.
  • Figure 20 is an interface diagram 5 of a target applet according to some embodiments.
  • Figure 21 is an interface diagram 6 of a target applet according to some embodiments.
  • Figure 22 is an interface diagram 7 of a target applet according to some embodiments.
  • Figure 23 is an interface diagram 8 of a target applet according to some embodiments.
  • Figure 24 is a structural diagram of a service package management device according to some embodiments.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.
  • At least one of A, B and C has the same meaning as “at least one of A, B or C” and includes the following combinations of A, B and C: A only, B only, C only, A and B The combination of A and C, the combination of B and C, and the combination of A, B and C.
  • a and/or B includes the following three combinations: A only, B only, and a combination of A and B.
  • the term “if” is optionally interpreted to mean “when” or “in response to” or “in response to determining” or “in response to detecting,” depending on the context.
  • the phrase “if it is determined" or “if [stated condition or event] is detected” is optionally interpreted to mean “when it is determined" or “in response to the determination" or “on detection of [stated condition or event]” or “in response to detection of [stated condition or event]”.
  • mini programs realize the dream of having applications “at your fingertips”. Users can open the app by scanning or searching. It also embodies the concept of "use and go”. Users do not have to worry about insufficient memory on the user terminal due to installing too many applications. Mini programs make applications ubiquitous and available at any time, but there is no need to install or uninstall them.
  • embodiments of the present disclosure provide a method for configuring a service package.
  • the method obtains the configuration information of each configuration item of the target service package input by the user, and then generates the target service based on the configuration information of each configuration item of the target service package.
  • the package details page completes the development of the target service package.
  • the access address of the target service package is determined, and then information used to instruct the target service package to be put on the shelf is sent to the target applet associated with the target service package, thereby completing the put on the shelf of the target service package.
  • the configuration method of the service package provided by the embodiment of the present disclosure only requires the user to input the configuration information of each configuration item of the target service package to complete the development and launch of the target service package, without the need for developers to perform manual development based on code. , improves the development efficiency of mini program service packages, shortens the development cycle of mini program service packages, and reduces the workload of developers.
  • the configuration method of the service package provided by the embodiment of the present disclosure can be applied to the development process of the service package, the modification process of the service package, the online process and the offline process of the service package, and other processes.
  • an embodiment of the present disclosure provides a composition diagram of a service package management system.
  • the service package management system includes a terminal device 10, a management server 20 and a payment server 30.
  • the terminal device 10, the management server 20 and the payment server 30 may be connected through a wired network or a wireless network.
  • the wired network or wireless network may include routers, switches, base stations, or other devices that facilitate communication between the terminal device 10, the management server 20, and the payment server 30, which are not limited in this embodiment of the disclosure.
  • an instant messaging application is installed and run in the terminal device 10.
  • the instant messaging application includes an applet, and the applet relies on the instant messaging application (host program) to run.
  • the applet may be a medical applet.
  • the management server 20 is used to host the mall system.
  • the mall system has various functions for managing service packages.
  • the mall system has the function of configuring the configuration information of each configuration item of the service package.
  • the user can configure each configuration item of the service package associated with the applet in the application through the mall system configuration, and then the management server 20 configures the configuration information according to The configuration information of each configuration item generates the details page of the service package, which completes the development of the service package.
  • the mall system has the function of modifying the configuration information of the configuration items of the service package.
  • the user can modify the configuration information of a certain configuration item of the configured service package through the mall system, and then the management server can modify the configuration information according to a certain configuration item.
  • the modified configuration information of the configuration item and the configuration information of other unmodified configuration items are used to regenerate the service package details page.
  • the mall system has a function of deleting service packages, and users can delete configured service packages through the mall system.
  • the mall system has the function of putting on and taking off service packages, and users can control the putting on and off the shelves of service packages in the mini program through the mall system.
  • the mall system has the function of configuring and publishing promotional information. Users can configure a variety of promotional information through the mall system. Each promotional information can include coupons or gift cards of different amounts, and different promotional information can correspond to different services. Bag. After the promotional information is configured, the user uploads the promotional information to the corresponding mini program through the mall system.
  • the payment server 30 is a server that can implement contract signing and charge deduction, and process transactions.
  • the payment server can communicate with the financial system.
  • the payment server 30 may be a server of the Quality HealthCare payment system.
  • the terminal device 10 may be a device with wireless transceiver functions.
  • the terminal equipment 10 may have different names, such as user equipment (UE), access terminal, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication device, terminal agent or terminal device, etc.
  • Terminals can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water (such as ships, etc.); they can also be deployed in the air (such as aircraft, balloons, satellites, etc.).
  • the terminal can be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a mobile phone with wireless communication capabilities Handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices or wearable devices, unmanned aerial vehicles (UAV) and unmanned aerial vehicle controllers (UAV controllers, UAVC), virtual reality (virtual reality) , VR) terminal equipment, augmented reality (AR) terminal equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical , wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, etc.
  • UAV unmanned aerial vehicles
  • UAV controllers UAV controllers, UAVC
  • VR virtual reality
  • AR augmented reality
  • the terminal device 10 may be mobile or fixed.
  • the device used to implement the function of the terminal device may be a terminal, or may be a device that can support the terminal to implement the function, such as a chip system.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the technical solution provided by the embodiment of the present disclosure is described by taking the device for realizing the functions of the terminal device being a terminal as an example.
  • the management server 20 and the payment server 30 may be separate physical servers.
  • a server can also be a server cluster or distributed system composed of multiple physical servers. It can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, and domain name services. , security services, content delivery network (CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • the above-mentioned management server 20 is a server including a display screen, and the relevant interfaces of the mall system can be displayed on the display screen.
  • the configuration method of a service package adopted in the embodiment of the present disclosure can be applied to the above-mentioned management server 20 or other devices connected to the management server 20 .
  • the method is introduced below by taking the application of this method to the above-mentioned management server 20 as an example.
  • FIG. 2 is a hardware structure diagram of a management server 20 provided by an embodiment of the present disclosure.
  • the management server 20 may include a processor 41 , a memory 42 , a communication interface 43 , and a bus 44 .
  • the processor 41, the memory 42 and the communication interface 43 may be connected through a bus 44.
  • the processor 41 is the control center of the management server 20 and may be one processor or a collective name for multiple processing elements.
  • the processor 41 may be a general-purpose CPU or other general-purpose processor.
  • the general processor may be a microprocessor or any conventional processor.
  • the processor 41 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 2 .
  • Memory 42 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory (RAM)) or other type that can store information and instructions.
  • ROM read-only memory
  • RAM random access memory
  • a dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or can be used to carry or store instructions or data structures.
  • EEPROM electrically erasable programmable read-only memory
  • the memory 42 may exist independently of the processor 41, and the memory 42 may be connected to the processor 41 through the bus 44 for storing instructions or program codes.
  • the processor 41 calls and executes instructions or program codes stored in the memory 42, it can implement a service package configuration method provided by the following embodiments of the present disclosure.
  • the memory 42 can also be integrated with the processor 41 .
  • Communication interface 43 is used to connect the management server 20 with other devices through a communication network.
  • the communication network may be Ethernet or a radio access network (RAN), Wireless local area networks (WLAN), etc.
  • the communication interface 43 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
  • the bus 44 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
  • ISA industry standard architecture
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 2, but it does not mean that there is only one bus or one type of bus.
  • management server 20 may also include output devices 45 and input devices 46.
  • Output device 45 communicates with processor 41 and can display information in a variety of ways.
  • the output device 45 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. wait.
  • Input device 46 communicates with processor 41 and may receive user input in a variety of ways.
  • the input device 46 may be a mouse, a keyboard, a touch screen device, a sensing device, or the like.
  • the structure shown in FIG. 2 does not limit the management server 20.
  • the management server 20 may include more or less components than those shown in the figure, or a combination thereof. Certain parts, or different arrangements of parts.
  • the embodiment of the present disclosure provides a method for configuring a service package, which method can be applied to a management server.
  • the management server can be the management server 20 shown in FIG. 2 above, or the processor of the management server 20 . As shown in Figure 3, the method includes the following steps:
  • the management server can obtain the configuration information of each configuration item of the target service package.
  • the target service package may be a medical service package, a takeaway service package, or other service packages.
  • the following embodiments take the target service package as a medical service package as an example.
  • the configuration items of the target service package include one or more of the following: service package name, service package type, medical expert team information Information, service package prices, service items, service package pictures, number of benefits, promotions, service package validity period or service package inventory information.
  • the inventory information of the service package is also the stock keeping unit (SKU).
  • SKU is the basic unit for inventory measurement, which can be in units of pieces, boxes, etc.
  • SKU refers to the number of times the target service package can be purchased. It is understandable that the number of consultations a team of medical experts can make within a time period (such as a week) is limited, so the number of times a target service package can be purchased within a time period is also limited.
  • step S101 can be specifically implemented as the following steps:
  • Figure 5 shows an interface diagram of a mall system provided by an embodiment of the present disclosure. As shown in Figure 5, the interface of the mall system displays icons for homepage, service package management, coupon management, doctor management, exit and other function buttons.
  • the above-mentioned service package management 301 function button can be operated. After detecting the user's operation on the service package management 301 function button, the management server displays the service package management interface in response to the user's operation on the service package management 301 .
  • operation all refer to operations performed by the user.
  • the operation can be a mouse click, double-click, drag, etc., or it can also be in the form of touch screen, gesture, voice, etc. .
  • the service package management interface may be as shown in Figure 6.
  • the service package management interface displays icons for more than 20 function buttons such as the input box of the search bar, search, reset, add, and modify.
  • the status and serial number of the configured service package are also displayed.
  • service package 1 is online and has a serial number of 1
  • service package 2 is online and has a serial number of 2.
  • the above-mentioned new function button 302 can be operated to open the service package configuration interface.
  • the management server After detecting the user's operation instruction for opening the service package configuration interface for the new 302 function button, the management server responds to the operation instruction for opening the service package configuration interface and displays the service package configuration interface.
  • the service package configuration interface may be as shown in Figure 7.
  • the service package configuration interface includes input boxes for each configuration item of the target service package.
  • the service package configuration interface displays an input box for the service package name, an upload button icon and a preview button icon for images, a selection box for the expert team, and a service package It contains input boxes for each service item, such as the input box for service item 1, the input box for service item 2, etc., as well as the input box for price, the selection box for whether to go online, the input box for the number of benefits, and the input box for the number of purchases. , input box for validity period, selection box for promotion items, input box for activation validity period, selection box for activation method and input box for service description.
  • the expert team selection box is used for the user to configure the expert team for the target service package.
  • users can configure the picture of each expert team, the introduction of each expert team, the picture of each doctor among the multiple doctors included in each expert team, the fields in which each doctor specializes, and the The services that doctors can provide (such as graphic consultation, video consultation, telephone consultation, etc.), the price of each service provided by each doctor, the services that each expert team can provide, and the services provided by each expert team Price of each service etc.
  • the input box for the number of benefits is used for the user to configure the number of times the target service package provides services to the patient, for example, 5 times, which represents the 5 times of the expert team that the patient can enjoy after purchasing the target service package. medical services.
  • the selection box of the promotion item is used for the user to configure the promotional information of the target service package, for example, for the user to configure the first order discount, full discount, etc. of the target service package.
  • the coupon management interface users can configure coupons of different denominations, as well as the use period, usage conditions (for example, coupons of different denominations can be used when different amounts are met), and activation methods ( Including key activation, serial code (CDKEY, CDK) activation, etc.).
  • the activation method selection box is used for users to configure the activation method of the target service package.
  • the activation method includes key activation, CDK activation, etc.
  • the user can perform input operations on the input boxes of each configuration item of the target service package on the service package configuration interface according to the text reminders of each configuration item to configure each configuration item of the target service package.
  • the management server After receiving the user's input operation on each configuration item, the management server obtains the configuration information of each configuration item of the target service package in response to the user's input operation in the service package configuration input box for each configuration item of the target service package. That is to say, the management server obtains the configuration information of each configuration item when the user enters the input box of each configuration item.
  • the user can click the icon of the Submit 303 function button to submit each configuration item of the target service package. configuration information.
  • the management server receives 303 when the user clicks Submit.
  • the function button icon is operated, in response to the user clicking the Submit 303 function button icon, the configuration information of each configuration item of the target service package is obtained. That is, the management server obtains the configuration information of each configuration item after the user completes input into the input box of each configuration item.
  • the management server may generate a details page of the target service package based on the configuration information of each configuration item of the target service package.
  • the management server can fill the configuration information of each configuration item of the target service package into the preset template of the details page of the target service package to obtain a first draft of the details page of the target service package. Then, according to the language to be used in the details page of the target service package, the first draft of the details page of the target service package is converted to obtain the details page of the target service package.
  • the details page of the target service package is a fifth-generation hypertext markup language (H5) page.
  • Hypertext Markup Language is an application under Standard Universal Markup Language.
  • "Hypertext” means that the page can contain pictures, links, and even non-text elements such as music and programs.
  • the structure of hypertext markup language includes a "head” part (English: Head) and a “body” part (English: Body). The "head” part provides information about the web page, and the "body” part provides the specific content of the web page.
  • the details page of the target service package when the details page of the target service package is an H5 page, the details page of the target service package may be as shown in Figure 8 .
  • Introduction information of the target service package can be displayed on the details page of the target service package. The user can learn more details about the target service package by sliding down the screen of the terminal device.
  • the management server can generate a details page of the target service package based on the configuration information of each configuration item of the target service package
  • the management server can also generate details belonging to the target service package for the details page of the target service package.
  • the access address of the page is used to uniquely indicate the details page of a target service package, so that the terminal device can accurately access the details page of the target service package according to the access address of the details page of the target service package.
  • the management server when the management server generates the details page of the target service package based on the configuration information of each configuration item of the target service package, it means that the target service package has been developed and can be put on the target applet associated with the target service package. Increase the scope of services provided by the target applet.
  • preset correspondences between multiple service packages and multiple applets are pre-stored in the memory of the management server, where one applet can have a corresponding relationship with multiple service packages.
  • the management server After the management server generates the details page of the target service package and determines the access address of the details page of the target service package, the management server can determine the target applet corresponding to the target service package according to the preset correspondence relationship.
  • the management server can send a prompt message for prompting the user to enter the target applet associated with the target service package. Furthermore, after receiving the information input by the user, the management server can parse the information input by the user to determine the target applet associated with the target service package.
  • the management server may send information used to instruct the target service package to be put on the shelf, to the target applet associated with the target server, where the information used to instruct the target service package to be put on the shelf
  • the information includes the access address of the target service package's details page.
  • the terminal device can access the details page of the target service package according to the access address of the details page of the target service package for the user to view.
  • the management server obtains the configuration information of each configuration item of the target service package input by the user, the target service is generated based on the configuration information of each configuration item of the target service package.
  • Package details page that is, the development of the target service package is completed.
  • the user only needs to enter the configuration information of each configuration item in the configuration box of the target service package, and the management server can automatically complete the development of the target service package, without the need for developers to manually develop the target service package in the form of code. , improves the development efficiency of mini program service packages, shortens the development cycle of mini program service packages, and reduces the workload of developers.
  • a service package configuration method provided by the embodiment of the present disclosure also involves The approval process for the configuration information of each configuration item of the target service package is shown in Figure 9. The method also includes the following steps:
  • each configuration item of the target service package needs to be displayed on the mini program interface.
  • the management server obtains the configuration information of each configuration item of the target service package input by the user, the management service For each configuration item of the target service package, the server detects whether the configuration information of the configuration item complies with the configuration rules of the configuration item.
  • the configuration rules of the configuration item may include the following situations:
  • Scenario 1 Determine whether the service package name obtained this time already exists.
  • Scenario 2 Determine whether the number of characters in the service package name obtained this time is greater than or equal to the preset number of characters.
  • the service package name is used to introduce the services that the service package can provide to a certain extent. Therefore, the number of characters in the service package name needs to be limited so that patients can quickly match the service package name with their own patient. The target service package corresponding to the situation.
  • the preset number of words may be pre-stored by the developer into the memory in the management server.
  • the preset number of words is 5 words.
  • Scenario 3 Determine whether there are spaces or other unknown characters in the service package name obtained this time.
  • the configuration rule of the configuration item may be to determine whether the size of the obtained picture meets the preset size and whether the resolution of the picture meets the preset resolution.
  • the image may not be displayed normally on the mini program interface.
  • the size of the image meets the preset size and the resolution of the image meets the preset resolution.
  • Both the preset size and the preset allocation rate can be stored in the memory of the management server in advance by the developer.
  • the preset size is 2 inches and the preset resolution is 350dpi.
  • each configuration item of the target service package may have a unified configuration rule, and the unified configuration rule may be to determine whether the input box of each configuration item is empty.
  • the management server displays a first prompt message on the service package configuration interface to instruct the user to re-enter the service package name.
  • the content of the first prompt message may be "The service package name already exists, please re-enter it!”.
  • the management server will display the first page on the service package configuration interface. 2. Prompt message to instruct the user to re-upload the image.
  • the content of the second prompt message may be "Please re-upload the image, and ensure that the size of the image is 2 inches and the image resolution is above 350dpi.”
  • a configuration method of the service package provided by the embodiment of the present disclosure It also involves a process of modifying the configuration items of the configured target service package, as shown in Figure 10. The method also includes the following steps:
  • the user can change the first configuration item of the target service package through the service package configuration interface again.
  • the first configuration item of the target service package is any configuration item among multiple configuration items of the target service package.
  • service package 1 is the target service package, that is, the user needs to change a certain configuration item of service package 1. Then the user can operate the icon of the modification 304 function button corresponding to the service package 1 shown in Figure 7 to enter the modification interface of the service package. After receiving the user's operation instruction to modify the icon of the function button 304 corresponding to the service package 1, the management server displays the service package modification interface.
  • the service package modification interface may be as shown in Figure 11. For example, if the user needs to modify the service package name, the service package name is the first configuration item. If the user needs to modify the service package name and picture, the service package name and picture are the first configuration items.
  • the user can operate the icon of the Modify 305 function button after the service package name input box to clear the service package name input box so that the user can modify the service package name. Re-enter the service pack name in the name input box.
  • the management server modifies the 305 function button after receiving the user's input box for the service package name. After the operation instruction of the button image is issued, in response to the operation instruction, the content in the input box of the service package name is cleared.
  • the user can re-enter a service package name in the service package name input box. And after the user re-enters a service package name in the service package name input box, the icon of the submit 306 function button shown in Figure 11 can be operated to submit the updated service package name, that is, after submitting the update The configuration information of the first configuration item.
  • the service package name re-entered by the user may be service package 7.
  • the configuration device of the server needs to detect the updated configuration information of the first configuration item to detect whether the updated configuration information of the configuration item conforms to the configuration. Configuration rules for items.
  • the management server After receiving the user's operation instruction for submitting the icon of the function button 306, the management server responds to the operation instruction and obtains the updated configuration information of the first configuration item of the target service package.
  • the second configuration item is a configuration item other than the first configuration item among the configuration items of the target service package. Combined with the service package modification interface shown in Figure 11, the second configuration item may be all configuration items except the configuration item of the service package name.
  • the access address of the details page of the target service package after regeneration is the same as the access address of the details page of the target service package before regeneration. In this way, it is guaranteed that users can still use the original access address to access the details page of the target service package.
  • a service package configuration method provided by the embodiments of the present disclosure also involves the removal process of the target service package. , as shown in Figure 12, the method also includes the following steps:
  • the preset conditions include any of the following:
  • the preset duration of the target service package is also the validity period of the above-mentioned target service package. It is understandable that under promotional activities, users may set the price of the target service package lower, but the target service package should maintain this low price within a certain time range.
  • the management server can automatically send a message to the target applet to instruct the removal of the target service package. information.
  • the inventory number of the target service package is less than or equal to the preset number.
  • the preset number of the target service package is also the number of times the target service package can be purchased, that is, the number of times the expert medical team of the target service package can provide medical services within the current cycle.
  • the management server can automatically provide the target applet with Send a message indicating the delisting of the target service package.
  • the user when the user needs to remove the target service package, the user can operate the icon of the modification function button corresponding to the target service package through the service package management interface to enter the modification interface of the service package.
  • the user can operate the icon of the modify 307 function button corresponding to service package 2 to enter the modification interface of service package 2.
  • the management server responds to the operation instruction and displays the modification interface of the service package 2.
  • the modification interface of service package 2 can be shown in Figure 13.
  • the user can operate the icon of the submit 309 function button in Figure 13 to complete the operation instruction instructing to remove the target service package.
  • the service package control device receives the user's operation instruction for the icon of the submit 309 function button in Figure 13, in response to the operation instruction, the management server sends information instructing the removal of the target service package to the target applet.
  • the management server while the management server sends information for instructing to delist the target service package to the target applet, the management server updates the management interface of the service package.
  • the management interface of the updated service pack can be shown in Figure 14. As can be seen from Figure 14, the status of service package 2 is updated from online to offline.
  • the configuration method of the service package provided by the embodiment of the present disclosure also includes a method of using the service package. As shown in Figure 15, the method also includes the following steps :
  • the terminal device In response to the user's operation instruction to open the target applet, the terminal device displays the interface of the target applet.
  • the terminal device displays the applet display interface in response to the slide instruction.
  • the applet display interface may be as shown in Figure 16.
  • the mini program display interface displays multiple mini programs that the user has recently used and multiple mini programs that the user is paying attention to.
  • the user can enter the target mini program by operating the icon of the target mini program.
  • the terminal device After receiving the user's operation instruction for the icon of the target applet, the terminal device displays the interface of the target applet in response to the operation instruction.
  • the user can touch the icon of the medical applet 41 to enter the main interface of the medical applet 41.
  • the main interface of the medical applet 41 may be as shown in Figure 17.
  • the main interface of the medical applet 41 displays a search box for users to search for hospitals, doctors, departments or diseases.
  • the interface of the medical applet 41 also displays icons for function buttons such as appointment registration, doctor information, and follow-up consultation and prescription. The user can operate the icons of the corresponding function buttons according to their own needs to enter the corresponding function interface.
  • the interface of the medical applet 41 also displays the navigation interface of the service package center.
  • the service package center may include a lung health center and a thyroid center. The user can operate the icon of the corresponding service package center according to his or her own needs to enter the interface of the corresponding service package center.
  • the user can operate the icon of the service package center 42 to enter the service package center 42 interface.
  • the terminal device After receiving the user's operation instruction for the icon of the service package center 42, the terminal device displays the interface of the service package center in response to the operation instruction.
  • the interface of the service package center may be as shown in Figure 18.
  • the interface of the service package center may include introduction pages of multiple service packages. Users can search for a target service package that suits their physical condition based on the introduction pages of multiple service packages displayed on the interface of the service package center.
  • the terminal device In response to the user's operation instruction to open the target service package, the terminal device displays the interface of the target service package.
  • the terminal device After the user determines the target service package on the interface of the service package center, he or she can operate on the introduction page of the target service package to enter the page of the target service package.
  • the terminal device After receiving the user's operation instruction for the introduction page of the target service package, the terminal device displays the interface of the target service package in response to the instruction.
  • the interface of the target service package may be as shown in Figure 8 above.
  • the page of the target service package can also be called the details page of the target service package.
  • the details page of the target service package can display a detailed introduction to the services that the target service package can provide, a treatment success rate analysis table, and experts who provide treatment services.
  • the team's introduction page, etc. so that users can follow the details page of the target service package introduction and your own physical condition to determine whether to purchase this target service package.
  • the terminal device displays the interface of the expert team.
  • the terminal device After receiving the user's operation instruction for the introduction page of the expert team, the terminal device responds to the operation instruction and displays the interface of the expert team.
  • the interface of the expert team can be shown in Figure 19.
  • the interface of the expert team displays a detailed introduction to the medical fields that the expert team specializes in, as well as the profile page of each doctor who makes up the expert team.
  • a doctor's profile page includes the doctor's position, length of service, education, and medical fields he specializes in.
  • the terminal device In response to the operation instruction of the user submitting an order, the terminal device generates a service package selection instruction and sends the service package selection instruction to the management server.
  • the user can view the interface shown in Figure 8 Operate the icon of the Buy Now 43 function button to enter the payment interface.
  • the terminal device responds to the operation instruction and enters the payment interface.
  • the payment interface may be as shown in Figure 20.
  • the payment interface may display the name of the target service package, the name of the expert team, patient selection options 44, coupon input box 45, price display column, etc.
  • the user can operate according to the patient selection 44 to determine the patient. After receiving the user's operation instruction for the patient selection item 44, the terminal device determines the patient of the target service package in response to the operation instruction.
  • the terminal device After receiving the user's input operation on the coupon input box 45, the terminal device verifies the coupon code or gift card redemption code input by the user in response to the operation instruction.
  • the terminal device controls the price displayed in the price display column minus the corresponding amount of the coupon or gift card.
  • the terminal device checks that the coupon code or gift card redemption code entered by the user is incorrect, The terminal device displays a prompt message prompting the user to re-enter the coupon code or gift card redemption code.
  • the input box for the coupon may be empty.
  • the user can choose to view the "Service Agreement” and "User Informed Consent”. And after the review is completed, operate the selection button 46 before the "Service Agreement” and “User Informed Consent” to confirm the completion of viewing the "Service Agreement” and "User Informed Consent”.
  • the terminal device After receiving the user's operation on the selection button 46, the terminal device responds to the operation instruction, determines that the user has viewed the "Service Agreement” and the "User Informed Consent", and grants the user permission to complete the payment.
  • the pay now 47 button may be operated to submit the order.
  • the terminal device After receiving the user's operation on the Pay Now 47 button, the terminal device responds to the operation instruction, generates a service package selection instruction, and sends the service package selection instruction to the management server.
  • the above-mentioned service package selection instructions include target service package information, time information, terminal device identification code, and patient identification.
  • the above target service package information includes the identification of the target service package, the price of the target service package, etc.
  • the identifier of the target service package is used to uniquely indicate a target service package.
  • the identifier of the target service package may be the name of the target service package.
  • the price of the target service package can be the price after discounting with coupons.
  • Time information is used to indicate the time the user submitted the order.
  • the terminal equipment identification code is used to uniquely indicate a terminal equipment.
  • the terminal equipment identification code can be the international mobile equipment identity (IMEI) of the terminal equipment, etc.
  • the patient identifier is used to uniquely indicate a patient, for example, it can be the name of the patient.
  • the management server receives the service package selection instruction sent by the terminal device.
  • the management server generates an order identification number according to the service package selection instruction.
  • the management server parses the service package selection instruction and obtains the target service package information, time information, and terminal device identification contained in the service package selection instruction. code and the name of the patient, and generate an order identification number based on the time information, terminal device identification code and patient name. Among them, the order identification number is used to uniquely indicate an order.
  • the generated order identification number is unique and will not be repeated with other orders, so that the management server can quickly search and manage the order.
  • the time information obtained by parsing is January 1, 2022
  • the terminal device identification code is 123456789101112
  • the patient ID is 66688
  • the generated order identification number is 20221112345678910111266688.
  • the management server stores the order identification number in the order management list.
  • the order management list stores multiple order identification numbers and status attribute information corresponding to each order identification number.
  • Status attribute information includes paid status and unpaid status.
  • the management server generates payment information based on the target service package information and the order identification number, and sends the payment information to the terminal device.
  • the target service package information includes the price of the target service package. Assuming that the price of the target service package is 1288 yuan, the management server generates payment based on the price of the target service package 1288 and the order identification number 20221112345678910111266688. information and send the payment information to the terminal device.
  • the terminal device receives the payment information sent by the management server.
  • the terminal device displays the payment interface according to the payment information.
  • the payment interface can be generated based on the payment data contained in the payment information.
  • the price to be paid is displayed on the payment interface. Order identification number and payment method.
  • payment methods can include multiple types, and users can choose the corresponding payment method according to their own circumstances.
  • the terminal device after the terminal device receives the operation instruction of the user to select the target payment method, in response to the operation instruction, the terminal device establishes a connection with the payment server of the target payment method, and sends the interface address of the payment server to the management server.
  • the terminal device In response to the user's payment operation, the terminal device generates a payment instruction and sends the payment instruction to the payment server.
  • the terminal device After the user completes the operation of selecting the payment method and entering the payment password on the payment interface, in response to the operation instruction, the terminal device generates a payment instruction and sends it to the corresponding payment server through the payment interface.
  • the payment instruction includes the payment password.
  • the payment server generates payment success information and sends the payment success information to the management server.
  • the payment server After receiving the payment instruction sent by the terminal device, the payment server verifies the payment password included in the payment instruction. When the verification is passed, payment success information is generated and sent to the management server. Among them, the payment success information includes the order identification number.
  • the above payment information is time-sensitive, for example, the validity of the payment information
  • the time limit is 30 minutes. If the user fails to complete the payment within the validity period of the payment information, that is, the management server does not receive the payment success information sent by the payment server within 30 minutes, the management server can send order cancellation information to the terminal device to prompt the user that the order is invalid. And prompt users to re-purchase.
  • the management server while the management server sends the order cancellation information to the terminal device, the management server deletes the order identification number corresponding to the order in the order management list, so as to improve the storage resource utilization of the management server.
  • the management server when the current time is within a certain time range (for example, 5 minutes) from the order expiration time, the management server generates payment prompt information and sends the payment prompt information to the terminal device to prompt the user to complete the payment, thereby avoiding The order is invalid.
  • a certain time range for example, 5 minutes
  • the management server receives the payment success information sent by the payment server.
  • the management server parses the payment success information, determines the order identification number of successful payment, and changes the status attribute information corresponding to the order identification number.
  • the management server may parse the payment success information to determine the order identification number corresponding to the payment success information. Then, according to the order identification number, the status attribute information of the order is changed from unpaid status to paid status in the order management list.
  • the change of the status attribute information corresponding to the order identification number is based on the payment time information in the payment success information received by the management server.
  • the management server proposes multiple payment time information from the multiple payment success messages and determines the earliest payment among the multiple payment time messages. time.
  • the payment time information is the earliest payment time
  • the payment verification success information is generated and sent to the payment server, and then the status attribute information corresponding to the order identification number is updated from the unpaid status to the paid status.
  • the payment time information is not the earliest payment time, payment verification failure information is generated and the payment verification failure information is sent to the payment server.
  • the user shares the payment information sent by the management server to the user group to find someone to pay on his behalf, and multiple users make payments at the same time.
  • the payment server sent multiple payment success messages to the management server at the same time.
  • the management server extracted the payment time information from the multiple payment success messages.
  • the extracted payment times were January 1, 2022 10:25:05, 10:25:01, 10:25:53, 10:25:00, the payment time is determined to be 10:25:00 on January 1, 2022 as the first sending time, based on the payment time being 10:25 on January 1, 2022 :00 payment success information returns payment verification success information to the payment server, and the management server updates the status attribute information of the order identification number corresponding to the payment time of 10:25:00 on January 1, 2022 from the pending payment status to the paid status. Payment status.
  • tube The processing server returns payment to the payment server based on the payment success information with the payment time of January 1, 2022 10:25:05, January 1, 2022 10:25:01, and January 1, 2022 10:25:53. Verification failure information, the payment server will refund based on the payment verification failure information.
  • the management server if the management server detects that the status attribute information corresponding to the order identification number is a paid status, the management server generates payment verification failure information and sends the payment verification failure information to the payment server.
  • the payment verification failure information includes the order identification number.
  • the payment may be repeated multiple times due to poor network environment or user misoperation during the operation.
  • the management server detects that the status attribute information corresponding to the order number is in the paid status, the management server generates payment verification failure information and sends the payment verification failure information to the payment server, so that the payment server can based on the payment verification failure information included in the payment verification failure information.
  • the order identification number is used to refund users. Because the order identification number is unique, the payment server can accurately refund users who have made repeated payments, thus avoiding the impact of multiple repeated payments on the user experience.
  • the management server sends the changed status attribute information of the order identification number to the terminal device.
  • the management server After the management server changes the status attribute information corresponding to the order identification number from the unpaid status to the paid status, the management server can send the changed status attribute information of the order identification number to the terminal device to prompt the user that the payment is successful and the payment is completed. At the same time as the process, the payment status is synchronized between the terminal device and the management server.
  • the terminal device after the terminal device prompts the user that the payment is successful for a preset period of time (for example, 30 seconds), the terminal device can automatically display the reservation details page.
  • a preset period of time for example, 30 seconds
  • the reservation details page may be as shown in Figure 21.
  • the reservation details page displays reservation information, reservation person information, service item information, consumption tips and promotion tips.
  • the reservation information includes the name of the reserved service package and the reservation date.
  • the reservation person's information includes the reservation person's name, ID number, mobile phone number, gender and age.
  • the service item information includes the names of the service items provided by the service package, as well as the price corresponding to each service item and the total price.
  • the consumption reminder includes the number of benefits included in purchasing the service package and the validity period of the service package.
  • the promotion tips include the current discount information provided by the medical applet. If the user is interested in the discount information, he can operate the Get to Know button 48 on the preset details page to enter the promotion details page. If the terminal device receives the user's operation instruction to learn about the 48 button, in response to the operation instruction, the terminal device displays the promotion details page.
  • the promotion details page may display a variety of discount information.
  • the user can view My Orders, enter the service package list page, and then choose to use the purchased target service package. in, When users choose to use the target service package, they need to activate the target service package.
  • the activation method of the target service package includes manual activation and automatic activation.
  • manual activation requires the user to actively operate the icon of the "Activate Now" function button corresponding to the target service package within the validity period of the target service package to trigger the activation of the target service package.
  • the terminal device receives the user's operation instruction for the icon of the immediate activation function button, in response to the operation instruction, the terminal device activates the target service package.
  • Automatic activation means that after the user purchases the target service package, the target service package automatically enters the activation state.
  • the terminal device When the target service package is activated, users can use the target service package.
  • the terminal device receives the user's operation instruction for using the target service package, in response to the operation instruction, the terminal device displays each service item of the target service package and opens a third-party system (such as Quality HealthCare system) to facilitate the user's inquiry. diagnosis.
  • a third-party system such as Quality HealthCare system
  • the terminal device hosting the target applet sends a message to the management server indicating that the number of benefits has been completed once. Prompt information to notify the management server that the order represented by the order identification number corresponding to the target service package has completed one entitlement count.
  • the terminal device hosting the target applet sends a prompt message indicating that the service has been completed to the management server. , to prompt the management server that the order represented by the order identification number corresponding to the target service package has been completed. After receiving the prompt information, the management server updates the order status represented by the order identification number to completed. In this way, the usage process of the target service package is completed.
  • the above embodiment focuses on the process of users purchasing and using service packages.
  • users can also use the medical applet to conduct specialized consultations with doctors they are interested in.
  • the interface of the expert team displays a detailed introduction to the medical fields that the expert team specializes in, as well as the profile page of each doctor who makes up the expert team. If the user determines the target doctor from multiple doctors based on each doctor's profile page and his or her own physical condition, the user can operate on the target doctor's profile page to enter the target doctor's details page. Among them, the target doctor can be any one of multiple doctors.
  • the terminal device After receiving the user's operation instruction for the target doctor's profile page, the terminal device responds to the operation instruction and displays the target doctor's details page.
  • the target doctor's details page may be as shown in Figure 22.
  • the target doctor's details page may include the doctor's name, position, medical experience, ratings, patient volume, areas of expertise, etc.
  • the target doctor's details page may include The price of the target doctor's video information, the price of picture and text consultation, and the price of telephone information. It can also include the expert team to which the target doctor belongs, doctor keywords, and reviews received, etc. This allows users to learn about the target doctor based on the introduction on the target doctor's details page, thereby improving the user's consultation experience.
  • the user can operate the option of graphic information 49 in Figure 22 to enter the details page of the graphic information.
  • the terminal device After receiving the user's operation instruction for the option of the graphic information 49, the terminal device responds to the operation instruction and displays the details page of the graphic information.
  • the details page of graphic information can be as shown in Figure 23.
  • the detailed page of graphic information displays an input box for the patient's name for the user to enter the name and an input box for the condition description for the user to input their own patient condition.
  • the input box for the user's input is There is a limit on the number of words for your patient's condition, for example, enter at least 10 words.
  • the details page of the graphic information also includes an add box for adding attachments, which is used to add the user's own examination results, medical records, or pictures of his own patients when he has his own examination results, medical records, or pictures of his own patients. Upload it as an attachment so that experts can diagnose the user based on the relevant attachments and improve the efficiency and accuracy of diagnosis.
  • the details page of graphic information also includes an expert selection box for users to select the doctor they are interested in.
  • an embodiment of the present disclosure also provides a structural diagram of a service package management device.
  • the service package management device 300 may include: a communication unit 301 and a processing unit 302.
  • the above-mentioned service package management device 300 may also include a storage unit 303.
  • the above-mentioned communication unit 301 is used to obtain the configuration information of each configuration item of the target service package.
  • the above-mentioned processing unit 302 is configured to generate a details page of the target service package based on the configuration information of each configuration item of the target service package, and determine the access address of the details page of the target service package.
  • the above-mentioned communication unit 301 is also configured to send information for instructing the listing of the target service package to the target applet associated with the target service package.
  • the information for instructing the listing of the target service package includes the access address of the details page of the target service package.
  • the above-mentioned communication unit 301 is specifically configured to: in response to an operation instruction to open the service package configuration interface, display the service package configuration interface, where the service package configuration interface includes input boxes for each configuration item of the target service package; in response to The user performs an input operation on the input box of each configuration item of the target service package on the service package configuration interface to obtain the configuration information of each configuration item of the target service package.
  • the above-mentioned processing unit 302 is also used to detect whether the configuration information of the configuration item conforms to the configuration rules of the configuration item for each configuration item of the target service package; when the configuration information of the configuration item does not comply with the configuration rules of the configuration item , a prompt message is displayed on the service package configuration interface to instruct the user to re-enter the configuration information of the configuration item.
  • the above-mentioned communication unit 301 is also used to obtain updated configuration information of the first configuration item of the target service package.
  • the above-mentioned processing unit 302 is also configured to regenerate the details page of the target service package based on the updated configuration information of the first configuration item and the configuration information of the second configuration item; wherein the second configuration item is the configuration of the target service package.
  • the above-mentioned communication unit 301 is also used to send information to the target applet indicating the removal of the target service package when the preset removal conditions are met; wherein the preset removal conditions include the following Any of the following: the target service package's shelf life reaches the preset time; the inventory number of the target service package is less than or equal to the preset number; the user's instruction to remove the target service package is received.
  • the details page of the target service package is a fifth-generation Hypertext Markup Language H5 page.
  • the configuration items of the target service package include one or more of the following: service package name, medical expert team information, service package price, service items, service package Pictures, number of benefits, promotions, service package validity period or service package inventory information.
  • the above-mentioned storage unit 303 is used to store the configuration items of the above-mentioned target service package.
  • the above-mentioned storage unit 303 is also used to store the above-mentioned preset conditions.
  • the above-mentioned storage unit 303 is also used to store the updated configuration information of the first configuration item of the above-mentioned target service package.
  • the above-mentioned storage unit 303 is also used to store the details of the above-mentioned target service package. The access address of the page.
  • the units in Figure 24 may also be called modules.
  • the processing unit may be called a processing module.
  • each unit in Figure 24 is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the embodiments of the present disclosure is essentially or contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage
  • the medium includes several instructions to cause a computer device (which may be a personal computer, a service package management device, or a network device, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of the present disclosure.
  • Storage media for storing computer software products include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc., which can store program code medium.
  • Some embodiments of the present disclosure provide a computer-readable storage medium (eg, a non-transitory computer-readable storage medium) having computer program instructions stored therein.
  • a computer-readable storage medium eg, a non-transitory computer-readable storage medium
  • the computer is caused to execute the configuration method of the service package as described in any of the above embodiments.
  • the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (such as hard disks, floppy disks or tapes, etc.), optical disks (such as CD (Compact Disk, compressed disk), DVD (Digital Versatile Disk, etc.) Digital versatile disk), etc.), smart cards and flash memory devices (e.g., EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), cards, sticks or key drives, etc.).
  • the various computer-readable storage media described in this disclosure may represent one or more devices and/or other machine-readable storage media for storing information.
  • the term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and/or carrying instructions and/or data.
  • Some embodiments of the present disclosure also provide a computer program product, for example, the computer program product is stored on a non-transitory computer-readable storage medium.
  • the computer program product includes computer program instructions. When the computer program instructions are executed on the computer, the computer program instructions cause the computer to execute the method for configuring the service package as described in the above embodiment.
  • Some embodiments of the present disclosure also provide a computer program.
  • the computer program When the computer program is executed on the computer, the computer program causes the computer to perform the configuration method of the service package as described in the above embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

一种服务包的配置方法及装置,该方法包括:获取目标服务包的各个配置项的配置信息,根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面,并确定目标服务包的详情页面的访问地址;向与目标服务包关联的目标小程序发送用于指示上架目标服务包的信息,其中,用于指示上架目标服务包的信息包括目标服务包的详情页面的访问地址。

Description

服务包的配置方法及装置
本申请要求于2022年8月19日提交的、申请号为202210999883.6的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及医疗信息技术领域,尤其涉及一种服务包的配置方法及装置。
背景技术
随着计算机技术的不断发展,各种应用走进了人们日常生活中,而小程序作为一种不需要下载安装即可使用的应用,更是得到了各行各业的广泛关注。
目前关于小程序的服务包的开发,是开发人员以代码的形式人工进行开发的,小程序的服务包开发周期较长且开发人员的工作量较大。
发明内容
一方面,提供一种服务包的配置方法,该方法包括:获取目标服务包的各个配置项的配置信息;根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面,并确定目标服务包的详情页面的访问地址;向与目标服务包关联的目标小程序发送用于指示上架目标服务包的信息,用于指示上架目标服务包的信息包括目标服务包的详情页面的访问地址。
在一些实施例中,上述获取目标服务包的各个配置项的配置信息,包括:响应于打开服务包配置界面的操作指令,显示服务包配置界面,服务包配置界面包括目标服务包的各个配置项的输入框;响应于用户在服务包配置界面上对目标服务包的各个配置项的输入框的输入操作,获取目标服务包的各个配置项的配置信息。
另一些实施例中,上述方法还包括:针对目标服务包的各个配置项,检测配置项的配置信息是否符合配置项的配置规则;在配置项的配置信息不符合配置项的配置规则时,在服务包配置界面上显示提示信息,以指示用户重新输入配置项的配置信息。
另一些实施例中,上述方法还包括:获取目标服务包的第一配置项的更新后的配置信息;根据第一配置项的更新后的配置信息,以及第二配置项的配置信息,重新生成目标服务包的详情页面;其中,第二配置项为目标服务包的配置项中除去第一配置项之外的其他配置项;重新生成后的目标服务包的详情页面的访问地址与重新生成前的目标服务包的详情页面的访问地址相同。
另一些实施例中,上述方法还包括:在满足预设下架条件的情况下,向目标小程序发送用于指示下架目标服务包的信息;其中,预设下架条件包括以下任意一项:目标服务包的上架时长达到预设时长;目标服务包的库存个数小于或等于预设个数;接收到用户指示下架目标服务包的操作指令。
另一些实施例中,上述目标服务包的详情页面为第五代超文本标记语言H5页面。
另一些实施例中,在目标服务包为医疗服务包的情况下,目标服务包的配置项包括以下一项或者多项:服务包名称、医疗专家团队信息、服务包价格、服务项、服务包图片、权益次数、促销活动、服务包有效期或者服务包库存信息。
另一方面,提供一种服务包管理装置,该服务包管理装置包括:通信单元,用于获取目标服务包的各个配置项的配置信息;处理单元,用于根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面,并确定目标服务包的详情页面的访问地址;通信单元,还用于向与目标服务包关联的目标小程序发送用于指示上架目标服务包的信息,用于指示上架目标服务包的信息包括目标服务包的详情页面的访问地址。
在一些实施例中,上述通信单元,具体用于响应于打开服务包配置界面的操作指令,显示服务包配置界面,服务包配置界面包括目标服务包的各个配置项的输入框;响应于用户在服务包配置界面上对目标服务包的各个配置项的输入框的输入操作,获取目标服务包的各个配置项的配置信息。
另一些实施例中,上述处理单元,还用于:针对目标服务包的各个配置项,检测配置项的配置信息是否符合配置项的配置规则;在配置项的配置信息不符合配置项的配置规则时,在服务包配置界面上显示提示信息,以指示用户重新输入配置项的配置信息。
另一些实施例中,上述通信单元,还用于获取目标服务包的第一配置项的更新后的配置信息;上述处理单元,还用于根据第一配置项的更新后的配置信息,以及第二配置项的配置信息,重新生成目标服务包的详情页面;其中,第二配置项为目标服务包的配置项中除去第一配置项之外的其他配置项;重新生成后的目标服务包的详情页面的访问地址与重新生成前的目标服务包的详情页面的访问地址相同。
另一些实施例中,上述通信单元,还用于在满足预设下架条件的情 况下,向目标小程序发送用于指示下架目标服务包的信息;其中,预设下架条件包括以下任意一项:目标服务包的上架时长达到预设时长;目标服务包的库存个数小于或等于预设个数;接收到用户指示下架目标服务包的操作指令。
另一些实施例中,上述目标服务包的详情页面为第五代超文本标记语言H5页面。
另一些实施例中,在目标服务包为医疗服务包的情况下,目标服务包的配置项包括以下一项或者多项:服务包名称、医疗专家团队信息、服务包价格、服务项、服务包图片、权益次数、促销活动、服务包有效期或者服务包库存信息。
再一方面,提供一种管理服务器,该管理服务器包括存储器和处理器;存储器和处理器耦合;存储器用于存储计算机程序代码,计算机程序代码包括计算机指令。其中,当处理器执行计算机指令时,使得该管理服务器执行如上述任一实施例中所述的服务包的配置方法。
又一方面,提供一种非瞬态的计算机可读存储介质。所述计算机可读存储介质存储有计算机程序指令,所述计算机程序指令在处理器上运行时,使得所述处理器执行如上述任一实施例所述的服务包的配置方法中的一个或多个步骤。
又一方面,提供一种计算机程序产品。所述计算机程序产品包括计算机程序指令,在计算机上执行所述计算机程序指令时,所述计算机程序指令使计算机执行如上述任一实施例所述的服务包的配置方法中的一个或多个步骤。
又一方面,提供一种计算机程序。当所述计算机程序在计算机上执行时,所述计算机程序使计算机执行如上述任一实施例所述的服务包的配置方法中的一个或多个步骤。
附图说明
为了更清楚地说明本公开中的技术方案,下面将对本公开一些实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例的附图,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。此外,以下描述中的附图可以视作示意图,并非对本公开实施例所涉及的产品的实际尺寸、方法的实际流程、信号的实际时序等的限制。
图1为根据一些实施例的一种服务包管理系统的组成图;
图2为根据一些实施例的一种管理服务器的硬件结构图;
图3为根据一些实施例的一种服务包的配置方法的流程图一;
图4为根据一些实施例的一种服务包的配置方法的流程图二;
图5为根据一些实施例的一种商城系统的界面图一;
图6为根据一些实施例的一种商城系统的界面图二;
图7为根据一些实施例的一种商城系统的界面图三;
图8为根据一些实施例的一种目标小程序的界面图一;
图9为根据一些实施例的一种服务包的配置方法的流程图三;
图10为根据一些实施例的一种服务包的配置方法的流程图四;
图11为根据一些实施例的一种商城系统的界面图四;
图12为根据一些实施例的一种服务包的配置方法的流程图五;
图13为根据一些实施例的一种商城系统的界面图五;
图14为根据一些实施例的一种商城系统的界面图六;
图15为根据一些实施例的一种服务包的配置方法的流程图六;
图16为根据一些实施例的一种应用程序的界面图;
图17为根据一些实施例的一种目标小程序的界面图二;
图18为根据一些实施例的一种目标小程序的界面图三;
图19为根据一些实施例的一种目标小程序的界面图四;
图20为根据一些实施例的一种目标小程序的界面图五;
图21为根据一些实施例的一种目标小程序的界面图六;
图22为根据一些实施例的一种目标小程序的界面图七;
图23为根据一些实施例的一种目标小程序的界面图八;
图24为根据一些实施例的一种服务包管理装置的结构图。
具体实施方式
下面将结合附图,对本公开一些实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开所提供的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本公开保护的范围。
除非上下文另有要求,否则,在整个说明书和权利要求书中,术语“包括(comprise)”及其其他形式例如第三人称单数形式“包括(comprises)”和现在分词形式“包括(comprising)”被解释为开放、包含的意思,即为“包含,但不限于”。在说明书的描述中,术语“一个实施例(one embodiment)”、“一些实施例(some embodiments)”、“示例性实施例(exemplary  embodiments)”、“示例(example)”、“特定示例(specific example)”或“一些示例(some examples)”等旨在表明与该实施例或示例相关的特定特征、结构、材料或特性包括在本公开的至少一个实施例或示例中。上述术语的示意性表示不一定是指同一实施例或示例。此外,所述的特定特征、结构、材料或特点可以以任何适当方式包括在任何一个或多个实施例或示例中。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本公开实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
“A、B和C中的至少一个”与“A、B或C中的至少一个”具有相同含义,均包括以下A、B和C的组合:仅A,仅B,仅C,A和B的组合,A和C的组合,B和C的组合,及A、B和C的组合。
“A和/或B”,包括以下三种组合:仅A,仅B,及A和B的组合。
如本文中所使用,根据上下文,术语“如果”任选地被解释为意思是“当……时”或“在……时”或“响应于确定”或“响应于检测到”。类似地,根据上下文,短语“如果确定……”或“如果检测到[所陈述的条件或事件]”任选地被解释为是指“在确定……时”或“响应于确定……”或“在检测到[所陈述的条件或事件]时”或“响应于检测到[所陈述的条件或事件]”。
本文中“适用于”或“被配置为”的使用意味着开放和包容性的语言,其不排除适用于或被配置为执行额外任务或步骤的设备。
另外,“基于”的使用意味着开放和包容性,因为“基于”一个或多个所述条件或值的过程、步骤、计算或其他动作在实践中可以基于额外条件或超出所述的值。
小程序作为一种不需要下载安装即可使用的应用,实现了应用“触手可及”的梦想。用户扫一扫或者搜索一下即可打开应用。也体现了“用完即走”的理念,用户不用担心安装太多应用导致用户终端内存不足的问题。小程序使得应用无处不在,随时可用,但又无需安装卸载。
目前针对小程序的服务包的开发,是开发人员以代码形式人工进行开发的,开发周期较长且开发人员的工作量较大。且由于服务包是以代码的形式开发的,服务包存在漏洞BUG的风险,需要测试人员进行测试,造成小程序的服务包的开发成本较高。而在小程序的服务包开发完成上线之后,若需要对已上线的服务包的某项功能进行修改,仍需要开发人员以代码形式完成对服务包的功能的修改,服务包可修改的灵活性较差,且再次增加了开发人员 的工作量。因此,如何缩短小程序的服务包的开发周期以及降低开发人员的工作量是亟待解决的问题。
基于此,本公开实施例提供一种服务包的配置方法,该方法通过获取用户输入的目标服务包的各个配置项的配置信息,进而根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面,也即完成了对于目标服务包的开发。且在生成目标服务包的同时,确定出目标服务包的访问地址,进而向与目标服务包关联的目标小程序发送用于指示上架目标服务包的信息,完成了目标服务包的上架。可见,本公开实施例提供的一种服务包的配置方法,仅需用户输入目标服务包的各个配置项的配置信息,即可完成目标服务包的开发与上线,无需开发人员基于代码进行人工开发,提升了小程序的服务包的开发效率,实现了缩短小程序的服务包的开发周期的同时降低了开发人员的工作量。
本公开实施例提供的服务包的配置方法可以应用于服务包的开发过程、服务包的修改过程、服务包的上线过程和下线过程等过程。
如图1所示,本公开实施例提供了一种服务包管理系统的组成图。该服务包管理系统包括终端设备10、管理服务器20和支付服务器30。其中,终端设备10、管理服务器20和支付服务器30三者之间可以通过有线网络或无线网络连接。其中,有线网络或无线网络可以包括路由器、交换器、基站、或者促进终端设备10、管理服务器20和支付服务器30之间通信的其他设备,本公开实施例对此不作限制。
在一些实施例中,终端设备10中安装和运行有即时通讯应用程序,该即时通讯应用程序包括小程序,小程序是依赖于该即时通讯应用程序(宿主程序)运行的。示例性的,该小程序可以是医疗小程序。
在一些实施例中,管理服务器20用于承载商城系统。商城系统具有用于管理服务包的各种功能。
示例性的,商城系统具有配置服务包的各个配置项的配置信息的功能,用户可以通过商城系统配置对与应用程序中的小程序关联的服务包的各个配置项进行配置,进而管理服务器20根据各个配置项的配置信息生成服务包的详情页面,也即完成对于服务包的开发。
示例性的,商城系统具有对服务包的配置项的配置信息进行修改的功能,用户可以通过商城系统对已配置完成的服务包的某个配置项的配置信息进行修改,进而管理服务器根据某个配置项修改后的配置信息和其他未修改的配置项的配置信息重新生成服务包的详情页面。
示例性的,商城系统具有对服务包的删除功能,用户可以通过商城系统对已配置完成的服务包进行删除。
示例性的,商城系统具有对服务包的上架和下架功能,用户可以通过商城系统控制服务包在小程序中的上架与下架。
示例性的,商城系统具有配置和发布促销信息的功能,用户可以通过商城系统配置多种促销信息,每种促销信息可以包括不同额度的优惠券或代金卡,不同的促销信息可以对应不同的服务包。在促销信息配置完成后,用户通过商城系统将促销信息上架至对应的小程序。
在一些实施例中,支付服务器30为可以实现签约、扣费的处理交易的服务器。支付服务器可以和金融系统互通。示例性的,支付服务器30可以是卓健支付系统的服务器。
在一些实施例中,终端设备10可以是一种具有无线收发功能的设备。终端设备10可以有不同的名称,例如用户设备(user equipment,UE)、接入终端、终端单元、终端站、移动站、移动台、远方站、远程终端、移动设备、无线通信设备、终端代理或终端装置等。终端可以被部署在陆地上,包括室内或室外、手持或车载;也可以被部署在水面上(如轮船等);还可以被部署在空中(例如飞机、气球和卫星上等)。终端可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备或可穿戴设备,无人机(unmanned aerial vehicle,UAV)和无人机控制器(UAV controller,UAVC),虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。终端设备10可以是移动的,也可以是固定的。在本公开实施例中,用于实现终端设备的功能的装置可以是终端,也可以是能够支持终端实现该功能的装置,例如芯片系统。本公开实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。在本公开实施例中,以用于实现终端设备的功能的装置是终端为例,描述本公开实施例提供的技术方案。
在一些实施例中,管理服务器20和支付服务器30可以是独立的物理服 务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(content delivery network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。可选的,上述管理服务器20为包括显示屏的服务器,在显示屏中能够显示商城系统的相关界面。
需要说明的是,本公开实施例通过的一种服务包的配置方法可以应用于上述管理服务器20,或者,与管理服务器20连接的其他设备。为了描述方便,以下以该方法应用于上述管理服务器20为例进行介绍。
图2为本公开实施例提供的一种管理服务器20的硬件结构图。如图2所示,该管理服务器20可以包括处理器41、存储器42、通信接口43、总线44。处理器41,存储器42以及通信接口43之间可以通过总线44连接。
处理器41是管理服务器20的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器41可以是一个通用CPU,也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。
作为一种实施例,处理器41可以包括一个或多个CPU,例如图2中所示的CPU 0和CPU 1。
存储器42可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
一种可能的实现方式中,存储器42可以独立于处理器41存在,存储器42可以通过总线44与处理器41相连接,用于存储指令或者程序代码。处理器41调用并执行存储器42中存储的指令或程序代码时,能够实现本公开下述实施例提供的一种服务包的配置方法。
另一种可能的实现方式中,存储器42也可以和处理器41集成在一起。
通信接口43,用于管理服务器20与其他设备通过通信网络连接,所述通信网络可以是以太网,无线接入网(radio access network,RAN), 无线局域网(wireless local area networks,WLAN)等。通信接口43可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。
总线44,可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图2中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
在一些实施例中,管理服务器20还可以包括输出设备45和输入设备46。输出设备45和处理器41通信,可以以多种方式来显示信息。例如,输出设备45可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备46和处理器41通信,可以以多种方式接收用户的输入。例如,输入设备46可以是鼠标、键盘、触摸屏设备或传感设备等。
需要指出的是,图2中示出的结构并不构成对管理服务器20的限定,除图2所示部件之外,该管理服务器20可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合说明书附图,对本公开提供的实施例进行具体介绍。
本公开实施例提供的一种服务包的配置方法,该方法可以应用于管理服务器,该管理服务器可以是上述图2所示的管理服务器20,或者管理服务器20的处理器。如图3所示,该方法包括如下步骤:
S101、获取目标服务包的各个配置项的配置信息。
在一些实施例中,在用户需要上线目标服务包时,管理服务器可以获取到目标服务包的各个配置项的配置信息。
示例性的,目标服务包可以是医疗服务包、外卖服务包等服务包。为了便于描述,下述实施例均以目标服务包为医疗服务包为例进行说明。
应理解,随着“互联网+医疗健康”在医疗服务领域的涌现,患者可以根据自身身体状况通过医疗小程序购买相应的医疗服务包后进行图文资讯、视频问诊、预约面访等多项服务,患者不需要到医院就可以通过医疗小程序满足多元化需求。
在一些实施例中,在目标服务包为医疗服务包的情况下,目标服务包的配置项包括以下一项或者多项:服务包名称、服务包类型、医疗专家团队信 息、服务包价格、服务项、服务包图片、权益次数、促销活动、服务包有效期或者服务包库存信息。
其中,服务包的库存信息也就是库存量单位(stock keeping unit,SKU),SKU即库存进出计量的基本单元,可以是以件,盒,等为单位。在本公开实施例中,SKU指目标服务包的可购买次数。可以理解的,一个时间周期(例如一周)内一个医疗专家团队的可问诊次数是有限的,故一个时间周期内目标服务包的可购买次数也是有限的。
在一些实施例中,如图4所示,步骤S101可以具体实现为以下步骤:
S1011、响应于打开服务包配置界面的操作指令,显示服务包配置界面。
在一些实施例中,在用户需要使用商城系统时,用户可以通过管理服务器来登录商城系统。图5所示为本公开实施例提供的一种商城系统的界面图。如图5所示,商城系统的界面上显示有首页、服务包管理、优惠券管理、医生管理、退出等功能按钮的图标。
在一些实施例中,在用户需要对服务包进行管理时,可以对上述服务包管理301功能按钮进行操作。管理服务器在检测到用户对于服务包管理301功能按钮的操作后,响应于用户对于服务包管理301的操作,显示服务包管理界面。
需要说明的是,本公开中涉及的“操作”均指用户进行的操作,示例性地,操作可以是使用鼠标单击、双击、拖动等操作,还可以是触摸屏幕、手势、语音等形式。
示例性的,服务包管理界面可以如图6所示。服务包管理界面显示有搜索栏的输入框、搜索、重置、新增和修改等20多个功能按钮的图标。还显示有已配置完成的服务包的状态、序号。例如服务包1处于上线状态,序号为1;服务包2处于上线状态,序号为2。在每个已配置完成的服务包后还可以对该服务包进行修改的修改功能按钮的图标和删除的删除功能按钮的图标。
在一些实施例中,在用户需要配置一个目标服务包时,可以对上述新增302功能按钮进行操作,以打开服务包配置界面。
管理服务器在检测到用户对于新增302功能按钮的用于打开服务包配置界面的操作指令后,响应于打开服务包配置界面的操作指令,显示服务包配置界面。
示例性的,服务包配置界面可以如图7所示,服务包配置界面包括目标服务包的各个配置项的输入框。例如,服务包配置界面显示有服务包名称的输入框、图片的上传按钮图标和预览按钮图标、专家团队的选择框、服务包 所包含的各个服务项的输入框,例如服务项1的输入框、服务项2的输入框等,以及价格的输入框、是否上线的选择框、权益次数的输入框、可购买次数的输入框、有效期的输入框、促销项的选择框、激活有效期的输入框、激活方式的选择框和服务说明的输入框。
在一些实施例中,专家团队的选择框用于供用户配置该目标服务包的专家团队。关于专家团队的配置,可以通过商城系统的界面上显示的医生管理接口进入医生管理界面。在医生管理界面中,用户可以配置每个专家团队的图片、每个专家团队的简介、每个专家团队所包括的多个医生中每个医生的图片、每个医生所擅长的领域、每个医生所能提供的服务(例如图文问诊、视频问诊以及电话问诊等)、每个医生提供的每项服务的价格、每个专家团队所能够提供的服务以及每个专家团队提供的每项服务的价格等。
在一些实施例中,权益次数的输入框用于供用户配置该目标服务包为患者提供服务的次数,例如5次,代表患者购买此目标服务包后可以享受该目标服务包的专家团队的5次医疗服务。
在一些实施例中,促销项的选择框用于供用户配置该目标服务包的促销信息,例如,供用户配置该目标服务包的首单优惠、满减优惠等。关于促销项的配置,可以通过商城系统的界面上显示的优惠券管理接口进行优惠券管理界面。在优惠券管理界面中,用户可以配置不同面额的优惠券,以及每种面额的优惠券的使用期限、使用条件(例如满足不同的金额的情况下可以使用不同面额的优惠券)、激活方式(包括秘钥激活、序列码(CDKEY,CDK)激活等)等。激活方式的选择框用于供用户配置该目标服务包的激活方式,激活方式包括秘钥激活、CDK激活等。
S1012、响应于用户在服务包配置界面上对目标服务包的各个配置项的输入框的输入操作,获取目标服务包的各个配置项的配置信息。
在一些实施例中,用户可以根据各个配置项的文字提醒,在服务包配置界面对目标服务包的各个配置项的输入框进行输入操作,以对目标服务包的各个配置项进行配置。管理服务器在接收到用户对各个配置项的输入操作之后,响应于用户在服务包配置对目标服务包的各个配置项的输入框的输入操作,获取目标服务包的各个配置项的配置信息。也就是管理服务器在用户对各个配置项的输入框进行输入的过程中获取各个配置项的配置信息。
作为一种可能的实现方式,如图7所示,在用户对目标服务包的各个配置项的输入框输入完成后,用户可以点击提交303功能按钮的图标,以提交目标服务包的各个配置项的配置信息。管理服务器在接收到用户点击提交303 功能按钮的图标的操作后,响应于用户点击提交303功能按钮的图标的操作,获取目标服务包的各个配置项的配置信息。也就是管理服务器在用户对各个配置项的输入框输入完成后获取各个配置项的配置信息。
S102、根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面,并确定目标服务包的详情页面的访问地址。
在一些实施例中,在得到目标服务包的各个配置项的配置信息之后,管理服务器可以根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面。
具体的,管理服务器可以将目标服务包的各个配置项的配置信息填充到预设的目标服务包的详情页面的模板中,得到目标服务包的详情页的初稿。进而根据目标服务包的详情页面将要采用的语言,对目标服务包的详情页的初稿进行转换,以得到目标服务包的详情页面。
在一些实施例中,目标服务包的详情页面为第五代超文本标记语言(hypertext markup language,H5)页面。其中,超文本标记语言,是标准通用标记语言下的一个应用。“超文本”就是指页面内可以包含图片、链接,甚至音乐、程序等非文字元素。超文本标记语言的结构包括“头”部分(英语:Head)、和“主体”部分(英语:Body),其中“头”部提供关于网页的信息,“主体”部分提供网页的具体内容。
示例性的,在目标服务包的详情页面为H5页面的情况下,目标服务包的详情页面可以如图8所示。目标服务包的详情页面上可以显示有目标服务包的介绍信息,用户可以通过下滑终端设备的屏幕以了解目标服务包的更多详情信息。
在一些实施例中,在管理服务器可以根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面的同时,管理服务器还可以为目标服务包的详情页面生成属于目标服务包的详情页面的访问地址。其中,一个目标服务包的详情页面的访问地址用于唯一指示一个目标服务包的详情页面,以便于终端设备可以根据目标服务包的详情页面的访问地址准确的访问到目标服务包的详情页面。
S103、向与目标服务包关联的目标小程序发送用于指示上架目标服务包的信息。
应理解,在管理服务器根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面时,代表目标服务包已开发完成,可以上架至与目标服务包关联的目标小程序上,以增加目标小程序可提供的服务范围。
在一些实施例中,管理服务器的存储器中预先存储有多个服务包与多个小程序之间的预设对应关系,其中,一个小程序可以与多个服务包具有对应关系。在管理服务器生成目标服务包的详情页面,并确定目标服务包的详情页面的访问地址之后,管理服务器可以根据预设对应关系,确定与目标服务包对应的目标小程序。
可选的,在管理服务器生成目标服务包的详情页面,并确定目标服务包的详情页面的访问地址之后,管理服务器可以发出用于提示用户输入与目标服务包关联的目标小程序的提示信息。进而,管理服务器在接收到用户输入的信息之后,可以对用户输入的信息进行解析,以确定出与目标服务包关联的目标小程序。
进一步的,在管理服务器确定出与目标服务器关联的目标小程序之后,管理服务器可以向与目标服务器关联的目标小程序发送用于指示上架目标服务包的信息,其中,用于指示上架目标服务包的信息包括目标服务包的详情页面的访问地址。
如此,在用户通过终端设备查看目标小程序中的目标服务包时,终端设备可以根据目标服务包的详情页面的访问地址访问到目标服务包的详情页面,以供用户查看。
基于图3所示的实施例,至少带来以下有益效果:在管理服务器获取到用户输入的目标服务包的各个配置项的配置信息之后,根据目标服务包的各个配置项的配置信息生成目标服务包的详情页面,也即完成了对目标服务包的开发。如此,用户仅需在目标服务包的各个配置项的配置框中输入各个配置项的配置信息,管理服务器即可自动完成对于目标服务包的开发,无需开发人员以代码的形式人工开发目标服务包,提升了小程序的服务包的开发效率,实现了缩短小程序的服务包的开发周期的同时降低了开发人员的工作量。
上述实施例着重介绍了目标服务包的配置流程和目标服务包的上架流程,在一些实施例中,在目标服务包的配置流程中,本公开实施例提供的一种服务包的配置方法还涉及对于目标服务包的各个配置项的配置信息的核准流程,如图9所示,该方法还包括如下步骤:
S201、针对目标服务包的各个配置项,检测配置项的配置信息是否符合配置项的配置规则。
可以理解的,目标服务包的各个配置项是需要在小程序界面上进行显示的。为了保证目标服务包的各个配置项在小程序界面上显示的合理性,在管理服务器获取用户输入的目标服务包的各个配置项的配置信息时,管理服务 器针对目标服务包的各个配置项,检测配置项的配置信息是否符合配置项的配置规则。
示例性的,结合图7所示的服务包配置界面,假设配置项为服务包名称,则配置项的配置规则可以包括以下几种情形:
情形1、判断此次获取到的服务包名称是否已存在。
可以理解的,若检测到此次获取到的服务包名称已存在,代表在此次之前已经有用户使用此服务包名称了。由于不同的服务包可能对应不同的医疗专家团队来提供服务,故服务包名称需要具有唯一性,所以需要判断此次获取到的服务包的名称是否已存在。
情形2、判断此次获取到的服务包名称的字数是否大于或等于预设字数。
可以理解的,服务包名称从一定程度上用于介绍该服务包所能够提供的服务,故需要对服务包名称的字数进行限定,以便于患者可以根据服务包名称快速的匹配到与自身病患情况相对应的目标服务包。
其中,预设字数可以是开发人员预先存储至管理服务器中的存储器中的,例如,预设字数为5个字。
情形3、判断此次获取到的服务包名称中是否存在空格等不明字符。
可以理解的,若服务包名称中存在空格等不明字符,可能会导致服务包名称在小程序界面上无法正常显示,为了保证各个服务包名称在小程序界面上的正常显示,需要保证服务包名称中不存在空格等不明字符。
继续如上述图7所示,假设配置项为图片,则配置项的配置规则可以是判断获取到的图片的大小是否满足预设尺寸以及图片的分辨率是否满足预设分辨率。
可以理解的,假设获取到的图片的大小不满足预设尺寸或者分辨率不满足预设分辨率,则图片可能在小程序界面上无法正常显示,为了保证图片在小程序界面上的正常显示,需要保证图片的大小满足预设尺寸以及图片的分辨率满足预设分辨率。
其中,预设尺寸和预设分配率均可以是开发人员预先存储至管理服务器的存储器中的,例如,预设尺寸为2寸,预设分辨率为350dpi。
在一些实施例中,针对目标服务包的各个配置项可以具有一个统一的配置规则,该统一的配置规则可以为判断各个配置项的输入框是否为空。
可以理解的,假设目标服务包的某个配置项的输入框为空,代表用户可能遗漏输入该配置项的配置信息。为了保证目标服务包的各个配置项的配置信息的完整性,需要保证目标服务包的各个配置项的输入框不为空。
S202、在配置项的配置信息不符合配置项的配置规则时,在服务包配置界面上显示提示信息,以指示用户重新输入配置项的配置信息。
可选的,假设配置项为服务包名称,若检测到此次获取到的服务包名称已存在,则管理服务器在服务包配置界面上显示第一提示信息,以指示用户重新输入服务包名称。
示例性的,第一提示信息的内容可以是“服务包名称已存在,请您重新输入!”。
可选的,假设配置项为图片,若检测到此次获取到的图片的大小不满足预设尺寸或者图片或分辨率不满足预设分辨率时,则管理服务器在服务包配置界面上显示第二提示信息,以指示用户重新上传图片。
示例性的,第二提示信息的内容可以是“请重新上传图片,并保证图片的尺寸在2寸以及图片分辨率在350dpi以上”。
上述实施例着重介绍了目标服务包的配置流程以及服务包的上架流程,在一些实施例中,在目标服务包的各个配置项配置完成之后,本公开实施例提供的一种服务包的配置方法还涉及对于已配置完成的目标服务包的配置项的修改流程,如图10所示,该方法还包括如下步骤:
S301、获取目标服务包的第一配置项的更新后的配置信息。
在一些实施例中,在目标服务包上架之后,若用户需要对目标服务包的某个配置项进行更改,可以再次通过服务包配置界面来对目标服务包的第一配置项进行更改。其中,目标服务包的第一配置项为目标服务包的多个配置项中的任一个配置项。
继续如上述图6所示,假设服务包1为目标服务包,也即用户需要对服务包1的某个配置项进行更改。则用户可以对图7中所示的服务包1所对应的修改304功能按钮的图标进行操作,以进入服务包的修改界面。管理服务器在接收到用户对于服务包1所对应的修改304功能按钮的图标的操作指令后,显示服务包修改界面。
示例性的,服务包修改界面可以如图11所示。示例性的,若用户需要对服务包名称进行修改,则服务包名称为第一配置项。若用户需要对服务包名称和图片进行修改,则服务包名称和图片为第一配置项。
示例性的,假设用户需要对服务包名称进行修改,则用户可以对服务包名称的输入框后的修改305功能按钮的图标进行操作,以清空服务包名称的输入框,以便于用户在服务包名称的输入框中重新输入服务包名称。
管理服务器在接收到用户对于服务包名称的输入框后的修改305功能按 钮的图像的操作指令之后,响应于该操作指令,清空该服务包名称的输入框中的内容。
在管理服务器该服务包名称的输入框中的内容后,用户可以在服务包名称的输入框中重新输入一个服务包名称。且在用户在服务包名称的输入框中重新输入一个服务包名称之后,可以对图11中所示的提交306功能按钮的图标进行操作,以提交更新后的服务包名称,也即提交更新后的第一配置项的配置信息。
示例性的,用户重新输入的服务包名称可以是服务包7。
需要说明的是,在用户对目标服务包的第一配置项进行更新之后,服务器的配置装置需要对第一配置项更新后配置信息进行检测,以检测配置项更新后的的配置信息是否符合配置项的配置规则。
管理服务器在接收到用户对于提交306功能按钮的图标的操作指令之后,响应于该操作指令,获取目标服务包的第一配置项的更新后的配置信息。
S302、根据第一配置项的更新后的配置信息,以及第二配置项的配置信息,重新生成目标服务包的详情页面。
其中,第二配置项为目标服务包的配置项中出去第一配置项之外的其他配置项。结合图11所示的服务包修改界面,第二配置项可以是除去服务包名称的配置项之外的所有配置项。
在一些实施例中,重新生成后的目标服务包的详情页面的访问地址与重新生成前的目标服务包的详情页面的访问地址相同。如此,保证用户仍可以使用原访问地址访问目标服务包的详情页面。
上述实施例着重介绍了关于目标服务包上架的流程,在一些实施例中,在目标服务包上架之后,本公开实施例提供的一种服务包的配置方法还涉及对于目标服务包的下架流程,如图12所示,该方法还包括如下步骤:
S401、在满足预设条件的情况下,向目标小程序发送用于指示下架目标服务包的信息。
其中,预设条件包括以下任意一项:
(1)目标服务包的上架时长达到预设时长。
其中,目标服务包的预设时长也就是上述目标服务包的有效期。可以理解的,在促销活动下,用户可能将目标服务包的价格设置的较低,但目标服务包保持此低价格应在一定时间范围内。当促销活动的周期结束后,也就是目标服务包的上架时长达到预设时长之后,目标服务包需要被下架,此时管理服务器可以自动向目标小程序发送用于指示下架目标服务包的信息。
(2)目标服务包的库存个数小于或等于预设个数。
由上述关于目标服务包的库存的描述可知,目标服务包的预设个数也就是目标服务包的可购买次数,也就是目标服务包的专家医疗团队在当前周期范围内可提供医疗服务的次数。当目标服务包的库存个数小于或等于预设个数时,代表目标服务包的专家医疗团队在当前周期范围内已无法提供更多次数的医疗服务,此时管理服务器可以自动向目标小程序发送用于指示下架目标服务包的信息。
(3)接收到用户指示下架目标服务包的操作指令。
在一些实施例中,在用户需要下架目标服务包时,用户可以通过服务包管理界面,对目标服务包对应的修改功能按钮的图标进行操作,以进入服务包的修改界面。
示例性的,继续如上述图6所示,假设目标服务包为服务包2,用户可以对服务包2对应的修改307功能按钮的图标进行操作,以进行服务包2的修改界面。管理服务器在接收到用户对于服务包2对应的修改307功能按钮的图标的操作指令后,响应于该操作指令,显示服务包2的修改界面。示例性的,服务包2的修改界面可以如图13所示。用户在选择对目标服务包下架时,可以通过触控是否上线的选择按钮中的否308功能按钮的图标,将目标服务包是否上线的状态由是修改为否。在用户将目标服务包是否上线的状态由是改为否之后,用户可以对图13中的提交309功能按钮的图标进行操作,以完成指示下架目标服务包的操作指令。服务包的控制装置在接收到用户对于图13中的提交309功能按钮的图标的操作指令后,响应于该操作指令,管理服务器向目标小程序发送用于指示下架目标服务包的信息。
在一些实施例中,在管理服务器向目标小程序发送用于指示下架目标服务包的信息的同时,管理服务器更新服务包的管理界面。更新后的服务包的管理界面可以如图14所示。由图14可以看出,服务包2的状态由之前的上线更新为下线。
上述实施例着重介绍了目标服务包的上架过程和下架过程。在一些实施例中,在目标服务包上架至目标小程序之后,本公开实施例提供的一种服务包的配置方法还包括服务包的使用方法,如图15所示,该方法还包括如下步骤:
S501、响应于用户开启目标小程序的操作指令,终端设备显示目标小程序的界面。
在一些实施例中,在用户需要使用目标小程序时,可以在终端设备中的 即时通讯应用程序的界面下滑屏幕,以进入小程序显示界面。终端设备在接收到用户在即时通讯应用程序界面的下滑指令之后,响应于该下滑指令,显示小程序显示界面。示例性的,小程序显示界面可以如图16所示。小程序显示界面显示有用户最近使用的多个小程序以及用户关注的多个小程序。
在小程序显示界面,用户可以通过对目标小程序的图标进行操作,以进入目标小程序。端设备在接收到用户对于目标小程序的图标的操作指令,响应于该操作指令,终端设备显示目标小程序的界面。
示例性的,以目标小程序为医疗小程序41为例,用户可以通过触控医疗小程序41的图标,以进入医疗小程序41的主界面。示例性的,医疗小程序41的主界面可以如图17所示。医疗小程序41的主界面显示有搜索框,用于用户搜索医院、医生、科室或疾病。医疗小程序41的界面还显示有预约挂号、医生资讯、复诊开药等功能按钮的图标,用户可以根据自身需求,对相应的功能按钮的图标进行操作,以进入相应的功能的界面。
继续如上述图17所示,医疗小程序41的界面还显示有服务包中心的导航界面。示例性的,服务包中心可以包括肺健康中心和甲状腺中心,用户可以根据自身需求,对相应的服务包中心的图标进行操作,以进入相应的服务包中心的界面。
在一些实施例中,若用户所需的目标服务包未在医疗小程序41的主界面上找寻到感兴趣的服务包,用户可以对服务包中心42的图标进行操作,以进入服务包中心42的界面。终端设备接收到用户对于服务包中心42的图标的操作指令后,响应于该操作指令,显示服务包中心的界面。示例性的,服务包中心的界面可以如图18所示。服务包中心的界面可以包括多种服务包的简介页面,用户可以根据服务包中心的界面上显示的多种服务包的简介页面寻找符合自身身体状况的目标服务包。
S502、响应于用户开启目标服务包的操作指令,终端设备显示目标服务包的界面。
在用户在服务包中心的界面上确定目标服务包之后,可以对目标服务包的简介页面进行操作,以进入目标服务包的页面。终端设备在接收到用户对于目标服务包的简介页面的操作指令后,响应于该指令,终端设备显示目标服务包的界面。示例性的,目标服务包的界面可以如上述图8所示。目标服务包的页面也可以称作目标服务包的详情页面,目标服务包的详情页面可以显示有该目标服务包所能提供的服务的详情介绍也、治疗成功率分析表、提供治疗服务的专家团队的介绍页等,以便于用户根据目标服务包的详情页面 的介绍和自身身体状况,确定是否购买此目标服务包。
S503、响应于用户开启专家团队的操作指令,终端设备显示专家团队的界面。
可以理解的,若用户需要购买目标服务包,较为重要的是需要对为目标服务包提供医疗服务的专家团队进行了解,以此来了解目标服务包的专家团队所擅长的领域是否与自身身体情况相符合。基于此,用户可以在目标服务包的界面上对专家团队的介绍页进行操作,以进入专家团队的界面。终端设备在接收到用户对于专家团队的介绍页的操作指令后,响应于该操作指令,终端设备显示专家团队的界面。
示例性的,专家团队的界面可以如图19所示。专家团队的界面显示有专家团队擅长的医疗领域的详情介绍,以及组成专家团队的每位医生的简介页。其中,一位医生的简介页包括该医生的职位、工龄、学历以及所擅长的医疗领域等。
S504、响应于用户提交订单的操作指令,终端设备生成服务包选择指令,并向管理服务器发送该服务包选择指令。
在一些实施例中,在用户经过浏览目标服务包的界面和目标服务包的专家团队的界面之后确定购买该目标服务包后,继续如上述图8所示,用户可以对图8中所示的立即购买43功能按钮的图标进行操作,以进入支付界面。终端设备在接收到用户对立即购买43功能按钮的图标的操作指令后,响应于该操作指令,进入支付界面。
示例性的,支付界面可以如图20所示。支付界面可以显示有目标服务包的名称、专家团队的名称、就诊人的选择项44、优惠券的输入框45以及价格显示栏等。
在一些实施例中,用户可以根据对就诊人的选择项44进行操作,以确定就诊人。终端设备在接收到用户对于就诊人的选择项44的操作指令后,响应于该操作指令,确定该目标服务包的就诊人。
在一些实施例中,若用户具有优惠券或代金卡,可以在优惠券的输入框45中输入优惠券码或代金卡兑换码,以完成优惠信息的录入。终端设备在接收到用户对于优惠券的输入框45的输入操作之后,响应于该操作指令,对用户输入的优惠券码或代金卡兑换码进行核查。
可选的,若终端设备核查到用户输入的优惠券码或代金卡兑换码无误,终端设备则控制价格显示栏中显示的价格减去优惠券或代金卡相应的金额。
可选的,若终端设备核查到用户输入的优惠券码或代金卡兑换码有误, 终端设备则显示用于提示用户重新输入优惠券码或代金卡兑换码的提示信息。
在一些实施例中,若用户未具有优惠券或代金卡,则优惠券的输入框可以为空。
在一些实施例中,在用户完成就诊人的确认以及优惠券的录入之后,用户可以选择查看《服务协议》和《用户知情同意书》。并在查看完成之后,对《服务协议》和《用户知情同意书》之前的选择按钮46进行操作,以确认完成查看《服务协议》和《用户知情同意书》。终端设备在接收到用户对于选择按钮46的操作之后,响应于该操作指令,确定用户已查看《服务协议》和《用户知情同意书》,授予用户完成支付的权限。
在一些实施例中,在用户对选择按钮46进行操作之后,可以对立即支付47按钮进行操作,以进行订单的提交。终端设备在接收到用户对于立即支付47按钮的操作之后,响应于该操作指令,生成服务包选择指令,并向管理服务器发送该服务包选择指令。
在一些实施例中,上述服务包选择指令包括目标服务包信息、时间信息、终端设备识别码以及就诊人标识。
其中,上述目标服务包信息包括目标服务包的标识以及目标服务包的价格等。目标服务包的标识用于唯一指示一个目标服务包,例如,目标服务包的标识可以是目标服务包的名称。目标服务包的价格可以是经过优惠券抵扣后的价格。时间信息用于指示用户提交订单的时间。终端设备识别码用于唯一指示一个终端设备,例如,终端设备识别码可以是终端设备的国际移动设备识别码(international mobile equipment identity,IMEI)等。就诊人标识用于唯一指示一个就诊人,例如,可以是就诊人名称。
S505、管理服务器接收终端设备发送的服务包选择指令。
S506、管理服务器根据服务包选择指令,生成订单标识号码。
在一些实施例中,管理服务器在接收到终端设备发送的服务包选择指令之后,管理服务器对该服务包选择指令进行解析,得到服务包选择指令包含的目标服务包信息、时间信息、终端设备识别码以及就诊人名称,并根据时间信息、终端设备识别码和就诊人名称,生成订单标识号码。其中,订单标识号码用于唯一指示一个订单。
由于时间信息和终端设备识别码具有唯一性,以使得生成的订单标识号码具有唯一性,不会与其他订单发生重复,以便于管理服务器对订单的快速查找和管理。
示例性的,解析得到的时间信息为2022年1月1日,终端设备识别码为123456789101112,就诊人标识为66688,生成的订单标识号码20221112345678910111266688。
S507、管理服务器将订单标识号码存储至订单管理列表。
其中,订单管理列表中存储有多个订单标识号码以及每个订单标识号码对应的状态属性信息。状态属性信息包括已支付状态和未支付状态。
S508、管理服务器根据目标服务包信息和订单标识号码,生成支付信息,并向终端设备发送该支付信息。
由上述关于目标服务包信息的描述可知,目标服务包信息中包括目标服务包的价格,假设目标服务包的价格为1288元,则管理服务器根据目标服务包的价格1288和订单标识号码20221112345678910111266688生成支付信息,并向终端设备发送该支付信息。
S509、终端设备接收到管理服务器发送的支付信息。
S510、终端设备根据支付信息,显示支付界面。
在一些实施例中,在终端设备接收到管理服务器发送的支付信息之后,可以根据支付信息包含的支付数据,生成支付界面。支付界面上显示后待支付的价格。订单标识号码以及支付方式。
其中,支付方式可以包括多种,用户可以根据自身情况选择相应的支付方式。
在一些实施例中,在终端设备接收到用户选择目标支付方式的操作指令后,响应于该操作指令,终端设备建立与目标支付方式的支付服务器的连接,并将支付服务器的接口地址发送至管理服务器。
S511、响应于用户的支付操作,终端设备生成支付指令,并将支付指令发送至支付服务器。
具体的,用户在支付界面上完成支付方式的选择以及支付密码的输入的操作之后,响应于该操作指令,终端设备生成支付指令,并通过支付接口发送至相对应的支付服务器。其中,支付指令包括支付密码。
S512、支付服务器生成支付成功信息,并将支付成功信息发送至管理服务器。
支付服务器在接收到终端设备发送的支付指令之后,对支付指令包括的支付密码进行验证。在验证通过时生成支付成功信息并将支付成功信息发送至管理服务器。其中,支付成功信息包括订单标识号码。
在一些实施例中,上述支付信息是具有时效性的,例如支付信息的有效 时效为30分钟。若用户未在支付信息的有效时效范围内完成支付,也就是管理服务器未在30分钟内接收到支付服务器发送的支付成功信息,管理服务器可以向终端设备发送订单取消信息,以提示用户订单失效,以及提示用户重新购买。
可选的,管理服务器在向终端设备发送订单取消信息的同时,管理服务器在订单管理列表中删除掉该订单对应的订单标识号码,以便于提升管理服务器的存储资源利用率。
在一些实施例中,在当前时间距离订单失效时间在一定时间范围(例如5分钟)内时,管理服务器生成支付提示信息,并将支付提示信息发送至终端设备,以提示用户完成支付,从而避免订单失效。
S513、管理服务器接收支付服务器发送的支付成功信息。
S514、管理服务器对支付成功信息进行解析,确定支付成功的订单标识号码,并更改订单标识号码对应的状态属性信息。
在一些实施例中,在管理服务器接收到支付服务器发送的支付成功信息后,可以对该支付成功信息进行解析,以确定出该支付成功信息所对应的订单标识号码。进而根据订单标识号码,在订单管理列表中将该订单的状态属性信息由未支付状态更改为已支付状态。
需要说明的是,订单标识号码对应的状态属性信息的更改,是基于管理服务器接收到支付成功信息中的支付时间信息。当管理服务器在一个时间段内接收到多个同一订单标识号码的支付成功信息时,管理服务器从多个支付成功信息中提出多个支付时间信息,并判断多个支付时间信息中的最先支付时间。当该支付时间信息是最先支付时间时,生成支付验证成功信息并将支付验证成功信息发送给支付服务器,进而将该订单标识号码对应的状态属性信息由未支付状态更新为已支付状态。当该支付时间信息并非为最先支付时间时,生成支付验证失败信息,并将支付验证失败信息发送至支付服务器。
示例性的,用户将管理服务器发送的支付信息分享到用户群中找人代付,多个用户在同一时间进行了支付。支付服务器向管理服务器同时发送的了多个支付成功信息,管理服务器对多个支付成功信息中的支付时间信息进行提取,提取到的支付时间分别为2022年1月1日10:25:05、10:25:01、10:25:53、10:25:00,确定支付时间2022年1月1日10:25:00为首个发送时刻,基于支付时间为2022年1月1日10:25:00的支付成功信息向支付服务器返回支付验证成功信息,并且,管理服务器将支付时间为2022年1月1日10:25:00对应的订单标识号码的状态属性信息由待支付状态更新为已支付状态。同时,管 理服务器基于支付时间为2022年1月1日10:25:05、2022年1月1日10:25:01和2022年1月1日10:25:53的支付成功信息向支付服务器返回支付验证失败信息,支付服务器根据支付验证失败信息对进行退款。
在一些实施例中,若管理服务器检测到该订单标识号码对应的状态属性信息为已支付状态,则管理服务器生成支付验证失败信息,并将支付验证失败信息发送至支付服务器。其中,支付验证失败信息包括该订单标识号码。
可以理解的,用户在使用终端设备进行网络付款时,在操作过程中可能因为网络环境差或者用户误操作导致多次重复付款。当管理服务器检测到到该订单号码对应的状态属性信息为已支付状态,则管理服务器生成支付验证失败信息,并将支付验证失败信息发送至支付服务器,以便于支付服务器基于支付验证失败信息包括的订单标识号码向用户进行退款,由于订单标识号码具有唯一性,支付服务器可以准确的向重复付款的用户进行退款,从而避免用户的多次重复付款对用户使用体验的影响。
S515、管理服务器将订单标识号码更改后的状态属性信息发送至终端设备。
在管理服务器将订单标识号码对应的状态属性信息由未支付状态更改为已支付状态后,管理服务器可以向终端设备发送该订单标识号码更改后的状态属性信息,以提示用户支付成功,完成了支付流程的同时,完成了支付状态在终端设备和管理服务器之间的同步。
在一些实施例中,在终端设备提示用户支付成功经过预设时长(例如30秒)之后,终端设备可以自动显示预约详情页面。
示例性的,预约详情页面可以如图21所示。预约详情页面显示有预约信息、预约人信息、服务项信息、消费提示以及促销提示。其中,预约信息包括预约的服务包名称以及预约日期。预约人信息包括预约人的姓名、身份证号、手机号、性别和年龄。服务项信息包括该服务包所提供的服务项的名称,以及每项服务项所对应的价格以及共计价格。消费提示包括够买该服务包后所包括的权益次数以及服务包的有效期。促销提示包括目前医疗小程序所提供的优惠信息,若用户对于优惠信息感兴趣,可以通过对预设详情页面的去了解48按钮进行操作,以进入促销详情页面。若终端设备接收到用户对于去了解48按钮的操作指令,响应于该操作指令,终端设备显示促销详情页面。
在一些实施例中,促销详情页面可以显示有多种满减优惠信息。
在一些实施例中,在用户购买目标服务包之后,用户可以通过查看我的订单,进入服务包列表页,进而选择对已购买的目标服务包进行使用。其中, 用户选择使用目标服务包时需要对目标服务包进行激活。
在一些实施例中,目标服务包的激活方式包括手动激活和自动激活。其中,手动激活需要用户在目标服务包的有效期内主动对目标服务包对应的“立即激活”功能按钮的图标进行操作,以触发对于目标服务包的激活。终端设备接收到用户对于立即激活功能按钮的图标的操作指令后,响应于该操作指令,终端设备激活该目标服务包。自动激活即用户购买目标服务包后,目标服务包自动进入激活状态。
在目标服务包处于激活状态时,用户可以去使用目标服务包。在终端设备接收到用户用于使用目标服务包的操作指令后,响应于该操作指令,终端设备显示目标服务包的各个服务项,并打开第三方系统(例如卓健系统)以便于用户进行问诊。
在一些实施例中,在用户使用完成一次目标服务包的服务项后,也就是用户使用一次目标服务包的权益次数后,承载目标小程序的终端设备向管理服务器发送用于指示权益次数完成一次的提示信息,以通知管理服务器该目标服务包对应的订单标识号码所代表的订单已完成一次权益次数。
在一些实施例中,在用户使用完目标服务包的所有权益次数后,代表目标服务包所代表的服务已完成,承载目标小程序的终端设备向管理服务器发送用于指示服务已完成的提示信息,以提示管理服务器该目标服务包对应的订单标识号码代表的订单已完成。管理服务器在接收到该提示信息后,将该订单标识号码代表的订单状态更新为已完成。如此,完成了目标服务包的使用流程。
上述实施例着重介绍了用户购买服务包和使用服务包的流程。在一些实施例中,用户也可以通过医疗小程序,与自己感兴趣的医生进行专门的问诊。
示例性的,继续如上述图19所示。专家团队的界面显示有专家团队擅长的医疗领域的详情介绍,以及组成专家团队的每位医生的简介页。若用户根据每位医生的简介页和自身的身体情况,从多个医生中确定出目标医生后,用户可以对目标医生的简介页进行操作,以进入该目标医生的详情页。其中,目标医生可以是多个医生中任一个医生。
终端设备在接收到用户对于目标医生的简介页的操作指令后,响应于该操作指令,显示该目标医生的详情页。示例性的,该目标医生的详情页可以如图22所示。该目标医生的详情页可以包括该医生的名称、职位、医龄、评分、接诊量、擅长领域等。
在一些实施例中,继续如上述图22所示,该目标医生的详情页可以包括 该目标医生视频资讯的价格、图文问询的价格、以及电话资讯的价格。还可以包括该目标医生所属专家团队、医生关键词以及收到的评价等。以便于用户根据该目标医生的详情页的介绍,对该目标医生进行了解,以提升用户的问诊体验。
在一些实施例中,若用户需要进行图文资讯,用户可以对图22中的图文资讯49的选项进行操作,以进入图文资讯的详情页。终端设备在接收到用户对于图文资讯49的选项的操作指令后,响应于该操作指令,显示图文资讯的详情页面。
示例性的,图文资讯的详情页可以如图23所示。图文资讯的详细页显示有患者姓名的输入框以供用户输入姓名、病情描述的输入框以供用户输入自身的病患情况,且为了提升用户病患情况描述的精准度,对用户输入的自身病患情况的字数作了限制,例如最少输入10个字。
在一些实施例中,图文资讯的详情页还包括添加附件的添加框,用于在用户具有自身检查结果、病历或自身病患图片的情况下,将自身检查结果、病历或自身病患图片作为附件进行上传,以便于专家根据相关附件对用户进行诊断,提升诊断的效率以及准确性。
在一些实施例中,图文资讯的详情页还包括专家的选择框,以供用户选择自己感兴趣的医生。
上述主要从方法的角度对本公开实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本公开能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。
本公开实施例还提供了一种服务包管理装置的结构图。如图24所示,服务包管理装置300可以包括:通信单元301和处理单元302。在一些实施例中,上述服务包管理装置300还可以包括存储单元303。
在一些实施例中,上述通信单元301,用于获取目标服务包的各个配置项的配置信息。
上述处理单元302,用于根据目标服务包的各个配置项的配置信息,生成目标服务包的详情页面,并确定目标服务包的详情页面的访问地址。
上述通信单元301,还用于向与目标服务包关联的目标小程序发送用于指示上架目标服务包的信息,用于指示上架目标服务包的信息包括目标服务包的详情页面的访问地址。
另一些实施例中,上述通信单元301,具体用于:响应于打开服务包配置界面的操作指令,显示服务包配置界面,服务包配置界面包括目标服务包的各个配置项的输入框;响应于用户在服务包配置界面上对目标服务包的各个配置项的输入框的输入操作,获取目标服务包的各个配置项的配置信息。
另一些实施例中,上述处理单元302,还用于针对目标服务包的各个配置项,检测配置项的配置信息是否符合配置项的配置规则;在配置项的配置信息不符合配置项的配置规则时,在服务包配置界面上显示提示信息,以指示用户重新输入配置项的配置信息。
另一些实施例中,上述通信单元301,还用于获取目标服务包的第一配置项的更新后的配置信息。
上述处理单元302,还用于根据第一配置项的更新后的配置信息,以及第二配置项的配置信息,重新生成目标服务包的详情页面;其中,第二配置项为目标服务包的配置项中除去第一配置项之外的其他配置项;重新生成后的目标服务包的详情页面的访问地址与重新生成前的目标服务包的详情页面的访问地址相同。
另一些实施例中,上述通信单元301,还用于在满足预设下架条件的情况下,向目标小程序发送用于指示下架目标服务包的信息;其中,预设下架条件包括以下任意一项:目标服务包的上架时长达到预设时长;目标服务包的库存个数小于或等于预设个数;接收到用户指示下架目标服务包的操作指令。
另一些实施例中,上述目标服务包的详情页面为第五代超文本标记语言H5页面。
另一些实施例中,在目标服务包为医疗服务包的情况下,目标服务包的配置项包括以下一项或者多项:服务包名称、医疗专家团队信息、服务包价格、服务项、服务包图片、权益次数、促销活动、服务包有效期或者服务包库存信息。
在一些实施例中,上述存储单元303,用于存储上述目标服务包的配置项。
另一些实施例中,上述存储单元303,还用于存储上述预设条件。
另一些实施例中,上述存储单元303,还用于存储上述目标服务包的第一配置项的更新后的配置信息。
另一些实施例中,上述存储单元303,还用于存储上述目标服务包的详情 页面的访问地址。
图24中的单元也可以称为模块,例如,处理单元可以称为处理模块。
图24中的各个单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务包管理装置,或者网络设备等)或处理器(processor)执行本公开各个实施例方法的全部或部分步骤。存储计算机软件产品的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本公开的一些实施例提供了一种计算机可读存储介质(例如,非暂态计算机可读存储介质),该计算机可读存储介质中存储有计算机程序指令,计算机程序指令在计算机上运行时,使得计算机执行如上述实施例中任一实施例所述的服务包的配置方法。
示例性的,上述计算机可读存储介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,CD(Compact Disk,压缩盘)、DVD(Digital Versatile Disk,数字通用盘)等),智能卡和闪存器件(例如,EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、卡、棒或钥匙驱动器等)。本公开描述的各种计算机可读存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读存储介质。术语“机器可读存储介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。
本公开的一些实施例还提供了一种计算机程序产品,例如,该计算机程序产品存储在非瞬时性的计算机可读存储介质上。该计算机程序产品包括计算机程序指令,在计算机上执行该计算机程序指令时,该计算机程序指令使计算机执行如上述实施例所述的服务包的配置方法。
本公开的一些实施例还提供了一种计算机程序。当该计算机程序在计算机上执行时,该计算机程序使计算机执行如上述实施例所述的服务包的配置方法。
上述计算机可读存储介质、计算机程序产品及计算机程序的有益效果和上述一些实施例所述的服务包的配置方法的有益效果相同,此处不再赘述。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种服务包的配置方法,其中,所述方法包括:
    获取目标服务包的各个配置项的配置信息;
    根据所述目标服务包的各个配置项的配置信息,生成所述目标服务包的详情页面,并确定所述目标服务包的详情页面的访问地址;
    向与所述目标服务包关联的目标小程序发送用于指示上架所述目标服务包的信息,所述用于指示上架所述目标服务包的信息包括所述目标服务包的详情页面的访问地址。
  2. 根据权利要求1所述的方法,其中,所述获取目标服务包的各个配置项的配置信息,包括:
    响应于打开服务包配置界面的操作指令,显示所述服务包配置界面,所述服务包配置界面包括所述目标服务包的各个配置项的输入框;
    响应于用户在所述服务包配置界面上对所述目标服务包的各个配置项的输入框的输入操作,获取所述目标服务包的各个配置项的配置信息。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    针对所述目标服务包的各个配置项,检测所述配置项的配置信息是否符合所述配置项的配置规则;
    在所述配置项的配置信息不符合所述配置项的配置规则时,在所述服务包配置界面上显示提示信息,以指示所述用户重新输入所述配置项的配置信息。
  4. 根据权利要求1所述的方法,其中,所述方法还包括:
    获取所述目标服务包的第一配置项的更新后的配置信息;
    根据所述第一配置项的更新后的配置信息,以及第二配置项的配置信息,重新生成所述目标服务包的详情页面;其中,所述第二配置项为所述目标服务包的配置项中除去所述第一配置项之外的其他配置项;重新生成后的所述目标服务包的详情页面的访问地址与重新生成前的所述目标服务包的详情页面的访问地址相同。
  5. 根据权利要求1所述的方法,其中,所述方法还包括:
    在满足预设下架条件的情况下,向所述目标小程序发送用于指示下架所述目标服务包的信息;
    其中,所述预设下架条件包括以下任意一项:
    所述目标服务包的上架时长达到预设时长;
    所述目标服务包的库存个数小于或等于预设个数;
    接收到用户指示下架所述目标服务包的操作指令。
  6. 根据权利要求1至5任一项所述的方法,其中,所述目标服务包的详情页面为第五代超文本标记语言H5页面。
  7. 根据权利要求1至5任一项所述的方法,其中,在所述目标服务包为医疗服务包的情况下,所述目标服务包的配置项包括以下一项或者多项:服务包名称、医疗专家团队信息、服务包价格、服务项、服务包图片、权益次数、促销活动、服务包有效期或者服务包库存信息。
  8. 一种服务包管理装置,其中,所述服务包管理装置包括:
    通信单元,用于获取目标服务包的各个配置项的配置信息;
    处理单元,用于根据所述目标服务包的各个配置项的配置信息,生成所述目标服务包的详情页面,并确定所述目标服务包的详情页面的访问地址;
    所述通信单元,还用于向与所述目标服务包关联的目标小程序发送用于指示上架所述目标服务包的信息,所述用于指示上架所述目标服务包的信息包括所述目标服务包的详情页面的访问地址。
  9. 一种管理服务器,其中,所述管理服务器包括存储器和处理器;
    所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;
    其中,当所述处理器执行所述计算机指令时,使得所述管理服务器执行如权利要求1至7中任一项所述的服务包的配置方法。
  10. 一种非瞬态的计算机可读存储介质,所述计算机可读存储介质存储有计算机程序;其中,所述计算机程序在管理服务器运行时,使得所述管理服务器实现如权利要求1至7中任一项所述的服务包的配置方法。
PCT/CN2023/113511 2022-08-19 2023-08-17 服务包的配置方法及装置 WO2024037583A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210999883.6 2022-08-19
CN202210999883.6A CN115357283A (zh) 2022-08-19 2022-08-19 服务包的配置方法及装置

Publications (2)

Publication Number Publication Date
WO2024037583A1 true WO2024037583A1 (zh) 2024-02-22
WO2024037583A9 WO2024037583A9 (zh) 2024-04-11

Family

ID=84002337

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/113511 WO2024037583A1 (zh) 2022-08-19 2023-08-17 服务包的配置方法及装置

Country Status (2)

Country Link
CN (1) CN115357283A (zh)
WO (1) WO2024037583A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357283A (zh) * 2022-08-19 2022-11-18 京东方科技集团股份有限公司 服务包的配置方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019241A1 (zh) * 2016-07-29 2018-02-01 腾讯科技(深圳)有限公司 针对终端应用的更新处理方法及装置、计算机存储介质
CN110221904A (zh) * 2019-06-17 2019-09-10 腾讯科技(深圳)有限公司 一种业务流程控制方法
CN111045707A (zh) * 2019-12-20 2020-04-21 深圳市珍爱捷云信息技术有限公司 小程序的更新方法、装置、计算机设备和存储介质
CN113535267A (zh) * 2021-07-16 2021-10-22 口碑(上海)信息技术有限公司 小程序页面配置方法及装置、电子设备、存储介质
CN114066540A (zh) * 2022-01-10 2022-02-18 浙江口碑网络技术有限公司 一种优惠资源处理方法、装置、电子设备及存储介质
CN115357283A (zh) * 2022-08-19 2022-11-18 京东方科技集团股份有限公司 服务包的配置方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019241A1 (zh) * 2016-07-29 2018-02-01 腾讯科技(深圳)有限公司 针对终端应用的更新处理方法及装置、计算机存储介质
CN110221904A (zh) * 2019-06-17 2019-09-10 腾讯科技(深圳)有限公司 一种业务流程控制方法
CN111045707A (zh) * 2019-12-20 2020-04-21 深圳市珍爱捷云信息技术有限公司 小程序的更新方法、装置、计算机设备和存储介质
CN113535267A (zh) * 2021-07-16 2021-10-22 口碑(上海)信息技术有限公司 小程序页面配置方法及装置、电子设备、存储介质
CN114066540A (zh) * 2022-01-10 2022-02-18 浙江口碑网络技术有限公司 一种优惠资源处理方法、装置、电子设备及存储介质
CN115357283A (zh) * 2022-08-19 2022-11-18 京东方科技集团股份有限公司 服务包的配置方法及装置

Also Published As

Publication number Publication date
WO2024037583A9 (zh) 2024-04-11
CN115357283A (zh) 2022-11-18

Similar Documents

Publication Publication Date Title
US20170329922A1 (en) Telemedicine platform with integrated e-commerce and third party interfaces
KR102159898B1 (ko) 예측성 타이핑을 위한 문맥 관련 온톨로지의 동적 로딩
US20150142591A1 (en) Systems and methods for collaborative shopping
US9786023B2 (en) Methods and systems for pharmacy location
KR20150035877A (ko) 실시간 대화를 기반으로 한 트랜잭션 처리 방법과 시스템 및 기록 매체
WO2024037583A1 (zh) 服务包的配置方法及装置
US20180013712A1 (en) Information exchange system, method, and apparatus
KR101963094B1 (ko) 통신 세션 상태를 저장 및 제시하는 기법
US9154941B2 (en) Provisioning user attributes for use with mobile computing device
WO2016144784A1 (en) Telemedicine platform with integrated e-commerce and third-party interfaces
KR20180083228A (ko) 전자 장치 및 전자 장치에서의 전자 구매 방법
US20230223126A1 (en) Digital Health Platform with Prescription Management and Integrated E-Commerce Curation
US11127012B2 (en) Electronic device and method for performing plurality of payments
US20080168131A1 (en) Platform for defining single-page web signup facilities
US20210133851A1 (en) Personalized content based on interest levels
KR20180105464A (ko) 웹과 관련된 데이터에서 아이템을 검출하기 위한 전자 장치 및 방법
US10019752B2 (en) Shopping mall system, terminal, method, and medium for estimating that warning information has been read
KR102249816B1 (ko) 드라이버의 운행 서비스 제공 시스템 및 그 방법
KR20180118347A (ko) 단체 주문 방법 및 이를 위한 장치
CN111066293A (zh) 消息传递平台的事件跟踪
WO2013036851A1 (en) Provision of a mobile health product
US20220351273A1 (en) Integrated smart shopping cart operation method and system for integrating and operating plurality of online shopping mall carts
US11593826B1 (en) Messaging and gaming applications rewards
US20160196595A1 (en) System and method for solicitaton and management of project services
US9270336B2 (en) Provisioning user attributes for use with mobile computing device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23854482

Country of ref document: EP

Kind code of ref document: A1