CN108984199A - Application function update method, updating device and electronic equipment - Google Patents

Application function update method, updating device and electronic equipment Download PDF

Info

Publication number
CN108984199A
CN108984199A CN201810859851.XA CN201810859851A CN108984199A CN 108984199 A CN108984199 A CN 108984199A CN 201810859851 A CN201810859851 A CN 201810859851A CN 108984199 A CN108984199 A CN 108984199A
Authority
CN
China
Prior art keywords
application
interface
function
file
update
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.)
Granted
Application number
CN201810859851.XA
Other languages
Chinese (zh)
Other versions
CN108984199B (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.)
Beijing Car Federation World Information Technology Co Ltd
Original Assignee
Beijing Car Federation World Information 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 Car Federation World Information Technology Co Ltd filed Critical Beijing Car Federation World Information Technology Co Ltd
Priority to CN201810859851.XA priority Critical patent/CN108984199B/en
Publication of CN108984199A publication Critical patent/CN108984199A/en
Application granted granted Critical
Publication of CN108984199B publication Critical patent/CN108984199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application provides a kind of application function update method, updating device and electronic equipments, and wherein application function update method includes: when detecting that system data updates, and first node is generated application and updated file based on the application more new data in system data;Second node is classified according to the description information of the update file of acquisition to file is updated, at least one functional interface packet after being encapsulated;According to the interface message of application function interface, at least one functional interface packet is sent to corresponding application function interface, to realize the update of application function Application of Interface function.The dependence that the embodiment of the present application passes through update system function interface packet, and use reflection mechanism, it can be carried out efficiently multi-zone supervision, the flexibility for updating functional configuration, integrality, tightness and division of labor development efficiency improved, to meet the demand growing to the complexity of functional configuration.

Description

Application function update method, updating device and electronic equipment
Technical field
This application involves technical field of automotive electronics, more specifically, are related to a kind of application function update method, more new clothes It sets and electronic equipment.
Background technique
With the rapid development of automotive electronic technology, the complexity of vehicle functions is increasingly improved, automotive system scheme also day Day increases severely, and the requirement of a pair of multiple platforms also gradually increases in system, and exploitation also gradually faces huge challenge, and automobile is being opened During hair, need to carry out display user interface and function according to target market requirement, laws and regulations requirement, automobile type configuration requirement etc. Vehicle is demarcated, such as radio reception, media, setting, main interface etc. require to be safeguarded on one system in function, rather than one To one systematical solutions.
After automobile enters test manufacture and market, for depot in the variation of system functional requirement and market client it is anti- Feedback, in maintenance after sale, the control system of vehicle of the same race has different functional configuration, thus needs different calibration Software is refreshed, this just needs user-interface application software that can operate normally under different configurations, and can be compatible with One or more and newborn altering system.
Summary of the invention
In view of this, the application's is designed to provide a kind of application function update method, updating device and electronic equipment, The embodiment of the present application by update system function interface packet dependence, and use Android reflection mechanism, can efficiently into Row multi-zone supervision can be improved the flexibility for updating functional configuration, integrality, tightness and division of labor development efficiency, with satisfaction pair The growing demand of the complexity of functional configuration.
In a first aspect, the embodiment of the present application provides a kind of application function update method, comprising: when detecting system data When updating, first node is generated application and is updated file based on the application more new data in system data;Second node according to The description information of the update file of acquisition, classifies to file is updated, at least one functional interface packet after being encapsulated;Root According to the interface message of application function interface, at least one functional interface packet is sent to corresponding application function interface, to realize The update of application function Application of Interface function.
With reference to first aspect, the embodiment of the present application provides the first possible embodiment of first aspect, wherein the One node generates the update file of application based on the application more new data in system data, comprising: obtains system using principle of reflection Application more new data in data of uniting;According to the update file for automatically generating application using more new data.
The possible embodiment of with reference to first aspect the first, the embodiment of the present application provide second of first aspect Possible embodiment, wherein according to the update file for automatically generating application using more new data, comprising: update number in application According to middle acquisition Application Programming Interface data;Description information is generated according to programming interface data;Description information is carried and is answered in basis In update file with the generation of more new data.
With reference to first aspect, the embodiment of the present application provides the third possible embodiment of first aspect, wherein the Two nodes are classified according to the description information of the update file of acquisition to file is updated, at least one function after being encapsulated Before energy interface packet, further includes: judge whether normal using file is updated;If application updates, file is normal, and second node obtains Take the description information for updating file;If it is abnormal that application updates file, first node, which reacquires, applies more new data.
The third possible embodiment with reference to first aspect, the embodiment of the present application provide the 4th kind of first aspect Possible embodiment, wherein at least one functional interface packet is sent to before corresponding application function interface, further includes: Data detection is carried out to the interface message of application function interface, generates inspection result;Judge that application function connects according to inspection result Whether the interface message of mouth is complete;If it is determined that interface message is imperfect, then functional interface packet corresponding with interface message is abandoned;If It determines that interface message is complete, then the corresponding functional interface packet of interface message is sent to corresponding application function interface.
Second aspect, the embodiment of the present application provide a kind of application function updating device, comprising: generation module, for working as When detecting that system data updates, first node is generated application and is updated text based on the application more new data in system data Part;Categorization module is classified to file is updated, is obtained for second node according to the description information of the update file of acquisition At least one functional interface packet after encapsulation;Sending module, for the interface message according to application function interface, by least one Functional interface packet is sent to corresponding application function interface, to realize the update of application function Application of Interface function.
In conjunction with second aspect, the embodiment of the present application provides the first possible embodiment of second aspect, wherein raw It include: acquisition module at module, for obtaining the application more new data in system data using principle of reflection;Generation module, also For according to the update file for automatically generating application using more new data.
In conjunction with the first possible embodiment of second aspect, the embodiment of the present application provides second of second aspect Possible embodiment, application function updating device include: acquisition module, are also used to obtain application in application more new data and compile Journey interface data;Generation module is also used to generate description information according to programming interface data;Generation module is also used to describe Information carries in the update file generated according to application more new data.
In conjunction with second aspect, the embodiment of the present application provides the third possible embodiment of second aspect, wherein answers With function updating device further include: whether judgment module is normal using file is updated for judging;If application is updating file just Often, then second node obtains the description information for updating file;If it is abnormal that application updates file, first node reacquisition is answered With more new data.
In conjunction with the third possible embodiment of second aspect, the embodiment of the present application provides the 4th kind of second aspect Possible embodiment, application function updating device include: generation module, be also used to the interface message of application function interface into Row data detection generates inspection result;Judgment module is also used to judge according to inspection result the interface message of application function interface It is whether complete;If it is determined that interface message is imperfect, then functional interface packet corresponding with interface message is abandoned;If it is determined that interface message Completely, then the corresponding functional interface packet of interface message is sent to corresponding application function interface.
The third aspect, the embodiment of the present application also provides a kind of electronic equipment, comprising: processor, memory and bus are deposited Reservoir is stored with the executable machine readable instructions of processor, when electronic equipment operation, passes through between processor and memory Bus communication executes the application function update method such as any of the above-described when machine readable instructions are run by processor.
Fourth aspect, the embodiment of the present application also provides a kind of computer readable storage medium, computer-readable storage mediums It is stored with computer program in matter, the application function update side such as any of the above-described is executed when computer program is run by processor Method.
Application function update method provided by the embodiments of the present application and device pass through newly-increased first node and second node The dependence that system function interface packet can be updated, with the application software in the prior art for going out function change by System build Installation file, the installation file of the application software that replacement addition system layer-by-layer later provides realizes functional interface, could be complete Function is newly increased at corresponding system, i.e., successively the installation file of addition application software relies on exploitation, it is necessary to ensure that system is to answering With requiring consistency up and down, while safeguarding that the compatibility of software application is compared with stability, the embodiment of the present application by using The method of multi-zone supervision can not only improve the flexibility for updating functional configuration, integrality, tightness and division of labor development efficiency, The demand growing to the complexity of functional configuration can also be met.
Further, application function update method provided by the embodiments of the present application, can be flexible by using principle of reflection Corresponding system function is obtained, the compatible of the multiple application software of model may be implemented and use.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of flow chart of application function update method provided by the embodiment of the present application;
Fig. 2 shows the flow charts of another kind application function update method provided by the embodiment of the present application;
Fig. 3 shows the flow chart of another kind application function update method provided by the embodiment of the present application;
Fig. 4 shows a kind of application function update method flow diagram provided by the application specific embodiment;
Fig. 5 shows a kind of virtual bench schematic diagram of application function updating device provided by the embodiment of the present application;
Fig. 6 shows the structural schematic diagram of another kind application function updating device provided by the embodiment of the present application;
Fig. 7 shows the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present application.
Main element symbol description:
10, generation module;20, categorization module;30, sending module;40, module is obtained;100, processor;200, it stores Device;300, bus.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application Middle attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, below to the application's provided in the accompanying drawings The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application Apply example.Based on embodiments herein, those skilled in the art institute obtained without making creative work There are other embodiments, shall fall in the protection scope of this application.
In view of each what's new of system requires that relevant frame (Framework) is specified to generate phase in the related technology The installation file for the application software answered just is able to achieve the update of application software, and is installation text of all references to application software Part is required to update and is compiled to last state, if the system updated occurs abnormal, it will System build is occurred and is gone out to ask Topic malfunctions using operation, and then causes function that cannot normally update.
In view of this, the embodiment of the present application provides a kind of application function update method, updating device and electronic equipment, lead to The dependence for updating system function interface packet is crossed, and uses Android reflection mechanism, can be carried out efficiently multi-zone supervision, it can The flexibility for updating functional configuration, integrality, tightness and division of labor development efficiency are improved, to meet the complicated journey to functional configuration Spend growing demand.
The embodiment of the application first aspect, as shown in Figure 1, for a kind of application function update provided by the embodiments of the present application The flow chart of method, the processing method include:
S101, when detecting that system data updates, first node based in system data application more new data, It generates application and updates file;
S102, second node are classified to file is updated, are encapsulated according to the description information of the update file of acquisition At least one functional interface packet afterwards;
At least one functional interface packet is sent to corresponding application according to the interface message of application function interface by S103 Functional interface, to realize the update of application function Application of Interface function.
Application function update method provided by the embodiments of the present application, for one-to-many prototype software function system, this is System is communicated with the operation interface software of the multiple users of vehicle, can be updated by newly-increased first node and second node and is The dependence of system functional interface packet, specifically, when system data updates, first node obtains answering in system data With more new data, and generate using updating file, i.e. APK (AndroidPackage, Android installation kit) file, further, Second node obtains the description information for updating file, is classified to file is updated and obtains at least one functional interface after being encapsulated Interface packet is arranged in packet, such as brightness interface packet, blue tooth interface packet, language interface packet, sound field interface packet, audio interface packet, vehicle, By the update for calling the operation interface software application function of corresponding functional interface packet realization user.The embodiment of the present application uses The method of multi-zone supervision reduces the dimension of code between layers without the association of JAR (Java Archive, archive file) Shield, key data code are changed into an APK by JAR and are present in system, can not only improve and update the flexible of functional configuration Property, integrality, tightness and division of labor development efficiency, additionally it is possible to meet the demand growing to the complexity of functional configuration.
Wherein, first node can be generated based on the application more new data in system data using update file APK;The Two nodes are classified according to the description information of the update file of acquisition to file is updated, at least one function after being encapsulated It can interface packet JAR;The operation interface software of user is not limited to UI-APP, system software.
In one embodiment of the application, it is preferable that as shown in Fig. 2, another kind provided by the embodiment of the present application is answered With the flow chart of function update method, comprising:
S201 obtains the application in system data using principle of reflection and updates when detecting that system data is updated Data, according to the update file for automatically generating application using more new data;
S202, second node are classified to file is updated, are encapsulated according to the description information of the update file of acquisition At least one functional interface packet afterwards;
At least one functional interface packet is sent to corresponding application according to the interface message of application function interface by S203 Functional interface, to realize the update of application function Application of Interface function.
In this embodiment, first node obtains the application more new data in system data, Jin Erneng by principle of reflection It is enough that different type further can be encapsulated according to the update file APK for automatically generating application using more new data as desired Functional interface packet JAR, such as: realize language switching just only encapsulation linguistic function provide an interface packet.The embodiment of the present application is logical Corresponding system function can flexibly be obtained using principle of reflection by crossing, and the simultaneous of multiple application software an of model may be implemented Hold and use, realize that the function of all functional modules links using principle of reflection by the characteristic of Android, layer and layer may be implemented Between association, that is, do not depend on and do not lack function yet and realize that system is changed by the phase, and function everyday increases, model function will not be influenced The realization of energy, the system for being applicable in all versions of implementation model, if the method interface that the system original phase has has altered or removes, this When just need to carry out supplement process, without handle user operation interface under software.
It should be noted that principle of reflection (reflection principle) is also known as reflection theorem.Specifically, ifFor the arbitrary finite axiom of ZF system (axiomatics), then there is aggregation model M, makeI.e. M isModel, this conclusion is known as principle of reflection.In ZF system In, it is impossible to it proves that there are ZF system standard aggregation models, but by principle of reflection, can prove (in ZF system), Ren Heyou There is aggregation model in limit segment.
In one embodiment of the application, it is preferable that as shown in figure 3, another kind provided by the embodiment of the present application is answered With the flow chart of function update method, comprising:
S301 obtains the application in system data using principle of reflection and updates when detecting that system data is updated Data;Application Programming Interface data are obtained in application more new data;Description information is generated according to programming interface data;It will description Information carries in the update file generated according to application more new data;
S302, second node are classified to file is updated, are encapsulated according to the description information of the update file of acquisition At least one functional interface packet afterwards;
At least one functional interface packet is sent to corresponding application according to the interface message of application function interface by S303 Functional interface, to realize the update of application function Application of Interface function.
In this embodiment, first node is retouched by obtaining Application Programming Interface data, and by the generation of programming interface data It states information and is added to and update in file, can be realized and the application function of respective application functional interface is updated, specifically, when When needing to update some application function interface, obtains first with principle of reflection and retouched with corresponding carry of application function interface The update file of information is stated, and then obtains functional interface packet, so that the application to the functional interface is updated.
In one embodiment of the application, second node according to acquisition update file description information, to update text Just whether part is classified, before at least one functional interface packet after being encapsulated, further includes: judge using update file Often;If application updates, file is normal, and second node obtains the description information for updating file;If it is abnormal that application updates file, Then first node, which reacquires, applies more new data.
In this embodiment, by add judge using update file whether normally execute step, can prevent due to File abnormal the case where causing the function renewal to application function interface to fail is updated, the standard that update method executes is improved True rate after capable of also guaranteeing that abnormal function occurs, also can be obtained timely corresponding anti-while assurance function operates normally Feedback, the update without influencing other application functional interface function.
In one embodiment of the application, by least one functional interface packet be sent to corresponding application function interface it Before, further includes: data detection is carried out to the interface message of application function interface, generates inspection result;Judged according to inspection result Whether the interface message of application function interface is complete;If it is determined that interface message is imperfect, then function corresponding with interface message is abandoned It can interface packet;If it is determined that interface message is complete, then the corresponding functional interface packet of interface message is sent to corresponding application function Interface.
In this embodiment, data detection is carried out by the interface message to application function interface, can prevents interface from believing The occurrence of breath mismatches with application function interface and function renewal is caused to fail, it is ensured that the validity of function renewal.
In the specific embodiment of the application, show as shown in figure 4, providing a kind of application function update method process It is intended to, wherein specific implementation step is as follows:
1) system provide corresponding application programming interface (Application Programming Interface, API);
2) first node writes data analysis layer according to system API, and generates corresponding UI-APP.jar;
3) second node by frame (Framework) carry out with system carry out verifying system function it is whether normal, guarantee Function operate normally while, also to guarantee abnormal function occur after, function also can timely respective feedback, without influencing other function The progress of energy module;
4) first node provides JAR interface, realizes and uses system function indirectly;
5) second node carries out data detection by frame, judges the integrality of system function, and carry out function realization;
6) by the same model, the JAR provided realize different by UI-APP1, UI-APP2, UI-APP3, UI-APP4 Functional module, mode.jar also can handle different editions, will not influence mode.jar and mode.apk data communication;
7) UI-APP1, UI-APP2, UI-APP3, UI-APP4 carry out handling different APK by second node, without Consider the change of system, it is only necessary to the mode.jar of concern correspondence or different editions.
Wherein, UI-APP1, UI-APP2, UI-APP3, UI-APP4 are the operation interface software of user.
Based on the same inventive concept, it is additionally provided in the embodiment of the application second aspect and application function update method pair The updating device answered, the principle and the above-mentioned update of the embodiment of the present application solved the problems, such as due to the updating device in the embodiment of the present application Method is similar, therefore the implementation of device may refer to the implementation of method, and overlaps will not be repeated.
The embodiment of the application second aspect, as shown in figure 5, more for a kind of application function provided by the embodiment of the present application The structural schematic diagram of new equipment, the device include:
Generation module 10, for when detecting that system data updates, first node to be based on answering in system data With more new data, generates application and update file;
Categorization module 20 is divided for second node according to the description information of the update file of acquisition file is updated Class, at least one functional interface packet after being encapsulated;
At least one functional interface packet is sent to by sending module 30 for the interface message according to application function interface Corresponding application function interface, to realize the update of application function Application of Interface function.
Application function updating device provided by the present application, including generation module 10, categorization module 20 and sending module 30 lead to The dependence for updating system function interface packet is crossed, and uses Android reflection mechanism, can be carried out efficiently multi-zone supervision, it can The flexibility for updating functional configuration, integrality, tightness and division of labor development efficiency are improved, to meet the complicated journey to functional configuration Spend growing demand.
In one embodiment of the application, it is preferable that as shown in fig. 6, for another kind provided by the embodiment of the present application The structural schematic diagram of application function updating device, the device include:
Generation module 10 includes obtaining module 40, obtains module 40 and is used to obtain answering in system data using principle of reflection With more new data;Generation module 10, for according to the update file for automatically generating application using more new data;
Categorization module 20 is divided for second node according to the description information of the update file of acquisition file is updated Class, at least one functional interface packet after being encapsulated;
At least one functional interface packet is sent to by sending module 30 for the interface message according to application function interface Corresponding application function interface, to realize the update of application function Application of Interface function.
In one embodiment of the application, it is preferable that obtain module 40, be also used to obtain in application more new data and answer With programming interface data;Generation module 10 is also used to generate description information according to programming interface data;Generation module 10, is also used It carries in by description information according in the update file generated using more new data.
In one embodiment of the application, it is preferable that device further include: judgment module, for judging that application updates text Whether part is normal;If application updates, file is normal, and second node obtains the description information for updating file;If application updates file Abnormal, then first node, which reacquires, applies more new data.
In one embodiment of the application, it is preferable that generation module 10 is also used to the interface letter to application function interface Breath carries out data detection, generates inspection result;Judgment module is also used to judge according to inspection result the interface of application function interface Whether information is complete;If it is determined that interface message is imperfect, then functional interface packet corresponding with interface message is abandoned;If it is determined that interface Information is complete, then the corresponding functional interface packet of interface message is sent to corresponding application function interface.
In the embodiment of the application third aspect, it is preferable that as shown in fig. 7, for one kind provided by the embodiment of the present application The structural schematic diagram of electronic equipment, the electronic equipment include: processor 100, memory 200 and bus 300, and memory 200 is deposited The executable machine readable instructions of processor 100 are contained, when electronic equipment operation, are led between processor 100 and memory 200 The communication of bus 300 is crossed, executes when machine readable instructions are executed by processor 100 and executes instruction as follows:
When detecting that system data updates, first node is generated based on the application more new data in system data Using update file;
Second node is classified, after being encapsulated according to the description information of the update file of acquisition to file is updated At least one functional interface packet;
According to the interface message of application function interface, at least one functional interface packet is sent to corresponding application function and is connect Mouthful, to realize the update of application function Application of Interface function.
In one embodiment of the application, it is preferable that in the step of above-mentioned processor 100 executes, first node is based on Application more new data in system data, generates the update file of application, comprising:
The application more new data in system data is obtained using principle of reflection;
According to the update file for automatically generating application using more new data.
In one embodiment of the application, it is preferable that in the step of above-mentioned processor 100 executes, updated according to application Data automatically generate the update file of application, comprising:
Application Programming Interface data are obtained in application more new data;
Description information is generated according to programming interface data;
Description information is carried in the update file generated according to application more new data.
In one embodiment of the application, it is preferable that above-mentioned processor 100 execute the step of in, second node according to Acquisition update file description information, to update file classify, at least one functional interface packet after being encapsulated it Before, further includes:
Judge whether normal using file is updated;
If application updates, file is normal, and second node obtains the description information for updating file;
If it is abnormal that application updates file, first node, which reacquires, applies more new data.
In one embodiment of the application, it is preferable that in the step of above-mentioned processor 100 executes, by least one function Energy interface packet is sent to before corresponding application function interface, further includes:
Data detection is carried out to the interface message of application function interface, generates inspection result;
Judge whether the interface message of application function interface is complete according to inspection result;
If it is determined that interface message is imperfect, then functional interface packet corresponding with interface message is abandoned;
If it is determined that interface message is complete, then the corresponding functional interface packet of interface message is sent to corresponding application function and connect Mouthful.
In the embodiment of the application fourth aspect, it is preferable that computer-readable deposited the embodiment of the present application also provides a kind of Storage media is stored with computer program on computer readable storage medium, executes when computer program is run by processor above-mentioned Application function update method.
Specifically, computer readable storage medium can be general storage medium, such as mobile disk, hard disk, this is deposited When computer program on storage media is run, it is able to carry out above-mentioned application function update method, is connect by updating system function The dependence of mouth packet, and Android reflection mechanism is used, it can be carried out efficiently multi-zone supervision, can be improved update functional configuration Flexibility, integrality, tightness and division of labor development efficiency, to meet need growing to the complexity of functional configuration It asks.
The computer program product of application function update method provided by the embodiment of the present application, including store program generation The computer readable storage medium of code, the instruction that program code includes can be used for executing the method in previous methods embodiment, have Body, which is realized, can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment of foregoing description It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store In a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words to existing Having the part for the part or the technical solution that technology contributes can be embodied in the form of software products, the computer Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter Calculation machine, server or network equipment etc.) execute each embodiment method of the application all or part of the steps.And it is above-mentioned Storage medium includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk.
More than, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, and it is any to be familiar with Those skilled in the art within the technical scope of the present application, can easily think of the change or the replacement, and should all cover Within the protection scope of the application.Therefore, the protection scope of the application should be subject to the protection scope in claims.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of application function update method, which is characterized in that the described method includes:
When detecting that system data updates, first node is generated based on the application more new data in the system data Using update file;
Second node is classified to the update file, is encapsulated according to the description information of the update file of acquisition At least one functional interface packet afterwards;
According to the interface message of application function interface, at least one described functional interface packet is sent to corresponding application function and is connect Mouthful, to realize the update of the application function Application of Interface function.
2. the method according to claim 1, wherein the first node is based on the application in the system data More new data generates the update file of application, comprising:
The application more new data in the system data is obtained using principle of reflection;
The update file of application is automatically generated according to the application more new data.
3. according to the method described in claim 2, it is characterized in that, described automatically generate application according to the application more new data Update file, comprising:
Application Programming Interface data are obtained in the application more new data;
Description information is generated according to the programming interface data;
The description information is carried in the update file generated according to the application more new data.
4. the method according to claim 1, wherein the second node is according to the update file of acquisition Description information classifies to the update file, before at least one functional interface packet after being encapsulated, further includes:
Judge whether the application updates file normal;
If the application updates, file is normal, and the second node obtains the description information for updating file;
If it is abnormal that the application updates file, the first node reacquires the application more new data.
5. according to the method described in claim 4, it is characterized in that, described be sent at least one described functional interface packet pair Before the application function interface answered, further includes:
Data detection is carried out to the interface message of the application function interface, generates inspection result;
Judge whether the interface message of the application function interface is complete according to the inspection result;
If it is determined that the interface message is imperfect, then the functional interface packet corresponding with the interface message is abandoned;
If it is determined that the interface message is complete, then the corresponding functional interface packet of the interface message is sent to corresponding using function It can interface.
6. a kind of application function updating device, which is characterized in that described device includes:
Generation module, for when detecting that system data updates, first node to be based on the application in the system data More new data generates application and updates file;
Categorization module carries out the update file for second node according to the description information of the update file of acquisition Classification, at least one functional interface packet after being encapsulated;
At least one described functional interface packet is sent to pair for the interface message according to application function interface by sending module The application function interface answered, to realize the update of the application function Application of Interface function.
7. device according to claim 6, which is characterized in that the generation module includes:
Module is obtained, for obtaining the application more new data in the system data using principle of reflection;
The generation module is also used to automatically generate the update file of application according to the application more new data.
8. device according to claim 7, which is characterized in that described device includes:
The acquisition module is also used to obtain Application Programming Interface data in the application more new data;
The generation module is also used to generate description information according to the programming interface data;
The generation module is also used to carrying the description information into the update generating according to the application more new data In file.
9. a kind of electronic equipment characterized by comprising processor, memory and bus, the memory are stored with the place The executable machine readable instructions of device are managed, when electronic equipment operation, are passed through between the processor and the memory Bus communication executes such as side according to any one of claims 1 to 5 when the machine readable instructions are run by the processor Method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program executes such as method according to any one of claims 1 to 5 when the computer program is run by processor.
CN201810859851.XA 2018-08-01 2018-08-01 Application function updating method and device and electronic equipment Active CN108984199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810859851.XA CN108984199B (en) 2018-08-01 2018-08-01 Application function updating method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810859851.XA CN108984199B (en) 2018-08-01 2018-08-01 Application function updating method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108984199A true CN108984199A (en) 2018-12-11
CN108984199B CN108984199B (en) 2021-06-04

Family

ID=64552497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810859851.XA Active CN108984199B (en) 2018-08-01 2018-08-01 Application function updating method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108984199B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597541A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Interface updating processing method, device, equipment and storage medium based on block chain
CN113050950A (en) * 2021-03-26 2021-06-29 上海绚显科技有限公司 Application program development method and device, electronic equipment and machine-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056233A (en) * 2002-07-17 2004-02-19 Sanyo Electric Co Ltd Digital broadcast receiver
CN102622241A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Software upgrading method and software upgrading device
CN103677877A (en) * 2012-09-12 2014-03-26 腾讯科技(深圳)有限公司 Method and device for updating local advertisement software development kit
CN104077160A (en) * 2014-05-12 2014-10-01 联动优势电子商务有限公司 Android software upgrading method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056233A (en) * 2002-07-17 2004-02-19 Sanyo Electric Co Ltd Digital broadcast receiver
CN102622241A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Software upgrading method and software upgrading device
CN103677877A (en) * 2012-09-12 2014-03-26 腾讯科技(深圳)有限公司 Method and device for updating local advertisement software development kit
CN104077160A (en) * 2014-05-12 2014-10-01 联动优势电子商务有限公司 Android software upgrading method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
常煜,邓飞: ""Andorid动态加载技术"", 《电脑知识与技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597541A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Interface updating processing method, device, equipment and storage medium based on block chain
CN110597541B (en) * 2019-09-16 2021-09-17 腾讯科技(深圳)有限公司 Interface updating processing method, device, equipment and storage medium based on block chain
CN113050950A (en) * 2021-03-26 2021-06-29 上海绚显科技有限公司 Application program development method and device, electronic equipment and machine-readable storage medium

Also Published As

Publication number Publication date
CN108984199B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
EP3995981A1 (en) Cyber digital twin simulator for automotive security assessment based on attack graphs
US11704597B2 (en) Techniques to generate network simulation scenarios
CN109460223A (en) A kind of API gateway management system and its method
US20190349251A1 (en) Context-based resource allocation with extended user concepts
US11461691B2 (en) Performance manager to autonomously evaluate replacement algorithms
JP2020087478A (en) Generating scalable and customizable location-independent agile delivery models
CN109447276A (en) A kind of machine learning method, system, equipment and application method
CN109117141A (en) Simplify method, apparatus, the electronic equipment, computer readable storage medium of programming
CN110069312A (en) A kind of method and device of UI component Configuration and generation UI Component Gallery
CN108984199A (en) Application function update method, updating device and electronic equipment
Möller Guide to Cyber security in Digital Transformation
CN115248692A (en) Device and method for supporting cloud deployment of multiple deep learning framework models
CN108713192B (en) Method and system for automatic ordering of computer system repairs
CN105379192A (en) Hardware management communication protocol
US11315208B2 (en) Conceptual representation of business processes for cross-domain mapping
Kulkarni et al. Modelling and enterprises-the past, the present and the future
CN108427560A (en) API file management methods, server and storage medium
CN110019974A (en) Implementation method and device are bored under chart
Sunkle et al. Using Intentional and System Dynamics Modeling to Address WHYs in Enterprise Architecture.
US11769080B2 (en) Semantic consistency of explanations in explainable artificial intelligence applications
CN105279670B (en) Application automatic publishing method and system based on trusted service management platform
CN109298869A (en) A kind of generation method and relevant apparatus of target channel packet
KR20160000157A (en) System for managing topic and QoS policy for application based on data distribution service
Al-Azawi et al. Multi agent software engineering (mase) and agile methodology for game development
CN105094773A (en) Module function reusing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 1601-35, No.8, second financial street, Wuxi Economic Development Zone, Wuxi City, Jiangsu Province, 214000

Applicant after: Wuxi cheliantianxia Information Technology Co.,Ltd.

Address before: Room a-0465, 2 / F, building 3, yard 30, Shixing street, Shijingshan District, Beijing

Applicant before: BEIJING AUTO-LINK WORLD INFORMATION TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: No. 8, Huayun Road, Wuxi City, Jiangsu Province, 214000

Patentee after: Wuxi cheliantianxia Information Technology Co.,Ltd.

Address before: Room 1601-35, No.8, second financial street, Wuxi Economic Development Zone, Wuxi City, Jiangsu Province, 214000

Patentee before: Wuxi cheliantianxia Information Technology Co.,Ltd.

CP02 Change in the address of a patent holder