CN109308261A - Application program adjustment method, device, system, equipment and storage medium - Google Patents

Application program adjustment method, device, system, equipment and storage medium Download PDF

Info

Publication number
CN109308261A
CN109308261A CN201811057580.2A CN201811057580A CN109308261A CN 109308261 A CN109308261 A CN 109308261A CN 201811057580 A CN201811057580 A CN 201811057580A CN 109308261 A CN109308261 A CN 109308261A
Authority
CN
China
Prior art keywords
simulation
sensor
information
sensor information
sensor panel
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
CN201811057580.2A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811057580.2A priority Critical patent/CN109308261A/en
Publication of CN109308261A publication Critical patent/CN109308261A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3652Software debugging using additional hardware in-circuit-emulation [ICE] arrangements

Abstract

The embodiment of the present invention proposes a kind of application program adjustment method, device, system, equipment and storage medium.Wherein, this method comprises: receiving the sensor information of the simulation from sensor panel, the sensor information of the simulation is for sensor information needed for simulative debugging application program;The sensor information of the simulation is sent to simulator, so that the simulator debugs the application program using the sensor information of the simulation.The embodiment of the present invention is capable of the sensor information of dynamic acquisition simulation, effectively reduces the cost of developer's development and application program, does not need to be debugged with using prototype combination hard coded, improves development efficiency.

Description

Application program adjustment method, device, system, equipment and storage medium
Technical field
The present invention relates to field of computer technology more particularly to a kind of application program adjustment method, device, systems, equipment And storage medium.
Background technique
Simulation obtains current geographic position, acceleration and the compass etc. of application program of mobile phone in small routine developer's tool Information can be convenient in small routine exploitation and obtain corresponding informance, to improve the development efficiency of desktop application.Currently used small routine When developer's too development desktop application, if developer needs the system informations such as current geographic position, acceleration and compass, Generally by hard coded come spurious information.
The mode of hard coded includes: to simulate the region if necessary in the scene for obtaining some regional geography position Current latitude and longitude information can only write latitude and longitude information before overdue and unredeemable pawn in code.Therefore, it is only applicable to known region latitude and longitude information Scene.
Hard coded forges letter, and applicable scene is limited, development efficiency is low, is also easy to cause code error.
Summary of the invention
The embodiment of the present invention provides a kind of application program adjustment method, device, system, equipment and storage medium, to solve One or more technical problem in the prior art.
In a first aspect, the embodiment of the invention provides a kind of application program adjustment methods, comprising:
The sensor information of the simulation from sensor panel is received, the sensor information of the simulation is used for simulative debugging Sensor information needed for application program;
The sensor information of the simulation is sent to simulator, so that the simulator utilizes the sensing of the simulation Device information debugs the application program.
With reference to first aspect, the embodiment of the present invention is in the first implementation of first aspect, further includes:
Receive the sensor information acquisition request from simulator;
The sensor information acquisition request is sent to the sensor panel.
With reference to first aspect, the embodiment of the present invention is in second of implementation of first aspect, further includes:
Receive the sensor information of the simulation from sensor panel, comprising: come from using inter-process communication mechanisms reception The sensor information of the simulation of the sensor panel, and the sensor information of the simulation is saved in caching;
The sensor information of the simulation is sent to simulator, comprising: use inter-process communication mechanisms to the simulation Device sends the sensor information of the simulation.
With reference to first aspect or its any one implementation, the embodiment of the present invention is in the third realization side of first aspect In formula, further includes: the sensor information of the simulation is set using following at least one mode in sensor panel:
The sensor information of the simulation is obtained by input frame in the sensor panel;
The element dragged from external page Orly is detected, in the sensor panel to obtain the sensor letter of the simulation Breath;
The operation to specified element is detected in the sensor panel, to obtain the sensor information of the simulation.
The third implementation with reference to first aspect, four kind implementation of the embodiment of the present invention in first aspect In, the sensor information of the simulation is obtained by input frame in the sensor panel, comprising:
The geographical location information of input is obtained, by geographical location information input frame in the sensor panel to obtain mould Quasi- geographical location information;And/or
The posture information of input is obtained, by posture information input frame in the sensor panel to obtain the posture of simulation Information, the posture information include the information of at least one of accelerometer, compass and gyroscope output.
The third implementation with reference to first aspect, five kind implementation of the embodiment of the present invention in first aspect In, the element dragged from external page Orly is detected in the sensor panel, to obtain the sensor information of the simulation, packet It includes:
It, will be described in sensor panel detection from the label in the place that the page of map application is dragged to Geographical location information of the longitude and latitude in place as simulation.
The third implementation with reference to first aspect, six kind implementation of the embodiment of the present invention in first aspect In, the operation to specified element is detected in the sensor panel, to obtain the sensor information of the simulation, comprising:
The shaking of specified element is operated in sensor panel detection, to obtain the posture information of simulation, the appearance State information includes the information of at least one of accelerometer, compass and gyroscope output.
Second aspect, the embodiment of the invention provides a kind of application program debugging apparatus, comprising:
First receiving module, for receiving the sensor information of the simulation from sensor panel, the sensing of the simulation Sensor information needed for device information is used for simulative debugging application program;
First sending module, for the sensor information of the simulation to be sent to simulator, so that the simulator The application program is debugged using the sensor information of the simulation.
In conjunction with second aspect, the embodiment of the present invention is in the first implementation of second aspect, further includes:
Second receiving module, for receiving the sensor information acquisition request from simulator;
Second sending module, for sending the sensor information acquisition request to the sensor panel.
In conjunction with second aspect, the embodiment of the present invention in second of implementation of second aspect,
First receiving module is also used to receive using inter-process communication mechanisms from described in the sensor panel The sensor information of simulation, and the sensor information of the simulation is saved in caching;
First sending module is also used to send the biography of the simulation to the simulator using inter-process communication mechanisms Sensor information.
The third aspect, the embodiment of the invention provides a kind of application program debugging systems, comprising:
Sensor panel, for the sensor information of simulation to be arranged, the sensor information of the simulation is used for simulative debugging Sensor information needed for application program;
Host process, using any one application program debugging apparatus in the embodiment of the present invention;
Simulator, for debugging the application program using the sensor information of the simulation.
In conjunction with the third aspect, the embodiment of the present invention is in the first implementation of the third aspect, the sensor panel At least one comprised the following modules:
Input frame module, for obtaining the sensor information of the simulation by input frame in the sensor panel;
Module is pulled, for detecting the element dragged from external page Orly in the sensor panel, described in obtaining The sensor information of simulation;
Operation module, for detecting the operation to specified element in the sensor panel, to obtain the biography of the simulation Sensor information.
In conjunction with the first implementation of the third aspect, second implementation of the embodiment of the present invention in the third aspect In, the input frame module is also used to obtain the geographical position of input by geographical location information input frame in the sensor panel Confidence breath, to obtain the geographical location information of simulation;And/or it is obtained in the sensor panel by posture information input frame The posture information of input, to obtain the posture information of simulation, the posture information includes in accelerometer, compass and gyroscope The information of at least one output.
In conjunction with the first implementation of the third aspect, the third implementation of the embodiment of the present invention in the third aspect In, the dragging module is also used to detect in the sensor panel from the place that the page of map application is dragged to Label, using the longitude and latitude in the place as simulation geographical location information.
In conjunction with the first implementation of the third aspect, four kind implementation of the embodiment of the present invention in the third aspect In, the operation module is also used to operate in the shaking that the sensor panel is detected to specified element, to obtain the appearance of simulation State information, the posture information include the information of at least one of accelerometer, compass and gyroscope output.
Fourth aspect, the embodiment of the invention provides a kind of application program commissioning device, the function of the equipment can lead to Hardware realization is crossed, corresponding software realization can also be executed by hardware.The hardware or software include it is one or more with it is upper State the corresponding module of function.
It include processor and memory in the structure of the equipment in a possible design, the memory is used for Storage supports the equipment to execute the program of above-mentioned application program adjustment method, the processor is configured to described for executing The program stored in memory.The equipment can also include communication interface, be used for and other equipment or communication.
5th aspect, the embodiment of the invention provides a kind of computer readable storage mediums, for storing application program tune Try computer software instructions used in equipment comprising for executing program involved in above-mentioned application program adjustment method.
A technical solution in above-mentioned technical proposal has the following advantages that or the utility model has the advantages that being capable of dynamic acquisition geography position It sets, the sensor information of the simulations such as accelerometer and compass, effectively reduces the cost of developer's development and application program, be not required to It is debugged with using prototype combination hard coded, substantially increases development efficiency.
Above-mentioned general introduction is merely to illustrate that the purpose of book, it is not intended to be limited in any way.Except foregoing description Schematical aspect, except embodiment and feature, by reference to attached drawing and the following detailed description, the present invention is further Aspect, embodiment and feature, which will be, to be readily apparent that.
Detailed description of the invention
In the accompanying drawings, unless specified otherwise herein, otherwise indicate the same or similar through the identical appended drawing reference of multiple attached drawings Component or element.What these attached drawings were not necessarily to scale.It should be understood that these attached drawings depict only according to the present invention Disclosed some embodiments, and should not serve to limit the scope of the present invention.
Fig. 1 shows the flow chart of application program adjustment method according to an embodiment of the present invention.
Fig. 2 shows the flow charts of application program adjustment method according to an embodiment of the present invention.
Fig. 3 shows the example that sensor panel in application program adjustment method according to an embodiment of the present invention includes input frame Figure.
Fig. 4 shows in application program adjustment method according to an embodiment of the present invention and pulls place marks to sensor panel Exemplary diagram.
Fig. 5, which is shown in application program adjustment method according to an embodiment of the present invention, shakes the example of motion picture cartoon in sensor panel Figure.
Fig. 6 show application program adjustment method according to an embodiment of the present invention using exemplary schematic diagram.
Fig. 7 shows the structural block diagram of application program debugging apparatus according to an embodiment of the present invention.
Fig. 8 shows the structural block diagram of application program debugging apparatus according to an embodiment of the present invention.
Fig. 9 shows the structural block diagram of application program debugging system according to an embodiment of the present invention.
Figure 10 shows the structural block diagram of application program debugging system according to an embodiment of the present invention.
Figure 11 shows the structural block diagram of application program commissioning device according to an embodiment of the present invention.
Specific embodiment
Hereinafter, certain exemplary embodiments are simply just described.As one skilled in the art will recognize that Like that, without departing from the spirit or scope of the present invention, described embodiment can be modified by various different modes. Therefore, attached drawing and description are considered essentially illustrative rather than restrictive.
Fig. 1 shows the flow chart of application program adjustment method according to an embodiment of the present invention.As shown in Figure 1, this method can With the following steps are included:
S11, the sensor information for receiving the simulation from sensor panel, the sensor information of the simulation is for simulating Sensor information needed for debugging utility.
S12, the sensor information of the simulation is sent to simulator, so that the simulator utilizes the simulation Sensor information debugs the application program.
In terminal device such as mobile phone, tablet computer, wearable intelligent terminal etc., desktop, which is answered, to be shown to screen It is debugged with program.In debugging process, it may be necessary to use geographical location information and posture information.Wherein, geographical location Information may include longitude and latitude.Posture information may include the letter of at least one of accelerometer, compass and gyroscope output Breath.Accelerometer can export acceleration information, and compass can be believed with outbound course information in gyroscope with output angular velocity Breath.
In step s 11, the sensing of the simulation from the sensor panel is received using inter-process communication mechanisms Device information, and the sensor information of the simulation is saved in caching.In step s 12, using inter-process communication mechanisms to The simulator sends the sensor information of the simulation.
In one implementation, by host process may be implemented sensor panel, simulator the two rendering processes it Between communication.The sensor information acquisition request from simulator is received by host process, then passes through host process to sensor cover Plate sends the sensor information acquisition request.
In embodiments of the present invention, after the sensor information of sensor panel setting simulation, sensor panel can be led It is dynamic to notify simulator to receive the sensor information of these simulations by host process.Sensor panel can also be received from host process After the sensor information acquisition request of simulator, then the sensor information simulated by host process to simulator transmission.
As shown in Fig. 2, before step S12, this method can also include:
Step S21, the sensor information acquisition request from simulator is received.
Step S22, the sensor information acquisition request is sent to sensor panel.
For example, sensor panel can be after receiving sensor information acquisition request, then subsequent step S12 is executed, led to It crosses host process and sends simulator for the sensor information of simulation.
In one implementation, the sensor using following at least one mode in sensor panel setting simulation is believed Breath:
Mode one, the sensor information for obtaining the simulation by input frame in the sensor panel.
Various input frames can be set according to demand in sensor panel, tester can input by input frame to be wanted The sensor information of simulation.As shown in figure 3, the type of input frame includes that such as geographical location information input frame, posture information are defeated Enter frame etc..Using different types of input frame, the sensor information of various simulations can be obtained respectively.For example, in the sensing Device panel obtains the geographical location information of input by geographical location information input frame, to obtain the geographical location information of simulation. For another example, the posture information of input is obtained, by posture information input frame in the sensor panel to obtain the posture letter of simulation Breath, the posture information include the information of at least one of accelerometer, compass and gyroscope output.
Mode two detects the element dragged from external page Orly in the sensor panel, to obtain the simulation Sensor information.For example, detecting the mark from the place that the page of map application is dragged in the sensor panel Note, using the longitude and latitude in the place as the geographical location information of simulation.As shown in figure 4, can be from the page of map application Some place such as " Xizhimen " is selected in face, and the label in the place is dragged on sensor panel.Sensor panel can be with The longitude and latitude in the place is obtained from map application.
Mode three detects the operation to specified element in the sensor panel, to obtain the sensor letter of the simulation Breath.For example, being operated in sensor panel detection to the shaking of specified element, to obtain the posture information of simulation.Such as Fig. 5 institute Show, a special picture can be shown on sensor panel, tester clicks by mouse or touch operation, to shake The picture.The prompt for shaking the picture can also be illustrated how for example, " please teetertotter the picture ".The mode packet specifically shaken It is a variety of to include but be not limited to upper and lower, left and right, inclination etc..Sensor panel can detecte the amplitude of picture shaking, and simulation calculates Various posture informations out.
In a kind of application example, it is assumed that when developing multipad, need the application journey of the terminals such as analogue mobile phone The information such as current location, accelerometer and the compass of sequence (app).Electron building mobile phone simulator desktop application can be used Program.Integrated chrome devtools panel is simultaneously to generate analogue data.Simulator and chrome devtools panel are logical It crosses host process and carries out real time communication, realize the purpose of the information such as the position analogue mobile phone app, accelerometer and compass.
The application program adjustment method of the embodiment of the present invention is mainly realized by following part:
(1) simulator: multi-thread design principal and subordinate (master-slave) mode is used, different context analogue mobile phones are created The interaction of app multi-page.
(2) devtools: integrated open source projects chrome-devtools-fronted increases sensor by extension (sensor) panel.Geographical location, accelerometer and the compass etc. that panel can update simulation by input and touch operation etc. Information.
Wherein, simulator, which can intercept, obtains cell phone system relevant information end ability.
Front end exploitation needs to obtain cell phone system relevant information, such as current location, accelerometer and compass letter in app When breath, acquisition is called generally by a kind of ability (agreement) front end in end is provided on end.Front-end code is run in simulator, is needed End ability is intercepted, that is, intercepts related protocol.Corresponding event is generated by parsing end ability, triggers simulator and sensor Panel carries out real time communication.
The real time communication principle of sensor panel and simulator is as follows:
When simulator creation, simulator is the rendering process (Renderer Process) in program.Using IPC (Inter-Progress Communication, interprocess communication) mechanism and host process (Main Process) communication.Sensing Device panel is also another rendering process (Renderer Process) in program, equally logical using IPC mechanism and host process Letter.Analogue mobile phone app key is to establish communication between two rendering processes, can use host process and led to as bridge Letter.
In a kind of example, as shown in fig. 6, end ability is intercepted in simulator, at this time by filling out in sensor panel It writes or touch operation (such as pull, shake etc.) updates relevant sensor information.Then, sensor panel passes through IpcRenderer.send (eventName, msgObj) method notifies host process to receive information.Host process deposits received information Enter in cache (cache), is used to open application initialization next time.In addition, host process passes through ipcMain.send (eventName, msgObj) method notifies simulator to receive data information.The list from sensor to simulator may be implemented in this way To communication, this process is inverted the communication that can be realized between two processes.
The embodiment of the present invention can effectively reduce the page of the desktop app of developer's development and application program such as mobile phone Cost, developer can simulate the system informations such as dynamic acquisition geographical location, accelerometer and compass by this desktop application, It does not need to be debugged with using prototype combination hard coded, substantially increases development efficiency.
Fig. 7 shows the structural block diagram of application program debugging apparatus according to an embodiment of the present invention.As shown in fig. 7, the device May include:
First receiving module 61, for receiving the sensor information of the simulation from sensor panel, the biography of the simulation Sensor information needed for sensor information is used for simulative debugging application program;
First sending module 62, for the sensor information of the simulation to be sent to simulator, so that the simulation Device debugs the application program using the sensor information of the simulation.
In one implementation, as shown in figure 8, the device further include:
Second receiving module 63, for receiving the sensor information acquisition request from simulator;
Second sending module 64, for sending the sensor information acquisition request to the sensor panel.
In one implementation, first receiving module 61 is also used to receive using inter-process communication mechanisms from institute The sensor information of the simulation of sensor panel is stated, and the sensor information of the simulation is saved in caching;
First sending module 62 is also used to send the simulation to the simulator using inter-process communication mechanisms Sensor information.
Fig. 9 shows the structural block diagram of application program debugging system according to an embodiment of the present invention.As shown in figure 9, the device May include:
Sensor panel 71, for the sensor information of simulation to be arranged, the sensor information of the simulation is adjusted for simulating Sensor information needed for trying application program;
Host process 72 can use the application program debugging apparatus of any one of the above structure;
Simulator 73, for debugging the application program using the sensor information of the simulation.
In one implementation, as shown in Figure 10, the sensor panel 71 comprise the following modules at least one:
Input frame module 711, for obtaining the sensor information of the simulation by input frame in the sensor panel;
Module 712 is pulled, for detecting the element dragged from external page Orly in the sensor panel, to obtain State the sensor information of simulation;
Operation module 713, for detecting the operation to specified element in the sensor panel, to obtain the simulation Sensor information.
In one implementation, the input frame module 711 is also used to pass through geographical location in the sensor panel Information input frame obtains the geographical location information of input, to obtain the geographical location information of simulation;And/or in the sensor Panel obtains the posture information of input by posture information input frame, to obtain the posture information of simulation, the posture information packet Include the information of at least one of accelerometer, compass and gyroscope output.
In one implementation, the dragging module 712 is also used to detect in the sensor panel from map application The label in the place that the page of program is dragged to, using the longitude and latitude in the place as the geographical location information of simulation.
In one implementation, the operation module 713 is also used to detect in the sensor panel to specified element Shaking operation, with obtain simulation posture information, the posture information include in accelerometer, compass and gyroscope at least A kind of information of output.
In one implementation, the host process 72 is also used to receive the sensor cover using inter-process communication mechanisms The sensor information for the simulation that plate is sent, and the sensor information of the simulation is saved in the caching of the host process In;The sensor information of the simulation is sent to the simulator using inter-process communication mechanisms.
In one implementation, if the host process 72 is also used to receive the sensor information from simulator and obtains Request then sends the sensor information acquisition request to the sensor panel.
The function of each module in each device of the embodiment of the present invention, system may refer to the corresponding description in the above method, Details are not described herein.
Figure 11 shows the structural block diagram of application program commissioning device according to an embodiment of the present invention.As shown in figure 11, this sets Standby includes: memory 910 and processor 920, and the computer program that can be run on processor 920 is stored in memory 910. The processor 920 realizes the application program adjustment method in above-described embodiment when executing the computer program.The storage The quantity of device 910 and processor 920 can be one or more.
The equipment further include:
Communication interface 930 carries out data interaction for being communicated with external device.
Memory 910 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.
If memory 910, processor 920 and the independent realization of communication interface 930, memory 910,920 and of processor Communication interface 930 can be connected with each other by bus and complete mutual communication.The bus can be Industry Standard Architecture Structure (ISA, Industry Standard Architecture) bus, external equipment interconnection (PCI, Peripheral Component) bus or extended industry-standard architecture (EISA, Extended Industry Standard Component) bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for expression, Figure 11 In only indicated with a thick line, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 910, processor 920 and communication interface 930 are integrated in one piece of core On piece, then memory 910, processor 920 and communication interface 930 can complete mutual communication by internal interface.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored with computer program, the program quilt Processor realizes any method in above-described embodiment when executing.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.Moreover, particular features, structures, materials, or characteristics described It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples Sign is combined.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or hidden It include at least one this feature containing ground.In the description of the present invention, the meaning of " plurality " is two or more, unless otherwise Clear specific restriction.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable read-only memory (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other suitable Jie Matter, because can then be edited, be interpreted or when necessary with other for example by carrying out optical scanner to paper or other media Suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In readable storage medium storing program for executing.The storage medium can be read-only memory, disk or CD etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in its various change or replacement, These should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the guarantor of the claim It protects subject to range.

Claims (17)

1. a kind of application program adjustment method characterized by comprising
The sensor information of the simulation from sensor panel is received, the sensor information of the simulation is used for simulative debugging application Sensor information needed for program;
The sensor information of the simulation is sent to simulator, so that the simulator is believed using the sensor of the simulation Breath debugs the application program.
2. the method according to claim 1, wherein further include:
Receive the sensor information acquisition request from simulator;
The sensor information acquisition request is sent to the sensor panel.
3. the method according to claim 1, wherein
Receive the sensor information of the simulation from sensor panel, comprising: receive from described using inter-process communication mechanisms The sensor information of the simulation of sensor panel, and the sensor information of the simulation is saved in caching;
The sensor information of the simulation is sent to simulator, comprising: send out to the simulator using inter-process communication mechanisms Send the sensor information of the simulation.
4. according to the method in any one of claims 1 to 3, which is characterized in that further include: use following at least one side The sensor information of the simulation is arranged in sensor panel for formula:
The sensor information of the simulation is obtained by input frame in the sensor panel;
The element dragged from external page Orly is detected, in the sensor panel to obtain the sensor information of the simulation;
The operation to specified element is detected in the sensor panel, to obtain the sensor information of the simulation.
5. according to the method described in claim 4, it is characterized in that, obtaining the mould by input frame in the sensor panel Quasi- sensor information, comprising:
The geographical location information of input is obtained, by geographical location information input frame in the sensor panel to obtain simulation Geographical location information;And/or
The posture information of input is obtained, by posture information input frame in the sensor panel to obtain the posture letter of simulation Breath, the posture information include the information of at least one of accelerometer, compass and gyroscope output.
6. according to the method described in claim 4, being dragged it is characterized in that, detecting in the sensor panel from external page Orly The element arrived, to obtain the sensor information of the simulation, comprising:
In sensor panel detection from the label in the place that the page of map application is dragged to, by the place Longitude and latitude as simulation geographical location information.
7. according to the method described in claim 4, it is characterized in that, in sensor panel detection to the behaviour of specified element Make, to obtain the sensor information of the simulation, comprising:
The shaking of specified element is operated in sensor panel detection, to obtain the posture information of simulation, the posture letter Breath includes the information of at least one of accelerometer, compass and gyroscope output.
8. a kind of application program debugging apparatus characterized by comprising
First receiving module, for receiving the sensor information of the simulation from sensor panel, the sensor letter of the simulation Breath is for sensor information needed for simulative debugging application program;
First sending module, for the sensor information of the simulation to be sent to simulator, so that the simulator utilizes The sensor information of the simulation debugs the application program.
9. device according to claim 8, which is characterized in that further include:
Second receiving module, for receiving the sensor information acquisition request from simulator;
Second sending module, for sending the sensor information acquisition request to the sensor panel.
10. device according to claim 8, which is characterized in that
First receiving module is also used to receive the simulation from the sensor panel using inter-process communication mechanisms Sensor information, and the sensor information of the simulation is saved in caching;
First sending module is also used to send the sensor of the simulation to the simulator using inter-process communication mechanisms Information.
11. a kind of application program debugging system characterized by comprising
Sensor panel, for the sensor information of simulation to be arranged, the sensor information of the simulation is used for simulative debugging application Sensor information needed for program;
Host process, using application program debugging apparatus described in any one of claim 8 to 10;
Simulator, for debugging the application program using the sensor information of the simulation.
12. system according to claim 11, which is characterized in that the sensor panel comprise the following modules at least one It is a:
Input frame module, for obtaining the sensor information of the simulation by input frame in the sensor panel;
Module is pulled, for detecting the element dragged from external page Orly in the sensor panel, to obtain the simulation Sensor information;
Operation module, for detecting the operation to specified element in the sensor panel, to obtain the sensor of the simulation Information.
13. system according to claim 12, which is characterized in that the input frame module is also used in the sensor cover Plate obtains the geographical location information of input by geographical location information input frame, to obtain the geographical location information of simulation;With/ Or, the posture information of input is obtained by posture information input frame in the sensor panel, to obtain the posture information of simulation, The posture information includes the information of at least one of accelerometer, compass and gyroscope output.
14. system according to claim 12, which is characterized in that the dragging module is also used in the sensor panel The label from the place that the page of map application is dragged to is detected, using the longitude and latitude in the place as the ground of simulation Manage location information.
15. system according to claim 12, which is characterized in that the operation module is also used in the sensor panel Detect and the shaking of specified element operated, to obtain the posture information of simulation, the posture information include accelerometer, compass and The information of at least one of gyroscope output.
16. a kind of application program commissioning device characterized by comprising
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors Realize the method as described in any one of claims 1 to 7.
17. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the program is held by processor The method as described in any one of claims 1 to 7 is realized when row.
CN201811057580.2A 2018-09-11 2018-09-11 Application program adjustment method, device, system, equipment and storage medium Pending CN109308261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811057580.2A CN109308261A (en) 2018-09-11 2018-09-11 Application program adjustment method, device, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811057580.2A CN109308261A (en) 2018-09-11 2018-09-11 Application program adjustment method, device, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109308261A true CN109308261A (en) 2019-02-05

Family

ID=65224894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811057580.2A Pending CN109308261A (en) 2018-09-11 2018-09-11 Application program adjustment method, device, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109308261A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046062A (en) * 2019-12-16 2020-04-21 北京智游网安科技有限公司 Applet data acquisition method, intelligent terminal and storage medium
CN111796799A (en) * 2019-04-09 2020-10-20 广州腾讯科技有限公司 Sub-application development method and device, computer equipment and storage medium
CN111901155A (en) * 2020-07-06 2020-11-06 上海庆科信息技术有限公司 Internet of things debugging method, device and system and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110191787A1 (en) * 2010-02-02 2011-08-04 Sun Microsystems, Inc. System and method for providing sensor data from embedded device to software development environment
US8239840B1 (en) * 2010-03-10 2012-08-07 Google Inc. Sensor simulation for mobile device applications
US20120317555A1 (en) * 2011-06-10 2012-12-13 Microsoft Corporation Application development enviroment for portable electronic devices
CN103939085A (en) * 2014-04-21 2014-07-23 西南石油大学 Method for debugging comprehensive logging instrument by means of simulating scene sensor signal
CN105339974A (en) * 2013-06-28 2016-02-17 惠普发展公司,有限责任合伙企业 Simulating sensors
CN105550107A (en) * 2015-12-09 2016-05-04 Tcl移动通信科技(宁波)有限公司 Proximity sensor simulation implementation method and system based on mobile terminal simulator
CN108345290A (en) * 2017-01-23 2018-07-31 帝斯贝思数字信号处理和控制工程有限公司 The method for testing at least one control device function of at least one control device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110191787A1 (en) * 2010-02-02 2011-08-04 Sun Microsystems, Inc. System and method for providing sensor data from embedded device to software development environment
US8239840B1 (en) * 2010-03-10 2012-08-07 Google Inc. Sensor simulation for mobile device applications
US20120317555A1 (en) * 2011-06-10 2012-12-13 Microsoft Corporation Application development enviroment for portable electronic devices
CN105339974A (en) * 2013-06-28 2016-02-17 惠普发展公司,有限责任合伙企业 Simulating sensors
CN103939085A (en) * 2014-04-21 2014-07-23 西南石油大学 Method for debugging comprehensive logging instrument by means of simulating scene sensor signal
CN105550107A (en) * 2015-12-09 2016-05-04 Tcl移动通信科技(宁波)有限公司 Proximity sensor simulation implementation method and system based on mobile terminal simulator
CN108345290A (en) * 2017-01-23 2018-07-31 帝斯贝思数字信号处理和控制工程有限公司 The method for testing at least one control device function of at least one control device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796799A (en) * 2019-04-09 2020-10-20 广州腾讯科技有限公司 Sub-application development method and device, computer equipment and storage medium
CN111796799B (en) * 2019-04-09 2021-09-07 广州腾讯科技有限公司 Sub-application development method and device, computer equipment and storage medium
CN111046062A (en) * 2019-12-16 2020-04-21 北京智游网安科技有限公司 Applet data acquisition method, intelligent terminal and storage medium
CN111046062B (en) * 2019-12-16 2023-06-23 北京智游网安科技有限公司 Applet data acquisition method, intelligent terminal and storage medium
CN111901155A (en) * 2020-07-06 2020-11-06 上海庆科信息技术有限公司 Internet of things debugging method, device and system and storage medium

Similar Documents

Publication Publication Date Title
JP6458371B2 (en) Method for obtaining texture data for a three-dimensional model, portable electronic device, and program
US9535817B2 (en) Application development environment for portable electronic devices
US20180157452A1 (en) Decomposition of dynamic graphical user interfaces
CN109308261A (en) Application program adjustment method, device, system, equipment and storage medium
JP6036100B2 (en) Step-by-step visual comparison of web browser screens
CN105723337B (en) For the method and system from interactive development environment incrementally composing software product
CN104182215A (en) Application program building platform and execution system thereof
CN110703978A (en) Information display method, reader, and computer storage medium
US20230386137A1 (en) Elastic object rendering method and apparatus, device, and storage medium
US10795433B2 (en) Content-aware virtual reality systems and related methods
CN111416756B (en) Protocol testing method, device, computer equipment and storage medium
CN107447992A (en) Building board installing method and system
WO2019019818A1 (en) Method and apparatus for accelerating black screen gesture processing, storage medium, and mobile terminal
CN113091769A (en) Attitude calibration method and device, storage medium and electronic equipment
CN108875901B (en) Neural network training method and universal object detection method, device and system
CN106503067A (en) The exhibiting method and device of electronic chart
KR20180080668A (en) Method for educating chinese character using chinese character textbook including augmented reality marker and recording medium thereof
WO2023128045A1 (en) Method and system for generating freehand sketch image for machine learning
CN108133029A (en) Method of adjustment, device, equipment and the computer readable storage medium of map element
CN112965911A (en) Interface abnormity detection method and device, computer equipment and storage medium
CN114629800A (en) Visual generation method, device, terminal and storage medium for industrial control network target range
Nordan An investigation of potential methods for topology preservation in interactive vector tile map applications
CN114363718B (en) Classroom control method, device, equipment and medium for remote multimedia
CN103399953A (en) Method and system for online display of mass data
CN107862729A (en) Level animation producing method, terminal and readable storage medium storing program for executing

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

Application publication date: 20190205

RJ01 Rejection of invention patent application after publication