首页 > 编程语言 >Free5GC源码研究(2) - 单个NF的软件架构

Free5GC源码研究(2) - 单个NF的软件架构

时间:2024-09-21 15:01:16浏览次数:1  
标签:github nf NF 源码 软件架构 go com example

前文我们总览了free5gc的总体软件架构。整一个free5gc系统又由几个NF(Network Function)组成,所以本文继续深入研究单个NF的软件架构。

要研究NF的软件架构,最直接的方式是找一个简单的NF来回观摩。free5gc/ausf算是比较简单的一个,然而我发现了一个更简单的NF,叫做andy89923nf-example。这个NF虽然不在free5gc的代码仓库里面,但却是由主要开发者提供的(我猜是阳明交大给他们的学生上课练习用)。所以我们不妨从这个最简单的NF入手。

$ git clone https://github.com/andy89923/nf-example
$ tree nf-example
.
├── cmd
│   └── main.go
├── config
│   └── nfcfg.yaml
├── internal
│   ├── context
│   │   └── context.go
│   ├── logger
│   │   └── logger.go
│   └── sbi
│       ├── processor
│       │   ├── processor.go
│       │   ├── processor_mock.go
│       │   ├── spy_family.go
│       │   └── spy_family_test.go
│       ├── api_default.go
│       ├── api_spyfamily.go
│       ├── api_spyfamily_test.go
│       ├── router.go
│       ├── server.go
│       └── server_mock.go
├── pkg
│   ├── app
│   │   └── app.go
│   ├── factory
│   │   ├── config.go
│   │   └── factory.go
│   └── service
│       └── init.go
├── Makefile
├── go.mod
├── go.sum
└── README.md

整一个项目的文件目录中cmdinternalpkg是最重要的,包含了整个NF的代码文件。其中

  • internal中的代码文件实现了这个NF的主要功能

  • pkg里的代码文件主要就干两件事,

    1. 读取配置解析文件congid.yaml,以及
    2. 把internal中的各种功能打包成一个服务供其他NF使用。简单来说,service/init.go就是整个NF的本体。
  • cmd/中唯一的文件main.go是整个NF的主文件,也是编译器的入口文件,主要做的事情是把这个NF打包成一个命令行工具

    点击查看代码
    ubuntu@VM-0-6-ubuntu:~$ cd nf-example/
    ubuntu@VM-0-6-ubuntu:~/nf-example$ make
    Start building nf....
    
    ubuntu@VM-0-6-ubuntu:~/nf-example$ ls bin/
    nf
    
    ubuntu@VM-0-6-ubuntu:~/nf-example$ bin/nf -c config/nfcfg.yaml 
    2024-09-18T20:30:45.245834852+08:00 [INFO][ANYA][Main] Anya version:  
    	free5GC version: v1.0-1-gb6896c0
    	build time:      2024-09-18T12:30:16Z
    	commit hash:     
    	commit time:     2024-09-01T05:52:32Z
    	go version:      go1.21.8 linux/amd64
    2024-09-18T20:30:45.246738739+08:00 [INFO][ANYA][CFG] Read config from [config/nfcfg.yaml]
    2024-09-18T20:30:45.247300020+08:00 [INFO][ANYA][Main] Log enable is set to [true]
    2024-09-18T20:30:45.247346267+08:00 [INFO][ANYA][Main] Log level is set to [info]
    2024-09-18T20:30:45.247397054+08:00 [INFO][ANYA][Main] Report Caller is set to [false]
    [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
    - using env:	export GIN_MODE=release
    - using code:	gin.SetMode(gin.ReleaseMode)
    
    2024-09-18T20:30:45.247727497+08:00 [INFO][ANYA][SBI] Starting server...
    2024-09-18T20:30:45.247761643+08:00 [INFO][ANYA][SBI] Start SBI server (listen on 127.0.0.163:8000)
    

每一个NF的代码组织都是类似这样的大同小异,其中cmdpkg的代码高度重复,区别于每一个NF的还是其internal中的主要功能实现。这一个NF的功能很简单,就只是监听本地的8000端口,提供一个/spyfamily/character/{Name}接口,返回对应id在动画《SPY×FAMILY》中的人物全名

点击查看代码
ubuntu@VM-0-6-ubuntu:~$ curl -X GET http://127.0.0.163:8000/default/
"Hello free5GC!"

ubuntu@VM-0-6-ubuntu:~$ curl -X GET http://127.0.0.163:8000/spyfamily/
"Hello SPYxFAMILY!"

ubuntu@VM-0-6-ubuntu:~$ curl -X GET http://127.0.0.163:8000/spyfamily/character/Loid
"Character: Loid Forger"

cmd

cmd/main.go的功能就是把这个NF打包成一个cmd。下面是一段简化版的main.go的代码。main() 函数里创建了一个cli类型,绑定了一个action函数,也就是我们在命令行里运行编译后的命令行工具时会执行的函数。action主要做的事情就是初始化日志文件,读取配置文件,和最重要的初始化NF及运行NF。

// `cmd/main.go`简化版代码
package main

import (
    // other imports ...
	"github.com/andy89923/nf-example/pkg/factory"
	"github.com/andy89923/nf-example/pkg/service"
	"github.com/urfave/cli"
)

var NF *service.NfApp

func main() {
	app := cli.NewApp()
	app.Name = "anya"
	app.Usage = "SPYxFamily"
	app.Action = action
	app.Flags = []cli.Flag{
		cli.StringFlag{
			Name:  "config, c",
			Usage: "Load configuration from `FILE`",
		},
		cli.StringSliceFlag{
			Name:  "log, l",
			Usage: "Output NF log to `FILE`",
		},
	}
	if err := app.Run(os.Args); err != nil {
		logger.MainLog.Errorf("ANYA Run Error: %v\n", err)
	}
}

// 1. init log file
// 2. read config file
// 3. set up Ctrl-c
// 4. init the NF app
// 5. run the NF app and launch the server by `nf.Start()`
func action(cliCtx *cli.Context) error {
	tlsKeyLogPath, err := initLogFile(cliCtx.StringSlice("log"))
	cfg, err := factory.ReadConfig(cliCtx.String("config"))
	factory.NfConfig = cfg

    // Ctrl-c to quit the server
	ctx, cancel := context.WithCancel(context.Background())
	sigCh := make(chan os.Signal, 1)
	signal.Notify(sigCh, os.Interrupt, syscall.SIGTERM)
	go func() {
		<-sigCh  // Wait for interrupt signal to gracefully shutdown
		cancel() // Notify each goroutine and wait them stopped
	}()

	nf, err := service.NewApp(ctx, cfg, tlsKeyLogPath)
	nf.Start()

	return nil
}

func initLogFile(logNfPath []string) (string, error) {
    //...
}

pkg

pkg包里的代码都是可以暴露给其他模块调用的功能。在这一个NF中,主要的功能有两个,一个是定义配置和读取配置件,另一个是把internal中不对外暴露的各种功能包装成一个NfApp服务应用。这是所有NF的pkg包(除了upf)都会有的功能,但有些NF会暴露更多功能,比如chf就还提供了一些计费相关的工具。

配置

pkg/factory主要负责处理NF所需的配置,其中config.go定义了需要怎样的配置。

点击查看代码
// config.go 中的部分代码
type Config struct {
	Info          *Info          `yaml:"info" valid:"required"`
	Configuration *Configuration `yaml:"configuration" valid:"required"`
	Logger        *Logger        `yaml:"logger" valid:"required"`
	sync.RWMutex
}

type Info struct {
	Version     string `yaml:"version" valid:"required,in(1.0.0)"`
	Description string `yaml:"description,omitempty" valid:"type(string)"`
}

type Configuration struct {
	NfName string `yaml:"nfName,omitempty"`
	Sbi    *Sbi   `yaml:"sbi"`
}

type Logger struct {
	Enable       bool   `yaml:"enable" valid:"type(bool)"`
	Level        string `yaml:"level" valid:"required,in(trace|debug|info|warn|error|fatal|panic)"`
	ReportCaller bool   `yaml:"reportCaller" valid:"type(bool)"`
}

factory.go则是读取yaml文件并解析成相应的go类型。factory.go里的代码在所有NF中都高度相似:都是55行左右,只有InitConfigFactoryReadConfig两个函数。他们唯一的不同就是使用的logger不同,所以在import部分导入了各自NF的logger。如此高的重复度,我猜测在以后应该会被重构优化掉。

点击查看代码
// factory.go 的全部代码
// https://github.com/andy89923/nf-example/blob/v1.0/pkg/factory/factory.go
package factory

import (
	"fmt"
	"os"

	"github.com/andy89923/nf-example/internal/logger"
	"github.com/asaskevich/govalidator"
	"gopkg.in/yaml.v2"
)

var NfConfig *Config

// TODO: Support configuration update from REST api
func InitConfigFactory(f string, cfg *Config) error {
	if f == "" {
		// Use default config path
		f = NfDefaultConfigPath
	}

	if content, err := os.ReadFile(f); err != nil {
		return fmt.Errorf("[Factory] %+v", err)
	} else {
		logger.CfgLog.Infof("Read config from [%s]", f)
		if yamlErr := yaml.Unmarshal(content, cfg); yamlErr != nil {
			return fmt.Errorf("[Factory] %+v", yamlErr)
		}
	}

	return nil
}

func ReadConfig(cfgPath string) (*Config, error) {
	cfg := &Config{}
	if err := InitConfigFactory(cfgPath, cfg); err != nil {
		return nil, fmt.Errorf("ReadConfig [%s] Error: %+v", cfgPath, err)
	}
	if _, err := cfg.Validate(); err != nil {
		validErrs := err.(govalidator.Errors).Errors()
		for _, validErr := range validErrs {
			logger.CfgLog.Errorf("%+v", validErr)
		}
		logger.CfgLog.Errorf("[-- PLEASE REFER TO SAMPLE CONFIG FILE COMMENTS --]")
		return nil, fmt.Errorf("Config validate Error")
	}
	return cfg, nil
}

服务应用

app/app.go定义了一个NF的app,而service/init.go实现了这个app,两者共同把这个NF打包成一个服务应用。

app/app.go就只有短短十几行代码,定义了一个App接口:

package app

import (
	nf_context "github.com/andy89923/nf-example/internal/context"
	"github.com/andy89923/nf-example/pkg/factory"
)

type App interface {
	SetLogEnable(enable bool)
	SetLogLevel(level string)
	SetReportCaller(reportCaller bool)

	Start()
	Terminate()

    // 各个NF唯二的不同
	Context() *nf_context.NFContext
	Config() *factory.Config
}

free5gc中所有NF的app.go都是这样的接口,唯一(二)的不同是Context()函数和Config()函数的返回值类型不同。鉴于如此高的重复度,合理怀疑在后面的版本会被优化掉。比如把各个NF的NFContext和NFConfig抽象出来,以后所有NF都只实现一个NFApp接口,而不是每一个NF都定义一个接口。但目前v3.4.3就是这么操作的,我们就跟着他来。

service/init.go中的代码则是实现了上面定义的App接口。init.go定义了一个NfApp类型,并且实现了诸如Start()等函数。

// `service/init.go`简化版代码
package service
import (
    "context"

    // other imports ...
	nf_context "github.com/andy89923/nf-example/internal/context"
	"github.com/andy89923/nf-example/internal/sbi"
	"github.com/andy89923/nf-example/internal/sbi/processor"
	"github.com/andy89923/nf-example/pkg/factory"
)

// NF的本体
type NfApp struct {
	cfg   *factory.Config
	nfCtx *nf_context.NFContext

	ctx    context.Context
	cancel context.CancelFunc
	wg     sync.WaitGroup

	sbiServer *sbi.Server         
	processor *processor.Processor
}


func (a *NfApp) Start() {
	a.sbiServer.Run(&a.wg)
	go a.listenShutdown(a.ctx)
	a.Wait()
}

func (a *NfApp) listenShutdown(ctx context.Context) {
	<-ctx.Done()
	a.terminateProcedure()
}

func (a *NfApp) terminateProcedure() {
	a.sbiServer.Shutdown()
}

仔细阅读service/init.go的代码,就会发现NfApp的很多函数都是调用的NfApp.sbiServer的函数,而sbiServer又会调用processor.Processor的函数来真正处理外部请求,再看processor.Processor,又会发现它调用了NfApp.nfCtx里的数据。这其中稍显复杂,现在是时候深入internal包看看

internal

internal包内部由三个包,其中logger包是关于打日志的功能,与核心功能关系不大,暂且忽略。关键在于contextsbi这两个包,其中context里面定义的是整个NF在全生命周期里都会存储和使用的数据,而sbi则是接收来自外部其他NF的请求,使用自家context中的数据处理请求,然后返回处理结果。从程序 = 数据结构 + 算法的角度来看,可以认为context是数据结构,而sbi则是算法。

context

上文讲过:

这一个NF的功能很简单,就只是监听本地的8000端口,提供一个/spyfamily/character/{Name}接口,返回对应id在动画《SPY×FAMILY》中的人物全名

关于《SPY×FAMILY》中人物的数据,就存在了NFContext里面,连带着这个NF的名字、id、URI协议、绑定的IP帝之和端口等基本信息。

// context.go 简化版代码
type NFContext struct {
	NfId        string
	Name        string
	UriScheme   models.UriScheme
	BindingIPv4 string
	SBIPort     int

	SpyFamilyData map[string]string
}
var nfContext = NFContext{}

// 初始化NFContext
func InitNfContext() {
    // other initialisation
    nfContext.SpyFamilyData = map[string]string{
		"Loid":   "Forger",  // Loid 其实应该是 Lloyd
		"Anya":   "Forger",
		"Yor":    "Forger",
        // ......
    }
}

sbi

sbi包实现了一个server来使用context的数据提供对外服务,这个server也就是pkg/init.go里的NfApp.sbiServer

// `server.go`简化版代码
package sbi

import (
    "net/http"
    // other imports ...
	"github.com/andy89923/nf-example/internal/sbi/processor"
	"github.com/andy89923/nf-example/pkg/app"
	"github.com/gin-gonic/gin"
)
type nfApp interface {
	app.App
	Processor() *processor.Processor
}

type Server struct {
	nfApp  // 必须实现nfApp接口的所有方法,否则编译报错

	httpServer *http.Server
	router     *gin.Engine
}

func NewServer(nf nfApp, tlsKeyLogPath string) *Server {
	s := &Server{
		nfApp: nf,
	}
	s.router = newRouter(s)
	server, err := bindRouter(nf, s.router, tlsKeyLogPath)
	s.httpServer = server
	return s
}
// other functions ...

我们可以看到这个sbiServer其实也是一个包装器,里面是一个go标准库里的http.Server类型,而从NewServer()函数可知,这个http.Server还与一个gin.Engine绑定在一起了。那这个gin.Engine又是做什么的?gin是一个go语言的高性能web框架,gin.Engine与一个httpserver绑定后,把这个server接收到的所有请求经过预处理后分发给相应的处理函数去处理,比如说,来自/default路径的请求由一个函数处理,来自/spyfamily的请求由另一个函数处理。这些处理逻辑写在了router.go文件里:

// `router.go`简化版代码
package sbi

import (
	// other imports ...
	"github.com/gin-gonic/gin"
	"github.com/free5gc/util/httpwrapper"
)

type Route struct {
	Name    string
	Method  string
	Pattern string  // 定义一个路径的pattern
	APIFunc gin.HandlerFunc  // 处理来自该路径的请求的函数
}

func applyRoutes(group *gin.RouterGroup, routes []Route) {
     for _, route := range routes {
		switch route.Method {
		case "GET":
			group.GET(route.Pattern, route.APIFunc)
        // "POST", "DELETE", ......
    }
}

func newRouter(s *Server) *gin.Engine {
	router := logger_util.NewGinWithLogrus(logger.GinLog)

	defaultGroup := router.Group("/default")  
	applyRoutes(defaultGroup, s.getDefaultRoute())  // 处理所有来自/default的请求

	spyFamilyGroup := router.Group("/spyfamily")
	applyRoutes(spyFamilyGroup, s.getSpyFamilyRoute())  // 处理所有来自/spyfamily的请求

	return router
}

func bindRouter(nf app.App, router *gin.Engine, tlsKeyLogPath string) (*http.Server, error) {
	sbiConfig := nf.Config().Configuration.Sbi
	bindAddr := fmt.Sprintf("%s:%d", sbiConfig.BindingIPv4, sbiConfig.Port)
	return httpwrapper.NewHttp2Server(bindAddr, tlsKeyLogPath, router)
}

router.go可知,所有处理所有来自/default的请求,被分发到下一级的server.getDefaultRoute()去处理;类似的,所有来自/spyfamily的请求,被分发到下一级的server.getSpyFamilyRoute()去处理。这getDefaultRoute()getSpyFamilyRoute()方法,分别定义在了api_default.goapi_spyfamily.go文件里面。

// https://github.com/andy89923/nf-example/blob/v1.0/internal/sbi/api_default.go
package sbi
import (
	"net/http"
	"github.com/gin-gonic/gin"
)
func (s *Server) getDefaultRoute() []Route {
	return []Route{
		{
			Name:    "Hello free5GC!",
			Method:  http.MethodGet,
			Pattern: "/",
			APIFunc: func(c *gin.Context) {
				c.JSON(http.StatusOK, "Hello free5GC!")
			},
		},
	}
}
// https://github.com/andy89923/nf-example/blob/v1.0/internal/sbi/api_spyfamily.go
package sbi
import (
	"net/http"
	"github.com/andy89923/nf-example/internal/logger"
	"github.com/gin-gonic/gin"
)
func (s *Server) getSpyFamilyRoute() []Route {
	return []Route{
		{
			Name:    "Hello SPYxFAMILY!",
			Method:  http.MethodGet,
			Pattern: "/",
			APIFunc: func(c *gin.Context) {
				c.JSON(http.StatusOK, "Hello SPYxFAMILY!")
			},
		},
		{
			Name:    "SPYxFAMILY Character",
			Method:  http.MethodGet,
			Pattern: "/character/:Name",
			APIFunc: s.HTTPSerchSpyFamilyCharacter,
		},
	}
}

func (s *Server) HTTPSerchSpyFamilyCharacter(c *gin.Context) {
	logger.SBILog.Infof("In HTTPSerchCharacter")

	targetName := c.Param("Name")
	if targetName == "" {
		c.String(http.StatusBadRequest, "No name provided")
		return
	}

	s.Processor().FindSpyFamilyCharacterName(c, targetName)
}

在往深入看,可以看到api_router的职责只是接收外部的请求,然后解析和提取请求中的信息,把这些信息交给Processor去处理。例如上面api_family.go中查询角色全名的代码是通过调用Processor的函数来完成的:s.Processor().FindSpyFamilyCharacterName(ginContext, targetName)

下面是processor的简化版代码,其中processor.go负责定义一个全局的Processor类型,而它的方法都在相应的文件中实现。

// sbi/processor/processor.gp
package processor
import "github.com/andy89923/nf-example/pkg/app"

type ProcessorNf interface {
	app.App
	Processor() *Processor
}
type Processor struct {
	ProcessorNf
}
func NewProcessor(nf ProcessorNf) (*Processor, error) {
	p := &Processor{
		ProcessorNf: nf,  // 可以调用NFContext的数据了
	}
	return p, nil
}
// sbi/processor/spy_fammily.gp
package processor
// imports ...
func (p *Processor) FindSpyFamilyCharacterName(c *gin.Context, targetName string) {
	if lastName, ok := p.Context().SpyFamilyData[targetName]; ok {  // 通过NfApp掉用NFContext的数据
		c.String(http.StatusOK, fmt.Sprintf("Character: %s %s", targetName, lastName))
		return
	}
	c.String(http.StatusNotFound, fmt.Sprintf("[%s] not found in SPYxFAMILY", targetName))
}

到此为止,我们就看完了这一个example-nf的所有代码文件,还可以画出一个简单的结构图:

NF-arch

图中的方框代表在代码中定义的主要类型,而箭头代表引用或调用关系,从CliApp开始一步步调用NFContext中的数据和Processor中的的方法。有趣的一点是NfAppSbiServer之间,与Processor之间的箭头是双向的,也就是它们可以相互调用。这是一个稍显复杂但尤其的设计细节,主要是做到了功能的分离和解耦:

  1. NfApp负责整体应用程序的生命周期和配置,SbiServer专注于处理 HTTP 请求和路由,Processor聚焦对特定的功能的实现。这种分离使得每个组件的职责更加清晰。
  2. 如果将来需要添加新的功能或组件,这种设计使得可以相对容易地集成到现有结构中,而不会破坏现有的代码。
  3. 另一个额外的好处是使得单元测试成为真正的单元测试,而不是对一个大系统的集成测试。如果NfAppSbiServer、和Processor他们的所有功能和职责混在一起,假设这个类型就叫WholeApp,那么单元测试也许会复杂到无从下手,这整一个WholeApp就是一个相对独立的系统,对这个类型的测试代码本身就很复杂,看起来一点都不“单元”。

虽然这种设计模式增加了一些复杂性,但它提供了更好的长期可维护性和灵活性。free5gc的开发团队显然在做设计时认为这写额外的复杂性所带来的好处是值得的。


至此,我们就通过研究一个example-nf了解了free5gc系统中每一个NF子系统的总体结构。然而这一个简单的example-nf还是遗漏了一些重要的点,比如说每个NF是如何与其他NF交互的?对这一个问题的解答就需要我们深入研究一个真正的NF了。

标签:github,nf,NF,源码,软件架构,go,com,example
From: https://www.cnblogs.com/zrq96/p/18401874

相关文章

  • 您在wp-config.php文件中提供的数据库用户名和密码可能不正确 的解决办法
    设置步骤复制配置文件在你的 htdocs 中的WordPress根目录下找到 wp-config-sample.php 文件。将 wp-config-sample.php 文件复制并重命名为 wp-config.php。编辑 wp-config.php 文件使用Notepad++或其他文本编辑器打开 wp-config.php 文件。修改以下......
  • 数据库连接错误:您在wp-config.php文件中提供的数据库用户名和密码可能不正确,或者无法
    为了解决“数据库连接错误”的问题,可以按照以下步骤进行操作:备份现有配置:在修改任何文件之前,请确保备份现有的wp-config.php文件,以防修改出错时能够恢复。重命名配置文件:将根目录下的wp-config-sample.php文件重命名为wp-config.php。这通常可以通过FTP客户端或通过服务器上......
  • Clover Configurator四叶草工具随机生成苹果序列号
    疑难1、苹果五码是什么答:五码是Mac最为关键的三个序列/识别号,他们分别是:主板序列号(BoardSerialNumber/MLB)+系统ID(CustomUUID/System-id)+序列号+MLB+ROM。疑难2、黑苹果必须注入或者修改五码吗?答:如果只是使用AppStore和iCloud,完全不用完善五码;如果需要使用Messages/Fa......
  • 基于springboot+vue 车辆充电桩管理系统(含源码数据库+文档)
    基于springboot+vue车辆充电桩管理系统(含源码数据库+文档送) 开发系统:Windows架构模式:B/SJDK版本:JavaJDK1.8开发工具:IDEA数据库版本:mysql8.0数据库可视化工具:navicat服务器:SpringBoot自带apachetomcat主要技术:Java,Springboot,mybatis,mysql,jquery,......
  • Golang在线客服系统源码:基于Gin框架,Websocket即时通讯企业网站客服聊天源码,包括后台管
    唯一客服系统是一款基于Golang的Gin框架构建的在线客服解决方案,支持独立部署,确保数据的私密性和安全性。它具备自适应的响应式设计,能够完美适配PC端、移动端以及APP内嵌等多种场景。客服端提供PC后台管理功能,实现实时消息接收和交流。此外,为了满足移动端回复需求,系统还利用uniapp......
  • c# winform exe.config不能更新
    遇到一个非常古怪的现象,好在被解决了,记录一下过程://先是我需要读取下配置文件,用了System.Configuration.ConfigurationSettings.AppSettings["Config"]//去读取提示已过时,那就按照提示替换为新的System.Configuration.ConfigurationManager.AppSettings["Config"]结果没有类库提......
  • 基于微信小程序的会议发布与预约系统的设计与开发-计算机毕业设计源码+LW文档
    摘要随着信息技术在管理上越来越深入而广泛的应用,管理信息系统的实施在技术上已逐步成熟。本文介绍了基于微信小程序的会议发布与预约系统的开发全过程。通过分析基于微信小程序的会议发布与预约系统管理的不足,创建了一个计算机管理基于微信小程序的会议发布与预约系统的方案。文......
  • 基于微信小程序的智慧旅游平台的设计与开发-计算机毕业设计源码+LW文档
    摘要随着信息技术在管理上越来越深入而广泛的应用,管理信息系统的实施在技术上已逐步成熟。本文介绍了智慧旅游平台开发微信小程序的开发全过程。通过分析智慧旅游平台开发微信小程序管理的不足,创建了一个计算机管理智慧旅游平台开发微信小程序的方案。文章介绍了智慧旅游平台开发......
  • 基于微信小程序的儿童预防接种预约系统的设计与开发-计算机毕业设计源码+LW文档
    摘要随着信息技术在管理上越来越深入而广泛的应用,管理信息系统的实施在技术上已逐步成熟。本文介绍了儿童预防接种预约微信小程序的开发全过程。通过分析医院挂号信息管理的不足,创建了一个计算机管理医院挂号信息的方案。文章介绍了儿童预防接种预约微信小程序的系统分析部分,包括......
  • 基于JSP旅游网站的计算机毕设源码+论文
    摘要现代社会是信息社会。随着计算机网络技术、数据库技术、管理技术的发展,对信息的处理和利用已经深入到人类生活的各个方面。旅游是人们生活不可分割的组成部分,旅游业已成为当今世界上发展势头最强劲的产业,它是集吃、住、行、游、购、娱六大要素的一个综合性产业,次旅游活动涉及......