CN109343838A - Chat feature development approach and system, terminal and computer readable storage medium - Google Patents

Chat feature development approach and system, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109343838A
CN109343838A CN201811081561.3A CN201811081561A CN109343838A CN 109343838 A CN109343838 A CN 109343838A CN 201811081561 A CN201811081561 A CN 201811081561A CN 109343838 A CN109343838 A CN 109343838A
Authority
CN
China
Prior art keywords
chat feature
development
file
function
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811081561.3A
Other languages
Chinese (zh)
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.)
Beijing ELEX Technology Co Ltd
Original Assignee
Beijing ELEX Technology 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 Beijing ELEX Technology Co Ltd filed Critical Beijing ELEX Technology Co Ltd
Priority to CN201811081561.3A priority Critical patent/CN109343838A/en
Publication of CN109343838A publication Critical patent/CN109343838A/en
Priority to PCT/CN2019/098544 priority patent/WO2020057265A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/47Retargetable compilers

Abstract

The invention proposes a kind of chat feature development approach and systems, terminal and computer readable storage medium, wherein, this method comprises: during using Cocos frame and/or the exploitation game of Unity developing instrument, determine the type of the operating system of the application game, wherein, the type includes Android and iOS;According to the type of the operating system, corresponding chat feature development strategy is selected, wherein the chat feature development strategy states C++ function in the development language file of the operating system.According to the technical solution of the present invention, realize the chat feature primary chat feature in Android operation system and iOS operating system being used in game, solve the problems, such as between C++, C#, Java, Objective-C across language development, reduce the difficulty across language development, convenient for integrating the advantage of a variety of development languages, the practicability and convenience for increasing chat feature in game improve the user experience that user uses chat feature in game process.

Description

Chat feature development approach and system, terminal and computer readable storage medium
[technical field]
The present invention relates to technology computer field more particularly to a kind of chat feature development approaches and system, terminal and meter Calculation machine readable storage medium storing program for executing.
[background technique]
Currently, popularizing with smart phone, mobile phone is applied and development of games is risen.In development of games, part logic makes With Cocos and Unity technology, wherein Cocos is an Open Framework, for constructing game, application program and other figures circle Face interactive application, Unity, which is one, allows player easily to create such as 3 D video game, building visualization, realtime three dimensional animation Etc. types interaction content multi-platform comprehensive development of games tool.And for the chat feature in game, market at present Game is directly to be realized using Cocos technology.
However, the chat feature that Cocos and Unity technology is realized, there is browsing message and input message Caton easily occur The problem of, keep game player's experience bad.
Therefore, optimize the chat feature in game more, become a technical problem to be solved urgently.
[summary of the invention]
The embodiment of the invention provides a kind of chat feature development approach and systems, terminal and computer-readable storage medium Matter, it is intended to which solving the chat feature that Cocos and Unity technology is realized in the related technology makes game player experience bad technology to ask Topic, can be such that the chat feature in game more optimizes, and promote gaming user experience.
In a first aspect, the embodiment of the invention provides a kind of chat feature development approaches, comprising: using Cocos frame And/or during the exploitation game of Unity developing instrument, determine the type of the operating system of the application game, wherein described Type includes Android and iOS;According to the type of the operating system, corresponding chat feature development strategy is selected, wherein The chat feature development strategy states C++ function in the development language file of the operating system.
In the above embodiment of the present invention, optionally, the type according to the operating system selects corresponding chat The step of functional development strategy, comprising: in the case that the type for determining the operating system is the Android, using the One chat feature development strategy;In the case that the type for determining the operating system is the iOS, using the second chat feature Development strategy.
In the above embodiment of the present invention, optionally, the first chat feature development strategy include: have to statement it is described The Java source file of C++ function is compiled, and obtains the Java file of .class format;Java sheet is exported by javah order The header file of ground interface, wherein the suffix of the header file is .h format;The C++ function is realized with C Plus Plus;Pass through institute The header file for stating Java local interface, the C++ function after calling the C Plus Plus to realize using Java code.
In the above embodiment of the present invention, optionally, the second chat feature development strategy includes: in Objective- Primary class is created in C language, obtains the first file that suffix is h and the second file that suffix is m;After second file Sew and is revised as mm;C++ function is stated in first file;In second file after the modification, by described Objective-C language realizes the C++ function;The C+ for calling the Objective-C language to realize by C Plus Plus + function.
Second aspect, the embodiment of the invention provides a kind of chat feature development systems, comprising: OS Type determines Unit, for determining the application game during using Cocos frame and/or the exploitation game of Unity developing instrument The type of operating system, wherein the type includes Android and iOS;Chat feature development block, for according to the behaviour The type for making system selects corresponding chat feature development strategy, wherein the chat feature development strategy is in the operation C++ function is stated in the development language file of system.
In the above embodiment of the present invention, optionally, the chat feature development block includes: the first development block, is used In the case where working as the type for determining the operating system and being the Android, using the first chat feature development strategy;Second Development block, for developing plan using the second chat feature in the case that the type for determining the operating system is the iOS Slightly.
In the above embodiment of the present invention, optionally, the first development block is specifically used for: having the C++ function to statement Java source file be compiled, obtain the Java file of .class format;Java local interface is exported by javah order Header file, wherein the suffix of the header file is .h format;The C++ function is realized with C Plus Plus;Pass through the Java sheet The header file of ground interface, the C++ function after calling the C Plus Plus to realize using Java code.
In the above embodiment of the present invention, optionally, the second development block is specifically used for: in Objective-C language Primary class is created, the first file that suffix is h and the second file that suffix is m are obtained;The suffix of second file is modified For mm;C++ function is stated in first file;In second file after the modification, pass through the Objective-C Language realizes the C++ function;The C++ function for calling the Objective-C language to realize by C Plus Plus.
The third aspect, the embodiment of the invention provides a kind of terminals, comprising: at least one processor;And with it is described extremely The memory of few processor communication connection;Wherein, the memory, which is stored with, to be executed by least one described processor Instruction, described instruction is arranged to be used for executing method described in any one of above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, and it is executable to be stored with computer Instruction, the computer executable instructions are for executing method flow described in any one of above-mentioned first aspect.
By above technical scheme, the chat feature realized for Cocos and Unity technology in the related technology makes game The bad technical problem of player experience, can be such that the chat feature in game more optimizes.Specifically, since Android is grasped Make to apply in system and iOS operating system and the development language of game is completely different, different chats can be applied for the two Functional development mode, since the primary chat feature ratio Cocos technology in Android operation system and iOS operating system is realized Chat feature want highly efficient quick, therefore can be by the primary chat feature in Android operation system and iOS operating system Exploitation for the chat feature in game.
However, Android operation system uses Java and Kotlin as development language, iOS using Objective-C and Swift is as development language, and development language used in Cocos and Unity technology is C Plus Plus and C# language, C# language It is to inherit in C Plus Plus, the primary function of the machine that C++ can be called to write again.Therefore want to realize by Android operation system and Exploitation of the primary chat feature for the chat feature in game in iOS operating system then needs to realize Android operation system The conversion intercommunication of system and the development language of iOS operating system and the C Plus Plus for being applied to Cocos and Unity technology.
Wherein, Kotlin is a static programming language for modern multi-platform application, and Java bytecode can be compiled into, Therefore, Android operation system can be considered as to general Java development language, by stating C++ in Java development language file Function, to realize the intercommunication of Java development language Yu C++ development language, consequently facilitating the primary of Android operation system is chatted Its functional application is in game application.
Similarly, since Swift can be operated together in iOS operating system with Objective-C, iOS is based on for building The application program of operating system, it uses the name parameter and dynamic object model of Objective-C, can be with seamless interfacing To existing Cocoa frame, and it can be compatible with Objective-C code, therefore iOS operating system can be considered as general Objective-C development language.Therefore C++ function can be stated in Objective-C development language file, to realize The intercommunication of Objective-C development language and C++ development language, consequently facilitating the primary chat feature of iOS operating system is answered For in game application.
By above technical scheme, realize the primary chat feature in Android operation system and iOS operating system For the chat feature in game, solve the problems, such as between C++, C#, Java, Objective-C across language development, reduce across The difficulty of language development increases in game the practicability of chat feature and convenient convenient for integrating the advantage of a variety of development languages Property, improve the user experience that user uses chat feature in game process.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without creative efforts, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 shows the flow chart of the chat feature development approach of one embodiment of the present of invention;
Fig. 2 shows the processes of chat feature development approach in the Android operation system of one embodiment of the present of invention Figure;
Fig. 3 shows the flow chart of chat feature development approach in the iOS operating system of one embodiment of the present of invention;
Fig. 4 shows the block diagram of the chat feature development system of one embodiment of the present of invention;
Fig. 5 shows the block diagram of the terminal of one embodiment of the present of invention.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning.
Fig. 1 shows the flow chart of the chat feature development approach of one embodiment of the present of invention.
As shown in Figure 1, the embodiment of the invention provides a kind of chat feature development approaches, comprising:
Step 102, it during using Cocos frame and/or the exploitation game of Unity developing instrument, determines and applies institute State the type of the operating system of game, wherein the type includes Android and iOS.
Step 104, according to the type of the operating system, corresponding chat feature development strategy is selected, wherein described to chat Its functional development strategy states C++ function in the development language file of the operating system.
Wherein, it in the case that the type for determining the operating system is the Android, is opened using the first chat feature Hair strategy;In the case that the type for determining the operating system is the iOS, using the second chat feature development strategy.
Due in Android operation system and iOS operating system using and game development language it is completely different, can be with Different chat feature development schemes is applied for the two, due to the primary chat in Android operation system and iOS operating system The chat feature that function ratio Cocos technology is realized is highly efficient quick, therefore Android operation system and iOS can be operated Exploitation of the primary chat feature for the chat feature in game in system.
However, Android operation system uses Java and Kotlin as development language, iOS using Objective-C and Swift is as development language, and development language used in Cocos and Unity technology is C Plus Plus and C# language, C# language It is to inherit in C Plus Plus, the primary function of the machine that C++ can be called to write again.Therefore want to realize by Android operation system and Exploitation of the primary chat feature for the chat feature in game in iOS operating system then needs to realize Android operation system The conversion intercommunication of system and the development language of iOS operating system and the C Plus Plus for being applied to Cocos and Unity technology.
Wherein, Kotlin is a static programming language for modern multi-platform application, and Java bytecode can be compiled into, Therefore, Android operation system can be considered as to general Java development language, by stating C++ in Java development language file Function, to realize the intercommunication of Java development language Yu C++ development language, consequently facilitating the primary of Android operation system is chatted Its functional application is in game application.
Similarly, since Swift can be operated together in iOS operating system with Objective-C, iOS is based on for building The application program of operating system, it uses the name parameter and dynamic object model of Objective-C, can be with seamless interfacing To existing Cocoa frame, and it can be compatible with Objective-C code, therefore iOS operating system can be considered as general Objective-C development language.Therefore C++ function can be stated in Objective-C development language file, to realize The intercommunication of Objective-C development language and C++ development language, consequently facilitating the primary chat feature of iOS operating system is answered For in game application.
By above technical scheme, realize the primary chat feature in Android operation system and iOS operating system For the chat feature in game, solve the problems, such as between C++, C#, Java, Objective-C across language development, reduce across The difficulty of language development increases in game the practicability of chat feature and convenient convenient for integrating the advantage of a variety of development languages Property, improve the user experience that user uses chat feature in game process.
The first chat feature development strategy is introduced respectively below by the embodiment of Fig. 2 and Fig. 3 and the second chat feature is opened Send out the particular content of strategy.
Fig. 2 shows the processes of chat feature development approach in the Android operation system of one embodiment of the present of invention Figure.
As shown in Fig. 2, this method comprises:
Step 202, there is the Java source file of the C++ function to be compiled statement, obtain the Java of .class format File.
Wherein, the Java file of .class format entitled Java class file entirely, mainly in platform-neutral and net Java is set to be more suitable for network in terms of network mobility, its task in terms of platform-neutral is to provide for java applet the bottom of independently of The service of the binary form of layer host platform.This document has broken the tradition that the language such as C++ are followed, and uses these traditional languages It says that the program write usually is compiled first, is then connected to individual, special particular hardware platform and the operating system supported Binary file
Step 204, the header file of Java local interface is exported by javah order, wherein the suffix of the header file It is .h format.
Java local interface (Java Native Interface) just refers to the interface with C and C++ exploitation, it allows The code that Java code and other language are write interacts.In addition, header file is widely used in C language family program.One As for, each C++/C program usually by header file and define file form.Header file is as a kind of comprising power function, number According to the bearer documents that interface is stated, it is mainly used for the statement of save routine, and defines the realization that file is then used for save routine.Its In .h is a kind of format of header file.
It therefore, can be Java code in following step by the header file of Java local interface derived from javah order Effective way is provided with interacting for C Plus Plus.
Step 206, the C++ function is realized with C Plus Plus.
Step 208, by the header file of the Java local interface, the C Plus Plus is called using Java code The C++ function after realization.
Android operation system uses Java and Kotlin as development language, and uses in Cocos and Unity technology Development language be C Plus Plus and C# language, C# language is inherited in C Plus Plus, the primary letter of the machine that C++ can be called to write again Number.Therefore want to realize the exploitation that the primary chat feature of Android operation system is used for the chat feature in game, then it needs Realize the conversion intercommunication of the development language and the C Plus Plus for being applied to Cocos and Unity technology of Android operation system.
And through the above steps, state C++ function, in Java development language file to realize Java development language and C+ The intercommunication of+development language, consequently facilitating the primary chat feature of Android operation system is applied in game application.
Fig. 3 shows the flow chart of chat feature development approach in the iOS operating system of one embodiment of the present of invention.
As shown in figure 3, this method comprises:
Step 302, primary class is created in Objective-C language, obtaining the first file that suffix is h and suffix is m The second file.
Wherein, primary class refers in Java, and data type is divided into basic data type (or being called primary class, built-in type) With reference data type, wherein suffix h indicates header file, for stating various member variables, method, attribute etc., suffix m master To be used to realize the method stated in header file.
Step 304, the suffix of second file is revised as mm.
The file of suffix mm is to realize that file is similar with the file of suffix m, and unique difference is exactly, in addition to can wrap Other than Objective-C and C code, it can also include C++ code, only be needed really in Objective-C code using C ++ just with this extension name when class or characteristic.Therefore, in this step extension name be changed to Objective-C code with The conversion intercommunication of C++ code provides condition.
Step 306, C++ function is stated in first file.
Step 308, in second file after the modification, the C++ letter is realized by the Objective-C language Number.
Step 310, the C++ function for calling the Objective-C language to realize by C Plus Plus.
IOS operating system can be considered as to general purpose O bjective-C development language, in Objective-C development language file It is middle statement C++ function, it can be achieved that Objective-C development language and C++ development language intercommunication, consequently facilitating iOS is operated The primary chat feature of system is applied in game application.
Fig. 4 shows the block diagram of the chat feature development system of one embodiment of the present of invention.
As shown in figure 4, the embodiment of the invention provides a kind of chat feature development systems 400, comprising: OS Type Determination unit 402, for determining and applying institute during using Cocos frame and/or the exploitation game of Unity developing instrument State the type of the operating system of game, wherein the type includes Android and iOS;Chat feature development block 404, is used for According to the type of the operating system, corresponding chat feature development strategy is selected, wherein the chat feature development strategy exists C++ function is stated in the development language file of the operating system.
The chat feature development system 400 is using scheme described in any one of embodiment shown in Fig. 1 to Fig. 3, therefore, With above-mentioned all technical effects, details are not described herein.Chat feature development system 400 also has following technical characteristic:
In the above embodiment of the present invention, optionally, the chat feature development block 404 includes: the first development block, In the case where working as the type for determining the operating system for the Android, using the first chat feature development strategy;The Two development blocks, for being developed using the second chat feature in the case that the type for determining the operating system is the iOS Strategy.
In the above embodiment of the present invention, optionally, the first development block is specifically used for: having the C++ function to statement Java source file be compiled, obtain the Java file of .class format;Java local interface is exported by javah order Header file, wherein the suffix of the header file is .h format;The C++ function is realized with C Plus Plus;Pass through the Java sheet The header file of ground interface, the C++ function after calling the C Plus Plus to realize using Java code.
In the above embodiment of the present invention, optionally, the second development block is specifically used for: in Objective-C language Primary class is created, the first file that suffix is h and the second file that suffix is m are obtained;The suffix of second file is modified For mm;C++ function is stated in first file;In second file after the modification, pass through the Objective-C Language realizes the C++ function;The C++ function for calling the Objective-C language to realize by C Plus Plus.
Fig. 5 shows the block diagram of the terminal of one embodiment of the present of invention.
As shown in figure 5, the terminal 500 of one embodiment of the present of invention, including at least one processor 502;And with institute State the processor 504 of the communication connection of at least one processor 502;Wherein, the memory be stored with can by it is described at least one The instruction that processor 504 executes, described instruction are arranged to be used for executing described in any one of above-mentioned Fig. 1 and Fig. 2 embodiment Scheme.Therefore, which has and Fig. 1 is to the identical technical effect of any one of Fig. 3 embodiment, and details are not described herein.
In addition, computer executable instructions are stored with the embodiment of the invention provides a kind of computer readable storage medium, The computer executable instructions are used to execute above-mentioned Fig. 1 to the method flow described in any one of Fig. 3 embodiment.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, according to the technical solution of the present invention, realize by Primary chat feature in Android operation system and iOS operating system for the chat feature in game, solve C++, Across language development problem between C#, Java, Objective-C, reduces the difficulty across language development, convenient for integrating a variety of exploitations The advantage of language increases the practicability and convenience of chat feature in game, improves user in game process using merely The user experience of its function.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It is opened it will be appreciated that though in embodiments of the present invention chat feature may be described using term first, second etc. Hair strategy, but these chat feature development strategies should not necessarily be limited by these terms.These terms are only used to chat feature developing plan Slightly it is distinguished from each other out.For example, in the case where not departing from range of embodiment of the invention, the first chat feature development strategy can also be with Referred to as the second chat feature development strategy, similarly, the second chat feature development strategy can also be referred to as the first chat function It can development strategy.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
It should be noted that terminal involved in the embodiment of the present invention can include but is not limited to personal computer (PersonalComputer, PC), personal digital assistant (PersonalDigitalAssistant, PDA), wireless handheld are set Standby, tablet computer (TabletComputer), mobile phone, MP3 player, MP4 player etc..
In several embodiments provided by the present invention, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), magnetic or disk etc. are various can be with Store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of chat feature development approach characterized by comprising
During using Cocos frame and/or the exploitation game of Unity developing instrument, the operation of the application game is determined The type of system, wherein the type includes Android and iOS;
According to the type of the operating system, corresponding chat feature development strategy is selected, wherein the chat feature develops plan C++ function is stated slightly in the development language file of the operating system.
2. chat feature development approach according to claim 1, which is characterized in that the class according to the operating system Type, the step of selecting corresponding chat feature development strategy, comprising:
In the case that the type for determining the operating system is the Android, using the first chat feature development strategy;
In the case that the type for determining the operating system is the iOS, using the second chat feature development strategy.
3. chat feature development approach according to claim 2, which is characterized in that the first chat feature development strategy Include:
There is the Java source file of the C++ function to be compiled statement, obtains the Java file of .class format;
The header file of Java local interface is exported by javah order, wherein the suffix of the header file is .h format;
The C++ function is realized with C Plus Plus;
The C by the header file of the Java local interface, after calling the C Plus Plus to realize using Java code ++ function.
4. chat feature development approach according to claim 2, which is characterized in that the second chat feature development strategy Include:
Primary class is created in Objective-C language, obtains the first file that suffix is h and the second file that suffix is m;
The suffix of second file is revised as mm;
C++ function is stated in first file;
In second file after the modification, the C++ function is realized by the Objective-C language;
The C++ function for calling the Objective-C language to realize by C Plus Plus.
5. a kind of chat feature development system characterized by comprising
OS Type determination unit, in the process using Cocos frame and/or the exploitation game of Unity developing instrument In, determine the type of the operating system of the application game, wherein the type includes Android and iOS;
Chat feature development block selects corresponding chat feature development strategy for the type according to the operating system, In, the chat feature development strategy states C++ function in the development language file of the operating system.
6. the chat feature development system stated according to claim 5, which is characterized in that the chat feature development block includes:
First development block, for being chatted using first in the case that the type for determining the operating system is the Android Its functional development strategy;
Second development block, in the case where working as the type for determining the operating system for the iOS, using the second chat function It can development strategy.
7. chat feature development system according to claim 6, which is characterized in that the first development block is specifically used for:
There is the Java source file of the C++ function to be compiled statement, obtains the Java file of .class format;Pass through The header file of javah order export Java local interface, wherein the suffix of the header file is .h format;It is realized with C Plus Plus The C++ function;By the header file of the Java local interface, the C Plus Plus is called to realize using Java code The C++ function afterwards.
8. chat feature development system according to claim 6, which is characterized in that the second development block is specifically used for:
Primary class is created in Objective-C language, obtains the first file that suffix is h and the second file that suffix is m;It will The suffix of second file is revised as mm;C++ function is stated in first file;Second file after the modification It is interior, the C++ function is realized by the Objective-C language;The Objective-C language is called by C Plus Plus The C++ function realized.
9. a kind of terminal characterized by comprising at least one processor;And connect at least one described processor communication The memory connect;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, and described instruction is arranged to use Method described in any one of execution the claims 1 to 4.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer executable instructions, the computer can It executes instruction for executing method flow according to any one of claims 1 to 4.
CN201811081561.3A 2018-09-17 2018-09-17 Chat feature development approach and system, terminal and computer readable storage medium Pending CN109343838A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811081561.3A CN109343838A (en) 2018-09-17 2018-09-17 Chat feature development approach and system, terminal and computer readable storage medium
PCT/CN2019/098544 WO2020057265A1 (en) 2018-09-17 2019-07-31 Method and system for chat function development, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811081561.3A CN109343838A (en) 2018-09-17 2018-09-17 Chat feature development approach and system, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109343838A true CN109343838A (en) 2019-02-15

Family

ID=65305251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811081561.3A Pending CN109343838A (en) 2018-09-17 2018-09-17 Chat feature development approach and system, terminal and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109343838A (en)
WO (1) WO2020057265A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020057265A1 (en) * 2018-09-17 2020-03-26 Beijing Elex Technology Co., Ltd Method and system for chat function development, terminal and computer readable storage medium
CN111381816A (en) * 2020-03-17 2020-07-07 京东数字科技控股有限公司 Application program acquisition method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573129A (en) * 2015-11-10 2016-05-11 华南理工大学 Cordova-based cross-platform smart home mobile terminal
CN107818588A (en) * 2016-09-12 2018-03-20 深圳市鸿合创新信息技术有限责任公司 The apparatus and method that android system calls Qt drawing based on JNI multithreadings

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8898629B2 (en) * 2011-04-06 2014-11-25 Media Direct, Inc. Systems and methods for a mobile application development and deployment platform
CN103473072B (en) * 2013-09-24 2017-01-25 北京大学 Mobile cloud computing application program development method
CN104636147B (en) * 2015-03-09 2016-05-25 北京恒华伟业科技股份有限公司 A kind of implementation method and system of cross-platform mobile application
CN105955744A (en) * 2016-05-03 2016-09-21 中国建设银行股份有限公司 Mobile cross-platform development system and method
CN107102853B (en) * 2017-03-26 2021-02-26 安徽继远软件有限公司 Method for customizing mobile operating system to be compatible with Android application
CN109343838A (en) * 2018-09-17 2019-02-15 北京智明星通科技股份有限公司 Chat feature development approach and system, terminal and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573129A (en) * 2015-11-10 2016-05-11 华南理工大学 Cordova-based cross-platform smart home mobile terminal
CN107818588A (en) * 2016-09-12 2018-03-20 深圳市鸿合创新信息技术有限责任公司 The apparatus and method that android system calls Qt drawing based on JNI multithreadings

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
佚名: ""JNI——Java调用C/C++函数"", 《HTTPS://WWW.CNBLOGS.COM/SEIYAGOO/P/3496834.HTML》 *
佚名: ""OC与C++ 混编的文件交互"", 《HTTPS://WWW.JIANSHU.COM/P/2E989420A3CB》 *
佚名: ""Unity⼿游项⽬引⼊聊天系统"", 《HTTPS://FORUM.LEANCLOUD.CN/T/UNITY/13645》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020057265A1 (en) * 2018-09-17 2020-03-26 Beijing Elex Technology Co., Ltd Method and system for chat function development, terminal and computer readable storage medium
CN111381816A (en) * 2020-03-17 2020-07-07 京东数字科技控股有限公司 Application program acquisition method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2020057265A1 (en) 2020-03-26

Similar Documents

Publication Publication Date Title
CN105511873B (en) User interface control display method and device
CN104035683B (en) A kind of communicating terminal split screen multi-task interaction method
CN111694617B (en) Processing method of network offline model, artificial intelligence processing device and related products
CN105843734A (en) Automatic test method and device and computing device
CN106547580B (en) Method and device for hooking function, mobile terminal and storage medium
CN110221968A (en) Method for testing software and Related product
CN107357718A (en) One kind structure method of testing and device
CN107733984A (en) A kind of method, terminal and computer-readable recording medium for pushing screen locking information
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN109509242B (en) Virtual object facial expression generation method and device, storage medium and electronic equipment
CN107844728A (en) Identify method and device, computer installation and the computer-readable recording medium of Quick Response Code
CN108804175A (en) Multilingual adaptation method, mobile terminal and computer readable storage medium
CN110489039A (en) Information processing method, device, storage medium and electronic equipment
CN109343838A (en) Chat feature development approach and system, terminal and computer readable storage medium
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN101136780A (en) Method, system to obtain user command information, and user command registered device
CN109542878B (en) List creation method and device
CN108304110A (en) A kind of method and electronic equipment of information processing
CN112286485B (en) Method and device for controlling application through voice, electronic equipment and storage medium
CN109840201A (en) UI test method, device, electronic equipment and computer readable storage medium
CN107770253A (en) Long-range control method and system
CN104951325B (en) A kind of information display method and electronic equipment
WO2016119432A1 (en) Application accessing control method and device
JP2023063313A (en) Method and computer program for generating menu model of character user interface
CN107272989B (en) Using starting method, apparatus and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190215