CN114553848B - Cloud programming system, method, equipment and computer storage medium - Google Patents

Cloud programming system, method, equipment and computer storage medium Download PDF

Info

Publication number
CN114553848B
CN114553848B CN202111675648.5A CN202111675648A CN114553848B CN 114553848 B CN114553848 B CN 114553848B CN 202111675648 A CN202111675648 A CN 202111675648A CN 114553848 B CN114553848 B CN 114553848B
Authority
CN
China
Prior art keywords
script
cloud
editor
terminal
running
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
CN202111675648.5A
Other languages
Chinese (zh)
Other versions
CN114553848A (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.)
Shandong Youren Networking Co ltd
Original Assignee
Shandong Youren Networking Co 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 Shandong Youren Networking Co ltd filed Critical Shandong Youren Networking Co ltd
Priority to CN202111675648.5A priority Critical patent/CN114553848B/en
Publication of CN114553848A publication Critical patent/CN114553848A/en
Application granted granted Critical
Publication of CN114553848B publication Critical patent/CN114553848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/75Information technology; Communication
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0826Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network costs
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the field of communication of the Internet of things and discloses a cloud programming system, which comprises a terminal and a cloud editor, wherein communication connection is established between the terminal and the cloud editor, a terminal main service communication unit is arranged in the terminal, and a cloud editor basic unit and a cloud script editor are arranged in the cloud editor; the terminal main service communication unit is used for sending the running script in the terminal to the cloud editor basic unit; the cloud editor base unit is used for synchronizing the received running script to the Yun Jiaoben editor; and the Yun Jiaoben editor is used for editing and running the running script in real time and storing the edited and running script to the terminal. The invention also discloses a cloud programming method, cloud programming equipment and a computer storage medium. According to the cloud programming system, the development and operation cost of communication of the Internet of things is reduced.

Description

Cloud programming system, method, equipment and computer storage medium
Technical Field
The present invention relates to the field of internet of things communications, and in particular, to a cloud programming system, method, device, and computer storage medium.
Background
With the development of the communication technology of the internet of things, the cellular network communication technology and the speed are continuously improved, the distance between people and the distance between equipment are shortened by the internet of things, and meanwhile, higher requirements are also put forward on the cost and the speed of the communication technology of the internet of things. The traditional internet of things DTU (Data Transfer unit, data transmission unit) is matched with a singlechip and a cellular module, and normal uplink and downlink communication is performed by programming in advance and burning in advance after configuration confirmation. The method has the great defect that in order to realize uplink and downlink communication, the singlechip and the cellular module are matched for programming in advance, and the programming is performed in advance after configuration confirmation, so that the development and operation cost of the communication of the Internet of things are improved.
Disclosure of Invention
The invention mainly aims to provide a cloud programming method, a cloud programming system, cloud programming equipment and a computer storage medium, and aims to solve the technical problem of how to reduce the cost of communication of the Internet of things.
In order to achieve the above purpose, the invention provides a cloud programming system, which comprises a terminal and a cloud editor, wherein communication connection is established between the terminal and the cloud editor, a terminal main service communication unit is arranged in the terminal, and a cloud editor basic unit and a cloud script editor are arranged in the cloud editor;
the terminal main service communication unit is used for sending the running script in the terminal to the cloud editor basic unit;
the cloud editor base unit is used for synchronizing the received running script to the Yun Jiaoben editor;
and the Yun Jiaoben editor is used for editing and running the running script in real time and storing the edited and running script to the terminal.
Optionally, a terminal script running service unit is provided in the terminal main service communication unit, and the terminal script running service unit is used for starting the running script in the terminal.
The terminal main service communication unit is provided with a terminal basic firmware unit which is used for sending the running script started in the terminal to the cloud editor basic unit.
Optionally, a 5G radio frequency antenna is disposed in the terminal, and the 5G radio frequency antenna is configured to receive and send information to a cloud editor.
Optionally, a serial port unit is disposed in the terminal, and the serial port unit is configured to establish a communication connection between the terminal and other terminals, and send the edited and operated operation script to the other terminals.
In addition, in order to achieve the above object, the present invention further provides a cloud programming method, which is applied to a cloud editor, and the cloud programming method includes:
acquiring an operation script sent by a terminal;
synchronizing the operation script to a cloud script editor through a cloud editor basic unit, and controlling the Yun Jiaoben editor to edit and operate the operation script in real time;
and storing the edited and operated operation script to the terminal.
Optionally, the step of obtaining the running script sent by the terminal includes:
acquiring coded data sent by a terminal;
and decoding the encoded data according to a preset data transmission protocol to obtain an operation script.
In addition, in order to achieve the above object, the present invention further provides a cloud programming method, which is applied to a terminal, and the cloud programming method includes the steps of:
transmitting the operation script in the terminal to a cloud editor basic unit;
acquiring the operation script edited and operated in the cloud script editor, and storing the operation script edited and operated to the terminal;
and sending the stored running script to other terminals.
In addition, to achieve the above object, the present invention further provides a cloud programming apparatus, including: the cloud programming system comprises a memory, a processor and a cloud programming program stored on the memory and capable of running on the processor, wherein the cloud programming program realizes the steps of the cloud programming method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a cloud programming computer storage medium having stored thereon a cloud programming program which, when executed by a processor, implements the steps of the cloud programming method as described above.
The invention discloses a cloud programming system, which comprises a terminal and a cloud editor, wherein communication connection is established between the terminal and the cloud editor, a terminal main service communication unit is arranged in the terminal, and a cloud editor basic unit and a cloud script editor are arranged in the cloud editor; the terminal main service communication unit is used for sending the running script in the terminal to the cloud editor basic unit; the cloud editor base unit is used for synchronizing the received running script to the Yun Jiaoben editor; and the Yun Jiaoben editor is used for editing and running the running script in real time and storing the edited and running script to the terminal. Therefore, the phenomenon that the single-chip microcomputer and the cellular module are matched for programming in advance and the configuration is confirmed and then the burning is performed in advance is avoided, cloud editing is realized through a cloud programming system without the single-chip microcomputer and the cellular module, and the development and operation cost of the communication of the Internet of things are reduced.
Drawings
FIG. 1 is a schematic diagram of a cloud programming device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of the cloud programming system of the present invention;
FIG. 3 is a flowchart of a second embodiment of the cloud programming method of the present invention;
FIG. 4 is a flowchart of a third embodiment of a cloud programming method according to the present invention;
FIG. 5 is a schematic flow chart of a service unit for detecting script operation of a terminal according to the cloud programming method of the present invention;
FIG. 6 is a schematic flow chart of a cloud programming method of the present invention for obtaining an operation script;
FIG. 7 is a schematic diagram of a cloud programming method of the present invention for storing a running script.
Reference numerals illustrate:
reference numerals Name of the name Reference numerals Name of the name
A1 5G DTU terminal equipment A10 5G radio frequency antenna
A11 Terminal main service communication unit B1 Cloud editor
A12 Terminal base firmware unit B11 Cloud editor base unit
A13 Terminal script operation service unit B12 Yun Jiaoben editor
A20 Serial port unit
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a cloud programming device of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the cloud programming apparatus may include: processor 0003, e.g. central processing unit (Central Processing Unit, CPU), communication bus 0001, fetch interface 0002, processing interface 0004, memory 0005. Wherein a communication bus 0002 is used to enable connected communications between these components. The acquisition interface 0002 may comprise an information acquisition device, an acquisition unit such as a cloud editor base unit, and the optional acquisition interface 0002 may also comprise a standard wired interface, a wireless interface. Processing interface 0004 may optionally comprise a standard wired interface, a wireless interface. The Memory 0005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory 0005 may alternatively be a storage device independent of the aforementioned processor 0001.
Those skilled in the art will appreciate that the structure shown in fig. 1 is not limiting of the cloud programming apparatus and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, an acquisition interface module, an execution interface module, and a cloud programming program may be included in the memory 0005 as one type of storage medium.
In the cloud programming device shown in fig. 1, the network interface 0001 is mainly used for data communication with other devices; the acquiring interface 0002 is mainly used for acquiring an operation script of the terminal script operation service unit, is connected with the information acquiring device and is in data communication with the information acquiring device; the processing interface 0004 is mainly used for sending a processing result after the processor executes the cloud programming program in the memory to the control object, connecting the control device and carrying out data communication with the control device; the processor 0003 and the memory 0005 in the cloud programming device of the present invention may be provided in the cloud programming device, where the cloud programming device invokes the cloud programming program stored in the memory 0005 through the processor 0003, and executes the cloud programming method provided by the embodiment of the present invention.
Based on the hardware structure, the embodiment of the cloud programming system is provided.
An embodiment of the present invention provides a cloud programming system, referring to fig. 2, fig. 2 is a schematic diagram of a first embodiment of the cloud programming system, where the cloud programming system includes:
and a communication connection is established between the terminal (namely 5G DTU terminal equipment A1 in the figure) and the cloud editor B1, and the data transmission and the remote control between the terminal and the cloud editor B1 are realized. The 5G DTU terminal equipment A1 comprises a serial port unit A20, a 5G radio frequency antenna A10, a terminal main service communication unit A11, a terminal basic firmware unit A12 and a terminal script operation service unit A13, and the cloud editor B1 comprises a cloud editor basic unit B11 and a Yun Jiaoben editor B12.
A terminal main service communication unit a11, configured to send an operation script in the terminal to the cloud editor base unit;
the cloud editor base unit B11 is configured to synchronize the received running script to the Yun Jiaoben editor B12;
and the Yun Jiaoben editor B12 is used for editing and running the running script in real time and storing the edited and running script to the terminal.
The terminal main service communication unit A11 is a device in the terminal responsible for communication with the cloud editor, controls all communication channels connected with the remote data device, realizes functions including error control, interrupt access control, confirmation control, transmission sequence, serial-parallel conversion and the like, reduces the load of a host, greatly improves the efficiency of processing data by the host, and is mainly used for transmitting operation scripts.
The terminal basic firmware unit a12 is a basic firmware composition in the 5G DTU terminal device A1, and is a basic firmware for maintaining the normal operation of the 5G DTU terminal device A1, for example, the terminal basic firmware unit a12 may be an operating system on the 5G DTU terminal device A1, and the like, and is mainly used for transmitting an operating script in the 5G DTU terminal device A1.
The terminal script operation service unit a13 is a unit for operating a script on the 5G DTU terminal device A1, and is mainly used for starting the operation script.
The 5G radio frequency antenna A10 is a unit for transmitting information on the 5G DTU terminal equipment A1, is connected with an operator base station, and is used for receiving and transmitting information to the base station and further receiving and transmitting information to the cloud editor B1 through a network.
The cloud editor basic unit B11 is a basic firmware composition in the cloud editor B1, and is a basic firmware for maintaining the normal operation of the cloud editor B1, for example, the cloud editor basic unit B11 may be an operating system on the cloud editor B1, and the like, and is mainly used for receiving and synchronously operating scripts.
Yun Jiaoben editor B12 is a unit for running and acquiring scripts in cloud editor B1, and is mainly used for editing and running the scripts acquired by cloud editor B2 in cloud script editor B12 to realize script cloud editing and is mainly used for editing and running the receiving operation scripts.
The serial port unit a20 is a unit for transmitting information with other terminals on the 5G DTU terminal device A1, and is mainly used for sending received data information to other terminals or receiving data information sent by other terminals, where the data information is data acquired by a sensor, or data or control information sent to the sensor by the terminal.
The base station, which is an essential component in the communication of the internet of things, i.e. the public mobile communication base station is a form of a radio station, and refers to a radio transceiver station that performs information transfer with a mobile phone terminal through a mobile communication switching center in a certain radio coverage area.
The cloud editor B1 is a device for realizing cloud programming in a cloud programming system, establishes communication connection with the 5G DTU terminal equipment A1 through a base station, realizes data transmission and remote control between the base station and the 5G DTU terminal equipment A1, and is mainly used for receiving a running script in the 5G DTU terminal equipment A1.
The 5G DTU terminal equipment A1 is a target programming device for realizing cloud programming in a cloud programming system, establishes communication connection with the cloud editor B1 through a base station, realizes data transmission and remote control between the base station and the cloud editor B1, and is mainly used for sending an operation script and storing the script after the cloud programming is completed.
Therefore, in the present embodiment, the 5G DTU terminal device A1 and the cloud editor B1 establish communication connection through the base station. The terminal script running service unit a13 is required to start a running script for realizing cloud programming, wherein the running script refers to an executable file written according to a certain format and also called a macro or batch file by using a specific descriptive language. Only after the running script is started, the 5G DTU terminal equipment A1 and the cloud editor B1 perform data transmission through the 5G radio frequency antenna A10, wherein the cloud editor B1 needs to acquire the external running script for internal definition. And detecting the terminal script operation service unit A13, and detecting the operation state of the terminal script operation service unit A13 in real time.
When the terminal script operation service unit A13 is detected to start the operation script, the started operation script is transmitted through the terminal basic firmware unit A12 according to the data transmission protocol. The transmission operation script is mainly that the terminal main service communication unit A11 communicates with the base station through the 5G radio frequency antenna A10, and the opened operation script is encoded into encoded data according to a data transmission protocol defined in the terminal main service communication unit A11 and transmitted to the base station, wherein the encoded data is data which is formed by encoding the operation script and can be communicated. For example, when it is detected that the terminal script operation service unit a13 starts the operation script D, the operation script D is transmitted according to the data transmission protocol through the terminal base firmware unit a12, wherein the terminal main service communication unit a11 encodes the operation script D into data E that can be transmitted according to the internally defined data transmission protocol, and transmits the data E to the base station.
The cloud editor B1 receives the operation data from the base station and decodes the operation data into an operation script according to the same data transmission protocol. For example, the cloud editor B1 receives the data E from the base station, and decodes the data E according to the same data transmission protocol to obtain the running script F. After the operation script is obtained, the received operation script is synchronized through the cloud editor basic unit B11, and the main synchronization method is that the cloud editor B1 and the 5G DTU terminal equipment A1 realize the synchronization of the operation script through real-time data transmission.
And the obtained operation scripts are transmitted to the cloud script editor B12 after being synchronized, the Yun Jiaoben operation scripts after being synchronized can be edited according to the user requirements by the Yun Jiaoben operation scripts B12 after the operation scripts are edited, the operation scripts are operated on the cloud script editor B12, and at the moment, the operation scripts in the terminal script operation service A13 are synchronously edited and operated as the operation scripts on the Yun Jiaoben editor B12. For example, the synchronized running script F is obtained, the user requirement D and the Yun Jiaoben editor B11 edits the running script F according to the user requirement D to obtain a running script C that meets the user requirement, where the running script C edits and runs on the cloud script editor B12 and also edits and runs on the terminal script running service unit a 13.
Finally, when the operation script is edited according to the user requirement and is operated on the cloud script editor B12, the cloud editor B1 detects whether the operation script in the cloud script editor confirms the end, and when the operation script in the cloud script editor confirms the end, the cloud editor sends an end instruction to store the operation script in the terminal script operation service unit A13 in the terminal A1; otherwise, when the running script in the cloud script editor B12 is detected to be not confirmed to be finished, the Yun Jiaoben editor B12 continues to edit and run the running script, and the detection is finished, but the next round of detection is started. For example, the running script C in the Yun Jiaoben editor is already in an editing or running completion state, but the user does not issue a confirmation end instruction, when detecting the running script C in the cloud script editor, the user does not issue a confirmation end instruction according to the running script C, so that a detection result is that the running script C in the cloud script editor does not confirm the end, and the cloud editor does not issue an end instruction to the terminal, and the Yun Jiaoben editor continues to edit the running script C. After the running script is stored in the terminal A1, the received data information can be sent to other terminals or received from other terminals through the serial port unit a20, and the serial port unit a20 mainly establishes communication connection with other terminals and communicates with other terminals.
In this embodiment, by disclosing a cloud programming system, the system includes: the cloud editor is provided with a cloud editor basic unit and a cloud script editor; the terminal main service communication unit is used for sending the running script in the terminal to the cloud editor basic unit; the cloud editor basic unit is used for synchronizing the received operation script to the Yun Jiaoben editor, and the Yun Jiaoben editor is used for editing and operating the operation script in real time and storing the edited and operated operation script to the terminal. Therefore, the phenomenon that the single-chip microcomputer and the cellular module are matched for programming in advance and the configuration is confirmed and then the burning is performed in advance is avoided, cloud editing is realized through a cloud programming system without the single-chip microcomputer and the cellular module, and the development and operation cost of the communication of the Internet of things are reduced.
Further, based on the first embodiment of the cloud programming system of the present invention, the second embodiment of the cloud programming method of the present invention applied to the cloud editor is provided, referring to fig. 3, fig. 3 is a schematic flow diagram of the second embodiment of the cloud programming method of the present invention, where the cloud programming method includes:
step S10, acquiring an operation script sent by a terminal;
in this embodiment, after the communication connection is established between the terminal and the cloud editor, the running script in the cloud editor is obtained according to the state of the terminal script running service unit, where the terminal may be a computer or a computer system, which is used for a user to input data and display the calculation result of the user, and the cloud editor is a device that performs custom editing on the transmission data after the data is transmitted. Firstly, a terminal and a cloud editor are in communication connection through a base station, control signaling, voice call or data service information of the cloud editor is sent to the base station through a transmission network, signals are processed by a base band and a radio frequency at the base station side, then the signals are sent to an antenna through a radio frequency feeder line to be transmitted, the terminal receives radio waves transmitted by the antenna through a wireless channel, and then the signals belonging to the terminal are demodulated; on the contrary, the reverse signal transmission flow transmitted from the terminal to the cloud editor is opposite to the forward flow, but the principle is similar.
And secondly, after the communication connection between the terminal and the cloud editor is established, acquiring the running script according to the state of a terminal script running service unit, wherein the terminal script running service unit refers to an area of the running script in the terminal. For example, as shown in fig. 5, the cloud editor may detect the running state of the terminal script running service unit, where the running state includes on and off, and when detecting that the terminal script running service unit is turned on, the cloud editor may acquire the terminal script running service unit running script, otherwise when detecting that the terminal script running service unit is turned off, the detection is ended, and then the detection of the next round is turned on. When detecting the terminal script operation service unit, the cloud editor judges whether to acquire the operation script according to the detection result, and the terminal script operation service unit in the terminal mainly operates by means of a terminal basic firmware unit, wherein the terminal basic firmware unit is a unit carrying various terminal script operation services in the terminal. For example, the relation between the terminal script operation service unit and the terminal basic firmware unit is similar to various software and computer systems on a computer, and the operation basis of all software is normally used on the basis of the system of the computer. Therefore, the terminal script running service unit normally runs the internal running script without leaving the terminal basic firmware unit, and the terminal basic firmware unit is also applied to the running script transmission, and the running script is transmitted to the base station through the terminal main service communication unit and then transmitted to a required position through the base station, wherein the terminal main service communication unit is used for establishing communication with the base station or other devices.
When acquiring the operation script sent by the terminal, the operation script is mainly acquired according to a preset data transmission protocol, for example, as shown in fig. 6, the step of acquiring the operation script includes:
step A14, obtaining coded data sent by a terminal;
when the cloud editor detects that the terminal script operation service unit starts an operation script, the cloud editor acquires encoded data of the operation script, wherein the encoded data is data which can be transmitted and is obtained after the terminal encodes the operation script according to an internal preset data transmission protocol.
And step A15, decoding the encoded data according to a preset data transmission protocol to obtain an operation script.
After the coded data sent by the terminal is obtained, the cloud editor decodes the coded data to obtain an operation script mainly through a data transmission protocol which is preset inside and the same as that in the terminal, wherein the data transmission protocol is a communication mode and a communication service for transmitting data information between two terminals by utilizing a data transmission technology according to a certain communication protocol. For example, the data transmission protocol may be a binary data protocol, where objects in a memory are directly stored as binary data, and then sent out in a packet (size+ (binary data)) manner, and when unpacking, the size is read, then the binary data is read, and then the package is unpacked according to a binary structure description file, so as to obtain the data of each data member. For example, after obtaining the encoded data sent by the terminal, the cloud editor may call an internal data transmission protocol, and decode the obtained encoded data according to the data transmission protocol, to obtain an operation script.
In the embodiment, the running script in the terminal script running service unit is acquired according to the running state of the terminal script running service unit, so that the acquisition of the target running script is realized, the editing script provided for the follow-up cloud editing is ensured, and the normal running of the cloud editing is ensured.
Step S20, synchronizing the operation script to a cloud script editor through a cloud editor basic unit, and controlling the Yun Jiaoben editor to edit and operate the operation script in real time;
in this embodiment, after acquiring the operation script of the terminal script operation service unit, the cloud editor synchronizes with the cloud editor base unit in the cloud editor, and then edits and operates the synchronized operation script on the cloud script editor in real time, where the cloud editor base unit refers to a unit in the cloud editor carrying various cloud script editor operation services and is mainly used to acquire an external operation script and synchronize the acquired operation script, and the Yun Jiaoben editor refers to an area in the cloud editor where the script is operated. The cloud editor synchronizes the operation script to the cloud script editor through the cloud editor basic unit, then edits the operation script according to the user requirement, and finally operates the edited operation script. After the operation script is acquired, the cloud editor can synchronously operate the script through the cloud editor basic unit, wherein synchronization means that the script in the terminal script operation service unit is synchronized to the cloud editor basic unit, so that the script can be edited and operated in real time in cloud script editing, and the main synchronization method is that the cloud editor and the terminal realize synchronization of the operation script through real-time data transmission. For example, when the cloud editor detects that the terminal script running service unit opens the running script F, the cloud editor can acquire the running script F opened in the terminal script running service unit in real time according to a detection result of the detection of the terminal script running service unit, and transmit the running script F to the cloud editor base unit for synchronization. And the acquired operation scripts are transmitted to cloud script editing after being synchronized, and the cloud script editing edits the synchronized operation scripts according to the requirements of users, namely, the operation scripts are developed. And running the script on the cloud script after the script is edited, wherein the running script in the terminal script running service is synchronously edited and run as the running script on the Yun Jiaoben editor. For example, the obtained running script F may be edited by the user requirement D, yun Jiaoben editor to obtain a required script which is the running script C, where the running script C is edited and run on the cloud script editor and also is edited and run on the terminal script running service unit.
And step S30, storing the edited and operated operation script to the terminal.
And after the operation script on the cloud script editor is edited and operated according to the user requirement, the operation script is saved. For example, as shown in fig. 7, the cloud editor may detect whether the running script in the cloud script editor confirms the end, and when detecting that the running script in the cloud script editor confirms the end, the cloud editor may issue an end instruction, and the running script in the terminal script running service unit is saved in the terminal; otherwise, when the running script in the cloud script editor is detected to be not confirmed to be finished, the Yun Jiaoben editor continues to edit and run the running script, and the detection is finished, but the next round of detection is started. If the running script in the Yun Jiaoben editor is in an editing or running state, the user does not confirm the end of the running script in the cloud editor even when the running script is still in the editing or running state, so that when the running script in the cloud script editor is detected, the running script is still in the editing or running state according to the running script, and further, the detection result is that the running script in the cloud script editor is not confirmed to be ended, the cloud editor does not send an end instruction to the terminal, and the Yun Jiaoben editor can continuously edit the running script; otherwise, if the running script in the Yun Jiaoben editor is already in the editing or running completion state, and the user confirms that the running script in the cloud editor is finished, when the running script in the cloud script editor is detected, the running script in the cloud script editor is already edited and finished according to the above running script, and the user has issued a confirmation ending instruction, so that the detection result is that the running script in the cloud script editor is confirmed to be finished, the cloud editor sends an ending instruction to the terminal, and the terminal stores the running script in the terminal script running service unit according to the instruction. For example, the running script C in the Yun Jiaoben editor is still in the process of editing or running, so when the running script C in the cloud script editor is detected, the running script C is still in the process of editing or running according to the running script C, and further, the detection result is that the running script C in the cloud script editor is not confirmed to be finished, and further, the cloud editor does not send a finishing instruction to the terminal, and the Yun Jiaoben editor can continue to edit the running script C; the running script C in the Yun Jiaoben editor is in an editing or running completion state, but the user does not issue a confirmation ending instruction, when the running script C in the cloud script editor is detected, the user does not issue the confirmation ending instruction according to the running script C, so that a detection result is that the running script C in the cloud script editor does not confirm ending, the cloud editor does not issue an ending instruction to the terminal, and the Yun Jiaoben editor can continuously edit the running script C; the operation script C in the Yun Jiaoben editor is in an editing or operation completion state, the user also issues a confirmation ending instruction, when the operation script C in the cloud script editor is detected, the confirmation ending instruction is issued according to the fact that the operation script C is in the editing or operation completion state and the user also issues the confirmation ending instruction, and then the detection result is that the operation script C in the cloud script editor confirms to be ended, and then the cloud editor sends out an ending instruction to the terminal, and the terminal stores the operation script C in the terminal script operation service unit according to the instruction.
In this embodiment, the cloud editor synchronizes the acquired operation script to the cloud script editor through the cloud editor base unit by acquiring the operation script sent by the terminal, edits and operates the operation script on the Yun Jiaoben editor in real time, and finally saves the edited and operated operation script to the terminal. Therefore, the phenomenon that the single-chip microcomputer and the cellular module are matched for programming in advance and the configuration is confirmed and then the burning is performed in advance is avoided, cloud editing is realized through a cloud programming system without the single-chip microcomputer and the cellular module, and the development and operation cost of the communication of the Internet of things are reduced.
Further, based on the first embodiment of the cloud programming system and the second embodiment of the cloud programming method, a third embodiment of the cloud programming method of the present invention applied to a terminal is provided, referring to fig. 4, fig. 4 is a schematic flow diagram of the third embodiment of the cloud programming method of the present invention, where the cloud programming method includes:
step S40, transmitting the operation script in the terminal to a cloud editor basic unit;
after the communication connection between the terminal and the cloud editor is established through the base station, when the terminal script operation service unit is detected to start the operation script, the terminal sends the started operation script to the cloud editor. The transmitted operation script refers to encoded data obtained by encoding the operation script according to an internal preset data transmission protocol by the terminal. For example, after the terminal script running service unit starts the running script F, the terminal encodes the started running script F according to an internal preset data transmission protocol to obtain encoded data E, and sends the encoded data E.
Step S50, acquiring the running script edited and operated in the Yun Jiaoben editor, and storing the edited and operated running script to the terminal;
after the running script is sent, the terminal can save the running script edited and operated by the cloud editor. That is to say, the cloud editor meets the script requirement required by the terminal through editing operation and can be stored in the terminal. For example, the running script F sent by the terminal and the user requirement D, the cloud editor edits the running script F according to the user requirement D to obtain a required script which is the running script C, where the running script C is the running script that needs to be saved by the terminal, and the running script C is saved in the terminal after the cloud editor confirms that the editing operation is completed.
And step S60, after the operation script is stored, the received data information is sent to other terminals or the data information sent by the other terminals is received.
After storing the edited and operated operation script, the terminal receives the data information sent by other terminals according to the own demand, processes the data information according to the preset rule as required and uploads the processed data information to the server; on the contrary, when the terminal receives the data information sent by the server, the terminal processes the data information according to a preset rule and sends the processed data information to other terminals, wherein the terminal and the other terminals are connected in a communication mode through a serial unit and perform data transmission through the serial unit, and the preset rule refers to a processing mode for processing the data information. In a specific case, when two terminals are the same, and the operation script needed by one terminal a is already saved in the other terminal b, when the terminal a does not need to edit the operation script on the cloud editor, the requirement can be directly sent to the terminal b through the serial port unit, and the terminal b can transmit the operation script to the terminal a through the serial port unit.
In this embodiment, the terminal stores the running script and then sends the received data information to other terminals or receives the data information sent by other terminals. And receiving and transmitting information data through the serial port unit according to the requirements of other terminals or the requirements of the terminals, thereby establishing a communication information network between the terminals and other terminals and improving the efficiency of information data transmission between the terminals.
The invention further provides cloud programming equipment.
The device of the invention comprises: the cloud programming system comprises a memory, a processor and a cloud programming program stored on the memory and capable of running on the processor, wherein the cloud programming program realizes the steps of the cloud programming method when being executed by the processor.
The invention also provides a computer storage medium.
The computer storage medium of the present invention stores thereon a cloud-programmed program which, when executed by a processor, implements the steps of the cloud programming method as described above.
The method implemented when the cloud programming program running on the processor is executed may refer to various embodiments of the cloud programming method of the present invention, which are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The cloud programming system is characterized by comprising a terminal and a cloud editor, wherein the terminal and the cloud editor are in communication connection through a base station, a terminal main service communication unit and a terminal script operation service unit are arranged in the terminal, the terminal main service communication unit is in communication connection with the base station through a 5G radio frequency antenna, and a cloud editor basic unit and a cloud script editor are arranged in the cloud editor;
the terminal main service communication unit is used for sending the running script in the terminal to the cloud editor basic unit;
the cloud editor base unit is used for synchronizing the received running script to the Yun Jiaoben editor;
the Yun Jiaoben editor is used for editing and running the running script in real time and storing the edited and running script to the terminal;
the cloud editor is used for receiving coded data sent by the base station after detecting that the terminal script operation service unit starts the operation script, wherein the coded data is obtained by coding the operation script according to a data transmission protocol defined in the terminal main service communication unit;
the cloud editor is further used for decoding the encoded data according to the data transmission protocol to obtain the operation script, synchronizing the operation script through the cloud editor basic unit and transmitting the operation script to the Yun Jiaoben editor;
the Yun Jiaoben editor is used for acquiring user requirements, editing the operation script sent by the cloud editor basic unit according to the user requirements, and operating the edited operation script after the operation script is edited;
the terminal script operation service unit is further used for synchronously editing and operating the operation script on the terminal script operation service unit when the Yun Jiaoben editor edits and operates the operation script;
and the cloud editor is further used for outputting an ending instruction to store the running script which is synchronously edited and run in the terminal script running service unit to the terminal when the ending of the confirmation of the edited running script which is run by the Yun Jiaoben editor is detected.
2. The cloud programming system of claim 1, wherein a terminal script running service unit is provided in the terminal main service communication unit, and the terminal script running service unit is configured to start the running script in the terminal.
3. The cloud programming system of claim 2, wherein a terminal base firmware unit is provided in the terminal main service communication unit, and the terminal base firmware unit is configured to send the running script started in the terminal to the cloud editor base unit.
4. The cloud programming system of claim 1, wherein the terminal is provided with a 5G radio frequency antenna, and the 5G radio frequency antenna is configured to receive and transmit information to a cloud editor.
5. The cloud programming system of claim 1, wherein a serial port unit is disposed in the terminal, and the serial port unit is configured to establish a communication connection between the terminal and other terminals.
6. A cloud programming method, wherein the cloud programming method is applied to a cloud editor, and the cloud programming method comprises the following steps:
acquiring an operation script sent by a terminal;
synchronizing the operation script to a cloud script editor through a cloud editor basic unit, and controlling the Yun Jiaoben editor to edit and operate the operation script in real time;
storing the edited and operated operation script to the terminal;
the cloud programming method further comprises the following steps:
after detecting that a terminal script operation service unit starts the operation script, receiving coded data sent by a base station, wherein the coded data is obtained by coding the operation script according to a data transmission protocol defined in a terminal main service communication unit;
decoding the encoded data according to the data transmission protocol to obtain the operation script, synchronizing the operation script through the cloud editor basic unit, obtaining user requirements through the Yun Jiaoben editor, and controlling the Yun Jiaoben editor to edit and operate the operation script according to the user requirements;
when the Yun Jiaoben editor edits and runs the running script, controlling the terminal script running service unit to synchronously edit and run the running script of the terminal script running service unit;
and when the completion of the confirmation of the edited operation script operated by the Yun Jiaoben editor is detected, outputting a completion instruction to store the operation script synchronously edited and operated in the terminal script operation service unit to the terminal.
7. The cloud programming method of claim 6, wherein the step of obtaining the running script sent by the terminal comprises:
acquiring coded data sent by a terminal;
and decoding the encoded data according to a preset data transmission protocol to obtain an operation script.
8. The cloud programming method is characterized by being applied to a terminal, and comprises the following steps:
transmitting the operation script in the terminal to a cloud editor basic unit;
acquiring the operation script edited and operated in the cloud script editor, and storing the operation script edited and operated to the terminal;
after the operation script is stored, the received data information is sent to other terminals or the data information sent by the other terminals is received;
the cloud programming method further comprises the following steps:
starting the operation script through a terminal script operation service unit;
encoding the operation script according to a data transmission protocol defined in a terminal main service communication unit, and forwarding the obtained encoded data to a cloud editor through a base station;
when a cloud script editor in the cloud editor edits and runs the running script, synchronously editing and running the running script on the terminal script running service unit;
after the cloud editor detects that the edited operation script operated by the Yun Jiaoben editor is confirmed to be finished, the operation script synchronously edited and operated in the terminal script operation service unit is saved according to an ending instruction output by the cloud editor;
the cloud editor is further configured to decode the encoded data according to the data transmission protocol to obtain the operation script, synchronize the operation script through a cloud editor base unit in the cloud editor, and transmit the operation script to the Yun Jiaoben editor so that the Yun Jiaoben editor can obtain user requirements, edit the operation script sent by the cloud editor base unit according to the user requirements, and after the operation script is edited, operate the edited operation script.
9. A cloud programming device, the cloud programming device comprising: memory, a processor and a cloud-programmed program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the cloud programming method of any of claims 6 to 7, 8.
10. A computer storage medium, wherein a cloud programmed program is stored on the computer storage medium, and when the cloud programmed program is executed by a processor, the cloud programming method according to any one of claims 6 to 7 and 8 is implemented.
CN202111675648.5A 2021-12-31 2021-12-31 Cloud programming system, method, equipment and computer storage medium Active CN114553848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111675648.5A CN114553848B (en) 2021-12-31 2021-12-31 Cloud programming system, method, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111675648.5A CN114553848B (en) 2021-12-31 2021-12-31 Cloud programming system, method, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN114553848A CN114553848A (en) 2022-05-27
CN114553848B true CN114553848B (en) 2024-03-12

Family

ID=81669320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111675648.5A Active CN114553848B (en) 2021-12-31 2021-12-31 Cloud programming system, method, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN114553848B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857446A (en) * 2019-02-28 2019-06-07 珠海市横琴新区芯云平台科技有限公司 A kind of open things system and method based on cloud platform
CN109960516A (en) * 2019-02-28 2019-07-02 珠海市横琴新区芯云平台科技有限公司 A kind of concentrating type Internet of Things application development system and its method
CN111857655A (en) * 2020-05-29 2020-10-30 北京编程猫科技有限公司 Method and device for pushing programming tutorial based on artificial intelligence
CN112052019A (en) * 2020-09-11 2020-12-08 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10452360B1 (en) * 2019-03-19 2019-10-22 Servicenow, Inc. Workflow support for dynamic action input

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857446A (en) * 2019-02-28 2019-06-07 珠海市横琴新区芯云平台科技有限公司 A kind of open things system and method based on cloud platform
CN109960516A (en) * 2019-02-28 2019-07-02 珠海市横琴新区芯云平台科技有限公司 A kind of concentrating type Internet of Things application development system and its method
CN111857655A (en) * 2020-05-29 2020-10-30 北京编程猫科技有限公司 Method and device for pushing programming tutorial based on artificial intelligence
CN112052019A (en) * 2020-09-11 2020-12-08 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device

Also Published As

Publication number Publication date
CN114553848A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
US20200402513A1 (en) Bluetooth speaker base, method and system for controlling thereof
US20170033859A1 (en) Relaying device, communication system, and communication method
CN101073276A (en) Optimized push-to-talk call setup
JP2003235064A5 (en)
US10721724B2 (en) Wireless communication system and communication method
CN112073922B (en) Transfer equipment, server, fusion system and method for narrow-band and broadband communication
WO2013117048A1 (en) Wifi data transmission method and terminal
US20050094838A1 (en) Electronic device with wireless communication module
US9392631B2 (en) Wireless communication apparatus
CN104244197A (en) Mobile terminal and mobile instant communication method and system used for group communication
CN103812534A (en) Information sharing method and system using the same
US8144676B2 (en) Network allocation
CN114553848B (en) Cloud programming system, method, equipment and computer storage medium
KR100778248B1 (en) Apparatus and method for transmitting/receiving of posintioning information through voice call channel in portable terminal
US20160219418A1 (en) Hybrid terminal capable of avoiding signals originated by own terminal
CN100576818C (en) Directly flooding of PTT notification message
CN114520961B (en) Voice signal relay transfer method and radio network gateway
JP2022535499A (en) User device and its wireless communication method
US7062263B2 (en) Fast traffic channel reconnection system and method
US11979861B2 (en) Reverse trigger system of multiple access point operation including common station, initializer AP and first coordinated AP, and access point
WO2020063691A1 (en) Gsm communication network expansion method, mobile terminal, and storage medium
CN102076123B (en) Communication terminal, communication subsystem, application subsystem and multimode communication method
CN106911835B (en) Voice data transmission method and system and applicable intelligent terminal
CN111867154B (en) Mobile terminal, communication method thereof and computer readable storage medium
CN115412142B (en) Processing method, processing device, processing equipment and readable 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
GR01 Patent grant
GR01 Patent grant