CN112052422A - Method and device for building internet hospital webpage, electronic equipment and storage medium - Google Patents
Method and device for building internet hospital webpage, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112052422A CN112052422A CN202011054539.7A CN202011054539A CN112052422A CN 112052422 A CN112052422 A CN 112052422A CN 202011054539 A CN202011054539 A CN 202011054539A CN 112052422 A CN112052422 A CN 112052422A
- Authority
- CN
- China
- Prior art keywords
- webpage
- internet hospital
- web page
- hash value
- target internet
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本申请涉及互联网技术领域,特别涉及一种互联网医院网页的搭建方法及装置、电子设备、计算机可读存储介质。The present application relates to the field of Internet technologies, and in particular, to a method and device for building an Internet hospital webpage, an electronic device, and a computer-readable storage medium.
背景技术Background technique
互联网医院可以集成实体医院的医疗资源,提供在线咨询、智能问药、药品快递到家等服务。为因地制宜地对接各地区的医疗资源,目前由各地运营人员提交需求后,为各地分别开发互联网医院的网页。由于各地需求不一致,后端开发人员针对不同需求执行开发、测试、验收等工作。整个开发过程的沟通成本较大,开发时间长,人工开发成本高。Internet hospitals can integrate the medical resources of physical hospitals and provide services such as online consultation, intelligent drug consultation, and home delivery of drugs. In order to connect medical resources in various regions according to local conditions, at present, after submitting requirements by local operators, web pages of Internet hospitals are developed for each region. Due to inconsistent requirements in different places, back-end developers perform development, testing, and acceptance for different requirements. The communication cost of the whole development process is large, the development time is long, and the manual development cost is high.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的在于提供一种互联网医院网页的搭建方法及装置、电子设备、计算机可读存储介质,用于降低互联网医院网页的开发成本,缩短开发时长。The purpose of the embodiments of the present application is to provide a method and apparatus for building an Internet hospital webpage, electronic equipment, and a computer-readable storage medium, which are used to reduce the development cost and shorten the development time of the Internet hospital webpage.
一方面,本申请提供了一种互联网医院网页的搭建方法,包括:On the one hand, the present application provides a method for building an Internet hospital webpage, including:
接收针对目标互联网医院的网页配置请求;其中,网页配置请求包括与所述目标互联网医院对应的网页配置数据;Receive a web page configuration request for a target Internet hospital; wherein, the web page configuration request includes web page configuration data corresponding to the target Internet hospital;
判断所述网页配置请求中的第一用户账号是否有网页搭建权限;Determine whether the first user account in the webpage configuration request has webpage construction authority;
如果是,为所述网页配置请求中每一网页分配网页哈希值;If so, assign a webpage hash value to each webpage in the webpage configuration request;
针对所述目标互联网医院的每一网页,存储与所述网页哈希值对应的所述网页配置数据。For each webpage of the target Internet hospital, the webpage configuration data corresponding to the webpage hash value is stored.
在一实施例中,所述方法还包括:In one embodiment, the method further includes:
为所述目标互联网医院分配域名;assigning a domain name to the target internet hospital;
基于所述域名和每一网页的网页哈希值,生成每一网页的网址。A web address for each web page is generated based on the domain name and the web page hash value of each web page.
在一实施例中,所述方法还包括:In one embodiment, the method further includes:
接收针对所述目标互联网医院的访问请求;receiving an access request for the target Internet hospital;
从所述访问请求中解析出网页哈希值;Parse the webpage hash value from the access request;
根据所述网页哈希值查找对应的网页配置数据;Find corresponding webpage configuration data according to the webpage hash value;
依据所述网页配置数据渲染网页,并返回所述网页。The webpage is rendered according to the webpage configuration data, and the webpage is returned.
在一实施例中,所述网页配置数据包括多个组件、网页布局、以及对应于至少一个数据展示组件的数据源信息;In one embodiment, the webpage configuration data includes a plurality of components, a webpage layout, and data source information corresponding to at least one data presentation component;
所述依据所述网页配置数据渲染网页,包括:The rendering of the webpage according to the webpage configuration data includes:
根据所述数据源信息,获取所述数据展示组件的待展示数据;According to the data source information, obtain the data to be displayed of the data display component;
基于所述多个组件、所述网页布局和所述数据展示组件的待展示数据,渲染得到网页。Based on the multiple components, the webpage layout, and the data to be displayed of the data display component, the webpage is rendered and obtained.
在一实施例中,所述方法还包括:In one embodiment, the method further includes:
接收针对所述目标互联网医院的网页发布请求;receiving a web page publishing request for the target Internet hospital;
判断所述网页发布请求中的第二用户账号是否有网页发布权限;Determine whether the second user account in the webpage publishing request has webpage publishing authority;
若是,发布所述目标互联网医院的网页。If so, publish the webpage of the target Internet hospital.
另一方面,本申请还提供了一种互联网医院网页的搭建装置,包括:On the other hand, the present application also provides a device for building an Internet hospital webpage, including:
接收模块,用于接收针对目标互联网医院的网页配置请求;其中,网页配置请求包括与所述目标互联网医院对应的网页配置数据;a receiving module, configured to receive a web page configuration request for a target Internet hospital; wherein, the web page configuration request includes web page configuration data corresponding to the target Internet hospital;
判断模块,用于判断所述网页配置请求中的第一用户账号是否有网页搭建权限;a judgment module, configured to judge whether the first user account in the webpage configuration request has webpage construction authority;
分配模块,用于如果是,为所述网页配置请求中每一网页分配网页哈希值;an allocation module for, if so, allocating a webpage hash value for each webpage in the webpage configuration request;
存储模块,用于针对所述目标互联网医院的每一网页,存储与所述网页哈希值对应的所述网页配置数据。A storage module, configured to store the webpage configuration data corresponding to the webpage hash value for each webpage of the target Internet hospital.
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
所述分配模块,还用于为所述目标互联网医院分配域名;The allocation module is also used to allocate a domain name to the target Internet hospital;
生成模块,用于基于所述域名和每一网页的网页哈希值,生成每一网页的网址。A generating module, configured to generate a web address of each web page based on the domain name and the web page hash value of each web page.
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
所述接收模块,还用于接收针对所述目标互联网医院的访问请求;The receiving module is further configured to receive an access request for the target Internet hospital;
解析模块,用于从所述访问请求中解析出网页哈希值;a parsing module for parsing the webpage hash value from the access request;
查找模块,用于根据所述网页哈希值查找对应的网页配置数据;a search module, configured to search for corresponding webpage configuration data according to the webpage hash value;
渲染模块,用于依据所述网页配置数据渲染网页,并返回所述网页。A rendering module, configured to render a webpage according to the webpage configuration data, and return the webpage.
进一步,本申请还提供了一种电子设备,所述电子设备包括:Further, the present application also provides an electronic device, the electronic device comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行上述互联网医院网页的搭建方法。Wherein, the processor is configured to execute the above-mentioned method for building an Internet hospital webpage.
另外,本申请还提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序可由处理器执行以完成上述互联网医院网页的搭建方法。In addition, the present application also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program can be executed by a processor to complete the above-mentioned method for building an Internet hospital webpage.
在本申请实施例中,接收包括网页配置数据的网页配置请求后,对网页配置请求中的用户账号验证是否有网页搭建权限,若是,可以为每一网页分配网页哈希值,并存储对应于每一网页哈希值的网页配置数据,从而完成互联网医院网页搭建;对于需求不同的互联网医院,可以依据各互联网医院的网页配置数据,为各互联网医院生成满足需求的网页,整个过程极大降低了沟通成本、开发时间、人工开发成本。In the embodiment of the present application, after receiving the webpage configuration request including the webpage configuration data, verify whether the user account in the webpage configuration request has the authority to build the webpage. The webpage configuration data of each webpage hash value is used to complete the construction of the Internet hospital webpage; for Internet hospitals with different needs, the webpage configuration data of each Internet hospital can be used to generate webpages that meet the needs for each Internet hospital, and the whole process is greatly reduced. Communication cost, development time, and labor development cost.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the drawings that need to be used in the embodiments of the present application.
图1为本申请一实施例提供的互联网医院网页的搭建方法的应用场景示意图;1 is a schematic diagram of an application scenario of a method for building an Internet hospital webpage provided by an embodiment of the present application;
图2为本申请一实施例提供的电子设备的结构示意图;FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图3为本申请一实施例提供的互联网医院网页的搭建方法的流程示意图;3 is a schematic flowchart of a method for building an Internet hospital webpage according to an embodiment of the present application;
图4为本申请一实施例提供的互联网医院网页的展示方法的流程示意图;4 is a schematic flowchart of a method for displaying an Internet hospital webpage according to an embodiment of the present application;
图5为本申请一实施例提供的互联网医院网页的搭建装置的框图。FIG. 5 is a block diagram of an apparatus for building an Internet hospital webpage according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。Like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
图1为本申请实施例提供的互联网医院网页的搭建方法的应用场景示意图。如图1所示,该应用场景包括服务端30和客户端20,服务端30可以是服务器、服务器集群或者云计算中心,服务端30可以接收客户端20发送的网页配置请求,依据网页配置请求中的网页配置数据生成网页。客户端20可以是智能手机、平板电脑、个人主机等智能设备,用于响应于用户操作,确定网页配置数据,从而向服务端30发送网页配置请求。FIG. 1 is a schematic diagram of an application scenario of a method for building an Internet hospital webpage provided by an embodiment of the present application. As shown in FIG. 1, the application scenario includes a
如图2所示,本实施例提供一种电子设备1,包括:至少一个处理器11和存储器12,图2中以一个处理器11为例。处理器11和存储器12通过总线10连接,存储器12存储有可被处理器11执行的指令,指令被处理器11执行,以使电子设备1可执行下述的实施例中方法的全部或部分流程。在一实施例中,电子设备1可以是上述服务端30。As shown in FIG. 2 , this embodiment provides an electronic device 1 , including: at least one
存储器12可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,简称EPROM),可编程只读存储器(Programmable Red-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。The
本申请还提供了一种计算机可读存储介质,存储介质存储有计算机程序,计算机程序可由处理器11执行以完成本申请提供的互联网医院网页的搭建方法。The present application also provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program can be executed by the
参见图3,为本申请一实施例提供的互联网医院网页的搭建方法的流程示意图,如图3所示,该方法可以包括以下步骤310-步骤340。Referring to FIG. 3 , which is a schematic flowchart of a method for building an Internet hospital webpage according to an embodiment of the present application, as shown in FIG. 3 , the method may include the following
步骤310:接收针对目标互联网医院的网页配置请求;其中,网页配置请求包括与目标互联网医院对应的网页配置数据。Step 310: Receive a web page configuration request for the target Internet hospital; wherein the web page configuration request includes web page configuration data corresponding to the target Internet hospital.
目标互联网医院是当前接收的网页配置请求对应的互联网医院。示例性的,当用户搭建杭州地区的互联网医院而通过客户端发送网页配置请求时,杭州地区的互联网医院为目标互联网医院。The target Internet hospital is the Internet hospital corresponding to the currently received web page configuration request. Exemplarily, when a user builds an Internet hospital in Hangzhou area and sends a web page configuration request through a client, the Internet hospital in Hangzhou area is the target Internet hospital.
服务端可以向客户端提供互联网医院的网页搭建页面。其中,网页搭建页面可以提供页面编辑工具、组件库和可选的数据源信息。组件库可以包括多个可选的组件,比如,组件库中可以包括按键、输入框、下拉列表等常规组件,还可以包括疫情地图等针对互联网医院的指定组件。The server can provide the client with the web page of the Internet hospital. Among them, the web page building page can provide page editing tools, component libraries and optional data source information. The component library may include multiple optional components. For example, the component library may include conventional components such as buttons, input boxes, and drop-down lists, and may also include designated components for Internet hospitals, such as epidemic maps.
客户端访问网页搭建页面后,可以响应于用户的操作指令,为目标互联网页面的各个页面选择组件、确定页面布局,从而确定目标互联网医院的配置数据。客户端可以响应于用户的提交指令,向服务端发送网页配置请求,该网页配置请求中携带与目标互联网医院的每一网页对应的网页配置数据、以及用户访问网页搭建页面的第一用户账号。After the client accesses the webpage to build the page, in response to the user's operation instruction, it can select components for each page of the target Internet page, determine the page layout, and thus determine the configuration data of the target Internet hospital. The client can respond to the user's submission instruction and send a web page configuration request to the server, where the web page configuration request carries the web page configuration data corresponding to each web page of the target Internet hospital and the first user account of the user accessing the web page construction page.
服务端可以接收网页配置请求,并从中解析出网页配置数据和第一用户账号。The server can receive the web page configuration request, and parse the web page configuration data and the first user account from it.
步骤320:判断网页配置请求中的第一用户账号是否有网页搭建权限。Step 320: Determine whether the first user account in the webpage configuration request has webpage construction authority.
服务端上可以预配置账号权限库,该账号权限库内包括用户账号和与用户账号对应的用户权限,用户权限可以包括网页搭建权限。An account authority library may be pre-configured on the server, and the account authority library includes user accounts and user authority corresponding to the user account, and the user authority may include web page construction authority.
服务端可以在上述账号权限库中查找第一用户账号,并检查与第一用户账号对应的用户权限中是否包括网页搭建权限。一方面,若否,服务端可以不对网页配置请求进行处理。另一方面,若是,服务端可以继续执行步骤330。The server may search for the first user account in the above account authority database, and check whether the user authority corresponding to the first user account includes the authority for building a webpage. On the one hand, if not, the server may not process the web page configuration request. On the other hand, if yes, the server can continue to perform
步骤330:如果是,为网页配置请求中每一网页分配网页哈希值。Step 330: If yes, assign a webpage hash value to each webpage in the webpage configuration request.
在第一用户账户有网页搭建权限的情况下,服务端可以为网页配置请求中每一网页分配网页哈希值。在一实施例中,服务端可以基于哈希算法计算与每一网页对应的网页配置数据,从而获得网页哈希值。在一实施例中,为避免为不同互联网医院的两个网页配置数据完全相同的网页,分配相同的网页哈希值,服务端可以基于哈希算法计算网页配置数据与接收网页配置请求的时间戳,从而获得网页哈希值。In the case that the first user account has the authority to build the webpage, the server may assign a webpage hash value to each webpage in the webpage configuration request. In one embodiment, the server may calculate webpage configuration data corresponding to each webpage based on a hash algorithm, so as to obtain a webpage hash value. In one embodiment, in order to avoid assigning the same webpage hash value to two webpages of different Internet hospitals with the same configuration data, the server can calculate the webpage configuration data and the timestamp of receiving the webpage configuration request based on the hash algorithm. , so as to obtain the webpage hash value.
步骤340:针对目标互联网医院的每一网页,存储与网页哈希值对应的网页配置数据。Step 340: For each webpage of the target Internet hospital, store webpage configuration data corresponding to the webpage hash value.
服务端可以在本地的网页数据库中存在与每一网页哈希值对应的网页配置数据。此时,完成对目标互联网医院的网页搭建过程。The server may store webpage configuration data corresponding to the hash value of each webpage in the local webpage database. At this point, the web page construction process for the target Internet hospital is completed.
通过该措施,服务端可以针对需求不同的互联网医院,实现个性化、自动化的网页搭建工作。各地运营人员可以自主地完成页面配置,极大地降低沟通成本和人工开发成本,缩短了开发时间,有效地提升了互联网医院的网页搭建效率。Through this measure, the server can realize personalized and automated web page construction work for Internet hospitals with different needs. Local operators can complete page configuration independently, which greatly reduces communication costs and labor development costs, shortens development time, and effectively improves the efficiency of web page construction in Internet hospitals.
在一实施例中,服务端在确定第一用户账号有网页搭建权限后,可以为目标互联网医院分配域名。在一实施例中,服务端可以从后台终端设备获取运营人员为目标互联网医院设定的域名。在另一实施例中,服务端可以根据预设域名分配规则为目标互联网医院分配域名。示例性的,服务端可以根据目标互联网医院所属的地域,分配包含地域信息的域名。In one embodiment, after determining that the first user account has the authority to build a webpage, the server can assign a domain name to the target Internet hospital. In one embodiment, the server may acquire the domain name set by the operator for the target Internet hospital from the background terminal device. In another embodiment, the server may allocate a domain name to the target Internet hospital according to a preset domain name allocation rule. Exemplarily, the server may allocate a domain name including the region information according to the region to which the target Internet hospital belongs.
服务端可以基于域名和每一网页的网页哈希值,生成每一网页的网址。通过该措施,后续可以通过目标互联网医院的网址访问各网页。The server can generate the URL of each web page based on the domain name and the web page hash value of each web page. Through this measure, subsequent web pages can be accessed through the website of the target Internet hospital.
在一实施例中,服务端在存储目标互联网医院中各网页对应的网页配置数据后,可以接收针对目标互联网医院的网页发布请求。其中,网页发布请求可以包括发起网页发布请求的第二用户账号。In one embodiment, after storing the web page configuration data corresponding to each web page in the target internet hospital, the server can receive a web page publishing request for the target internet hospital. The web page publishing request may include a second user account that initiates the web page publishing request.
服务端可以判断网页发布请求中第二用户账号是否有网页发布权限。服务端可以在上述账号权限库中查找对应于第二用户账号的用户权限,并检查查找到的用户权限是否包括网页发布权限。一方面,如果否,服务端可以不处理网页发布请求。另一方面,如果是,服务端可以发布目标互联网医院的网页。The server can determine whether the second user account in the webpage publishing request has the webpage publishing authority. The server may search for the user authority corresponding to the second user account in the above account authority library, and check whether the found user authority includes the webpage publishing authority. On the one hand, if not, the server may not process the web page publishing request. On the other hand, if it is, the server can publish the webpage of the target Internet hospital.
示例性的,在发布目标互联网医院的网页之前,服务端可以从网页发布请求中解析出目标互联网医院的域名,进而将该域名下的所有网页进行发布。Exemplarily, before publishing the webpage of the target Internet hospital, the server can parse out the domain name of the target Internet hospital from the webpage publishing request, and then publish all the webpages under the domain name.
考虑到互联网医院网页的搭建过程可能经历多次更新,服务端可以选择性地发布网页。示例性的,网页发布请求可以携带网页哈希值,服务端从网页发布请求中解析出多个网页哈希值后,可以发布网页哈希值对应的网页。换而言之,开放上述网页的访问服务。在这种情况下,服务端可以分阶段地发布目标互联网医院已经搭建完成的网页。Considering that the construction process of the Internet hospital webpage may undergo multiple updates, the server can selectively publish the webpage. Exemplarily, the webpage publishing request may carry a webpage hash value, and after parsing a plurality of webpage hash values from the webpage publishing request, the server can publish the webpage corresponding to the webpage hash value. In other words, the access service of the above-mentioned webpage is opened. In this case, the server can publish the completed web pages of the target Internet hospital in stages.
在一实施例中,在发布目标互联网医院的网页之后,服务端可以提供针对目标互联网医院的访问服务。参见图4,为本申请一实施例提供的互联网医院网页的展示方法的流程示意图,如图4所示,该方法可以包括如下步骤410-步骤440。In one embodiment, after publishing the webpage of the target Internet hospital, the server can provide an access service for the target Internet hospital. Referring to FIG. 4 , which is a schematic flowchart of a method for displaying an Internet hospital webpage provided by an embodiment of the present application, as shown in FIG. 4 , the method may include the following
步骤410:接收针对目标互联网医院的访问请求。Step 410: Receive an access request for the target Internet hospital.
步骤420:从访问请求中解析出网页哈希值。Step 420: Parse the webpage hash value from the access request.
其中,访问请求可以携带目标互联网医院中网页的网址。服务端可以从访问请求的网址中解析出网页哈希值。Wherein, the access request may carry the URL of the webpage in the target Internet hospital. The server can parse the hash value of the webpage from the URL of the access request.
步骤430:根据网页哈希值查找对应的网页配置数据。Step 430: Search for corresponding webpage configuration data according to the webpage hash value.
步骤440:依据网页配置数据渲染网页,并返回网页。Step 440: Render the web page according to the web page configuration data, and return the web page.
服务端可以根据网页哈希值查找上述网页数据库,获得对应的网页配置数据。服务端可以根据网页配置数据中的多个组件和网页布局(包括组件在网页上位置)进行拼装和渲染,从而得到网页,并向访问请求的来源返回上述网页。The server can search the above-mentioned webpage database according to the webpage hash value to obtain corresponding webpage configuration data. The server can assemble and render according to multiple components in the configuration data of the webpage and the layout of the webpage (including the position of the components on the webpage) to obtain the webpage and return the webpage to the source of the access request.
通过该措施,服务端可以快速地提供网页访问服务。Through this measure, the server can quickly provide a web page access service.
在一实施例中,网页配置数据中包括至少一个数据展示组件,以及对应于数据展示组件的数据源信息,该数据展示组件可以用于直观呈现医疗数据,数据源信息可以是数据库内数据表的表名和用于展示的字段。比如:数据展示组件可以包括展示各地疫情数据的疫情地图。In one embodiment, the webpage configuration data includes at least one data display component, and data source information corresponding to the data display component. Table name and fields for display. For example, the data display component can include an epidemic map showing the epidemic data of various places.
服务端在依据网页配置数据渲染网页时,可以依据数据源信息,获取数据展示组件的待展示数据。进一步的,服务端可以基于多个组件、网页布局和数据展示组件的待展示数据,拼接和渲染出网页。When rendering the webpage according to the webpage configuration data, the server can obtain the data to be displayed of the data display component according to the data source information. Further, the server can stitch and render the web page based on the data to be displayed of multiple components, web page layout and data display components.
通过该措施,服务端可在网页上通过数据展示组件展示医疗数据,从而给用户提供更好的访问体验。Through this measure, the server can display medical data on the web page through the data display component, thereby providing users with a better access experience.
图5是本发明一实施例提供的一种互联网医院网页的搭建装置的框图,如图5所示,该装置可以包括:FIG. 5 is a block diagram of an apparatus for building an Internet hospital webpage provided by an embodiment of the present invention. As shown in FIG. 5 , the apparatus may include:
接收模块510,用于接收针对目标互联网医院的网页配置请求;其中,网页配置请求包括与所述目标互联网医院对应的网页配置数据;The receiving
判断模块520,用于判断所述网页配置请求中的第一用户账号是否有网页搭建权限;The
分配模块530,用于如果是,为所述网页配置请求中每一网页分配网页哈希值;an assigning
存储模块540,用于针对所述目标互联网医院的每一网页,存储与所述网页哈希值对应的所述网页配置数据。The
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
所述分配模块530,还用于为所述目标互联网医院分配域名;The assigning
生成模块550,用于基于所述域名和每一网页的网页哈希值,生成每一网页的网址。The generating module 550 is configured to generate a web address of each web page based on the domain name and the web page hash value of each web page.
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
所述接收模块510,还用于接收针对所述目标互联网医院的访问请求;The receiving
解析模块560,用于从所述访问请求中解析出网页哈希值;a parsing module 560, configured to parse the webpage hash value from the access request;
查找模块570,用于根据所述网页哈希值查找对应的网页配置数据;A search module 570, configured to search for corresponding webpage configuration data according to the webpage hash value;
渲染模块580,用于依据所述网页配置数据渲染网页,并返回所述网页。The rendering module 580 is configured to render a webpage according to the webpage configuration data, and return the webpage.
在一实施例中,所述渲染模块580,还用于:In one embodiment, the rendering module 580 is further configured to:
根据所述数据源信息,获取所述数据展示组件的待展示数据;According to the data source information, obtain the data to be displayed of the data display component;
基于所述多个组件、所述网页布局和所述数据展示组件的待展示数据,渲染得到网页。Based on the multiple components, the webpage layout, and the data to be displayed of the data display component, the webpage is rendered and obtained.
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
所述接收模块510,还用于接收针对所述目标互联网医院的网页发布请求;The receiving
所述判断模块520,用于判断所述网页发布请求中的第二用户账号是否有网页发布权限;The judging
发布模块590,用于若是,发布所述目标互联网医院的网页。The publishing module 590 is configured to publish the webpage of the target Internet hospital if yes.
上述装置中各个模块的功能和作用的实现过程具体详见上述互联网医院网页的搭建方法中对应步骤的实现过程,在此不再赘述。For details of the implementation process of the functions and functions of each module in the above-mentioned device, please refer to the implementation process of the corresponding steps in the above-mentioned construction method of an Internet hospital webpage, which will not be repeated here.
在本申请所提供的几个实施例中,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本申请的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided in this application, the disclosed apparatus and method may also be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality and possible implementations of apparatuses, methods and computer program products according to various embodiments of the present application. operate. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executables for implementing the specified logical function(s) instruction. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.
另外,在本申请各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in each embodiment of the present application may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011054539.7A CN112052422A (en) | 2020-09-29 | 2020-09-29 | Method and device for building internet hospital webpage, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011054539.7A CN112052422A (en) | 2020-09-29 | 2020-09-29 | Method and device for building internet hospital webpage, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN112052422A true CN112052422A (en) | 2020-12-08 |
Family
ID=73605443
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011054539.7A Pending CN112052422A (en) | 2020-09-29 | 2020-09-29 | Method and device for building internet hospital webpage, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112052422A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113963786A (en) * | 2021-10-25 | 2022-01-21 | 挂号网(杭州)科技有限公司 | Internet hospital service creation method and device and electronic equipment |
Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20020036808A (en) * | 2002-03-27 | 2002-05-16 | 오치영 | A system and a method for snipping e-mails |
| US20030069942A1 (en) * | 2001-10-09 | 2003-04-10 | Bell Jackie Michael | System and method for localized internet domain names and addressing |
| US20030217008A1 (en) * | 2002-02-20 | 2003-11-20 | Habegger Millard J. | Electronic document tracking |
| US20060248442A1 (en) * | 2005-04-29 | 2006-11-02 | Rosenstein Justin M | Web page authoring tool for structured documents |
| US20080109808A1 (en) * | 2006-11-07 | 2008-05-08 | Microsoft Corporation | Document scheduling and publication processes for a versioned environment |
| CN102571755A (en) * | 2011-12-12 | 2012-07-11 | 赵诩侬 | Cross-site similar data publishing platform (website) |
| US8458263B1 (en) * | 2007-03-27 | 2013-06-04 | Emc Corporation | Method and apparatus for electronic message archive verification |
| CN104320383A (en) * | 2014-10-09 | 2015-01-28 | 清华大学 | Geographic location code-based domain name generation method |
| US20150031398A1 (en) * | 2013-07-29 | 2015-01-29 | Flybits, Inc | Zone-Based Information Linking, Systems and Methods |
| CN105224530A (en) * | 2014-05-28 | 2016-01-06 | 济南政和科技有限公司 | A kind of method by regional personalized web site |
| WO2018209465A1 (en) * | 2017-05-15 | 2018-11-22 | 深圳市卓希科技有限公司 | Webpage access control method and gateway device |
| US20190163459A1 (en) * | 2017-11-27 | 2019-05-30 | Salesforce.Com, Inc. | Content deployment system having a content publishing engine with a filter module for selectively extracting content items provided from content sources for integration into a specific release and methods for implementing the same |
| CN110442336A (en) * | 2019-08-05 | 2019-11-12 | 上海钧正网络科技有限公司 | A kind of web development methods and device, storage medium and electronic equipment |
-
2020
- 2020-09-29 CN CN202011054539.7A patent/CN112052422A/en active Pending
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030069942A1 (en) * | 2001-10-09 | 2003-04-10 | Bell Jackie Michael | System and method for localized internet domain names and addressing |
| US20030217008A1 (en) * | 2002-02-20 | 2003-11-20 | Habegger Millard J. | Electronic document tracking |
| KR20020036808A (en) * | 2002-03-27 | 2002-05-16 | 오치영 | A system and a method for snipping e-mails |
| US20060248442A1 (en) * | 2005-04-29 | 2006-11-02 | Rosenstein Justin M | Web page authoring tool for structured documents |
| US20080109808A1 (en) * | 2006-11-07 | 2008-05-08 | Microsoft Corporation | Document scheduling and publication processes for a versioned environment |
| US8458263B1 (en) * | 2007-03-27 | 2013-06-04 | Emc Corporation | Method and apparatus for electronic message archive verification |
| CN102571755A (en) * | 2011-12-12 | 2012-07-11 | 赵诩侬 | Cross-site similar data publishing platform (website) |
| US20150031398A1 (en) * | 2013-07-29 | 2015-01-29 | Flybits, Inc | Zone-Based Information Linking, Systems and Methods |
| CN105224530A (en) * | 2014-05-28 | 2016-01-06 | 济南政和科技有限公司 | A kind of method by regional personalized web site |
| CN104320383A (en) * | 2014-10-09 | 2015-01-28 | 清华大学 | Geographic location code-based domain name generation method |
| WO2018209465A1 (en) * | 2017-05-15 | 2018-11-22 | 深圳市卓希科技有限公司 | Webpage access control method and gateway device |
| US20190163459A1 (en) * | 2017-11-27 | 2019-05-30 | Salesforce.Com, Inc. | Content deployment system having a content publishing engine with a filter module for selectively extracting content items provided from content sources for integration into a specific release and methods for implementing the same |
| CN110442336A (en) * | 2019-08-05 | 2019-11-12 | 上海钧正网络科技有限公司 | A kind of web development methods and device, storage medium and electronic equipment |
Non-Patent Citations (1)
| Title |
|---|
| 杜义华 等: ""网站信息管理发布系统设计与应用"", 《计算机系统应用》, no. 01, 5 January 2005 (2005-01-05), pages 9 - 11 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113963786A (en) * | 2021-10-25 | 2022-01-21 | 挂号网(杭州)科技有限公司 | Internet hospital service creation method and device and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109582303B (en) | General component calling method, device, computer equipment and storage medium | |
| WO2020151333A1 (en) | Page loading method, apparatus, computer device and storage medium | |
| CN112000746B (en) | Data management method and device and server | |
| US11620444B2 (en) | Providing action associated with event detected within communication | |
| CN113282591B (en) | Authority filtering method, authority filtering device, computer equipment and storage medium | |
| CN101689201A (en) | Federated search | |
| CA3154763A1 (en) | Data operation method, device and system | |
| CN111177618A (en) | Website building method, device, equipment and computer readable storage medium | |
| EP4075299A1 (en) | Method and apparatus for recommending multimedia resource | |
| CN109284321B (en) | Data loading method, device, computing equipment and computer readable storage medium | |
| CN108776587B (en) | Data acquisition method and device, computer equipment and storage medium | |
| CN109977317B (en) | Data query method and device | |
| CN111723077A (en) | Data dictionary maintenance method and device and computer equipment | |
| CN108632348B (en) | Service checking method and device | |
| CN112559914A (en) | Index data display method and device | |
| CN111831277A (en) | Virtual data generation method, device, equipment and computer readable storage medium | |
| CN112035113A (en) | Navigation bar loading method, device, equipment and medium of H5 page | |
| CN116127219A (en) | Method and device for displaying pages in applet and computer equipment | |
| CN112052422A (en) | Method and device for building internet hospital webpage, electronic equipment and storage medium | |
| CN116149650B (en) | Configuration method of data integration strategy, data integration method, device, equipment and storage medium | |
| US20150370460A1 (en) | Business-to-business document user interface and integration design | |
| CN117112096A (en) | Page display method and device and computer equipment | |
| CN106886546B (en) | Construction method and equipment of data website | |
| CN114254236A (en) | Page data processing method, device, system, equipment and medium | |
| CN112434237A (en) | Page loading method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201208 |
|
| RJ01 | Rejection of invention patent application after publication |