CN111885194B - Communication method and device for communication application and electronic equipment - Google Patents

Communication method and device for communication application and electronic equipment Download PDF

Info

Publication number
CN111885194B
CN111885194B CN202010755665.9A CN202010755665A CN111885194B CN 111885194 B CN111885194 B CN 111885194B CN 202010755665 A CN202010755665 A CN 202010755665A CN 111885194 B CN111885194 B CN 111885194B
Authority
CN
China
Prior art keywords
function
communication
type
file
electronic device
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
CN202010755665.9A
Other languages
Chinese (zh)
Other versions
CN111885194A (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.)
Ringslink Xiamen Network Communication Technologies Co ltd
Original Assignee
Ringslink Xiamen Network Communication Technologies 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 Ringslink Xiamen Network Communication Technologies Co ltd filed Critical Ringslink Xiamen Network Communication Technologies Co ltd
Priority to CN202010755665.9A priority Critical patent/CN111885194B/en
Publication of CN111885194A publication Critical patent/CN111885194A/en
Application granted granted Critical
Publication of CN111885194B publication Critical patent/CN111885194B/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
    • 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/60Software deployment
    • G06F8/65Updates
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/133Protocols for remote procedure calls [RPC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a communication method for communication application, which belongs to the technical field of communication application, and is applied to first electronic equipment and comprises the following steps: acquiring a communication instruction; the control function control locally loads the first type of function files from the second electronic equipment; the first type of function files are at least used for realizing communication functions; operating the first class of function files; wherein, the communication application is internally packaged with a second type of function file. When the method works, the communication function can be completed only by loading the first type of function files from the second electronic equipment and operating the first type of function files. Therefore, when a new entity intercom terminal device needs to be docked, only the first type of function files on the second electronic device are required to be updated, new original APP does not need to be re-developed, a user does not need to download the new APP, user experience is improved, and cost for developing the original APP is reduced.

Description

Communication method and device for communication application and electronic equipment
Technical Field
The disclosure relates to the technical field of communication applications, and in particular relates to a communication method and device for communication applications and electronic equipment.
Background
In the App in the current intercom field, the remote control and the RTSP video monitoring of the intercom terminal equipment are almost all functions necessary for the App. However, there are problems with the development of these apps in this respect. For sip talkback, the core functions of alarm push, RTPS monitoring and the like are realized in the development of a native App by tightly combined service. The App in the intercom field and the entity intercom terminal equipment (such as the gate machine) are tightly combined and matched, because users often need to directly communicate with the entity intercom terminal equipment through the App for calling, opening the door, remotely monitoring and the like, software codes in the entity intercom terminal equipment are often not easy to change due to the invariability of the entity intercom terminal equipment, and certain differences exist between different manufacturers in realization of conversation protocols and monitoring protocols of the entity intercom terminal equipment, even the differences are completely different. Therefore, when the App in the current intercom field is compatible with a new manufacturer entity intercom terminal device or different entity intercom terminal devices are realized by the same manufacturer software layer, the original App code needs to be redeveloped, then the App can be used after being updated by a user, the App cannot be used for all times, and one App can be compatible with various types of devices.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure aims to provide a communication method, a communication device and an electronic device for communication application, and further at least to a certain extent solve the technical problems that a new original APP needs to be developed and a user needs to download the APP again when a new entity intercom terminal device is docked each time.
According to one aspect of the present disclosure, there is provided a communication method for a communication application, applied to a first electronic device, including:
acquiring a communication instruction;
the control function control locally loads the first type of function files from the second electronic equipment; the first type of function files are at least used for realizing communication functions;
operating the first class of function files;
wherein, the communication application is internally packaged with a second type of function file.
In an exemplary embodiment of the present disclosure, the functionality control comprises a webview control.
In an exemplary embodiment of the present disclosure, a resource file corresponding to the first type of function file is stored in the second electronic device, and can be called by a function control of the first electronic device, so as to implement loading on the first electronic device.
In an exemplary embodiment of the present disclosure, the method further comprises:
the control function control locally loads a third type of function file from the second electronic equipment;
operating the third class of function files;
the third type of function file is used for displaying an interface, and the interface comprises at least one function key.
In an exemplary embodiment of the present disclosure, the first type of function file includes at least one of: sip register function file, call function file, and communication protocol file.
In an exemplary embodiment of the present disclosure, the second type of function file includes at least one of: socket protocol file, sip interface file and webRTC protocol file.
In an exemplary embodiment of the present disclosure, the method further comprises:
responding to the update instruction;
sending a query request to the second electronic device;
receiving feedback information sent by the second electronic equipment, and determining whether the first type of function file loaded locally is the file of the latest version according to the feedback information;
if not, loading the update file from the second electronic equipment.
In an exemplary embodiment of the present disclosure, the first type of function file loaded in the communication application is an H5 function file.
According to one aspect of the present disclosure, there is provided a communication apparatus comprising:
the acquisition module is used for acquiring the communication instruction;
the communication module is used for responding to the communication instruction and controlling the functional control to locally load the first type of functional files from the second electronic equipment; the first type of function files are at least used for realizing communication functions;
the operation module is used for operating the first type of function files;
and the packaging module is used for packaging the second-class functional files.
According to one aspect of the present disclosure, there is provided an electronic device including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform any of the above communication methods via execution of the executable instructions.
According to one aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the communication method of any one of the above.
The application discloses a communication method and a device for communication application, wherein when communication is performed, a first type of function file is loaded locally from a second electronic device (such as a server) through a function control, so that communication energy is realized. Thus, the first type of function files for realizing the communication function are not encapsulated in the original APP, but are developed on the second electronic equipment. When the communication application works, the communication function can be completed only by loading the first type of function files from the second electronic equipment and operating the first type of function files. Therefore, when a new entity intercom terminal device needs to be docked, only the first type of function files on the second electronic device are required to be updated, new original APP does not need to be re-developed, a user does not need to download the new APP, user experience is improved, and cost for developing the original APP is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 schematically shows a flow chart of a communication method for a communication application.
Fig. 2 schematically shows a block diagram of a communication device.
Fig. 3 schematically shows a computer readable storage medium for implementing the above communication method.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
Noun interpretation:
native APP: is a third party mobile application program based on a local operating system of the intelligent device, such as Android, IOS and Windows Phone, and written and operated by using a native program. Before the APP is operated on the electronic equipment, a user is required to download the APP to the electronic equipment before the APP is operated.
H5 and APP hybrid development: the original APP encapsulates part of the functions, and the H5 resource file is stored on a remote server. When the APP is operated, the H5 webpage can be loaded through the function control to realize the operation of partial functions.
In this exemplary embodiment, a communication method for a communication application is provided first, where the communication method may be run on an electronic device, for example, a mobile phone, a PAD, etc., and of course, those skilled in the art may also run the method of the present invention on other platforms according to the needs, which is not limited in particular in this exemplary embodiment. Referring to fig. 1, the communication method may include the steps of:
step S110, obtaining a communication instruction;
step S120, controlling the function control to load the first type of function file from the second electronic device locally; the first type of function files are at least used for realizing communication functions;
step S130, operating the first type of function file;
wherein, the communication application is internally packaged with a second type of function file.
The first electronic device on which the communication method provided in this embodiment operates may be a common electronic device such as a smart phone or a smart watch, and this embodiment is illustrated by taking the smart phone as an example. The method can work by means of an APP installed in the first electronic equipment.
Specifically, the communication instruction may be obtained by clicking a communication button or triggering other gestures on a relevant interface of the APP by the user, thereby obtaining the communication instruction. Of course, the communication command may be acquired in response to a communication request of another electronic device.
And responding to the acquisition of the communication instruction, and loading the first type of function files stored on the second electronic equipment through the function control in the APP. Of course, the loading of the first class of function files can also be carried out when the APP is started, and the first class of function files can be operated after the communication instruction is acquired. That is, the order of steps S110 and S120 may be exchanged according to the need at the time of actual application.
The second electronic device may be a server or a cloud end, and in this embodiment, the server is taken as an example for illustration. The first type of function files stored on the server are H5 resource files, and can interact with the first electronic equipment in information, so that the first electronic equipment can realize the represented functions of the first type of function files through the H5 webpage.
And after loading, the first type of function file is operated, and communication connection is established with the third electronic equipment, so that the communication function is realized. The third electronic device may be other smart phones or entity intercom terminal devices. In this embodiment, the third electronic device is described by taking an entity intercom terminal device as an example.
It should be noted that, in this embodiment, the communication application may refer to a native APP, where the encapsulated second type of function file may be a communication interface protocol, a generic function file, or a file of another basic function. Without the need to package files that actually implement the communication function. The file actually realizing the communication function is a first type of communication file, which is stored on the second electronic device, and can be also understood as being developed or deployed on the second electronic device.
In addition, in practical application, in order to complete the implementation of the communication function, participation of the fourth electronic device is actually required. The fourth electronic device may be a docking server providing communication functionality. The first electronic device is in communication connection with the third electronic device through the fourth electronic device. At the same time, the fourth electronic device can also take on the following functions: and the third electronic equipment is connected to the intercom system, the alarm and the motion of the third electronic equipment are pushed to the first electronic equipment (communication application), and the processing result of the first electronic equipment (communication application) is sent to the third electronic equipment.
In the communication method of the communication application disclosed in the embodiment, when communication is performed, the first type of function file is loaded locally from the second electronic device (such as a server) through the function control, so that communication energy is realized. Thus, the first type of function files for realizing the communication function are not encapsulated in the original APP, but are developed on the second electronic equipment. When the communication application works, the communication function can be completed only by loading the first type of function files from the second electronic equipment and operating the first type of function files. Therefore, when a new entity intercom terminal device needs to be docked, only the first type of function files on the second electronic device are required to be updated, new original APP does not need to be re-developed, a user does not need to download the new APP, user experience is improved, and cost for developing the original APP is reduced.
In an exemplary embodiment of the present disclosure, the functionality control comprises a webview control.
The webview control is encapsulated in the communication application, namely encapsulated in the native APP. When the communication function is carried out, the communication application invokes the loaded first class function file through the webview control to operate so as to realize the communication function. Of course, in some other embodiments, those skilled in the art may replace the webview control with other controls having the same function, so as to implement the operation of the first type of function file.
In an exemplary embodiment of the present disclosure, a resource file corresponding to the first type of function file is stored in the second electronic device, and can be called by a function control of the first electronic device, so as to implement loading on the first electronic device. The first type of function files loaded in the communication application are H5 function files. The resource file may be developed together and stored on the second electronic device when the communication application is originally developed. It will be understood to a certain extent that the communication application is actually composed of the second type of resource file encapsulated in the native APP together with the first type of function file loaded from the second electronic device.
It should be noted that after the first class of function files are loaded, the communication application does not delete the first class of function files under the general condition or without other special requirements, but can repeatedly operate the first class of function files. I.e. the communication application does not need to load the first type of function file once every time it communicates.
In an exemplary embodiment of the present disclosure, the method further comprises: the control function control locally loads a third type of function file from the second electronic equipment; operating the third class of function files; the third type of function file is used for displaying an interface, and the interface comprises at least one function key.
In actual application, the UI interface is often changed with version update or other requirements. Thus, frequent updating of the interface is required. In this way, the interface display function file is also loaded from the second electronic device, and correspondingly, the resource file corresponding to the third type of function file is also stored on the second electronic device, so that the first electronic device can load the third type of function file from the second electronic device. Therefore, when the interface is updated each time, the user does not need to download new APP again, and user experience is improved.
In an exemplary embodiment of the present disclosure, the first type of function file includes at least one of: sip register function file, call function file, and communication protocol file. The second class of function files includes at least one of: socket protocol file, sip interface file and webRTC protocol file.
Specifically, it can be understood that the native APP implements encapsulation of socket protocol, interface encapsulation of sip protocol, webRTC protocol encapsulation, exposing interfaces of related processes to H5, and secondary encapsulation of generic SDKs and APIs. The loaded first kind of function files realize the procedures of sip registration, conversation, hang-up and the like, and the App itself does not control the services. In order to further facilitate understanding, the related communication protocol stored in the first type of function file is adapted according to a specific communication protocol of the entity intercom terminal device capable of being docked. Thereby realizing communication with the third device (entity intercom terminal device).
In an exemplary embodiment of the present disclosure, the method further comprises:
responding to the update instruction;
sending a query request to the second electronic device;
receiving feedback information sent by the second electronic equipment, and determining whether the first type of function file loaded locally is the file of the latest version according to the feedback information;
if not, loading the update file from the second electronic equipment.
As in practical applications, the communication application provider needs to continuously enable the communication application to communicate with a larger number of different types of third electronic devices. It is unavoidable that the first type of function file needs to be updated in order to achieve adaptation of the new device. Thus, after the communication application is run, a query request can be sent to the second electronic device, and feedback information returned by the second electronic device is received, so that whether the first type of function file loaded locally is the latest version or not is determined. If yes, no subsequent other operations are performed. If the first type of function files loaded locally are found to be the files of the latest version, the second electronic equipment requests to load the update files so as to update the first type of function files loaded locally, and normal communication with the newly accessed third electronic equipment is prevented.
In this embodiment, the acquisition of the update instruction may be actively triggered by the user through an operation, or may be automatically triggered by the communication application under a specific condition. For example, the update command is triggered automatically after each opening of the communication application or after a fixed duration of each interval.
Next, the embodiments will be exemplarily described in terms of practical application (or practical development) in order to enable the present communication method.
(1) Developing a bottom layer architecture module on an App, wherein the bottom layer architecture module comprises SIP call, WEBRTC video monitoring, alarm, socket, system command service, webview and the like, and exposing a specific method name to JavaScript call. After the user opens the App, the App calls a restful interface of the H5Model to acquire an H5 home page file address to be loaded, and then downloads related resources from a server through a WebView control in the UI thread and analyzes and renders the resources. From there the App will only have an action after H5 invokes its corresponding interface.
(2) The H5 file on the server stores the real functions and interfaces. The mapping of the H5 home page address is stored on the Web server, and when the App requests the home page address, the corresponding H5 home page address is returned in the response of the restful interface. After the H5 home page file loaded by the App, the user can see the complete interface, and meanwhile, the H5 calls the socket module reserved by the App and the WEB server to establish a TCP long connection for the server to send information such as alarm, motion and the like of the equipment to the App. And then the user can click to select the equipment management entering equipment module in the H5 home page to manage the equipment, and when the user needs to communicate with the equipment, the H5 calls the SIP communication module of the App to communicate.
(3) When a new device is online, the device enters the whole object system through an access server, and the access server is responsible for the access, alarm and motion receiving and transmitting work of the device. If the SIP protocol and the video monitoring used by the equipment at this time are different from the protocol supported by the previous App, the App cannot be used, and because the SIP and the video monitoring are realized by the core functions of the remote control and the like in H5, only the H5 file needs to be updated at this time, and the equipment can be supported under the condition of no awareness of a user.
(4) Because the App bottom layer encapsulates the core protocol and does not realize specific service functions, the service layer is completely realized in H5, and the App can acquire completely different functions by acquiring different H5 home page addresses, thereby becoming a brand new intercom App.
The following technical effects can be achieved:
(1) the intercom App and SIP protocol interface developed in the mode is exposed by an App package, and SIP communication can be basically finished directly in H5 without the need of completing SIP related service codes in the original App.
(2) The intercom App developed in the mode expands socket programming capability of the H5, app does not need socket service development, H5 realizes long connection with a server through socket, and does not depend on the APP any more.
(3) Because the service functions of SIP communication, video monitoring, alarm pushing and the like for direct communication with equipment are realized at the H5 level, when the novel equipment or equipment of different factories is required to be compatible, H5 codes can be directly pushed out without updating an App, which is not done by other intercom Apps.
(4) When other intercom apps need to be developed, the App is only responsible for providing an interface, so that the App native code can be completely reused in a sand box system, and the development time is greatly shortened.
Corresponding to the above communication method, the embodiment of the present application further provides a communication device, which may be applied to various types of physical machines or service platforms with information processing and computing functions, such as smart phones, smart watches, PADs, notebooks, desktops, all-in-one machines, or server/server clusters, cloud platforms, etc., where a schematic structural diagram of the processing device is shown in fig. 2, and may include: the device comprises an acquisition module, a communication module, an operation module and a packaging module.
Wherein, the liquid crystal display device comprises a liquid crystal display device,
the acquisition module can be used for acquiring the communication instruction;
the communication module can be used for responding to the communication instruction and controlling the functional control to locally load the first type of functional files from the second electronic equipment; the first type of function files are at least used for realizing communication functions;
the operation module can be used for operating the first type of function files;
and the packaging module can be used for packaging the second-type functional files.
The specific details of each module in the above communication device are described in detail in the corresponding communication method, so that the details are not repeated here.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order or that all illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
The electronic device is in the form of a general purpose computing device. Components of an electronic device may include, but are not limited to: the at least one processing unit, the at least one memory unit, and a bus connecting the different system components (including the memory unit and the processing unit).
Wherein the storage unit stores program code executable by the processing unit such that the processing unit performs steps according to various exemplary embodiments of the present invention described in the above section of the exemplary method of the present specification. For example, the processing unit may perform step S110 as shown in fig. 1: acquiring a communication instruction; s120: the control function control locally loads the first type of function files from the second electronic equipment; step S130: and operating the first class of function files.
The memory unit may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) and/or cache memory units, and may further include Read Only Memory (ROM).
The storage unit may also include a program/utility having a set (at least one) of program modules including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The bus may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device, and/or with any device (e.g., router, modem, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface. And, the electronic device may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter. As shown, the network adapter communicates with other modules of the electronic device over a bus. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with an electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
Referring to fig. 3, a program product 600 for implementing the above-described method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (7)

1. A communication method for a communication application, applied to a first electronic device, comprising:
acquiring a communication instruction;
the control function control locally loads the first type of function files from the second electronic equipment; the first type of function files are at least used for realizing communication functions, and at least comprise one of the following: sip register function file, call function file and communication protocol file; the resource files corresponding to the first type of function files are stored in the second electronic device and can be called by the function control of the first electronic device, so that loading of the first electronic device is realized;
the first type of function files are operated, communication connection is established with third electronic equipment, and therefore a communication function is achieved; the method specifically comprises the following steps: the first electronic equipment is in communication connection with the third electronic equipment through the fourth electronic equipment, and meanwhile the fourth electronic equipment bears the following functions: the method comprises the steps of being responsible for accessing a third electronic device into an intercom system, pushing an alarm and actions of the third electronic device to a first electronic device, and sending a processing result of the first electronic device to the third electronic device;
wherein, the communication application is internally packaged with a second type of function file, and the second type of function file at least comprises one of the following: socket protocol file, sip interface file and webRTC protocol file; the communication application is composed of a second type of resource file encapsulated in the native APP and a first type of function file loaded from the second electronic equipment.
2. The communication method of claim 1, wherein the functionality control comprises a webview control.
3. The communication method according to claim 1, wherein the method further comprises:
the control function control locally loads a third type of function file from the second electronic equipment;
operating the third class of function files;
the third type of function file is used for displaying an interface, and the interface comprises at least one function key.
4. The communication method according to claim 1, wherein the method further comprises:
responding to the update instruction;
sending a query request to the second electronic device;
receiving feedback information sent by the second electronic equipment, and determining whether the first type of function file loaded locally is the file of the latest version according to the feedback information;
if not, loading the update file from the second electronic equipment.
5. The communication method according to claim 1, wherein the first type of function file loaded in the communication application is an H5 function file.
6. A communication device for communication applications, comprising:
the acquisition module is used for acquiring the communication instruction;
the communication module is used for responding to the communication instruction and controlling the functional control to locally load the first type of functional files from the second electronic equipment; the first type of function files are at least used for realizing communication functions, and at least comprise one of the following: sip register function file, call function file and communication protocol file; the resource files corresponding to the first type of function files are stored in the second electronic device and can be called by the function control of the first electronic device, so that loading of the first electronic device is realized;
the operation module is used for operating the first type of function files and establishing communication connection with third electronic equipment so as to realize a communication function; the method specifically comprises the following steps: the first electronic equipment is in communication connection with the third electronic equipment through the fourth electronic equipment, and meanwhile the fourth electronic equipment bears the following functions: the method comprises the steps of being responsible for accessing a third electronic device into an intercom system, pushing an alarm and actions of the third electronic device to a first electronic device, and sending a processing result of the first electronic device to the third electronic device;
the packaging module is used for packaging the second-type functional files, and the second-type functional files at least comprise one of the following: socket protocol file, sip interface file and webRTC protocol file; the communication application is composed of a second type of resource file encapsulated in the native APP and a first type of function file loaded from the second electronic equipment.
7. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the communication method of any of claims 1-5 via execution of the executable instructions.
CN202010755665.9A 2020-07-31 2020-07-31 Communication method and device for communication application and electronic equipment Active CN111885194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010755665.9A CN111885194B (en) 2020-07-31 2020-07-31 Communication method and device for communication application and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010755665.9A CN111885194B (en) 2020-07-31 2020-07-31 Communication method and device for communication application and electronic equipment

Publications (2)

Publication Number Publication Date
CN111885194A CN111885194A (en) 2020-11-03
CN111885194B true CN111885194B (en) 2023-06-09

Family

ID=73204891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010755665.9A Active CN111885194B (en) 2020-07-31 2020-07-31 Communication method and device for communication application and electronic equipment

Country Status (1)

Country Link
CN (1) CN111885194B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017050094A1 (en) * 2015-09-23 2017-03-30 北京金山安全软件有限公司 Method and apparatus for loading application program
CN108874412A (en) * 2017-05-16 2018-11-23 北京海鲸科技有限公司 For updating the method, apparatus, equipment and system of interface layout
CN110263275A (en) * 2019-06-14 2019-09-20 深圳前海桔子信息技术有限公司 A kind of method, apparatus, mobile terminal and storage medium accessing webpage
CN110427213A (en) * 2019-07-29 2019-11-08 厦门四信通信科技有限公司 Method, device, equipment and storage medium for realizing intelligent configuration software

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150082298A1 (en) * 2013-09-19 2015-03-19 Qiu Shi WANG Packaging and deploying hybrid applications
US9785429B2 (en) * 2015-02-27 2017-10-10 Lenovo (Singapore) Pte. Ltd. Efficient deployment of thin client applications to end user
CN107357560A (en) * 2017-04-28 2017-11-17 阿里巴巴集团控股有限公司 Interaction processing method and device
CN107479921A (en) * 2017-08-04 2017-12-15 四川长虹电器股份有限公司 Mobile solution end dynamic load WebView method
US10572279B2 (en) * 2018-04-10 2020-02-25 Microsoft Technology Licensing, Llc Cross-process interface for non-compatible frameworks
CN110874236B (en) * 2019-11-13 2023-04-07 中国建设银行股份有限公司 Cross-platform application device, terminal and storage medium
CN111324378B (en) * 2020-03-18 2023-08-29 浩云科技股份有限公司 Configuration method, device and equipment for video monitoring application software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017050094A1 (en) * 2015-09-23 2017-03-30 北京金山安全软件有限公司 Method and apparatus for loading application program
CN108874412A (en) * 2017-05-16 2018-11-23 北京海鲸科技有限公司 For updating the method, apparatus, equipment and system of interface layout
CN110263275A (en) * 2019-06-14 2019-09-20 深圳前海桔子信息技术有限公司 A kind of method, apparatus, mobile terminal and storage medium accessing webpage
CN110427213A (en) * 2019-07-29 2019-11-08 厦门四信通信科技有限公司 Method, device, equipment and storage medium for realizing intelligent configuration software

Also Published As

Publication number Publication date
CN111885194A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN109388453A (en) Methods of exhibiting, device, storage medium and the electronic equipment of application page
CN111158818A (en) Page rendering method and device
CN107741844B (en) Method and device for generating application installation package
CN109308241B (en) Method and device for monitoring starting process of application program, terminal equipment and storage medium
CN110069308B (en) Page starting method and device, electronic equipment and storage medium
CN109240697B (en) Call processing method and device and storage medium
CN110865837B (en) Method and terminal for system upgrade
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN114168460A (en) Remote debugging method, device and storage medium for front-end code in hybrid development
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN110221840B (en) Function implementation method and device of application program, equipment and storage medium
CN111885194B (en) Communication method and device for communication application and electronic equipment
CN108667902B (en) Remote control system, method, device and equipment of iOS equipment
CN115080109A (en) Multi-cloud-end environment joint debugging method, device, system and equipment based on hybrid development
CN114546436A (en) Micro front-end service updating method and device, electronic equipment and storage medium
CN114237684A (en) Component management system, method, device, electronic device and storage medium
CN116149639A (en) Method and device for developing components, electronic equipment and storage medium
CN113515299A (en) Software development kit SDK hot upgrading method, device, equipment and storage medium
CN109413714B (en) User agent information processing method, device, storage medium and terminal
CN113709243B (en) Equipment remote control method and device, electronic equipment and storage medium
CN116991380B (en) Application program construction method and device, electronic equipment and storage medium
CN112688863B (en) Gateway data processing method and device and electronic equipment
CN111381898B (en) Interface calling method and device, mobile terminal and storage medium
CN111414160A (en) Development method and device of software development platform
CN116842296A (en) Application access method and device of micro front end, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant