CN113872820B - Internet of things service simulation method, system and related equipment - Google Patents

Internet of things service simulation method, system and related equipment Download PDF

Info

Publication number
CN113872820B
CN113872820B CN202010611309.XA CN202010611309A CN113872820B CN 113872820 B CN113872820 B CN 113872820B CN 202010611309 A CN202010611309 A CN 202010611309A CN 113872820 B CN113872820 B CN 113872820B
Authority
CN
China
Prior art keywords
terminal
simulation
service
internet
things
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.)
Active
Application number
CN202010611309.XA
Other languages
Chinese (zh)
Other versions
CN113872820A (en
Inventor
王颖
周毅
陈健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202010611309.XA priority Critical patent/CN113872820B/en
Publication of CN113872820A publication Critical patent/CN113872820A/en
Application granted granted Critical
Publication of CN113872820B publication Critical patent/CN113872820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a business simulation method, a system and related equipment of the Internet of things, and relates to the technical field of the Internet of things. The service simulation method of the Internet of things comprises the following steps: the prefabrication system determines an industry application configuration template corresponding to the industry category according to the received industry category; the prefabrication system generates a terminal service model and a platform service model corresponding to the simulation terminal according to the industry application configuration template; the prefabrication system writes the terminal business model into the simulation terminal; and the prefabrication system sends the platform service model to the simulation service platform. The embodiment of the invention effectively realizes the end-to-end validity detection of the terminal service of the Internet of things, improves the reliability of the terminal service of the Internet of things, and further can greatly improve the successful network residence rate of the terminal of the Internet of things after large-scale occurrence.

Description

Internet of things service simulation method, system and related equipment
Technical Field
The invention relates to the technical field of the Internet of things, in particular to an Internet of things service simulation method, system and related equipment.
Background
With the rapid development of the internet of things technology, various intelligent terminals such as intelligent fuel gas, intelligent street lamps, intelligent water meters, shared bicycles, shared air conditioners, shared washing machines and the like are built in large scale in many provinces. In the initial stage of the implementation of the internet of things project, as no better means is available for effectively detecting the butt joint of the telecom card and the internet of things service platform, a plurality of problems of network residence or service uplink and downlink occur after the equipment is accessed to the internet on a large scale, so that more complaints are generated by users. The maintenance work of the internet of things often needs to call personnel in various links such as wireless links, core networks and data networks to carry out detection analysis, the workload is complex, the time period is long, and the customer perception is reduced.
Moreover, the service model adopted by the internet of things terminal of the existing network is complex, and the designs of various manufacturers are often different. Besides checking whether the telecom card is effectively opened, maintenance personnel in each place have no good detection means for the service logic of the terminal of the Internet of things, and the feasibility of the end-to-end service of the current network such as whether the service logic of the terminal of the Internet of things can carry out uplink and downlink services with the service platform of the Internet of things. Once the uplink and downlink service models of the terminal are complex, a phenomenon that a large number of problems are concentrated after the terminal is deployed on a large scale often occurs, and therefore the problem is difficult to find and solve.
Disclosure of Invention
One technical problem to be solved by the embodiment of the invention is as follows: how to improve the reliability of the terminal service of the internet of things.
According to a first aspect of some embodiments of the present invention, there is provided a service simulation method for the internet of things, including: the prefabrication system determines an industry application configuration template corresponding to the industry category according to the received industry category; the prefabrication system generates a terminal service model and a platform service model corresponding to the simulation terminal according to the industry application configuration template; the prefabrication system writes the terminal business model into the simulation terminal; and the prefabrication system sends the platform service model to the simulation service platform.
In some embodiments, the service simulation method of the internet of things further includes: before a terminal service model corresponding to the simulation terminal and a platform service model are generated, the prefabrication system receives modification of service logic of the industry application configuration template.
In some embodiments, the service simulation method of the internet of things further includes: the prefabrication system acquires terminal configuration information of the simulation terminal so that the prefabrication system generates a terminal service model corresponding to the terminal configuration information according to an industry application configuration template, wherein the terminal configuration information comprises one or more of a module model used by the simulation terminal, a protocol used by the terminal, an AT instruction set corresponding to the terminal or an industry type to which the terminal belongs.
In some embodiments, the prefabrication system writes the terminal business model into the simulation terminal through the MCU read-write interface of the simulation terminal.
In some embodiments, the terminal business model comprises a terminal emulation control part and a business emulation application part; the prefabrication system writes the terminal simulation control part in the terminal service model into the bottom layer module of the simulation terminal, and writes the service simulation application part in the terminal service model into the network module of the simulation terminal.
In some embodiments, the terminal emulation control part and the service emulation application part comprise a tracking analysis module for collecting and recording operation data of the terminal.
In some embodiments, the industry application configuration template includes at least one of a subscription registration configuration, a terminal application data configuration, a terminal wake configuration, an application data uplink configuration, or an application data downlink configuration.
In some embodiments, the service simulation method of the internet of things further includes: the prefabrication system writes the terminal business simulation data into the simulation terminal so that the simulation terminal and the simulation business platform interact the business simulation data.
According to a second aspect of some embodiments of the present invention, there is provided a service simulation method for the internet of things, including: the simulation service platform receives a platform service model sent by the prefabrication system, wherein the platform service model is generated by the prefabrication system according to an industry application configuration template, and the industry application configuration template is determined by the prefabrication system according to the received industry category; the simulation service platform is configured according to the platform service model.
In some embodiments, the service simulation method of the internet of things further includes: and executing a preset script by the simulation service platform, wherein the script invokes the configured information in the execution process.
In some embodiments, the service simulation method of the internet of things further includes: responding to the terminal message sent by the simulation terminal, and analyzing the terminal message by the simulation service platform according to the script to obtain an analysis result; and executing a processing procedure corresponding to the analysis result by the script of the simulation service platform.
In some embodiments, the terminal message is a registration message that is sent after the emulated terminal attaches to the network and is forwarded by a network element of the core network to the internet of things gateway.
According to a third aspect of some embodiments of the present invention, there is provided a prefabrication system for internet of things service simulation, comprising: the configuration template determining module is configured to determine an industry application configuration template corresponding to the industry category according to the received industry category; the model generation module is configured to generate a terminal service model and a platform service model corresponding to the simulation terminal according to the industry application configuration template; the writing module is configured to write the terminal service model into the simulation terminal; and the sending module is configured to send the platform service model to the simulation service platform.
According to a fourth aspect of some embodiments of the present invention, there is provided a prefabrication system for internet of things service simulation, comprising: a memory; and a processor coupled to the memory, the processor configured to execute any one of the aforementioned internet of things business simulation methods based on instructions stored in the memory.
According to a fifth aspect of some embodiments of the present invention, there is provided an emulation service platform, including: the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is configured to receive a platform service model sent by a prefabricating system, the platform service model is generated by the prefabricating system according to an industry application configuration template, and the industry application configuration template is determined by the prefabricating system according to a received industry category; the model configuration module is configured to be configured according to the platform business model.
According to a sixth aspect of some embodiments of the present invention, there is provided an emulation service platform, including: a memory; and a processor coupled to the memory, the processor configured to execute any one of the aforementioned internet of things business simulation methods based on instructions stored in the memory.
According to a seventh aspect of some embodiments of the present invention, there is provided an internet of things service simulation system, including: the prefabrication system for simulating any business of the Internet of things; and any one of the simulation service platforms.
In some embodiments, the service simulation system of the internet of things further comprises a simulation terminal, wherein the simulation terminal comprises: the writing interface is configured to receive a terminal service model written by the simulation terminal; and the processor is configured to process according to the terminal service model.
According to an eighth aspect of some embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the aforementioned internet of things service simulation methods.
Some of the embodiments of the above invention have the following advantages or benefits: the embodiment of the invention performs prefabrication of the terminal service model according to the terminal service models of different industries and is in butt joint with the simulation service platform. Through the prefabricated service model, the terminal can be triggered to execute a series of processes of network residence, data reporting, downlink command receiving, network detection, dormancy and the like, and the simulation service application platform side can perform corresponding processing according to the service model after receiving the data reported by the terminal. Therefore, the end-to-end validity of the terminal service of the Internet of things is effectively detected, the reliability of the terminal service of the Internet of things is improved, and the successful network residence rate of the terminal of the Internet of things after large-scale occurrence can be greatly improved.
Other features of the present invention and its advantages will become apparent from the following detailed description of exemplary embodiments of the invention, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 illustrates a schematic structural diagram of an internet of things business simulation system according to some embodiments of the present invention.
Fig. 2 illustrates a flow diagram of an internet of things business simulation method according to some embodiments of the present invention.
Fig. 3 illustrates a flow diagram for simulated terminal registration according to some embodiments of the invention.
FIG. 4 illustrates a flow diagram of an emulation terminal interacting with an emulation service platform in accordance with some embodiments of the invention.
Fig. 5 illustrates a schematic diagram of a prefabricated system for internet of things business simulation according to some embodiments of the present invention.
Fig. 6 illustrates a schematic structure of a simulation service platform in accordance with some embodiments of the present invention.
Fig. 7 illustrates a schematic structural diagram of an internet of things service simulation apparatus according to some embodiments of the present invention.
Fig. 8 is a schematic structural diagram of an internet of things service simulation device according to other embodiments of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Fig. 1 illustrates a schematic structural diagram of an internet of things business simulation system according to some embodiments of the present invention. As shown in fig. 1, the service simulation system 10 of the internet of things of this embodiment includes a prefabrication system 11 and a simulation service platform 12.
The prefabrication system 11 is used for determining an industry application configuration template according to the industry category to be deployed, generating a terminal service model and a platform service model corresponding to the simulation terminal according to the industry application configuration template, writing the terminal service model into the simulation terminal, and sending the platform service model to the simulation service platform.
The emulation service platform 12 is configured according to a platform service model to respond to terminal messages sent by the emulated terminal.
In some embodiments, the service simulation system 10 of the internet of things may further include a simulation terminal 13, including: the writing interface is configured to receive a terminal service model written by the simulation terminal; and the processor is configured to process according to the terminal service model.
Fig. 2 illustrates a flow diagram of an internet of things business simulation method according to some embodiments of the present invention. As shown in fig. 2, the service simulation method of the internet of things in this embodiment includes steps S202 to S208.
In step S202, the prefabrication system determines an industry application configuration template corresponding to the industry category according to the received industry category.
The industry application configuration template comprises a general configuration of internet of things service usage of a certain industry, for example, at least one of subscription registration configuration, terminal application data configuration, terminal wake-up configuration, application data uplink configuration, or application data downlink configuration.
For example, for intelligent meters for gas, water, electricity, etc., the industry application configuration templates may include periods for periodically collecting data for reporting, packet data types, packet data content, packet data size, terminal sleep periods, terminal downstream control data packet content, downstream control periods, etc. The real-time requirements of the terminals with the table class on the data are not high, so that in the application, the intervals of the data acquisition period and the reporting period are larger, and the dormancy time is sometimes longer. For example, the acquisition period may be set to 12 hours or 24 hours, and the data reporting period may be set to 24 hours; after the data reporting is completed, the equipment enters a dormant state, wherein the dormant time period can be defined as 12 hours or 24 hours; after the dormancy is finished, the terminal starts and executes the data acquisition and reporting process; such terminals may be arranged to receive downlink control data packets every 12 hours or 24 hours.
For another example, for white appliances such as intelligent refrigerators, intelligent air conditioners, intelligent washing machines, etc., the industry application configuration templates may include periods for periodically collecting data for reporting, packet data types, packet data content, packet data size, terminal sleep periods, terminal downlink control period content, event triggering logic, data reporting logic, etc. The white household appliance has a certain data acquisition and control instruction response real-time requirement, and has logic processing of trigger events, and belongs to a normal online mode. Therefore, the data acquisition period of the terminal can be configured according to the application, the data reporting period is 24 hours, the device enters a dormant state after the data reporting is completed, and the dormant duration can be defined as 12 hours or 24 hours; after the dormancy is finished, the terminal starts and executes the data acquisition and reporting process; such terminals may be arranged to receive downlink control data packets every 12 hours or 24 hours.
In some embodiments, to further increase the flexibility of the simulation, the prefabrication system may also receive modifications to the business logic of the industry application configuration template prior to step S204. In some embodiments, business model logic modules, which correspond to a modification interface, may be deployed in a pre-manufactured system that may receive further modifications to an industry application configuration template. For example, the time interval for transmitting and receiving information, the sleep time interval of the device, the size and type of uplink or downlink service data packets, etc. are modified. Therefore, a proper industry application configuration template can be determined for various applications to be simulated, and the reliability of simulation is improved.
In step S204, the prefabricating system generates a terminal service model and a platform service model corresponding to the simulation terminal according to the industry application configuration template. Thus, the terminal business model and the platform business model are business models which are applied to the same industry and correspond to each other. For example, the simulation terminal reports data once every preset time according to the industry application configuration template, and then the simulation application platform should ensure that the reported data can be received at the corresponding time.
In step S206, the prefabrication system writes the terminal business model into the simulation terminal. After the configuration is completed according to the terminal service model, the simulation terminal can trigger the service flow after power-on, including, for example, a network-resident flow, a registration flow with the simulation service platform, a sleep state entering flow, a terminal wake-up flow, and the like.
Because the simulation terminal service model is complex, the prefabrication system transmits the terminal service model to the terminal in a writing mode. In some embodiments, the prefabrication system writes the terminal business model into the simulation terminal through a micro control unit (Microcontroller Unit, MCU) read-write interface of the simulation terminal.
In some embodiments, the protocol, format, writing manner, etc. of the terminal service model may also be determined for the specific configuration of the terminal, so that the terminal service model can be adapted to simulate the terminal. For example, the prefabrication system acquires terminal configuration information of the simulation terminal, so that the prefabrication system generates a terminal service model corresponding to the terminal configuration information according to an industry application configuration template, wherein the terminal configuration information comprises one or more of a module model used by the simulation terminal, a protocol used by the terminal, an AT instruction set corresponding to the terminal, or an industry type to which the terminal belongs. The AT command is a character string with AT as the first and ending characters, and is used for connection and communication between the terminal equipment and the PC application.
In some embodiments, the terminal business model includes a terminal emulation control part and a business emulation application part. The prefabrication system writes the terminal simulation control part in the terminal service model into the bottom layer module of the simulation terminal, and writes the service simulation application part in the terminal service model into the network module of the simulation terminal. The terminal simulation control section is used for, for example, acquiring data (which may be actually acquired data or analog data) acquired by a simulation terminal, forming the acquired data into a preset format, or performing a related configuration of a preset process; the business simulation application part is used for relevant configuration of data interaction with the simulation application platform. Therefore, the simulation terminal can realize the generation of data and the interaction with the simulation application platform from the bottom layer to the network layer, simulate the real use scene and enable the simulation result to have higher credibility.
In some embodiments, the terminal emulation control part and the service emulation application part comprise a tracking analysis module for collecting and recording operation data of the terminal. Therefore, the end-to-end validity detection of the terminal business of the Internet of things is realized.
In step S208, the prefabrication system sends the platform business model to the simulation business platform. The simulation service platform is configured according to the platform service model. After receiving the message (such as registration, data reporting, alarm, etc.) sent by the corresponding simulation terminal, the corresponding service response flow of the simulation service platform can be triggered.
In some embodiments, the prefabrication system sends the platform business model to the simulation business platform in a "capability form" manner. The simulation service platform carries out the matching of the interaction information of the corresponding protocol and the service control information and the configuration of various service timers according to the contents of the card number, the service address, the protocol, the module AT instruction set and the like in the capacity form. The "capability form" may integrate, for example, a basic flow of calling protocol, a signing/registering flow, and include data such as a sleep period of the terminal, a content of a control packet to be issued, and a period, so that when the script in the simulation service platform is executed, the script may call the information to execute corresponding logic.
The method of the embodiment performs prefabrication of the terminal service model according to the terminal service models of different industries and is in butt joint with the simulation service platform. Through the prefabricated service model, the terminal can be triggered to execute a series of processes of network residence, data reporting, downlink command receiving, network detection, dormancy and the like, and the simulation service application platform side can perform corresponding processing according to the service model after receiving the data reported by the terminal. Therefore, the end-to-end validity of the terminal service of the Internet of things is effectively detected, the reliability of the terminal service of the Internet of things is improved, and the successful network residence rate of the terminal of the Internet of things after large-scale occurrence can be greatly improved.
The flow of the configured simulation terminal registration is described below with reference to fig. 3.
Fig. 3 illustrates a flow diagram for simulated terminal registration according to some embodiments of the invention. As shown in fig. 3, the flow of this embodiment includes steps S302 to S312.
In step S302, the emulation terminal attaches to the wireless network using the communication card.
In step S304, the emulation terminal sends a service request message to the emulation service platform according to the configuration related to registration in the terminal service model, where the service request message is a registration message.
In step S306, the network element of the core network of the current network directs the service request message to an IOT (internet of things) gateway according to the terminal information such as the card number information and subscription information of the terminal. The IOT gateway may sign a protocol with the functions of controlling message issuing agents, message storage, trace logs, etc. with the emulation service platform.
In step S308, the IOT gateway forwards the service request message to the emulated service platform according to the address of the emulated service platform.
In step S310, after receiving the terminal message, the simulation service platform parses the terminal message according to a preset script to obtain a parsing result. The script performs the parsing process according to the platform business model, for example, according to a preset protocol.
In step S312, the script of the simulation service platform performs a registration process. The script runs according to the platform business model, e.g., according to a registration-related configuration in the platform business model.
By the method of the embodiment, the simulation terminal can initiate registration according to the configuration related to registration in the terminal service model, and the simulation service platform can process the registration request according to the corresponding platform service model. And the network element in the core network and the gateway of the Internet of things can assist in forwarding the request, so that the simulation system can simulate the real terminal registration function of the Internet of things to the maximum extent. Therefore, the detection of the validity of the registration service of the terminal of the Internet of things is effectively realized, and the reliability of the terminal service of the Internet of things is improved.
The following describes the flow of interaction between the configured simulation terminal and the simulation service platform with reference to fig. 4.
FIG. 4 illustrates a flow diagram of an emulation terminal interacting with an emulation service platform in accordance with some embodiments of the invention. As shown in fig. 4, the flow of this embodiment includes steps S402 to S406.
In step S402, the simulation terminal sends a terminal message to the simulation service platform under a preset condition according to the terminal service model. For example, wake up and transmit data upon arrival of a preset period, or transmit data at a preset time, or transmit data in response to a trigger of a preset event.
In some embodiments, the prefabrication system writes the terminal business simulation data into the simulated terminal so that the simulated terminal interacts with the simulated business platform. Thus, the simulation terminal can send the terminal message based on the service simulation data without actually collecting the data.
The forwarding process of the terminal message may refer to the embodiment of fig. 3, for example, after the terminal message passes through a network element of the core network and the IOT gateway, the terminal message reaches the simulation service platform.
In step S404, after receiving the terminal message, the simulation service platform parses the terminal message according to a preset script to obtain a parsing result. The script performs the parsing process according to the platform business model, for example, according to a preset protocol.
In step S406, the script of the simulation service platform executes a processing procedure corresponding to the analysis result. The script is run according to the platform business model.
Through the embodiment, the simulation terminal and the simulation service platform can effectively detect the feasibility of the end-to-end service function and flow before deploying the internet of things terminals with different service models on a large scale. Thereby improving the reliability of the terminal service of the Internet of things.
An embodiment of the prefabrication system for internet of things service simulation according to the present invention is described below with reference to fig. 5.
Fig. 5 illustrates a schematic diagram of a prefabricated system for internet of things business simulation according to some embodiments of the present invention. As shown in fig. 5, the prefabrication system 500 of this embodiment includes: the configuration template determining module 5100 is configured to determine an industry application configuration template corresponding to the industry category according to the received industry category; the model generating module 5200 is configured to generate a terminal service model and a platform service model corresponding to the simulation terminal according to the industry application configuration template; a writing module 5300 configured to write a terminal service model into the simulation terminal; the sending module 5400 is configured to send the platform business model to the simulation business platform.
In some embodiments, the prefabrication system 500 further comprises: the modification module 5500 is configured to receive a modification to business logic of the industry application configuration template before generating a terminal business model corresponding to the simulated terminal and a platform business model.
In some embodiments, the prefabrication system 500 further comprises: the terminal configuration obtaining module 5600 is configured to obtain terminal configuration information of the simulation terminal, so that the model generating module 5200 generates a terminal service model corresponding to the terminal configuration information according to an industry application configuration template, where the terminal configuration information includes one or more of a module model used by the simulation terminal, a protocol used by the terminal, an AT instruction set corresponding to the terminal, or an industry type to which the terminal belongs.
In some embodiments, the writing module 5300 is further configured to write the terminal business model into the emulated terminal through the MCU read-write interface of the emulated terminal.
In some embodiments, the terminal business model comprises a terminal emulation control part and a business emulation application part; the writing module 5300 is further configured to write a terminal emulation control part in the terminal service model to a bottom layer module of the emulated terminal, and write a service emulation application part in the terminal service model to a network module of the emulated terminal.
In some embodiments, the terminal emulation control part and the service emulation application part comprise a tracking analysis module for collecting and recording operation data of the terminal.
In some embodiments, the industry application configuration template includes at least one of a subscription registration configuration, a terminal application data configuration, a terminal wake configuration, an application data uplink configuration, or an application data downlink configuration.
In some embodiments, the writing module 5300 is further configured for the prefabrication system to write the terminal business simulation data into the simulation terminal so that the simulation terminal interacts the business simulation data with the simulation business platform.
An embodiment of the simulation service platform of the present invention is described below with reference to fig. 6.
Fig. 6 illustrates a schematic structure of a simulation service platform in accordance with some embodiments of the present invention. As shown in fig. 6, the simulation service platform 600 of this embodiment includes: the receiving module 6100 is configured to receive a platform service model sent by the prefabrication system, wherein the platform service model is generated by the prefabrication system according to an industry application configuration template, and the industry application configuration template is determined by the prefabrication system according to the received industry category; model configuration module 6200 is configured to configure according to a platform business model.
In some embodiments, the simulated business platform 600 further comprises: the execution module 6300 is configured to simulate the service platform to execute a preset script, where the script invokes the configured information in the execution process.
In some embodiments, the simulated business platform 600 further comprises: the processing module 6400 is configured to respond to obtaining a terminal message sent by the simulation terminal, and the simulation service platform analyzes the terminal message according to the script to obtain an analysis result; and executing a processing procedure corresponding to the analysis result by the script of the simulation service platform.
In some embodiments, the terminal message is a registration message that is sent after the emulated terminal attaches to the network and is forwarded by a network element of the core network to the internet of things gateway.
Fig. 7 is a schematic structural diagram of an internet of things service simulation device according to some embodiments of the present invention, which may be a prefabricated system or a simulation service platform. As shown in fig. 7, the service simulation device 70 of the internet of things of this embodiment includes: the memory 710 and the processor 720 coupled to the memory 710, the processor 720 is configured to execute the internet of things service simulation method in any of the foregoing embodiments based on the instructions stored in the memory 710.
The memory 710 may include, for example, system memory, fixed nonvolatile storage media, and so forth. The system memory stores, for example, an operating system, application programs, boot Loader (Boot Loader), and other programs.
Fig. 8 is a schematic structural diagram of an internet of things service simulation device according to other embodiments of the present invention, which may be a prefabricated system or a simulation service platform. As shown in fig. 8, the service simulation device 80 of the internet of things of this embodiment includes: memory 810 and processor 820 may also include an input-output interface 830, a network interface 840, a storage interface 850, and the like. These interfaces 830, 840, 850 and the memory 810 and processor 820 may be connected by, for example, a bus 860. The input/output interface 830 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, a touch screen, and the like. The network interface 840 provides a connection interface for various networking devices. Storage interface 850 provides a connection interface for external storage devices such as SD cards, U-discs, and the like.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which is characterized in that the program, when executed by a processor, implements any one of the aforementioned business simulation methods of the internet of things.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flowchart and/or block of the flowchart illustrations and/or block diagrams, and combinations of flowcharts and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (18)

1. A business simulation method of the Internet of things comprises the following steps:
the method comprises the steps that a prefabrication system determines an industry application configuration template corresponding to an industry category according to the received industry category, wherein the industry application configuration template comprises general configuration of service use of the Internet of things of the industry category;
the prefabrication system generates a terminal service model and a platform service model corresponding to the simulation terminal according to the industry application configuration template, wherein the terminal service model comprises a terminal simulation control part and a service simulation application part;
the prefabrication system writes the terminal business model into the simulation terminal, and the method comprises the following steps: the prefabrication system writes a terminal simulation control part in the terminal service model into a bottom layer module of the simulation terminal, and writes a service simulation application part in the terminal service model into a network module of the simulation terminal;
and the prefabrication system sends the platform service model to a simulation service platform.
2. The internet of things service simulation method according to claim 1, further comprising:
before a terminal service model corresponding to the simulation terminal and a platform service model are generated, the prefabrication system receives modification of service logic of the industry application configuration template.
3. The internet of things service simulation method according to claim 1, further comprising:
the prefabrication system acquires terminal configuration information of a simulation terminal so that the prefabrication system generates a terminal service model corresponding to the terminal configuration information according to the industry application configuration template, wherein the terminal configuration information comprises one or more of a module model used by the simulation terminal, a protocol used by the terminal, an AT instruction set corresponding to the terminal or an industry type to which the terminal belongs.
4. The internet of things service simulation method according to claim 1 or 3, wherein the prefabrication system writes the terminal service model into the simulation terminal through a Micro Control Unit (MCU) read-write interface of the simulation terminal.
5. The internet of things service simulation method according to claim 1, wherein the terminal simulation control part and the service simulation application part comprise a tracking analysis module for collecting and recording operation data of a terminal.
6. The internet of things business simulation method of claim 1, wherein the industry application configuration template comprises at least one of a subscription registration configuration, a terminal application data configuration, a terminal wake-up configuration, an application data uplink configuration, or an application data downlink configuration.
7. The internet of things service simulation method according to claim 1, further comprising:
and the prefabrication system writes the terminal service simulation data into the simulation terminal so that the simulation terminal interacts with the simulation service platform to simulate the service simulation data.
8. A business simulation method of the Internet of things comprises the following steps:
the method comprises the steps that a simulation service platform receives a platform service model sent by a prefabrication system, wherein the platform service model is generated by the prefabrication system according to an industry application configuration template, and the industry application configuration template is a general configuration of the prefabrication system according to received industry types and comprises the use of internet of things service of the industry types;
the simulation service platform is configured according to the platform service model;
the prefabrication system also generates a terminal service model corresponding to the simulation terminal according to the industry application configuration template, wherein the terminal service model comprises a terminal simulation control part and a service simulation application part; and the prefabrication system also writes the terminal business model into the simulation terminal, comprising: the prefabrication system writes a terminal simulation control part in the terminal service model into a bottom layer module of the simulation terminal, and writes a service simulation application part in the terminal service model into a network module of the simulation terminal.
9. The internet of things service simulation method of claim 8, further comprising:
and the simulation service platform executes a preset script, wherein the script invokes the configured information in the execution process.
10. The internet of things service simulation method according to claim 9, further comprising:
responding to the terminal message sent by the simulation terminal, and analyzing the terminal message by the simulation service platform according to the script to obtain an analysis result;
and executing a processing process corresponding to the analysis result by the script of the simulation service platform.
11. The internet of things service emulation method of claim 10, wherein the terminal message is a registration message, the registration message is sent after the emulated terminal attaches to the network and is forwarded to the internet of things gateway by a network element of the core network.
12. A prefabrication system for internet of things business simulation, comprising:
the system comprises a configuration template determining module, a configuration module and a configuration module, wherein the configuration template determining module is configured to determine an industry application configuration template corresponding to an industry category according to the received industry category, and the industry application configuration template comprises general configuration of service use of the Internet of things of the industry category;
the model generation module is configured to generate a terminal service model and a platform service model corresponding to the simulation terminal according to the industry application configuration template, wherein the terminal service model comprises a terminal simulation control part and a service simulation application part;
a writing module configured to write the terminal service model into the simulation terminal, including: writing a terminal simulation control part in the terminal service model into a bottom layer module of the simulation terminal, and writing a service simulation application part in the terminal service model into a network module of the simulation terminal;
and the sending module is configured to send the platform service model to the simulation service platform.
13. A prefabrication system for internet of things business simulation, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the internet of things business simulation method of any of claims 1-7 based on instructions stored in the memory.
14. An emulated business platform, comprising:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is configured to receive a platform service model sent by a prefabricating system, the platform service model is generated by the prefabricating system according to an industry application configuration template, and the industry application configuration template is a general configuration of the prefabricating system according to the received industry category and comprises the use of the internet of things service of the industry category;
the model configuration module is configured to configure according to the platform business model;
the prefabrication system is further used for generating a terminal service model corresponding to the simulation terminal according to the industry application configuration template, wherein the terminal service model comprises a terminal simulation control part and a service simulation application part; and writing a terminal simulation control part in the terminal service model into a bottom layer module of the simulation terminal, and writing a service simulation application part in the terminal service model into a network module of the simulation terminal.
15. An emulated business platform, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the internet of things business simulation method of any of claims 8-11 based on instructions stored in the memory.
16. An internet of things business simulation system, comprising:
the prefabrication system for internet of things service simulation of claim 12 or 13; and
the simulated service platform of claim 14 or 15.
17. The internet of things service simulation system of claim 16, further comprising a simulation terminal comprising:
a writing interface configured to receive a terminal service model written by the simulation terminal, including: the prefabrication system writes a terminal simulation control part in the terminal service model into a bottom layer module of the simulation terminal, and writes a service simulation application part in the terminal service model into a network module of the simulation terminal;
and the processor is configured to process according to the terminal service model.
18. A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the internet of things business simulation method of any of claims 1 to 11.
CN202010611309.XA 2020-06-30 2020-06-30 Internet of things service simulation method, system and related equipment Active CN113872820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010611309.XA CN113872820B (en) 2020-06-30 2020-06-30 Internet of things service simulation method, system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010611309.XA CN113872820B (en) 2020-06-30 2020-06-30 Internet of things service simulation method, system and related equipment

Publications (2)

Publication Number Publication Date
CN113872820A CN113872820A (en) 2021-12-31
CN113872820B true CN113872820B (en) 2023-05-05

Family

ID=78981201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010611309.XA Active CN113872820B (en) 2020-06-30 2020-06-30 Internet of things service simulation method, system and related equipment

Country Status (1)

Country Link
CN (1) CN113872820B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116192656A (en) * 2022-12-29 2023-05-30 天翼物联科技有限公司 Simulation platform and simulation method based on Internet of things management system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508773A (en) * 2011-10-18 2012-06-20 深圳市易聆科信息技术有限公司 Method and device for monitoring WEB service system simulation based on Internet explorer (IE) kernel
CN102594615A (en) * 2011-01-18 2012-07-18 中兴通讯股份有限公司 Method and system for simulating value-added services
CN103812905A (en) * 2012-11-14 2014-05-21 中兴通讯股份有限公司 Internet of things terminal application integrated generation system and method
CN103888278A (en) * 2012-12-20 2014-06-25 中国电信股份有限公司 Business activation method and system based on business simulation
CN107018017A (en) * 2017-03-17 2017-08-04 普奥云信息科技(北京)有限公司 Emulation simulator and Internet of Things analogue system
CN110601912A (en) * 2019-11-14 2019-12-20 紫光云(南京)数字技术有限公司 Internet of things gateway data simulation design system and method
CN110636131A (en) * 2019-09-25 2019-12-31 北京中广瑞波科技股份有限公司 Internet of things testing system based on cloud technology
CN111262759A (en) * 2020-03-17 2020-06-09 中国建设银行股份有限公司 Internet of things platform testing method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112425137A (en) * 2018-05-15 2021-02-26 帕斯卡莱·维卡-布兰克 System and method for modeling and simulating IoT system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594615A (en) * 2011-01-18 2012-07-18 中兴通讯股份有限公司 Method and system for simulating value-added services
CN102508773A (en) * 2011-10-18 2012-06-20 深圳市易聆科信息技术有限公司 Method and device for monitoring WEB service system simulation based on Internet explorer (IE) kernel
CN103812905A (en) * 2012-11-14 2014-05-21 中兴通讯股份有限公司 Internet of things terminal application integrated generation system and method
CN103888278A (en) * 2012-12-20 2014-06-25 中国电信股份有限公司 Business activation method and system based on business simulation
CN107018017A (en) * 2017-03-17 2017-08-04 普奥云信息科技(北京)有限公司 Emulation simulator and Internet of Things analogue system
CN110636131A (en) * 2019-09-25 2019-12-31 北京中广瑞波科技股份有限公司 Internet of things testing system based on cloud technology
CN110601912A (en) * 2019-11-14 2019-12-20 紫光云(南京)数字技术有限公司 Internet of things gateway data simulation design system and method
CN111262759A (en) * 2020-03-17 2020-06-09 中国建设银行股份有限公司 Internet of things platform testing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113872820A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
CN108366067B (en) System and method for testing consistency of universal service protocol of power system
CN101789889B (en) Method and system for automatic testing communication equipment
CN107819611B (en) Client test method based on IEC61850 multi-server simulation
CN104579822A (en) Automatic performance test system and method of mobile application based on Http protocol
CN108306804A (en) A kind of Ethercat main station controllers and its communication means and system
CN102238108B (en) Off-line message transmission method
CN108536972B (en) Complex system reliability simulation method and system based on self-adaptive agent
CN107168844B (en) Performance monitoring method and device
CN106681313B (en) Stability control system function test method and system
Inçki et al. Runtime verification of IoT systems using complex event processing
CN114936062B (en) Method, device, equipment, system and storage medium for automatic debugging of equipment
CN104181913A (en) Testing system used for intelligent household system
CN113872820B (en) Internet of things service simulation method, system and related equipment
CN110287093A (en) Mobile terminal, data-interface test method and storage medium
CN102916848A (en) Automatic test method of Ethernet interface equipment based on script technology
CN204733178U (en) A kind of EtherCAT master station device based on FPGA
CN115794313A (en) Virtual machine debugging method, system, electronic equipment and storage medium
CN107817789A (en) CAN emulation test system
CN103576667B (en) Method, device and system for testing main control board
CN114116343A (en) Equipment testing method and device, electronic equipment and storage medium
CN102902526A (en) Automatic setting method for realizing BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay
CN107122307B (en) Internet of things execution system
CN112965470B (en) Commercial car data center test system
CN102594615A (en) Method and system for simulating value-added services
CN103944779B (en) A kind of WAP service features monitoring method and system

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
GR01 Patent grant
GR01 Patent grant